Class InitialLoadBalanceResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<InitialLoadBalanceResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<InitialLoadBalanceResponse.Builder>
io.grpc.lb.v1.InitialLoadBalanceResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, InitialLoadBalanceResponseOrBuilder, Cloneable
Enclosing class:
InitialLoadBalanceResponse

public static final class InitialLoadBalanceResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<InitialLoadBalanceResponse.Builder> implements InitialLoadBalanceResponseOrBuilder
Protobuf type grpc.lb.v1.InitialLoadBalanceResponse
  • 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<InitialLoadBalanceResponse.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<InitialLoadBalanceResponse.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<InitialLoadBalanceResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public InitialLoadBalanceResponse.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<InitialLoadBalanceResponse.Builder>
      Throws:
      IOException
    • hasClientStatsReportInterval

      public boolean hasClientStatsReportInterval()
      This interval defines how often the client should send the client stats
      to the load balancer. Stats should only be reported when the duration is
      positive.
      
      .google.protobuf.Duration client_stats_report_interval = 2;
      Specified by:
      hasClientStatsReportInterval in interface InitialLoadBalanceResponseOrBuilder
      Returns:
      Whether the clientStatsReportInterval field is set.
    • getClientStatsReportInterval

      public com.google.protobuf.Duration getClientStatsReportInterval()
      This interval defines how often the client should send the client stats
      to the load balancer. Stats should only be reported when the duration is
      positive.
      
      .google.protobuf.Duration client_stats_report_interval = 2;
      Specified by:
      getClientStatsReportInterval in interface InitialLoadBalanceResponseOrBuilder
      Returns:
      The clientStatsReportInterval.
    • setClientStatsReportInterval

      public InitialLoadBalanceResponse.Builder setClientStatsReportInterval(com.google.protobuf.Duration value)
      This interval defines how often the client should send the client stats
      to the load balancer. Stats should only be reported when the duration is
      positive.
      
      .google.protobuf.Duration client_stats_report_interval = 2;
    • setClientStatsReportInterval

      public InitialLoadBalanceResponse.Builder setClientStatsReportInterval(com.google.protobuf.Duration.Builder builderForValue)
      This interval defines how often the client should send the client stats
      to the load balancer. Stats should only be reported when the duration is
      positive.
      
      .google.protobuf.Duration client_stats_report_interval = 2;
    • mergeClientStatsReportInterval

      public InitialLoadBalanceResponse.Builder mergeClientStatsReportInterval(com.google.protobuf.Duration value)
      This interval defines how often the client should send the client stats
      to the load balancer. Stats should only be reported when the duration is
      positive.
      
      .google.protobuf.Duration client_stats_report_interval = 2;
    • clearClientStatsReportInterval

      public InitialLoadBalanceResponse.Builder clearClientStatsReportInterval()
      This interval defines how often the client should send the client stats
      to the load balancer. Stats should only be reported when the duration is
      positive.
      
      .google.protobuf.Duration client_stats_report_interval = 2;
    • getClientStatsReportIntervalBuilder

      public com.google.protobuf.Duration.Builder getClientStatsReportIntervalBuilder()
      This interval defines how often the client should send the client stats
      to the load balancer. Stats should only be reported when the duration is
      positive.
      
      .google.protobuf.Duration client_stats_report_interval = 2;
    • getClientStatsReportIntervalOrBuilder

      public com.google.protobuf.DurationOrBuilder getClientStatsReportIntervalOrBuilder()
      This interval defines how often the client should send the client stats
      to the load balancer. Stats should only be reported when the duration is
      positive.
      
      .google.protobuf.Duration client_stats_report_interval = 2;
      Specified by:
      getClientStatsReportIntervalOrBuilder in interface InitialLoadBalanceResponseOrBuilder