public static final class Flight.FlightEndpoint extends com.google.protobuf.GeneratedMessageV3 implements Flight.FlightEndpointOrBuilder
A particular stream or split associated with a flight.Protobuf type
arrow.flight.protocol.FlightEndpoint| Modifier and Type | Class and Description |
|---|---|
static class |
Flight.FlightEndpoint.Builder
A particular stream or split associated with a flight.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
APP_METADATA_FIELD_NUMBER |
static int |
EXPIRATION_TIME_FIELD_NUMBER |
static int |
LOCATION_FIELD_NUMBER |
static int |
TICKET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getAppMetadata()
Application-defined metadata.
|
static Flight.FlightEndpoint |
getDefaultInstance() |
Flight.FlightEndpoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getExpirationTime()
Expiration time of this stream.
|
com.google.protobuf.TimestampOrBuilder |
getExpirationTimeOrBuilder()
Expiration time of this stream.
|
Flight.Location |
getLocation(int index)
A list of URIs where this ticket can be redeemed via DoGet().
|
int |
getLocationCount()
A list of URIs where this ticket can be redeemed via DoGet().
|
List<Flight.Location> |
getLocationList()
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.LocationOrBuilder |
getLocationOrBuilder(int index)
A list of URIs where this ticket can be redeemed via DoGet().
|
List<? extends Flight.LocationOrBuilder> |
getLocationOrBuilderList()
A list of URIs where this ticket can be redeemed via DoGet().
|
com.google.protobuf.Parser<Flight.FlightEndpoint> |
getParserForType() |
int |
getSerializedSize() |
Flight.Ticket |
getTicket()
Token used to retrieve this stream.
|
Flight.TicketOrBuilder |
getTicketOrBuilder()
Token used to retrieve this stream.
|
boolean |
hasExpirationTime()
Expiration time of this stream.
|
int |
hashCode() |
boolean |
hasTicket()
Token used to retrieve this stream.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Flight.FlightEndpoint.Builder |
newBuilder() |
static Flight.FlightEndpoint.Builder |
newBuilder(Flight.FlightEndpoint prototype) |
Flight.FlightEndpoint.Builder |
newBuilderForType() |
protected Flight.FlightEndpoint.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Flight.FlightEndpoint |
parseDelimitedFrom(InputStream input) |
static Flight.FlightEndpoint |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Flight.FlightEndpoint |
parseFrom(byte[] data) |
static Flight.FlightEndpoint |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Flight.FlightEndpoint |
parseFrom(ByteBuffer data) |
static Flight.FlightEndpoint |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Flight.FlightEndpoint |
parseFrom(com.google.protobuf.ByteString data) |
static Flight.FlightEndpoint |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Flight.FlightEndpoint |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Flight.FlightEndpoint |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Flight.FlightEndpoint |
parseFrom(InputStream input) |
static Flight.FlightEndpoint |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Flight.FlightEndpoint> |
parser() |
Flight.FlightEndpoint.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TICKET_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER
public static final int APP_METADATA_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasTicket()
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;hasTicket in interface Flight.FlightEndpointOrBuilderpublic Flight.Ticket getTicket()
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;getTicket in interface Flight.FlightEndpointOrBuilderpublic Flight.TicketOrBuilder getTicketOrBuilder()
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;getTicketOrBuilder in interface Flight.FlightEndpointOrBuilderpublic List<Flight.Location> getLocationList()
A list of URIs where this ticket can be redeemed via DoGet(). If the list is empty, the expectation is that the ticket can only be redeemed on the current service where the ticket was generated. If the list is not empty, the expectation is that the ticket can be redeemed at any of the locations, and that the data returned will be equivalent. In this case, the ticket may only be redeemed at one of the given locations, and not (necessarily) on the current service. If one of the given locations is "arrow-flight-reuse-connection://?", the client may redeem the ticket on the service where the ticket was generated (i.e., the same as above), in addition to the other locations. (This URI was chosen to maximize compatibility, as 'scheme:' or 'scheme://' are not accepted by Java's java.net.URI.) In other words, an application can use multiple locations to represent redundant and/or load balanced services.
repeated .arrow.flight.protocol.Location location = 2;getLocationList in interface Flight.FlightEndpointOrBuilderpublic List<? extends Flight.LocationOrBuilder> getLocationOrBuilderList()
A list of URIs where this ticket can be redeemed via DoGet(). If the list is empty, the expectation is that the ticket can only be redeemed on the current service where the ticket was generated. If the list is not empty, the expectation is that the ticket can be redeemed at any of the locations, and that the data returned will be equivalent. In this case, the ticket may only be redeemed at one of the given locations, and not (necessarily) on the current service. If one of the given locations is "arrow-flight-reuse-connection://?", the client may redeem the ticket on the service where the ticket was generated (i.e., the same as above), in addition to the other locations. (This URI was chosen to maximize compatibility, as 'scheme:' or 'scheme://' are not accepted by Java's java.net.URI.) In other words, an application can use multiple locations to represent redundant and/or load balanced services.
repeated .arrow.flight.protocol.Location location = 2;getLocationOrBuilderList in interface Flight.FlightEndpointOrBuilderpublic int getLocationCount()
A list of URIs where this ticket can be redeemed via DoGet(). If the list is empty, the expectation is that the ticket can only be redeemed on the current service where the ticket was generated. If the list is not empty, the expectation is that the ticket can be redeemed at any of the locations, and that the data returned will be equivalent. In this case, the ticket may only be redeemed at one of the given locations, and not (necessarily) on the current service. If one of the given locations is "arrow-flight-reuse-connection://?", the client may redeem the ticket on the service where the ticket was generated (i.e., the same as above), in addition to the other locations. (This URI was chosen to maximize compatibility, as 'scheme:' or 'scheme://' are not accepted by Java's java.net.URI.) In other words, an application can use multiple locations to represent redundant and/or load balanced services.
repeated .arrow.flight.protocol.Location location = 2;getLocationCount in interface Flight.FlightEndpointOrBuilderpublic Flight.Location getLocation(int index)
A list of URIs where this ticket can be redeemed via DoGet(). If the list is empty, the expectation is that the ticket can only be redeemed on the current service where the ticket was generated. If the list is not empty, the expectation is that the ticket can be redeemed at any of the locations, and that the data returned will be equivalent. In this case, the ticket may only be redeemed at one of the given locations, and not (necessarily) on the current service. If one of the given locations is "arrow-flight-reuse-connection://?", the client may redeem the ticket on the service where the ticket was generated (i.e., the same as above), in addition to the other locations. (This URI was chosen to maximize compatibility, as 'scheme:' or 'scheme://' are not accepted by Java's java.net.URI.) In other words, an application can use multiple locations to represent redundant and/or load balanced services.
repeated .arrow.flight.protocol.Location location = 2;getLocation in interface Flight.FlightEndpointOrBuilderpublic Flight.LocationOrBuilder getLocationOrBuilder(int index)
A list of URIs where this ticket can be redeemed via DoGet(). If the list is empty, the expectation is that the ticket can only be redeemed on the current service where the ticket was generated. If the list is not empty, the expectation is that the ticket can be redeemed at any of the locations, and that the data returned will be equivalent. In this case, the ticket may only be redeemed at one of the given locations, and not (necessarily) on the current service. If one of the given locations is "arrow-flight-reuse-connection://?", the client may redeem the ticket on the service where the ticket was generated (i.e., the same as above), in addition to the other locations. (This URI was chosen to maximize compatibility, as 'scheme:' or 'scheme://' are not accepted by Java's java.net.URI.) In other words, an application can use multiple locations to represent redundant and/or load balanced services.
repeated .arrow.flight.protocol.Location location = 2;getLocationOrBuilder in interface Flight.FlightEndpointOrBuilderpublic boolean hasExpirationTime()
Expiration time of this stream. If present, clients may assume they can retry DoGet requests. Otherwise, it is application-defined whether DoGet requests may be retried.
.google.protobuf.Timestamp expiration_time = 3;hasExpirationTime in interface Flight.FlightEndpointOrBuilderpublic com.google.protobuf.Timestamp getExpirationTime()
Expiration time of this stream. If present, clients may assume they can retry DoGet requests. Otherwise, it is application-defined whether DoGet requests may be retried.
.google.protobuf.Timestamp expiration_time = 3;getExpirationTime in interface Flight.FlightEndpointOrBuilderpublic com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
Expiration time of this stream. If present, clients may assume they can retry DoGet requests. Otherwise, it is application-defined whether DoGet requests may be retried.
.google.protobuf.Timestamp expiration_time = 3;getExpirationTimeOrBuilder in interface Flight.FlightEndpointOrBuilderpublic com.google.protobuf.ByteString getAppMetadata()
Application-defined metadata. There is no inherent or required relationship between this and the app_metadata fields in the FlightInfo or resulting FlightData messages. Since this metadata is application-defined, a given application could define there to be a relationship, but there is none required by the spec.
bytes app_metadata = 4;getAppMetadata in interface Flight.FlightEndpointOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Flight.FlightEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Flight.FlightEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Flight.FlightEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Flight.FlightEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Flight.FlightEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Flight.FlightEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Flight.FlightEndpoint parseFrom(InputStream input) throws IOException
IOExceptionpublic static Flight.FlightEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Flight.FlightEndpoint parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Flight.FlightEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Flight.FlightEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Flight.FlightEndpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Flight.FlightEndpoint.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Flight.FlightEndpoint.Builder newBuilder()
public static Flight.FlightEndpoint.Builder newBuilder(Flight.FlightEndpoint prototype)
public Flight.FlightEndpoint.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Flight.FlightEndpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Flight.FlightEndpoint getDefaultInstance()
public static com.google.protobuf.Parser<Flight.FlightEndpoint> parser()
public com.google.protobuf.Parser<Flight.FlightEndpoint> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Flight.FlightEndpoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 The Apache Software Foundation. All rights reserved.