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
Modifier and Type | Method and Description |
---|---|
Flight.SetSessionOptionsRequest |
build() |
Flight.SetSessionOptionsRequest |
buildPartial() |
Flight.SetSessionOptionsRequest.Builder |
clear() |
Flight.SetSessionOptionsRequest.Builder |
clearSessionOptions() |
boolean |
containsSessionOptions(String key)
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1; |
Flight.SetSessionOptionsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,Flight.SessionOptionValue> |
getMutableSessionOptions()
Deprecated.
|
Map<String,Flight.SessionOptionValue> |
getSessionOptions()
Deprecated.
|
int |
getSessionOptionsCount()
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1; |
Map<String,Flight.SessionOptionValue> |
getSessionOptionsMap()
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1; |
Flight.SessionOptionValue |
getSessionOptionsOrDefault(String key,
Flight.SessionOptionValue defaultValue)
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1; |
Flight.SessionOptionValue |
getSessionOptionsOrThrow(String key)
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Flight.SetSessionOptionsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Flight.SetSessionOptionsRequest.Builder |
mergeFrom(Flight.SetSessionOptionsRequest other) |
Flight.SetSessionOptionsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Flight.SetSessionOptionsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Flight.SetSessionOptionsRequest.Builder |
putAllSessionOptions(Map<String,Flight.SessionOptionValue> values)
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1; |
Flight.SetSessionOptionsRequest.Builder |
putSessionOptions(String key,
Flight.SessionOptionValue value)
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1; |
Flight.SetSessionOptionsRequest.Builder |
removeSessionOptions(String key)
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1; |
Flight.SetSessionOptionsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
public Flight.SetSessionOptionsRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
public Flight.SetSessionOptionsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Flight.SetSessionOptionsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Flight.SetSessionOptionsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Flight.SetSessionOptionsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Flight.SetSessionOptionsRequest.Builder>
public Flight.SetSessionOptionsRequest.Builder mergeFrom(Flight.SetSessionOptionsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
public Flight.SetSessionOptionsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Flight.SetSessionOptionsRequest.Builder>
IOException
public int getSessionOptionsCount()
Flight.SetSessionOptionsRequestOrBuilder
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
getSessionOptionsCount
in interface Flight.SetSessionOptionsRequestOrBuilder
public boolean containsSessionOptions(String key)
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
containsSessionOptions
in interface Flight.SetSessionOptionsRequestOrBuilder
@Deprecated public Map<String,Flight.SessionOptionValue> getSessionOptions()
getSessionOptionsMap()
instead.getSessionOptions
in interface Flight.SetSessionOptionsRequestOrBuilder
public Map<String,Flight.SessionOptionValue> getSessionOptionsMap()
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
getSessionOptionsMap
in interface Flight.SetSessionOptionsRequestOrBuilder
public Flight.SessionOptionValue getSessionOptionsOrDefault(String key, Flight.SessionOptionValue defaultValue)
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
getSessionOptionsOrDefault
in interface Flight.SetSessionOptionsRequestOrBuilder
public Flight.SessionOptionValue getSessionOptionsOrThrow(String key)
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
getSessionOptionsOrThrow
in interface Flight.SetSessionOptionsRequestOrBuilder
public Flight.SetSessionOptionsRequest.Builder clearSessionOptions()
public Flight.SetSessionOptionsRequest.Builder removeSessionOptions(String key)
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
@Deprecated public Map<String,Flight.SessionOptionValue> getMutableSessionOptions()
public Flight.SetSessionOptionsRequest.Builder putSessionOptions(String key, Flight.SessionOptionValue value)
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
public Flight.SetSessionOptionsRequest.Builder putAllSessionOptions(Map<String,Flight.SessionOptionValue> values)
map<string, .arrow.flight.protocol.SessionOptionValue> session_options = 1;
public final Flight.SetSessionOptionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
public final Flight.SetSessionOptionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsRequest.Builder>
Copyright © 2024 The Apache Software Foundation. All rights reserved.