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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasTicket()
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
hasTicket
in interface Flight.FlightEndpointOrBuilder
public Flight.Ticket getTicket()
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
getTicket
in interface Flight.FlightEndpointOrBuilder
public Flight.TicketOrBuilder getTicketOrBuilder()
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
getTicketOrBuilder
in interface Flight.FlightEndpointOrBuilder
public 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. 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.FlightEndpointOrBuilder
public 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. 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.FlightEndpointOrBuilder
public 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. 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.FlightEndpointOrBuilder
public 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. 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.FlightEndpointOrBuilder
public 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. 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.FlightEndpointOrBuilder
public 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.FlightEndpointOrBuilder
public 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.FlightEndpointOrBuilder
public 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.FlightEndpointOrBuilder
public 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.FlightEndpointOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Flight.FlightEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Flight.FlightEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Flight.FlightEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Flight.FlightEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Flight.FlightEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Flight.FlightEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Flight.FlightEndpoint parseFrom(InputStream input) throws IOException
IOException
public static Flight.FlightEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Flight.FlightEndpoint parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Flight.FlightEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Flight.FlightEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Flight.FlightEndpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Flight.FlightEndpoint.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Flight.FlightEndpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Flight.FlightEndpoint getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023 The Apache Software Foundation. All rights reserved.