Package org.apache.arrow.flight.impl
Class Flight.SetSessionOptionsResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsResult.Builder>
org.apache.arrow.flight.impl.Flight.SetSessionOptionsResult.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Flight.SetSessionOptionsResultOrBuilder
- Enclosing class:
- Flight.SetSessionOptionsResult
public static final class Flight.SetSessionOptionsResult.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsResult.Builder>
implements Flight.SetSessionOptionsResultOrBuilder
EXPERIMENTAL: The results (individually) of setting a set of session options. Option names should only be present in the response if they were not successfully set on the server; that is, a response without an Error for a name provided in the SetSessionOptionsRequest implies that the named option value was set successfully.Protobuf type
arrow.flight.protocol.SetSessionOptionsResult
-
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
containsErrors
(String key) map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.int
map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
getErrorsOrDefault
(String key, Flight.SetSessionOptionsResult.Error defaultValue) map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
getErrorsOrThrow
(String key) map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
Deprecated.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.SetSessionOptionsResult.Error> errors = 1;
putErrors
(String key, Flight.SetSessionOptionsResult.Error value) map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
removeErrors
(String key) map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 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.SetSessionOptionsResult.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsResult.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsResult.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.SetSessionOptionsResult.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.SetSessionOptionsResult.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.SetSessionOptionsResult.Builder>
-
setField
public Flight.SetSessionOptionsResult.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.SetSessionOptionsResult.Builder>
-
clearField
public Flight.SetSessionOptionsResult.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.SetSessionOptionsResult.Builder>
-
clearOneof
public Flight.SetSessionOptionsResult.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.SetSessionOptionsResult.Builder>
-
setRepeatedField
public Flight.SetSessionOptionsResult.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.SetSessionOptionsResult.Builder>
-
addRepeatedField
public Flight.SetSessionOptionsResult.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.SetSessionOptionsResult.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Flight.SetSessionOptionsResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SetSessionOptionsResult.Builder>
-
mergeFrom
public Flight.SetSessionOptionsResult.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.SetSessionOptionsResult.Builder>
- Throws:
IOException
-
getErrorsCount
public int getErrorsCount()Description copied from interface:Flight.SetSessionOptionsResultOrBuilder
map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
- Specified by:
getErrorsCount
in interfaceFlight.SetSessionOptionsResultOrBuilder
-
containsErrors
map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
- Specified by:
containsErrors
in interfaceFlight.SetSessionOptionsResultOrBuilder
-
getErrors
Deprecated.UsegetErrorsMap()
instead.- Specified by:
getErrors
in interfaceFlight.SetSessionOptionsResultOrBuilder
-
getErrorsMap
map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
- Specified by:
getErrorsMap
in interfaceFlight.SetSessionOptionsResultOrBuilder
-
getErrorsOrDefault
public Flight.SetSessionOptionsResult.Error getErrorsOrDefault(String key, Flight.SetSessionOptionsResult.Error defaultValue) map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
- Specified by:
getErrorsOrDefault
in interfaceFlight.SetSessionOptionsResultOrBuilder
-
getErrorsOrThrow
map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
- Specified by:
getErrorsOrThrow
in interfaceFlight.SetSessionOptionsResultOrBuilder
-
clearErrors
-
removeErrors
map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
-
getMutableErrors
Deprecated.Use alternate mutation accessors instead. -
putErrors
public Flight.SetSessionOptionsResult.Builder putErrors(String key, Flight.SetSessionOptionsResult.Error value) map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
-
putAllErrors
public Flight.SetSessionOptionsResult.Builder putAllErrors(Map<String, Flight.SetSessionOptionsResult.Error> values) map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
-
putErrorsBuilderIfAbsent
map<string, .arrow.flight.protocol.SetSessionOptionsResult.Error> errors = 1;
-
setUnknownFields
public final Flight.SetSessionOptionsResult.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.SetSessionOptionsResult.Builder>
-
mergeUnknownFields
public final Flight.SetSessionOptionsResult.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.SetSessionOptionsResult.Builder>
-