Class MetricUpdate.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MetricUpdate.Builder>
com.google.dataflow.v1beta3.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.GeneratedMessage.Builder<MetricUpdate.Builder> implements MetricUpdateOrBuilder
 Describes the state of a metric.
 
Protobuf type google.dataflow.v1beta3.MetricUpdate
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Worker-computed aggregate value for the "Trie" aggregation kind.
    True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem.
    A struct value describing properties of a distribution of numeric values.
    A struct value describing properties of a Gauge.
    Worker-computed aggregate value for internal use by the Dataflow service.
    Metric aggregation kind.
    Worker-computed aggregate value for the "Mean" aggregation kind.
    Worker-computed aggregate value for the "Mean" aggregation kind.
    Name of the metric.
    Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".
    Worker-computed aggregate value for the "Set" aggregation kind.
    Worker-computed aggregate value for the "Trie" aggregation kind.
    Timestamp associated with the metric value.
    com.google.protobuf.Value
    Worker-computed aggregate value for the "Trie" aggregation kind.
    com.google.protobuf.Value.Builder
    Worker-computed aggregate value for the "Trie" aggregation kind.
    com.google.protobuf.ValueOrBuilder
    Worker-computed aggregate value for the "Trie" aggregation kind.
    boolean
    True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Value
    A struct value describing properties of a distribution of numeric values.
    com.google.protobuf.Value.Builder
    A struct value describing properties of a distribution of numeric values.
    com.google.protobuf.ValueOrBuilder
    A struct value describing properties of a distribution of numeric values.
    com.google.protobuf.Value
    A struct value describing properties of a Gauge.
    com.google.protobuf.Value.Builder
    A struct value describing properties of a Gauge.
    com.google.protobuf.ValueOrBuilder
    A struct value describing properties of a Gauge.
    com.google.protobuf.Value
    Worker-computed aggregate value for internal use by the Dataflow service.
    com.google.protobuf.Value.Builder
    Worker-computed aggregate value for internal use by the Dataflow service.
    com.google.protobuf.ValueOrBuilder
    Worker-computed aggregate value for internal use by the Dataflow service.
    Metric aggregation kind.
    com.google.protobuf.ByteString
    Metric aggregation kind.
    com.google.protobuf.Value
    Worker-computed aggregate value for the "Mean" aggregation kind.
    com.google.protobuf.Value.Builder
    Worker-computed aggregate value for the "Mean" aggregation kind.
    com.google.protobuf.ValueOrBuilder
    Worker-computed aggregate value for the "Mean" aggregation kind.
    com.google.protobuf.Value
    Worker-computed aggregate value for the "Mean" aggregation kind.
    com.google.protobuf.Value.Builder
    Worker-computed aggregate value for the "Mean" aggregation kind.
    com.google.protobuf.ValueOrBuilder
    Worker-computed aggregate value for the "Mean" aggregation kind.
    Name of the metric.
    Name of the metric.
    Name of the metric.
    com.google.protobuf.Value
    Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".
    com.google.protobuf.Value.Builder
    Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".
    com.google.protobuf.ValueOrBuilder
    Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".
    com.google.protobuf.Value
    Worker-computed aggregate value for the "Set" aggregation kind.
    com.google.protobuf.Value.Builder
    Worker-computed aggregate value for the "Set" aggregation kind.
    com.google.protobuf.ValueOrBuilder
    Worker-computed aggregate value for the "Set" aggregation kind.
    com.google.protobuf.Value
    Worker-computed aggregate value for the "Trie" aggregation kind.
    com.google.protobuf.Value.Builder
    Worker-computed aggregate value for the "Trie" aggregation kind.
    com.google.protobuf.ValueOrBuilder
    Worker-computed aggregate value for the "Trie" aggregation kind.
    com.google.protobuf.Timestamp
    Timestamp associated with the metric value.
    com.google.protobuf.Timestamp.Builder
    Timestamp associated with the metric value.
    com.google.protobuf.TimestampOrBuilder
    Timestamp associated with the metric value.
    boolean
    Worker-computed aggregate value for the "Trie" aggregation kind.
    boolean
    A struct value describing properties of a distribution of numeric values.
    boolean
    A struct value describing properties of a Gauge.
    boolean
    Worker-computed aggregate value for internal use by the Dataflow service.
    boolean
    Worker-computed aggregate value for the "Mean" aggregation kind.
    boolean
    Worker-computed aggregate value for the "Mean" aggregation kind.
    boolean
    Name of the metric.
    boolean
    Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".
    boolean
    Worker-computed aggregate value for the "Set" aggregation kind.
    boolean
    Worker-computed aggregate value for the "Trie" aggregation kind.
    boolean
    Timestamp associated with the metric value.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeBoundedTrie(com.google.protobuf.Value value)
    Worker-computed aggregate value for the "Trie" aggregation kind.
    mergeDistribution(com.google.protobuf.Value value)
    A struct value describing properties of a distribution of numeric values.
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    mergeGauge(com.google.protobuf.Value value)
    A struct value describing properties of a Gauge.
    mergeInternal(com.google.protobuf.Value value)
    Worker-computed aggregate value for internal use by the Dataflow service.
    mergeMeanCount(com.google.protobuf.Value value)
    Worker-computed aggregate value for the "Mean" aggregation kind.
    mergeMeanSum(com.google.protobuf.Value value)
    Worker-computed aggregate value for the "Mean" aggregation kind.
    Name of the metric.
    mergeScalar(com.google.protobuf.Value value)
    Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".
    mergeSet(com.google.protobuf.Value value)
    Worker-computed aggregate value for the "Set" aggregation kind.
    mergeTrie(com.google.protobuf.Value value)
    Worker-computed aggregate value for the "Trie" aggregation kind.
    mergeUpdateTime(com.google.protobuf.Timestamp value)
    Timestamp associated with the metric value.
    setBoundedTrie(com.google.protobuf.Value value)
    Worker-computed aggregate value for the "Trie" aggregation kind.
    setBoundedTrie(com.google.protobuf.Value.Builder builderForValue)
    Worker-computed aggregate value for the "Trie" aggregation kind.
    setCumulative(boolean value)
    True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem.
    setDistribution(com.google.protobuf.Value value)
    A struct value describing properties of a distribution of numeric values.
    setDistribution(com.google.protobuf.Value.Builder builderForValue)
    A struct value describing properties of a distribution of numeric values.
    setGauge(com.google.protobuf.Value value)
    A struct value describing properties of a Gauge.
    setGauge(com.google.protobuf.Value.Builder builderForValue)
    A struct value describing properties of a Gauge.
    setInternal(com.google.protobuf.Value value)
    Worker-computed aggregate value for internal use by the Dataflow service.
    setInternal(com.google.protobuf.Value.Builder builderForValue)
    Worker-computed aggregate value for internal use by the Dataflow service.
    setKind(String value)
    Metric aggregation kind.
    setKindBytes(com.google.protobuf.ByteString value)
    Metric aggregation kind.
    setMeanCount(com.google.protobuf.Value value)
    Worker-computed aggregate value for the "Mean" aggregation kind.
    setMeanCount(com.google.protobuf.Value.Builder builderForValue)
    Worker-computed aggregate value for the "Mean" aggregation kind.
    setMeanSum(com.google.protobuf.Value value)
    Worker-computed aggregate value for the "Mean" aggregation kind.
    setMeanSum(com.google.protobuf.Value.Builder builderForValue)
    Worker-computed aggregate value for the "Mean" aggregation kind.
    Name of the metric.
    Name of the metric.
    setScalar(com.google.protobuf.Value value)
    Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".
    setScalar(com.google.protobuf.Value.Builder builderForValue)
    Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".
    setSet(com.google.protobuf.Value value)
    Worker-computed aggregate value for the "Set" aggregation kind.
    setSet(com.google.protobuf.Value.Builder builderForValue)
    Worker-computed aggregate value for the "Set" aggregation kind.
    setTrie(com.google.protobuf.Value value)
    Worker-computed aggregate value for the "Trie" aggregation kind.
    setTrie(com.google.protobuf.Value.Builder builderForValue)
    Worker-computed aggregate value for the "Trie" aggregation kind.
    setUpdateTime(com.google.protobuf.Timestamp value)
    Timestamp associated with the metric value.
    setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
    Timestamp associated with the metric value.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public MetricUpdate.Builder mergeFrom(MetricUpdate other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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.
    • getName

      public MetricStructuredName getName()
       Name of the metric.
       
      .google.dataflow.v1beta3.MetricStructuredName name = 1;
      Specified by:
      getName in interface MetricUpdateOrBuilder
      Returns:
      The name.
    • setName

       Name of the metric.
       
      .google.dataflow.v1beta3.MetricStructuredName name = 1;
    • setName

      public MetricUpdate.Builder setName(MetricStructuredName.Builder builderForValue)
       Name of the metric.
       
      .google.dataflow.v1beta3.MetricStructuredName name = 1;
    • mergeName

      public MetricUpdate.Builder mergeName(MetricStructuredName value)
       Name of the metric.
       
      .google.dataflow.v1beta3.MetricStructuredName name = 1;
    • 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;
    • getNameOrBuilder

      public MetricStructuredNameOrBuilder getNameOrBuilder()
       Name of the metric.
       
      .google.dataflow.v1beta3.MetricStructuredName name = 1;
      Specified by:
      getNameOrBuilder in interface MetricUpdateOrBuilder
    • 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,
       String, or BoundedTrie 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,
       String, or BoundedTrie 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,
       String, or BoundedTrie 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,
       String, or BoundedTrie 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,
       String, or BoundedTrie 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,
       String, or BoundedTrie 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,
       String, or BoundedTrie 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,
       String, or BoundedTrie 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
    • hasTrie

      public boolean hasTrie()
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       
      .google.protobuf.Value trie = 13;
      Specified by:
      hasTrie in interface MetricUpdateOrBuilder
      Returns:
      Whether the trie field is set.
    • getTrie

      public com.google.protobuf.Value getTrie()
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       
      .google.protobuf.Value trie = 13;
      Specified by:
      getTrie in interface MetricUpdateOrBuilder
      Returns:
      The trie.
    • setTrie

      public MetricUpdate.Builder setTrie(com.google.protobuf.Value value)
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       
      .google.protobuf.Value trie = 13;
    • setTrie

      public MetricUpdate.Builder setTrie(com.google.protobuf.Value.Builder builderForValue)
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       
      .google.protobuf.Value trie = 13;
    • mergeTrie

      public MetricUpdate.Builder mergeTrie(com.google.protobuf.Value value)
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       
      .google.protobuf.Value trie = 13;
    • clearTrie

      public MetricUpdate.Builder clearTrie()
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       
      .google.protobuf.Value trie = 13;
    • getTrieBuilder

      public com.google.protobuf.Value.Builder getTrieBuilder()
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       
      .google.protobuf.Value trie = 13;
    • getTrieOrBuilder

      public com.google.protobuf.ValueOrBuilder getTrieOrBuilder()
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       
      .google.protobuf.Value trie = 13;
      Specified by:
      getTrieOrBuilder in interface MetricUpdateOrBuilder
    • hasBoundedTrie

      public boolean hasBoundedTrie()
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       Introduced this field to avoid breaking older SDKs when Dataflow service
       starts to populate the `bounded_trie` field.
       
      .google.protobuf.Value bounded_trie = 14;
      Specified by:
      hasBoundedTrie in interface MetricUpdateOrBuilder
      Returns:
      Whether the boundedTrie field is set.
    • getBoundedTrie

      public com.google.protobuf.Value getBoundedTrie()
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       Introduced this field to avoid breaking older SDKs when Dataflow service
       starts to populate the `bounded_trie` field.
       
      .google.protobuf.Value bounded_trie = 14;
      Specified by:
      getBoundedTrie in interface MetricUpdateOrBuilder
      Returns:
      The boundedTrie.
    • setBoundedTrie

      public MetricUpdate.Builder setBoundedTrie(com.google.protobuf.Value value)
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       Introduced this field to avoid breaking older SDKs when Dataflow service
       starts to populate the `bounded_trie` field.
       
      .google.protobuf.Value bounded_trie = 14;
    • setBoundedTrie

      public MetricUpdate.Builder setBoundedTrie(com.google.protobuf.Value.Builder builderForValue)
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       Introduced this field to avoid breaking older SDKs when Dataflow service
       starts to populate the `bounded_trie` field.
       
      .google.protobuf.Value bounded_trie = 14;
    • mergeBoundedTrie

      public MetricUpdate.Builder mergeBoundedTrie(com.google.protobuf.Value value)
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       Introduced this field to avoid breaking older SDKs when Dataflow service
       starts to populate the `bounded_trie` field.
       
      .google.protobuf.Value bounded_trie = 14;
    • clearBoundedTrie

      public MetricUpdate.Builder clearBoundedTrie()
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       Introduced this field to avoid breaking older SDKs when Dataflow service
       starts to populate the `bounded_trie` field.
       
      .google.protobuf.Value bounded_trie = 14;
    • getBoundedTrieBuilder

      public com.google.protobuf.Value.Builder getBoundedTrieBuilder()
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       Introduced this field to avoid breaking older SDKs when Dataflow service
       starts to populate the `bounded_trie` field.
       
      .google.protobuf.Value bounded_trie = 14;
    • getBoundedTrieOrBuilder

      public com.google.protobuf.ValueOrBuilder getBoundedTrieOrBuilder()
       Worker-computed aggregate value for the "Trie" aggregation kind.  The only
       possible value type is a BoundedTrieNode.
       Introduced this field to avoid breaking older SDKs when Dataflow service
       starts to populate the `bounded_trie` field.
       
      .google.protobuf.Value bounded_trie = 14;
      Specified by:
      getBoundedTrieOrBuilder 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