Class TrackClusterStats.Builder

    • Method Detail

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

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

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

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

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

        public TrackClusterStats.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<TrackClusterStats.Builder>
      • setField

        public TrackClusterStats.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<TrackClusterStats.Builder>
      • clearField

        public TrackClusterStats.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<TrackClusterStats.Builder>
      • clearOneof

        public TrackClusterStats.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<TrackClusterStats.Builder>
      • setRepeatedField

        public TrackClusterStats.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<TrackClusterStats.Builder>
      • addRepeatedField

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

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

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

        public TrackClusterStats.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<TrackClusterStats.Builder>
        Throws:
        IOException
      • getTimeoutBudgets

        public boolean getTimeoutBudgets()
         If timeout_budgets is true, the :ref:`timeout budget histograms
         <config_cluster_manager_cluster_stats_timeout_budgets>` will be published for each
         request. These show what percentage of a request's per try and global timeout was used. A value
         of 0 would indicate that none of the timeout was used or that the timeout was infinite. A value
         of 100 would indicate that the request took the entirety of the timeout given to it.
         
        bool timeout_budgets = 1;
        Specified by:
        getTimeoutBudgets in interface TrackClusterStatsOrBuilder
        Returns:
        The timeoutBudgets.
      • setTimeoutBudgets

        public TrackClusterStats.Builder setTimeoutBudgets​(boolean value)
         If timeout_budgets is true, the :ref:`timeout budget histograms
         <config_cluster_manager_cluster_stats_timeout_budgets>` will be published for each
         request. These show what percentage of a request's per try and global timeout was used. A value
         of 0 would indicate that none of the timeout was used or that the timeout was infinite. A value
         of 100 would indicate that the request took the entirety of the timeout given to it.
         
        bool timeout_budgets = 1;
        Parameters:
        value - The timeoutBudgets to set.
        Returns:
        This builder for chaining.
      • clearTimeoutBudgets

        public TrackClusterStats.Builder clearTimeoutBudgets()
         If timeout_budgets is true, the :ref:`timeout budget histograms
         <config_cluster_manager_cluster_stats_timeout_budgets>` will be published for each
         request. These show what percentage of a request's per try and global timeout was used. A value
         of 0 would indicate that none of the timeout was used or that the timeout was infinite. A value
         of 100 would indicate that the request took the entirety of the timeout given to it.
         
        bool timeout_budgets = 1;
        Returns:
        This builder for chaining.
      • getRequestResponseSizes

        public boolean getRequestResponseSizes()
         If request_response_sizes is true, then the :ref:`histograms
         <config_cluster_manager_cluster_stats_request_response_sizes>`  tracking header and body sizes
         of requests and responses will be published.
         
        bool request_response_sizes = 2;
        Specified by:
        getRequestResponseSizes in interface TrackClusterStatsOrBuilder
        Returns:
        The requestResponseSizes.
      • setRequestResponseSizes

        public TrackClusterStats.Builder setRequestResponseSizes​(boolean value)
         If request_response_sizes is true, then the :ref:`histograms
         <config_cluster_manager_cluster_stats_request_response_sizes>`  tracking header and body sizes
         of requests and responses will be published.
         
        bool request_response_sizes = 2;
        Parameters:
        value - The requestResponseSizes to set.
        Returns:
        This builder for chaining.
      • clearRequestResponseSizes

        public TrackClusterStats.Builder clearRequestResponseSizes()
         If request_response_sizes is true, then the :ref:`histograms
         <config_cluster_manager_cluster_stats_request_response_sizes>`  tracking header and body sizes
         of requests and responses will be published.
         
        bool request_response_sizes = 2;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final TrackClusterStats.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<TrackClusterStats.Builder>
      • mergeUnknownFields

        public final TrackClusterStats.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<TrackClusterStats.Builder>