Package org.apache.arrow.flight.impl
Class Flight.SetSessionOptionsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
org.apache.arrow.flight.impl.Flight.SetSessionOptionsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Flight.SetSessionOptionsRequestOrBuilder
- Enclosing class:
- Flight.SetSessionOptionsRequest
public static final class Flight.SetSessionOptionsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
implements Flight.SetSessionOptionsRequestOrBuilder
EXPERIMENTAL: A request to set session options for an existing or new (implicit) server session. Sessions are persisted and referenced via a transport-level state management, typically RFC 6265 HTTP cookies when using an HTTP transport. The suggested cookie name or state context key is 'arrow_flight_session_id', although implementations may freely choose their own name. Session creation (if one does not already exist) is implied by this RPC request, however server implementations may choose to initiate a session that also contains client-provided session options at any other time, e.g. on authentication, or when any other call is made and the server wishes to use a session to persist any state (or lack thereof).Protobuf type
arrow.flight.protocol.SetSessionOptionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
boolean
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.Deprecated.int
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
getSessionOptionsOrDefault
(String key, Flight.SessionOptionValue defaultValue) map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
putSessionOptions
(String key, Flight.SessionOptionValue value) map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
setField
public Flight.SetSessionOptionsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
clearField
public Flight.SetSessionOptionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
clearOneof
public Flight.SetSessionOptionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
setRepeatedField
public Flight.SetSessionOptionsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
addRepeatedField
public Flight.SetSessionOptionsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Flight.SetSessionOptionsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
mergeFrom
public Flight.SetSessionOptionsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Flight.SetSessionOptionsRequest.Builder>
- Throws:
IOException
-
getSessionOptionsCount
public int getSessionOptionsCount()Description copied from interface:Flight.SetSessionOptionsRequestOrBuilder
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
- Specified by:
getSessionOptionsCount
in interfaceFlight.SetSessionOptionsRequestOrBuilder
-
containsSessionOptions
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
- Specified by:
containsSessionOptions
in interfaceFlight.SetSessionOptionsRequestOrBuilder
-
getSessionOptions
Deprecated.UsegetSessionOptionsMap()
instead.- Specified by:
getSessionOptions
in interfaceFlight.SetSessionOptionsRequestOrBuilder
-
getSessionOptionsMap
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
- Specified by:
getSessionOptionsMap
in interfaceFlight.SetSessionOptionsRequestOrBuilder
-
getSessionOptionsOrDefault
public Flight.SessionOptionValue getSessionOptionsOrDefault(String key, Flight.SessionOptionValue defaultValue) map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
- Specified by:
getSessionOptionsOrDefault
in interfaceFlight.SetSessionOptionsRequestOrBuilder
-
getSessionOptionsOrThrow
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
- Specified by:
getSessionOptionsOrThrow
in interfaceFlight.SetSessionOptionsRequestOrBuilder
-
clearSessionOptions
-
removeSessionOptions
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
-
getMutableSessionOptions
Deprecated.Use alternate mutation accessors instead. -
putSessionOptions
public Flight.SetSessionOptionsRequest.Builder putSessionOptions(String key, Flight.SessionOptionValue value) map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
-
putAllSessionOptions
public Flight.SetSessionOptionsRequest.Builder putAllSessionOptions(Map<String, Flight.SessionOptionValue> values) map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
-
putSessionOptionsBuilderIfAbsent
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
-
setUnknownFields
public final Flight.SetSessionOptionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-
mergeUnknownFields
public final Flight.SetSessionOptionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
-