Package org.apache.arrow.flight.impl
Class Flight.FlightEndpoint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
org.apache.arrow.flight.impl.Flight.FlightEndpoint.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Flight.FlightEndpointOrBuilder
- Enclosing class:
- Flight.FlightEndpoint
public static final class Flight.FlightEndpoint.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
implements Flight.FlightEndpointOrBuilder
A particular stream or split associated with a flight.Protobuf type
arrow.flight.protocol.FlightEndpoint
-
Method Summary
Modifier and TypeMethodDescriptionaddAllLocation
(Iterable<? extends Flight.Location> values) A list of URIs where this ticket can be redeemed via DoGet().addLocation
(int index, Flight.Location value) A list of URIs where this ticket can be redeemed via DoGet().addLocation
(int index, Flight.Location.Builder builderForValue) A list of URIs where this ticket can be redeemed via DoGet().addLocation
(Flight.Location value) A list of URIs where this ticket can be redeemed via DoGet().addLocation
(Flight.Location.Builder builderForValue) A list of URIs where this ticket can be redeemed via DoGet().A list of URIs where this ticket can be redeemed via DoGet().addLocationBuilder
(int index) A list of URIs where this ticket can be redeemed via DoGet().addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Application-defined metadata.Expiration time of this stream.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) A list of URIs where this ticket can be redeemed via DoGet().clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Token used to retrieve this stream.clone()
com.google.protobuf.ByteString
Application-defined metadata.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Timestamp
Expiration time of this stream.com.google.protobuf.Timestamp.Builder
Expiration time of this stream.com.google.protobuf.TimestampOrBuilder
Expiration time of this stream.getLocation
(int index) A list of URIs where this ticket can be redeemed via DoGet().getLocationBuilder
(int index) A list of URIs where this ticket can be redeemed via DoGet().A list of URIs where this ticket can be redeemed via DoGet().int
A list of URIs where this ticket can be redeemed via DoGet().A list of URIs where this ticket can be redeemed via DoGet().getLocationOrBuilder
(int index) A list of URIs where this ticket can be redeemed via DoGet().List<? extends Flight.LocationOrBuilder>
A list of URIs where this ticket can be redeemed via DoGet().Token used to retrieve this stream.Token used to retrieve this stream.Token used to retrieve this stream.boolean
Expiration time of this stream.boolean
Token used to retrieve this stream.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeExpirationTime
(com.google.protobuf.Timestamp value) Expiration time of this stream.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Flight.FlightEndpoint other) mergeTicket
(Flight.Ticket value) Token used to retrieve this stream.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeLocation
(int index) A list of URIs where this ticket can be redeemed via DoGet().setAppMetadata
(com.google.protobuf.ByteString value) Application-defined metadata.setExpirationTime
(com.google.protobuf.Timestamp value) Expiration time of this stream.setExpirationTime
(com.google.protobuf.Timestamp.Builder builderForValue) Expiration time of this stream.setLocation
(int index, Flight.Location value) A list of URIs where this ticket can be redeemed via DoGet().setLocation
(int index, Flight.Location.Builder builderForValue) A list of URIs where this ticket can be redeemed via DoGet().setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTicket
(Flight.Ticket value) Token used to retrieve this stream.setTicket
(Flight.Ticket.Builder builderForValue) Token used to retrieve this stream.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
-
setField
public Flight.FlightEndpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
-
clearField
public Flight.FlightEndpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
-
clearOneof
public Flight.FlightEndpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
-
setRepeatedField
public Flight.FlightEndpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
-
addRepeatedField
public Flight.FlightEndpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Flight.FlightEndpoint.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
-
mergeFrom
public Flight.FlightEndpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Flight.FlightEndpoint.Builder>
- Throws:
IOException
-
hasTicket
public boolean hasTicket()Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
- Specified by:
hasTicket
in interfaceFlight.FlightEndpointOrBuilder
- Returns:
- Whether the ticket field is set.
-
getTicket
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
- Specified by:
getTicket
in interfaceFlight.FlightEndpointOrBuilder
- Returns:
- The ticket.
-
setTicket
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
-
setTicket
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
-
mergeTicket
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
-
clearTicket
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
-
getTicketBuilder
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
-
getTicketOrBuilder
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
- Specified by:
getTicketOrBuilder
in interfaceFlight.FlightEndpointOrBuilder
-
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;
- Specified by:
getLocationList
in interfaceFlight.FlightEndpointOrBuilder
-
getLocationCount
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. 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;
- Specified by:
getLocationCount
in interfaceFlight.FlightEndpointOrBuilder
-
getLocation
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;
- Specified by:
getLocation
in interfaceFlight.FlightEndpointOrBuilder
-
setLocation
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;
-
setLocation
public Flight.FlightEndpoint.Builder setLocation(int index, Flight.Location.Builder builderForValue) 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;
-
addLocation
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;
-
addLocation
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;
-
addLocation
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;
-
addLocation
public Flight.FlightEndpoint.Builder addLocation(int index, Flight.Location.Builder builderForValue) 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;
-
addAllLocation
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;
-
clearLocation
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;
-
removeLocation
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;
-
getLocationBuilder
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
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;
- Specified by:
getLocationOrBuilder
in interfaceFlight.FlightEndpointOrBuilder
-
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;
- Specified by:
getLocationOrBuilderList
in interfaceFlight.FlightEndpointOrBuilder
-
addLocationBuilder
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;
-
addLocationBuilder
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;
-
getLocationBuilderList
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;
-
hasExpirationTime
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;
- Specified by:
hasExpirationTime
in interfaceFlight.FlightEndpointOrBuilder
- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
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;
- Specified by:
getExpirationTime
in interfaceFlight.FlightEndpointOrBuilder
- Returns:
- The expirationTime.
-
setExpirationTime
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;
-
setExpirationTime
public Flight.FlightEndpoint.Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) 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;
-
mergeExpirationTime
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;
-
clearExpirationTime
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;
-
getExpirationTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()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
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;
- Specified by:
getExpirationTimeOrBuilder
in interfaceFlight.FlightEndpointOrBuilder
-
getAppMetadata
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;
- Specified by:
getAppMetadata
in interfaceFlight.FlightEndpointOrBuilder
- Returns:
- The appMetadata.
-
setAppMetadata
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;
- Parameters:
value
- The appMetadata to set.- Returns:
- This builder for chaining.
-
clearAppMetadata
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;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Flight.FlightEndpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
-
mergeUnknownFields
public final Flight.FlightEndpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
-