Package io.grpc.lb.v1

Class InitialLoadBalanceResponse.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • clientStatsReportInterval_

        private com.google.protobuf.Duration clientStatsReportInterval_
      • clientStatsReportIntervalBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> clientStatsReportIntervalBuilder_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

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

        private void maybeForceBuilderInitialization()
      • 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

        public InitialLoadBalanceResponse 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
      • 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 java.io.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:
        java.io.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
      • getClientStatsReportIntervalFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getClientStatsReportIntervalFieldBuilder()
         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;