Class PeerInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PeerInfo.Builder>
com.google.bigtable.v2.PeerInfo.Builder
All Implemented Interfaces:
PeerInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PeerInfo

public static final class PeerInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<PeerInfo.Builder> implements PeerInfoOrBuilder
 PeerInfo contains information about the peer that the client is
 connecting to.
 
Protobuf type google.bigtable.v2.PeerInfo
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PeerInfo.Builder>
    • clear

      public PeerInfo.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.GeneratedMessage.Builder<PeerInfo.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.GeneratedMessage.Builder<PeerInfo.Builder>
    • getDefaultInstanceForType

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

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

      public PeerInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public PeerInfo.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<PeerInfo.Builder>
    • mergeFrom

      public PeerInfo.Builder mergeFrom(PeerInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<PeerInfo.Builder>
    • mergeFrom

      public PeerInfo.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<PeerInfo.Builder>
      Throws:
      IOException
    • getGoogleFrontendId

      public long getGoogleFrontendId()
       An opaque identifier for the Google Frontend which serviced this request.
       Only set when not using DirectAccess.
       
      int64 google_frontend_id = 1;
      Specified by:
      getGoogleFrontendId in interface PeerInfoOrBuilder
      Returns:
      The googleFrontendId.
    • setGoogleFrontendId

      public PeerInfo.Builder setGoogleFrontendId(long value)
       An opaque identifier for the Google Frontend which serviced this request.
       Only set when not using DirectAccess.
       
      int64 google_frontend_id = 1;
      Parameters:
      value - The googleFrontendId to set.
      Returns:
      This builder for chaining.
    • clearGoogleFrontendId

      public PeerInfo.Builder clearGoogleFrontendId()
       An opaque identifier for the Google Frontend which serviced this request.
       Only set when not using DirectAccess.
       
      int64 google_frontend_id = 1;
      Returns:
      This builder for chaining.
    • getApplicationFrontendId

      public long getApplicationFrontendId()
       An opaque identifier for the application frontend which serviced this
       request.
       
      int64 application_frontend_id = 2;
      Specified by:
      getApplicationFrontendId in interface PeerInfoOrBuilder
      Returns:
      The applicationFrontendId.
    • setApplicationFrontendId

      public PeerInfo.Builder setApplicationFrontendId(long value)
       An opaque identifier for the application frontend which serviced this
       request.
       
      int64 application_frontend_id = 2;
      Parameters:
      value - The applicationFrontendId to set.
      Returns:
      This builder for chaining.
    • clearApplicationFrontendId

      public PeerInfo.Builder clearApplicationFrontendId()
       An opaque identifier for the application frontend which serviced this
       request.
       
      int64 application_frontend_id = 2;
      Returns:
      This builder for chaining.
    • getApplicationFrontendZone

      public String getApplicationFrontendZone()
       The Cloud zone of the application frontend that served this request.
       
      string application_frontend_zone = 3;
      Specified by:
      getApplicationFrontendZone in interface PeerInfoOrBuilder
      Returns:
      The applicationFrontendZone.
    • getApplicationFrontendZoneBytes

      public com.google.protobuf.ByteString getApplicationFrontendZoneBytes()
       The Cloud zone of the application frontend that served this request.
       
      string application_frontend_zone = 3;
      Specified by:
      getApplicationFrontendZoneBytes in interface PeerInfoOrBuilder
      Returns:
      The bytes for applicationFrontendZone.
    • setApplicationFrontendZone

      public PeerInfo.Builder setApplicationFrontendZone(String value)
       The Cloud zone of the application frontend that served this request.
       
      string application_frontend_zone = 3;
      Parameters:
      value - The applicationFrontendZone to set.
      Returns:
      This builder for chaining.
    • clearApplicationFrontendZone

      public PeerInfo.Builder clearApplicationFrontendZone()
       The Cloud zone of the application frontend that served this request.
       
      string application_frontend_zone = 3;
      Returns:
      This builder for chaining.
    • setApplicationFrontendZoneBytes

      public PeerInfo.Builder setApplicationFrontendZoneBytes(com.google.protobuf.ByteString value)
       The Cloud zone of the application frontend that served this request.
       
      string application_frontend_zone = 3;
      Parameters:
      value - The bytes for applicationFrontendZone to set.
      Returns:
      This builder for chaining.
    • getApplicationFrontendSubzone

      public String getApplicationFrontendSubzone()
       The subzone of the application frontend that served this request, e.g. an
       identifier for where within the zone the application frontend is.
       
      string application_frontend_subzone = 4;
      Specified by:
      getApplicationFrontendSubzone in interface PeerInfoOrBuilder
      Returns:
      The applicationFrontendSubzone.
    • getApplicationFrontendSubzoneBytes

      public com.google.protobuf.ByteString getApplicationFrontendSubzoneBytes()
       The subzone of the application frontend that served this request, e.g. an
       identifier for where within the zone the application frontend is.
       
      string application_frontend_subzone = 4;
      Specified by:
      getApplicationFrontendSubzoneBytes in interface PeerInfoOrBuilder
      Returns:
      The bytes for applicationFrontendSubzone.
    • setApplicationFrontendSubzone

      public PeerInfo.Builder setApplicationFrontendSubzone(String value)
       The subzone of the application frontend that served this request, e.g. an
       identifier for where within the zone the application frontend is.
       
      string application_frontend_subzone = 4;
      Parameters:
      value - The applicationFrontendSubzone to set.
      Returns:
      This builder for chaining.
    • clearApplicationFrontendSubzone

      public PeerInfo.Builder clearApplicationFrontendSubzone()
       The subzone of the application frontend that served this request, e.g. an
       identifier for where within the zone the application frontend is.
       
      string application_frontend_subzone = 4;
      Returns:
      This builder for chaining.
    • setApplicationFrontendSubzoneBytes

      public PeerInfo.Builder setApplicationFrontendSubzoneBytes(com.google.protobuf.ByteString value)
       The subzone of the application frontend that served this request, e.g. an
       identifier for where within the zone the application frontend is.
       
      string application_frontend_subzone = 4;
      Parameters:
      value - The bytes for applicationFrontendSubzone to set.
      Returns:
      This builder for chaining.
    • getTransportTypeValue

      public int getTransportTypeValue()
      .google.bigtable.v2.PeerInfo.TransportType transport_type = 5;
      Specified by:
      getTransportTypeValue in interface PeerInfoOrBuilder
      Returns:
      The enum numeric value on the wire for transportType.
    • setTransportTypeValue

      public PeerInfo.Builder setTransportTypeValue(int value)
      .google.bigtable.v2.PeerInfo.TransportType transport_type = 5;
      Parameters:
      value - The enum numeric value on the wire for transportType to set.
      Returns:
      This builder for chaining.
    • getTransportType

      public PeerInfo.TransportType getTransportType()
      .google.bigtable.v2.PeerInfo.TransportType transport_type = 5;
      Specified by:
      getTransportType in interface PeerInfoOrBuilder
      Returns:
      The transportType.
    • setTransportType

      public PeerInfo.Builder setTransportType(PeerInfo.TransportType value)
      .google.bigtable.v2.PeerInfo.TransportType transport_type = 5;
      Parameters:
      value - The transportType to set.
      Returns:
      This builder for chaining.
    • clearTransportType

      public PeerInfo.Builder clearTransportType()
      .google.bigtable.v2.PeerInfo.TransportType transport_type = 5;
      Returns:
      This builder for chaining.