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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightDescriptor.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightDescriptor.Builder>public Flight.FlightDescriptor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Flight.FlightDescriptor build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Flight.FlightDescriptor buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Flight.FlightDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Flight.FlightDescriptor.Builder>IOExceptionpublic int getTypeValue()
.arrow.flight.protocol.FlightDescriptor.DescriptorType type = 1;getTypeValue in interface Flight.FlightDescriptorOrBuilderpublic 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.FlightDescriptorOrBuilderpublic 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.FlightDescriptorOrBuilderpublic 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.FlightDescriptorOrBuilderpublic int getPathCount()
List of strings identifying a particular dataset. Should only be defined when type = PATH.
repeated string path = 3;getPathCount in interface Flight.FlightDescriptorOrBuilderpublic 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.FlightDescriptorOrBuilderindex - 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.FlightDescriptorOrBuilderindex - 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.BuildersetUnknownFields 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.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightDescriptor.Builder>Copyright © 2024 The Apache Software Foundation. All rights reserved.