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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
    • getDefaultInstanceForType

      public Flight.FlightEndpoint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Flight.FlightEndpoint build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Flight.FlightEndpoint buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
    • clearField

      public Flight.FlightEndpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
    • clearOneof

      public Flight.FlightEndpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
    • mergeFrom

      public Flight.FlightEndpoint.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Flight.FlightEndpoint.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface Flight.FlightEndpointOrBuilder
      Returns:
      Whether the ticket field is set.
    • getTicket

      public Flight.Ticket getTicket()
      
       Token used to retrieve this stream.
       
      .arrow.flight.protocol.Ticket ticket = 1;
      Specified by:
      getTicket in interface Flight.FlightEndpointOrBuilder
      Returns:
      The ticket.
    • setTicket

      public Flight.FlightEndpoint.Builder setTicket(Flight.Ticket value)
      
       Token used to retrieve this stream.
       
      .arrow.flight.protocol.Ticket ticket = 1;
    • setTicket

      public Flight.FlightEndpoint.Builder setTicket(Flight.Ticket.Builder builderForValue)
      
       Token used to retrieve this stream.
       
      .arrow.flight.protocol.Ticket ticket = 1;
    • mergeTicket

      public Flight.FlightEndpoint.Builder mergeTicket(Flight.Ticket value)
      
       Token used to retrieve this stream.
       
      .arrow.flight.protocol.Ticket ticket = 1;
    • clearTicket

      public Flight.FlightEndpoint.Builder clearTicket()
      
       Token used to retrieve this stream.
       
      .arrow.flight.protocol.Ticket ticket = 1;
    • getTicketBuilder

      public Flight.Ticket.Builder getTicketBuilder()
      
       Token used to retrieve this stream.
       
      .arrow.flight.protocol.Ticket ticket = 1;
    • getTicketOrBuilder

      public Flight.TicketOrBuilder getTicketOrBuilder()
      
       Token used to retrieve this stream.
       
      .arrow.flight.protocol.Ticket ticket = 1;
      Specified by:
      getTicketOrBuilder in interface Flight.FlightEndpointOrBuilder
    • getLocationList

      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. 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 interface Flight.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 interface Flight.FlightEndpointOrBuilder
    • getLocation

      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. 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 interface Flight.FlightEndpointOrBuilder
    • setLocation

      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. 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

      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. 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 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. 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(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

      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

      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. 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

      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. 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

      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. 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

      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. 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

      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. 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 interface Flight.FlightEndpointOrBuilder
    • getLocationOrBuilderList

      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. 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 interface Flight.FlightEndpointOrBuilder
    • addLocationBuilder

      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. 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

      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. 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

      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. 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 interface Flight.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 interface Flight.FlightEndpointOrBuilder
      Returns:
      The expirationTime.
    • setExpirationTime

      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;
    • 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

      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;
    • clearExpirationTime

      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;
    • 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 interface Flight.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 interface Flight.FlightEndpointOrBuilder
      Returns:
      The appMetadata.
    • setAppMetadata

      public Flight.FlightEndpoint.Builder setAppMetadata(com.google.protobuf.ByteString value)
      
       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

      public Flight.FlightEndpoint.Builder 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>
    • mergeUnknownFields

      public final Flight.FlightEndpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Flight.FlightEndpoint.Builder>