Class MetricUpdate.Builder

  • All Implemented Interfaces:
    MetricUpdateOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    MetricUpdate

    public static final class MetricUpdate.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<MetricUpdate.Builder>
    implements MetricUpdateOrBuilder
     Describes the state of a metric.
     
    Protobuf type google.dataflow.v1beta3.MetricUpdate
    • 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<MetricUpdate.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

        public MetricUpdate.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<MetricUpdate.Builder>
        Throws:
        IOException
      • hasName

        public boolean hasName()
         Name of the metric.
         
        .google.dataflow.v1beta3.MetricStructuredName name = 1;
        Specified by:
        hasName in interface MetricUpdateOrBuilder
        Returns:
        Whether the name field is set.
      • clearName

        public MetricUpdate.Builder clearName()
         Name of the metric.
         
        .google.dataflow.v1beta3.MetricStructuredName name = 1;
      • getNameBuilder

        public MetricStructuredName.Builder getNameBuilder()
         Name of the metric.
         
        .google.dataflow.v1beta3.MetricStructuredName name = 1;
      • getKind

        public String getKind()
         Metric aggregation kind.  The possible metric aggregation kinds are
         "Sum", "Max", "Min", "Mean", "Set", "And", "Or", and "Distribution".
         The specified aggregation kind is case-insensitive.
        
         If omitted, this is not an aggregated value but instead
         a single metric sample value.
         
        string kind = 2;
        Specified by:
        getKind in interface MetricUpdateOrBuilder
        Returns:
        The kind.
      • getKindBytes

        public com.google.protobuf.ByteString getKindBytes()
         Metric aggregation kind.  The possible metric aggregation kinds are
         "Sum", "Max", "Min", "Mean", "Set", "And", "Or", and "Distribution".
         The specified aggregation kind is case-insensitive.
        
         If omitted, this is not an aggregated value but instead
         a single metric sample value.
         
        string kind = 2;
        Specified by:
        getKindBytes in interface MetricUpdateOrBuilder
        Returns:
        The bytes for kind.
      • setKind

        public MetricUpdate.Builder setKind​(String value)
         Metric aggregation kind.  The possible metric aggregation kinds are
         "Sum", "Max", "Min", "Mean", "Set", "And", "Or", and "Distribution".
         The specified aggregation kind is case-insensitive.
        
         If omitted, this is not an aggregated value but instead
         a single metric sample value.
         
        string kind = 2;
        Parameters:
        value - The kind to set.
        Returns:
        This builder for chaining.
      • clearKind

        public MetricUpdate.Builder clearKind()
         Metric aggregation kind.  The possible metric aggregation kinds are
         "Sum", "Max", "Min", "Mean", "Set", "And", "Or", and "Distribution".
         The specified aggregation kind is case-insensitive.
        
         If omitted, this is not an aggregated value but instead
         a single metric sample value.
         
        string kind = 2;
        Returns:
        This builder for chaining.
      • setKindBytes

        public MetricUpdate.Builder setKindBytes​(com.google.protobuf.ByteString value)
         Metric aggregation kind.  The possible metric aggregation kinds are
         "Sum", "Max", "Min", "Mean", "Set", "And", "Or", and "Distribution".
         The specified aggregation kind is case-insensitive.
        
         If omitted, this is not an aggregated value but instead
         a single metric sample value.
         
        string kind = 2;
        Parameters:
        value - The bytes for kind to set.
        Returns:
        This builder for chaining.
      • getCumulative

        public boolean getCumulative()
         True if this metric is reported as the total cumulative aggregate
         value accumulated since the worker started working on this WorkItem.
         By default this is false, indicating that this metric is reported
         as a delta that is not associated with any WorkItem.
         
        bool cumulative = 3;
        Specified by:
        getCumulative in interface MetricUpdateOrBuilder
        Returns:
        The cumulative.
      • setCumulative

        public MetricUpdate.Builder setCumulative​(boolean value)
         True if this metric is reported as the total cumulative aggregate
         value accumulated since the worker started working on this WorkItem.
         By default this is false, indicating that this metric is reported
         as a delta that is not associated with any WorkItem.
         
        bool cumulative = 3;
        Parameters:
        value - The cumulative to set.
        Returns:
        This builder for chaining.
      • clearCumulative

        public MetricUpdate.Builder clearCumulative()
         True if this metric is reported as the total cumulative aggregate
         value accumulated since the worker started working on this WorkItem.
         By default this is false, indicating that this metric is reported
         as a delta that is not associated with any WorkItem.
         
        bool cumulative = 3;
        Returns:
        This builder for chaining.
      • hasScalar

        public boolean hasScalar()
         Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min",
         "And", and "Or".  The possible value types are Long, Double, and Boolean.
         
        .google.protobuf.Value scalar = 4;
        Specified by:
        hasScalar in interface MetricUpdateOrBuilder
        Returns:
        Whether the scalar field is set.
      • getScalar

        public com.google.protobuf.Value getScalar()
         Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min",
         "And", and "Or".  The possible value types are Long, Double, and Boolean.
         
        .google.protobuf.Value scalar = 4;
        Specified by:
        getScalar in interface MetricUpdateOrBuilder
        Returns:
        The scalar.
      • setScalar

        public MetricUpdate.Builder setScalar​(com.google.protobuf.Value value)
         Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min",
         "And", and "Or".  The possible value types are Long, Double, and Boolean.
         
        .google.protobuf.Value scalar = 4;
      • setScalar

        public MetricUpdate.Builder setScalar​(com.google.protobuf.Value.Builder builderForValue)
         Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min",
         "And", and "Or".  The possible value types are Long, Double, and Boolean.
         
        .google.protobuf.Value scalar = 4;
      • mergeScalar

        public MetricUpdate.Builder mergeScalar​(com.google.protobuf.Value value)
         Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min",
         "And", and "Or".  The possible value types are Long, Double, and Boolean.
         
        .google.protobuf.Value scalar = 4;
      • clearScalar

        public MetricUpdate.Builder clearScalar()
         Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min",
         "And", and "Or".  The possible value types are Long, Double, and Boolean.
         
        .google.protobuf.Value scalar = 4;
      • getScalarBuilder

        public com.google.protobuf.Value.Builder getScalarBuilder()
         Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min",
         "And", and "Or".  The possible value types are Long, Double, and Boolean.
         
        .google.protobuf.Value scalar = 4;
      • getScalarOrBuilder

        public com.google.protobuf.ValueOrBuilder getScalarOrBuilder()
         Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min",
         "And", and "Or".  The possible value types are Long, Double, and Boolean.
         
        .google.protobuf.Value scalar = 4;
        Specified by:
        getScalarOrBuilder in interface MetricUpdateOrBuilder
      • hasMeanSum

        public boolean hasMeanSum()
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the sum of the aggregated values and is used in combination
         with mean_count below to obtain the actual mean aggregate value.
         The only possible value types are Long and Double.
         
        .google.protobuf.Value mean_sum = 5;
        Specified by:
        hasMeanSum in interface MetricUpdateOrBuilder
        Returns:
        Whether the meanSum field is set.
      • getMeanSum

        public com.google.protobuf.Value getMeanSum()
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the sum of the aggregated values and is used in combination
         with mean_count below to obtain the actual mean aggregate value.
         The only possible value types are Long and Double.
         
        .google.protobuf.Value mean_sum = 5;
        Specified by:
        getMeanSum in interface MetricUpdateOrBuilder
        Returns:
        The meanSum.
      • setMeanSum

        public MetricUpdate.Builder setMeanSum​(com.google.protobuf.Value value)
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the sum of the aggregated values and is used in combination
         with mean_count below to obtain the actual mean aggregate value.
         The only possible value types are Long and Double.
         
        .google.protobuf.Value mean_sum = 5;
      • setMeanSum

        public MetricUpdate.Builder setMeanSum​(com.google.protobuf.Value.Builder builderForValue)
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the sum of the aggregated values and is used in combination
         with mean_count below to obtain the actual mean aggregate value.
         The only possible value types are Long and Double.
         
        .google.protobuf.Value mean_sum = 5;
      • mergeMeanSum

        public MetricUpdate.Builder mergeMeanSum​(com.google.protobuf.Value value)
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the sum of the aggregated values and is used in combination
         with mean_count below to obtain the actual mean aggregate value.
         The only possible value types are Long and Double.
         
        .google.protobuf.Value mean_sum = 5;
      • clearMeanSum

        public MetricUpdate.Builder clearMeanSum()
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the sum of the aggregated values and is used in combination
         with mean_count below to obtain the actual mean aggregate value.
         The only possible value types are Long and Double.
         
        .google.protobuf.Value mean_sum = 5;
      • getMeanSumBuilder

        public com.google.protobuf.Value.Builder getMeanSumBuilder()
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the sum of the aggregated values and is used in combination
         with mean_count below to obtain the actual mean aggregate value.
         The only possible value types are Long and Double.
         
        .google.protobuf.Value mean_sum = 5;
      • getMeanSumOrBuilder

        public com.google.protobuf.ValueOrBuilder getMeanSumOrBuilder()
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the sum of the aggregated values and is used in combination
         with mean_count below to obtain the actual mean aggregate value.
         The only possible value types are Long and Double.
         
        .google.protobuf.Value mean_sum = 5;
        Specified by:
        getMeanSumOrBuilder in interface MetricUpdateOrBuilder
      • hasMeanCount

        public boolean hasMeanCount()
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the count of the aggregated values and is used in combination
         with mean_sum above to obtain the actual mean aggregate value.
         The only possible value type is Long.
         
        .google.protobuf.Value mean_count = 6;
        Specified by:
        hasMeanCount in interface MetricUpdateOrBuilder
        Returns:
        Whether the meanCount field is set.
      • getMeanCount

        public com.google.protobuf.Value getMeanCount()
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the count of the aggregated values and is used in combination
         with mean_sum above to obtain the actual mean aggregate value.
         The only possible value type is Long.
         
        .google.protobuf.Value mean_count = 6;
        Specified by:
        getMeanCount in interface MetricUpdateOrBuilder
        Returns:
        The meanCount.
      • setMeanCount

        public MetricUpdate.Builder setMeanCount​(com.google.protobuf.Value value)
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the count of the aggregated values and is used in combination
         with mean_sum above to obtain the actual mean aggregate value.
         The only possible value type is Long.
         
        .google.protobuf.Value mean_count = 6;
      • setMeanCount

        public MetricUpdate.Builder setMeanCount​(com.google.protobuf.Value.Builder builderForValue)
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the count of the aggregated values and is used in combination
         with mean_sum above to obtain the actual mean aggregate value.
         The only possible value type is Long.
         
        .google.protobuf.Value mean_count = 6;
      • mergeMeanCount

        public MetricUpdate.Builder mergeMeanCount​(com.google.protobuf.Value value)
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the count of the aggregated values and is used in combination
         with mean_sum above to obtain the actual mean aggregate value.
         The only possible value type is Long.
         
        .google.protobuf.Value mean_count = 6;
      • clearMeanCount

        public MetricUpdate.Builder clearMeanCount()
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the count of the aggregated values and is used in combination
         with mean_sum above to obtain the actual mean aggregate value.
         The only possible value type is Long.
         
        .google.protobuf.Value mean_count = 6;
      • getMeanCountBuilder

        public com.google.protobuf.Value.Builder getMeanCountBuilder()
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the count of the aggregated values and is used in combination
         with mean_sum above to obtain the actual mean aggregate value.
         The only possible value type is Long.
         
        .google.protobuf.Value mean_count = 6;
      • getMeanCountOrBuilder

        public com.google.protobuf.ValueOrBuilder getMeanCountOrBuilder()
         Worker-computed aggregate value for the "Mean" aggregation kind.
         This holds the count of the aggregated values and is used in combination
         with mean_sum above to obtain the actual mean aggregate value.
         The only possible value type is Long.
         
        .google.protobuf.Value mean_count = 6;
        Specified by:
        getMeanCountOrBuilder in interface MetricUpdateOrBuilder
      • hasSet

        public boolean hasSet()
         Worker-computed aggregate value for the "Set" aggregation kind.  The only
         possible value type is a list of Values whose type can be Long, Double,
         or String, according to the metric's type.  All Values in the list must
         be of the same type.
         
        .google.protobuf.Value set = 7;
        Specified by:
        hasSet in interface MetricUpdateOrBuilder
        Returns:
        Whether the set field is set.
      • getSet

        public com.google.protobuf.Value getSet()
         Worker-computed aggregate value for the "Set" aggregation kind.  The only
         possible value type is a list of Values whose type can be Long, Double,
         or String, according to the metric's type.  All Values in the list must
         be of the same type.
         
        .google.protobuf.Value set = 7;
        Specified by:
        getSet in interface MetricUpdateOrBuilder
        Returns:
        The set.
      • setSet

        public MetricUpdate.Builder setSet​(com.google.protobuf.Value value)
         Worker-computed aggregate value for the "Set" aggregation kind.  The only
         possible value type is a list of Values whose type can be Long, Double,
         or String, according to the metric's type.  All Values in the list must
         be of the same type.
         
        .google.protobuf.Value set = 7;
      • setSet

        public MetricUpdate.Builder setSet​(com.google.protobuf.Value.Builder builderForValue)
         Worker-computed aggregate value for the "Set" aggregation kind.  The only
         possible value type is a list of Values whose type can be Long, Double,
         or String, according to the metric's type.  All Values in the list must
         be of the same type.
         
        .google.protobuf.Value set = 7;
      • mergeSet

        public MetricUpdate.Builder mergeSet​(com.google.protobuf.Value value)
         Worker-computed aggregate value for the "Set" aggregation kind.  The only
         possible value type is a list of Values whose type can be Long, Double,
         or String, according to the metric's type.  All Values in the list must
         be of the same type.
         
        .google.protobuf.Value set = 7;
      • clearSet

        public MetricUpdate.Builder clearSet()
         Worker-computed aggregate value for the "Set" aggregation kind.  The only
         possible value type is a list of Values whose type can be Long, Double,
         or String, according to the metric's type.  All Values in the list must
         be of the same type.
         
        .google.protobuf.Value set = 7;
      • getSetBuilder

        public com.google.protobuf.Value.Builder getSetBuilder()
         Worker-computed aggregate value for the "Set" aggregation kind.  The only
         possible value type is a list of Values whose type can be Long, Double,
         or String, according to the metric's type.  All Values in the list must
         be of the same type.
         
        .google.protobuf.Value set = 7;
      • getSetOrBuilder

        public com.google.protobuf.ValueOrBuilder getSetOrBuilder()
         Worker-computed aggregate value for the "Set" aggregation kind.  The only
         possible value type is a list of Values whose type can be Long, Double,
         or String, according to the metric's type.  All Values in the list must
         be of the same type.
         
        .google.protobuf.Value set = 7;
        Specified by:
        getSetOrBuilder in interface MetricUpdateOrBuilder
      • hasDistribution

        public boolean hasDistribution()
         A struct value describing properties of a distribution of numeric values.
         
        .google.protobuf.Value distribution = 11;
        Specified by:
        hasDistribution in interface MetricUpdateOrBuilder
        Returns:
        Whether the distribution field is set.
      • getDistribution

        public com.google.protobuf.Value getDistribution()
         A struct value describing properties of a distribution of numeric values.
         
        .google.protobuf.Value distribution = 11;
        Specified by:
        getDistribution in interface MetricUpdateOrBuilder
        Returns:
        The distribution.
      • setDistribution

        public MetricUpdate.Builder setDistribution​(com.google.protobuf.Value value)
         A struct value describing properties of a distribution of numeric values.
         
        .google.protobuf.Value distribution = 11;
      • setDistribution

        public MetricUpdate.Builder setDistribution​(com.google.protobuf.Value.Builder builderForValue)
         A struct value describing properties of a distribution of numeric values.
         
        .google.protobuf.Value distribution = 11;
      • mergeDistribution

        public MetricUpdate.Builder mergeDistribution​(com.google.protobuf.Value value)
         A struct value describing properties of a distribution of numeric values.
         
        .google.protobuf.Value distribution = 11;
      • clearDistribution

        public MetricUpdate.Builder clearDistribution()
         A struct value describing properties of a distribution of numeric values.
         
        .google.protobuf.Value distribution = 11;
      • getDistributionBuilder

        public com.google.protobuf.Value.Builder getDistributionBuilder()
         A struct value describing properties of a distribution of numeric values.
         
        .google.protobuf.Value distribution = 11;
      • getDistributionOrBuilder

        public com.google.protobuf.ValueOrBuilder getDistributionOrBuilder()
         A struct value describing properties of a distribution of numeric values.
         
        .google.protobuf.Value distribution = 11;
        Specified by:
        getDistributionOrBuilder in interface MetricUpdateOrBuilder
      • hasGauge

        public boolean hasGauge()
         A struct value describing properties of a Gauge.
         Metrics of gauge type show the value of a metric across time, and is
         aggregated based on the newest value.
         
        .google.protobuf.Value gauge = 12;
        Specified by:
        hasGauge in interface MetricUpdateOrBuilder
        Returns:
        Whether the gauge field is set.
      • getGauge

        public com.google.protobuf.Value getGauge()
         A struct value describing properties of a Gauge.
         Metrics of gauge type show the value of a metric across time, and is
         aggregated based on the newest value.
         
        .google.protobuf.Value gauge = 12;
        Specified by:
        getGauge in interface MetricUpdateOrBuilder
        Returns:
        The gauge.
      • setGauge

        public MetricUpdate.Builder setGauge​(com.google.protobuf.Value value)
         A struct value describing properties of a Gauge.
         Metrics of gauge type show the value of a metric across time, and is
         aggregated based on the newest value.
         
        .google.protobuf.Value gauge = 12;
      • setGauge

        public MetricUpdate.Builder setGauge​(com.google.protobuf.Value.Builder builderForValue)
         A struct value describing properties of a Gauge.
         Metrics of gauge type show the value of a metric across time, and is
         aggregated based on the newest value.
         
        .google.protobuf.Value gauge = 12;
      • mergeGauge

        public MetricUpdate.Builder mergeGauge​(com.google.protobuf.Value value)
         A struct value describing properties of a Gauge.
         Metrics of gauge type show the value of a metric across time, and is
         aggregated based on the newest value.
         
        .google.protobuf.Value gauge = 12;
      • clearGauge

        public MetricUpdate.Builder clearGauge()
         A struct value describing properties of a Gauge.
         Metrics of gauge type show the value of a metric across time, and is
         aggregated based on the newest value.
         
        .google.protobuf.Value gauge = 12;
      • getGaugeBuilder

        public com.google.protobuf.Value.Builder getGaugeBuilder()
         A struct value describing properties of a Gauge.
         Metrics of gauge type show the value of a metric across time, and is
         aggregated based on the newest value.
         
        .google.protobuf.Value gauge = 12;
      • getGaugeOrBuilder

        public com.google.protobuf.ValueOrBuilder getGaugeOrBuilder()
         A struct value describing properties of a Gauge.
         Metrics of gauge type show the value of a metric across time, and is
         aggregated based on the newest value.
         
        .google.protobuf.Value gauge = 12;
        Specified by:
        getGaugeOrBuilder in interface MetricUpdateOrBuilder
      • hasInternal

        public boolean hasInternal()
         Worker-computed aggregate value for internal use by the Dataflow
         service.
         
        .google.protobuf.Value internal = 8;
        Specified by:
        hasInternal in interface MetricUpdateOrBuilder
        Returns:
        Whether the internal field is set.
      • getInternal

        public com.google.protobuf.Value getInternal()
         Worker-computed aggregate value for internal use by the Dataflow
         service.
         
        .google.protobuf.Value internal = 8;
        Specified by:
        getInternal in interface MetricUpdateOrBuilder
        Returns:
        The internal.
      • setInternal

        public MetricUpdate.Builder setInternal​(com.google.protobuf.Value value)
         Worker-computed aggregate value for internal use by the Dataflow
         service.
         
        .google.protobuf.Value internal = 8;
      • setInternal

        public MetricUpdate.Builder setInternal​(com.google.protobuf.Value.Builder builderForValue)
         Worker-computed aggregate value for internal use by the Dataflow
         service.
         
        .google.protobuf.Value internal = 8;
      • mergeInternal

        public MetricUpdate.Builder mergeInternal​(com.google.protobuf.Value value)
         Worker-computed aggregate value for internal use by the Dataflow
         service.
         
        .google.protobuf.Value internal = 8;
      • clearInternal

        public MetricUpdate.Builder clearInternal()
         Worker-computed aggregate value for internal use by the Dataflow
         service.
         
        .google.protobuf.Value internal = 8;
      • getInternalBuilder

        public com.google.protobuf.Value.Builder getInternalBuilder()
         Worker-computed aggregate value for internal use by the Dataflow
         service.
         
        .google.protobuf.Value internal = 8;
      • getInternalOrBuilder

        public com.google.protobuf.ValueOrBuilder getInternalOrBuilder()
         Worker-computed aggregate value for internal use by the Dataflow
         service.
         
        .google.protobuf.Value internal = 8;
        Specified by:
        getInternalOrBuilder in interface MetricUpdateOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Timestamp associated with the metric value. Optional when workers are
         reporting work progress; it will be filled in responses from the
         metrics API.
         
        .google.protobuf.Timestamp update_time = 9;
        Specified by:
        hasUpdateTime in interface MetricUpdateOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Timestamp associated with the metric value. Optional when workers are
         reporting work progress; it will be filled in responses from the
         metrics API.
         
        .google.protobuf.Timestamp update_time = 9;
        Specified by:
        getUpdateTime in interface MetricUpdateOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public MetricUpdate.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Timestamp associated with the metric value. Optional when workers are
         reporting work progress; it will be filled in responses from the
         metrics API.
         
        .google.protobuf.Timestamp update_time = 9;
      • setUpdateTime

        public MetricUpdate.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Timestamp associated with the metric value. Optional when workers are
         reporting work progress; it will be filled in responses from the
         metrics API.
         
        .google.protobuf.Timestamp update_time = 9;
      • mergeUpdateTime

        public MetricUpdate.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Timestamp associated with the metric value. Optional when workers are
         reporting work progress; it will be filled in responses from the
         metrics API.
         
        .google.protobuf.Timestamp update_time = 9;
      • clearUpdateTime

        public MetricUpdate.Builder clearUpdateTime()
         Timestamp associated with the metric value. Optional when workers are
         reporting work progress; it will be filled in responses from the
         metrics API.
         
        .google.protobuf.Timestamp update_time = 9;
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Timestamp associated with the metric value. Optional when workers are
         reporting work progress; it will be filled in responses from the
         metrics API.
         
        .google.protobuf.Timestamp update_time = 9;
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Timestamp associated with the metric value. Optional when workers are
         reporting work progress; it will be filled in responses from the
         metrics API.
         
        .google.protobuf.Timestamp update_time = 9;
        Specified by:
        getUpdateTimeOrBuilder in interface MetricUpdateOrBuilder
      • setUnknownFields

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

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