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
Modifier and Type | Method and Description |
---|---|
Flight.FlightEndpoint.Builder |
addAllLocation(Iterable<? extends Flight.Location> values)
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.FlightEndpoint.Builder |
addLocation(Flight.Location.Builder builderForValue)
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.FlightEndpoint.Builder |
addLocation(Flight.Location value)
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.FlightEndpoint.Builder |
addLocation(int index,
Flight.Location.Builder builderForValue)
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.FlightEndpoint.Builder |
addLocation(int index,
Flight.Location value)
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.Location.Builder |
addLocationBuilder()
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.Location.Builder |
addLocationBuilder(int index)
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.FlightEndpoint |
build() |
Flight.FlightEndpoint |
buildPartial() |
Flight.FlightEndpoint.Builder |
clear() |
Flight.FlightEndpoint.Builder |
clearExpirationTime()
Expiration time of this stream.
|
Flight.FlightEndpoint.Builder |
clearLocation()
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.FlightEndpoint.Builder |
clearTicket()
Token used to retrieve this stream.
|
Flight.FlightEndpoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getExpirationTime()
Expiration time of this stream.
|
com.google.protobuf.Timestamp.Builder |
getExpirationTimeBuilder()
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().
|
Flight.Location.Builder |
getLocationBuilder(int index)
A list of URIs where this ticket can be redeemed via DoGet().
|
List<Flight.Location.Builder> |
getLocationBuilderList()
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.Ticket.Builder |
getTicketBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Flight.FlightEndpoint.Builder |
mergeExpirationTime(com.google.protobuf.Timestamp value)
Expiration time of this stream.
|
Flight.FlightEndpoint.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Flight.FlightEndpoint.Builder |
mergeFrom(Flight.FlightEndpoint other) |
Flight.FlightEndpoint.Builder |
mergeFrom(com.google.protobuf.Message other) |
Flight.FlightEndpoint.Builder |
mergeTicket(Flight.Ticket value)
Token used to retrieve this stream.
|
Flight.FlightEndpoint.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Flight.FlightEndpoint.Builder |
removeLocation(int index)
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.FlightEndpoint.Builder |
setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue)
Expiration time of this stream.
|
Flight.FlightEndpoint.Builder |
setExpirationTime(com.google.protobuf.Timestamp value)
Expiration time of this stream.
|
Flight.FlightEndpoint.Builder |
setLocation(int index,
Flight.Location.Builder builderForValue)
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.FlightEndpoint.Builder |
setLocation(int index,
Flight.Location value)
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.FlightEndpoint.Builder |
setTicket(Flight.Ticket.Builder builderForValue)
Token used to retrieve this stream.
|
Flight.FlightEndpoint.Builder |
setTicket(Flight.Ticket value)
Token used to retrieve this stream.
|
Flight.FlightEndpoint.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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
public Flight.FlightEndpoint.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
public Flight.FlightEndpoint getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Flight.FlightEndpoint build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Flight.FlightEndpoint buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Flight.FlightEndpoint.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Flight.FlightEndpoint.Builder>
public Flight.FlightEndpoint.Builder mergeFrom(Flight.FlightEndpoint other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
public Flight.FlightEndpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Flight.FlightEndpoint.Builder>
IOException
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.FlightEndpoint.Builder setTicket(Flight.Ticket value)
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
public Flight.FlightEndpoint.Builder setTicket(Flight.Ticket.Builder builderForValue)
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
public Flight.FlightEndpoint.Builder mergeTicket(Flight.Ticket value)
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
public Flight.FlightEndpoint.Builder clearTicket()
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
public Flight.Ticket.Builder getTicketBuilder()
Token used to retrieve this stream.
.arrow.flight.protocol.Ticket ticket = 1;
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 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.FlightEndpoint.Builder setLocation(int index, Flight.Location value)
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;
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. In other words, an application can use multiple locations to represent redundant and/or load balanced services.
repeated .arrow.flight.protocol.Location location = 2;
public Flight.FlightEndpoint.Builder addLocation(Flight.Location value)
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;
public Flight.FlightEndpoint.Builder addLocation(int index, Flight.Location value)
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;
public Flight.FlightEndpoint.Builder addLocation(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. In other words, an application can use multiple locations to represent redundant and/or load balanced services.
repeated .arrow.flight.protocol.Location location = 2;
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. In other words, an application can use multiple locations to represent redundant and/or load balanced services.
repeated .arrow.flight.protocol.Location location = 2;
public Flight.FlightEndpoint.Builder addAllLocation(Iterable<? extends Flight.Location> values)
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;
public Flight.FlightEndpoint.Builder 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. In other words, an application can use multiple locations to represent redundant and/or load balanced services.
repeated .arrow.flight.protocol.Location location = 2;
public Flight.FlightEndpoint.Builder removeLocation(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;
public Flight.Location.Builder getLocationBuilder(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;
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 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 Flight.Location.Builder 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. In other words, an application can use multiple locations to represent redundant and/or load balanced services.
repeated .arrow.flight.protocol.Location location = 2;
public Flight.Location.Builder addLocationBuilder(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;
public List<Flight.Location.Builder> 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. In other words, an application can use multiple locations to represent redundant and/or load balanced services.
repeated .arrow.flight.protocol.Location location = 2;
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 Flight.FlightEndpoint.Builder setExpirationTime(com.google.protobuf.Timestamp value)
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;
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;
public Flight.FlightEndpoint.Builder mergeExpirationTime(com.google.protobuf.Timestamp value)
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;
public Flight.FlightEndpoint.Builder 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;
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;
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 final Flight.FlightEndpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
public final Flight.FlightEndpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
Copyright © 2023 The Apache Software Foundation. All rights reserved.