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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Flight.FlightEndpoint |
build() |
Flight.FlightEndpoint |
buildPartial() |
Flight.FlightEndpoint.Builder |
clear() |
Flight.FlightEndpoint.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Flight.FlightEndpoint.Builder |
clearLocation()
A list of URIs where this ticket can be redeemed via DoGet().
|
Flight.FlightEndpoint.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Flight.FlightEndpoint.Builder |
clearTicket()
Token used to retrieve this stream.
|
Flight.FlightEndpoint.Builder |
clone() |
Flight.FlightEndpoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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 |
hasTicket()
Token used to retrieve this stream.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
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) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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 clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
public Flight.FlightEndpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
public Flight.FlightEndpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
public Flight.FlightEndpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
public Flight.FlightEndpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
public Flight.FlightEndpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.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 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 © 2022 The Apache Software Foundation. All rights reserved.