public static final class Flight.FlightDescriptor.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightDescriptor.Builder> implements Flight.FlightDescriptorOrBuilder
The name or tag for a Flight. May be used as a way to retrieve or generate a flight or be used to expose a set of previously defined flights.Protobuf type
arrow.flight.protocol.FlightDescriptor
Modifier and Type | Method and Description |
---|---|
Flight.FlightDescriptor.Builder |
addAllPath(Iterable<String> values)
List of strings identifying a particular dataset.
|
Flight.FlightDescriptor.Builder |
addPath(String value)
List of strings identifying a particular dataset.
|
Flight.FlightDescriptor.Builder |
addPathBytes(com.google.protobuf.ByteString value)
List of strings identifying a particular dataset.
|
Flight.FlightDescriptor |
build() |
Flight.FlightDescriptor |
buildPartial() |
Flight.FlightDescriptor.Builder |
clear() |
Flight.FlightDescriptor.Builder |
clearCmd()
Opaque value used to express a command.
|
Flight.FlightDescriptor.Builder |
clearPath()
List of strings identifying a particular dataset.
|
Flight.FlightDescriptor.Builder |
clearType()
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1; |
com.google.protobuf.ByteString |
getCmd()
Opaque value used to express a command.
|
Flight.FlightDescriptor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPath(int index)
List of strings identifying a particular dataset.
|
com.google.protobuf.ByteString |
getPathBytes(int index)
List of strings identifying a particular dataset.
|
int |
getPathCount()
List of strings identifying a particular dataset.
|
com.google.protobuf.ProtocolStringList |
getPathList()
List of strings identifying a particular dataset.
|
Flight.FlightDescriptor.DescriptorType |
getType()
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1; |
int |
getTypeValue()
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Flight.FlightDescriptor.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Flight.FlightDescriptor.Builder |
mergeFrom(Flight.FlightDescriptor other) |
Flight.FlightDescriptor.Builder |
mergeFrom(com.google.protobuf.Message other) |
Flight.FlightDescriptor.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Flight.FlightDescriptor.Builder |
setCmd(com.google.protobuf.ByteString value)
Opaque value used to express a command.
|
Flight.FlightDescriptor.Builder |
setPath(int index,
String value)
List of strings identifying a particular dataset.
|
Flight.FlightDescriptor.Builder |
setType(Flight.FlightDescriptor.DescriptorType value)
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1; |
Flight.FlightDescriptor.Builder |
setTypeValue(int value)
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1; |
Flight.FlightDescriptor.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightDescriptor.Builder>
public Flight.FlightDescriptor.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.FlightDescriptor.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.FlightDescriptor.Builder>
public Flight.FlightDescriptor getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Flight.FlightDescriptor build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Flight.FlightDescriptor buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Flight.FlightDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Flight.FlightDescriptor.Builder>
public Flight.FlightDescriptor.Builder mergeFrom(Flight.FlightDescriptor other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightDescriptor.Builder>
public Flight.FlightDescriptor.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.FlightDescriptor.Builder>
IOException
public int getTypeValue()
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1;
getTypeValue
in interface Flight.FlightDescriptorOrBuilder
public Flight.FlightDescriptor.Builder setTypeValue(int value)
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1;
value
- The enum numeric value on the wire for type to set.public Flight.FlightDescriptor.DescriptorType getType()
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1;
getType
in interface Flight.FlightDescriptorOrBuilder
public Flight.FlightDescriptor.Builder setType(Flight.FlightDescriptor.DescriptorType value)
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1;
value
- The type to set.public Flight.FlightDescriptor.Builder clearType()
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1;
public com.google.protobuf.ByteString getCmd()
Opaque value used to express a command. Should only be defined when type = CMD.
bytes cmd = 2;
getCmd
in interface Flight.FlightDescriptorOrBuilder
public Flight.FlightDescriptor.Builder setCmd(com.google.protobuf.ByteString value)
Opaque value used to express a command. Should only be defined when type = CMD.
bytes cmd = 2;
value
- The cmd to set.public Flight.FlightDescriptor.Builder clearCmd()
Opaque value used to express a command. Should only be defined when type = CMD.
bytes cmd = 2;
public com.google.protobuf.ProtocolStringList getPathList()
List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
getPathList
in interface Flight.FlightDescriptorOrBuilder
public int getPathCount()
List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
getPathCount
in interface Flight.FlightDescriptorOrBuilder
public String getPath(int index)
List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
getPath
in interface Flight.FlightDescriptorOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getPathBytes(int index)
List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
getPathBytes
in interface Flight.FlightDescriptorOrBuilder
index
- The index of the value to return.public Flight.FlightDescriptor.Builder setPath(int index, String value)
List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
index
- The index to set the value at.value
- The path to set.public Flight.FlightDescriptor.Builder addPath(String value)
List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
value
- The path to add.public Flight.FlightDescriptor.Builder addAllPath(Iterable<String> values)
List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
values
- The path to add.public Flight.FlightDescriptor.Builder clearPath()
List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
public Flight.FlightDescriptor.Builder addPathBytes(com.google.protobuf.ByteString value)
List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;
value
- The bytes of the path to add.public final Flight.FlightDescriptor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightDescriptor.Builder>
public final Flight.FlightDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightDescriptor.Builder>
Copyright © 2023 The Apache Software Foundation. All rights reserved.