public static interface Flight.FlightEndpointOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getAppMetadata()
Application-defined metadata.
|
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().
|
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.
|
boolean |
hasTicket()
Token used to retrieve this stream.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasTicket()
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
Flight.Ticket getTicket()
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
Flight.TicketOrBuilder getTicketOrBuilder()
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
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;
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;
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;
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;
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;
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;
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;
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;
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;
Copyright © 2024 The Apache Software Foundation. All rights reserved.