Package io.grpc.lb.v1

Class LoadBalanceRequest.Builder

    • 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<LoadBalanceRequest.Builder>
      • clear

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

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

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

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

        public LoadBalanceRequest.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<LoadBalanceRequest.Builder>
      • isInitialized

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

        public LoadBalanceRequest.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<LoadBalanceRequest.Builder>
        Throws:
        java.io.IOException
      • hasInitialRequest

        public boolean hasInitialRequest()
         This message should be sent on the first request to the load balancer.
         
        .grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
        Specified by:
        hasInitialRequest in interface LoadBalanceRequestOrBuilder
        Returns:
        Whether the initialRequest field is set.
      • clearInitialRequest

        public LoadBalanceRequest.Builder clearInitialRequest()
         This message should be sent on the first request to the load balancer.
         
        .grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
      • getInitialRequestBuilder

        public InitialLoadBalanceRequest.Builder getInitialRequestBuilder()
         This message should be sent on the first request to the load balancer.
         
        .grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;
      • hasClientStats

        public boolean hasClientStats()
         The client stats should be periodically reported to the load balancer
         based on the duration defined in the InitialLoadBalanceResponse.
         
        .grpc.lb.v1.ClientStats client_stats = 2;
        Specified by:
        hasClientStats in interface LoadBalanceRequestOrBuilder
        Returns:
        Whether the clientStats field is set.
      • getClientStats

        public ClientStats getClientStats()
         The client stats should be periodically reported to the load balancer
         based on the duration defined in the InitialLoadBalanceResponse.
         
        .grpc.lb.v1.ClientStats client_stats = 2;
        Specified by:
        getClientStats in interface LoadBalanceRequestOrBuilder
        Returns:
        The clientStats.
      • setClientStats

        public LoadBalanceRequest.Builder setClientStats​(ClientStats value)
         The client stats should be periodically reported to the load balancer
         based on the duration defined in the InitialLoadBalanceResponse.
         
        .grpc.lb.v1.ClientStats client_stats = 2;
      • setClientStats

        public LoadBalanceRequest.Builder setClientStats​(ClientStats.Builder builderForValue)
         The client stats should be periodically reported to the load balancer
         based on the duration defined in the InitialLoadBalanceResponse.
         
        .grpc.lb.v1.ClientStats client_stats = 2;
      • mergeClientStats

        public LoadBalanceRequest.Builder mergeClientStats​(ClientStats value)
         The client stats should be periodically reported to the load balancer
         based on the duration defined in the InitialLoadBalanceResponse.
         
        .grpc.lb.v1.ClientStats client_stats = 2;
      • clearClientStats

        public LoadBalanceRequest.Builder clearClientStats()
         The client stats should be periodically reported to the load balancer
         based on the duration defined in the InitialLoadBalanceResponse.
         
        .grpc.lb.v1.ClientStats client_stats = 2;
      • getClientStatsBuilder

        public ClientStats.Builder getClientStatsBuilder()
         The client stats should be periodically reported to the load balancer
         based on the duration defined in the InitialLoadBalanceResponse.
         
        .grpc.lb.v1.ClientStats client_stats = 2;
      • getClientStatsFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<ClientStats,​ClientStats.Builder,​ClientStatsOrBuilder> getClientStatsFieldBuilder()
         The client stats should be periodically reported to the load balancer
         based on the duration defined in the InitialLoadBalanceResponse.
         
        .grpc.lb.v1.ClientStats client_stats = 2;