Package org.apache.arrow.flight.impl
Class Flight.SessionOptionValue.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Flight.SessionOptionValue.Builder>
org.apache.arrow.flight.impl.Flight.SessionOptionValue.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Flight.SessionOptionValueOrBuilder
- Enclosing class:
- Flight.SessionOptionValue
public static final class Flight.SessionOptionValue.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Flight.SessionOptionValue.Builder>
implements Flight.SessionOptionValueOrBuilder
EXPERIMENTAL: Union of possible value types for a Session Option to be set to. By convention, an attempt to set a valueless SessionOptionValue should attempt to unset or clear the named option value on the server.Protobuf type
arrow.flight.protocol.SessionOptionValue
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
bool bool_value = 2;
double double_value = 4;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) sfixed64 int64_value = 3;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) .arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
string string_value = 1;
clone()
boolean
bool bool_value = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
double
double double_value = 4;
long
sfixed64 int64_value = 3;
.arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
.arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
.arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
string string_value = 1;
com.google.protobuf.ByteString
string string_value = 1;
boolean
bool bool_value = 2;
boolean
double double_value = 4;
boolean
sfixed64 int64_value = 3;
boolean
.arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
boolean
string string_value = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) .arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setBoolValue
(boolean value) bool bool_value = 2;
setDoubleValue
(double value) double double_value = 4;
setInt64Value
(long value) sfixed64 int64_value = 3;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) .arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
setStringListValue
(Flight.SessionOptionValue.StringListValue.Builder builderForValue) .arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
setStringValue
(String value) string string_value = 1;
setStringValueBytes
(com.google.protobuf.ByteString value) string string_value = 1;
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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SessionOptionValue.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.SessionOptionValue.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.SessionOptionValue.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.SessionOptionValue.Builder>
-
setField
public Flight.SessionOptionValue.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.SessionOptionValue.Builder>
-
clearField
public Flight.SessionOptionValue.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.SessionOptionValue.Builder>
-
clearOneof
public Flight.SessionOptionValue.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.SessionOptionValue.Builder>
-
setRepeatedField
public Flight.SessionOptionValue.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.SessionOptionValue.Builder>
-
addRepeatedField
public Flight.SessionOptionValue.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.SessionOptionValue.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Flight.SessionOptionValue.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.SessionOptionValue.Builder>
-
mergeFrom
public Flight.SessionOptionValue.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.SessionOptionValue.Builder>
- Throws:
IOException
-
getOptionValueCase
- Specified by:
getOptionValueCase
in interfaceFlight.SessionOptionValueOrBuilder
-
clearOptionValue
-
hasStringValue
public boolean hasStringValue()string string_value = 1;
- Specified by:
hasStringValue
in interfaceFlight.SessionOptionValueOrBuilder
- Returns:
- Whether the stringValue field is set.
-
getStringValue
string string_value = 1;
- Specified by:
getStringValue
in interfaceFlight.SessionOptionValueOrBuilder
- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()string string_value = 1;
- Specified by:
getStringValueBytes
in interfaceFlight.SessionOptionValueOrBuilder
- Returns:
- The bytes for stringValue.
-
setStringValue
string string_value = 1;
- Parameters:
value
- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
string string_value = 1;
- Returns:
- This builder for chaining.
-
setStringValueBytes
string string_value = 1;
- Parameters:
value
- The bytes for stringValue to set.- Returns:
- This builder for chaining.
-
hasBoolValue
public boolean hasBoolValue()bool bool_value = 2;
- Specified by:
hasBoolValue
in interfaceFlight.SessionOptionValueOrBuilder
- Returns:
- Whether the boolValue field is set.
-
getBoolValue
public boolean getBoolValue()bool bool_value = 2;
- Specified by:
getBoolValue
in interfaceFlight.SessionOptionValueOrBuilder
- Returns:
- The boolValue.
-
setBoolValue
bool bool_value = 2;
- Parameters:
value
- The boolValue to set.- Returns:
- This builder for chaining.
-
clearBoolValue
bool bool_value = 2;
- Returns:
- This builder for chaining.
-
hasInt64Value
public boolean hasInt64Value()sfixed64 int64_value = 3;
- Specified by:
hasInt64Value
in interfaceFlight.SessionOptionValueOrBuilder
- Returns:
- Whether the int64Value field is set.
-
getInt64Value
public long getInt64Value()sfixed64 int64_value = 3;
- Specified by:
getInt64Value
in interfaceFlight.SessionOptionValueOrBuilder
- Returns:
- The int64Value.
-
setInt64Value
sfixed64 int64_value = 3;
- Parameters:
value
- The int64Value to set.- Returns:
- This builder for chaining.
-
clearInt64Value
sfixed64 int64_value = 3;
- Returns:
- This builder for chaining.
-
hasDoubleValue
public boolean hasDoubleValue()double double_value = 4;
- Specified by:
hasDoubleValue
in interfaceFlight.SessionOptionValueOrBuilder
- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
public double getDoubleValue()double double_value = 4;
- Specified by:
getDoubleValue
in interfaceFlight.SessionOptionValueOrBuilder
- Returns:
- The doubleValue.
-
setDoubleValue
double double_value = 4;
- Parameters:
value
- The doubleValue to set.- Returns:
- This builder for chaining.
-
clearDoubleValue
double double_value = 4;
- Returns:
- This builder for chaining.
-
hasStringListValue
public boolean hasStringListValue().arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
- Specified by:
hasStringListValue
in interfaceFlight.SessionOptionValueOrBuilder
- Returns:
- Whether the stringListValue field is set.
-
getStringListValue
.arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
- Specified by:
getStringListValue
in interfaceFlight.SessionOptionValueOrBuilder
- Returns:
- The stringListValue.
-
setStringListValue
public Flight.SessionOptionValue.Builder setStringListValue(Flight.SessionOptionValue.StringListValue value) .arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
-
setStringListValue
public Flight.SessionOptionValue.Builder setStringListValue(Flight.SessionOptionValue.StringListValue.Builder builderForValue) .arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
-
mergeStringListValue
public Flight.SessionOptionValue.Builder mergeStringListValue(Flight.SessionOptionValue.StringListValue value) .arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
-
clearStringListValue
.arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
-
getStringListValueBuilder
.arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
-
getStringListValueOrBuilder
.arrow.flight.protocol.SessionOptionValue.StringListValue string_list_value = 5;
- Specified by:
getStringListValueOrBuilder
in interfaceFlight.SessionOptionValueOrBuilder
-
setUnknownFields
public final Flight.SessionOptionValue.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.SessionOptionValue.Builder>
-
mergeUnknownFields
public final Flight.SessionOptionValue.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.SessionOptionValue.Builder>
-