Package com.google.dataflow.v1beta3
Class MetricUpdate.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<MetricUpdate.Builder> implements MetricUpdateOrBuilder
Describes the state of a metric.
Protobuf typegoogle.dataflow.v1beta3.MetricUpdate
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricUpdate.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MetricUpdate
build()
MetricUpdate
buildPartial()
MetricUpdate.Builder
clear()
MetricUpdate.Builder
clearCumulative()
True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem.MetricUpdate.Builder
clearDistribution()
A struct value describing properties of a distribution of numeric values.MetricUpdate.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MetricUpdate.Builder
clearGauge()
A struct value describing properties of a Gauge.MetricUpdate.Builder
clearInternal()
Worker-computed aggregate value for internal use by the Dataflow service.MetricUpdate.Builder
clearKind()
Metric aggregation kind.MetricUpdate.Builder
clearMeanCount()
Worker-computed aggregate value for the "Mean" aggregation kind.MetricUpdate.Builder
clearMeanSum()
Worker-computed aggregate value for the "Mean" aggregation kind.MetricUpdate.Builder
clearName()
Name of the metric.MetricUpdate.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MetricUpdate.Builder
clearScalar()
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".MetricUpdate.Builder
clearSet()
Worker-computed aggregate value for the "Set" aggregation kind.MetricUpdate.Builder
clearUpdateTime()
Timestamp associated with the metric value.MetricUpdate.Builder
clone()
boolean
getCumulative()
True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem.MetricUpdate
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Value
getDistribution()
A struct value describing properties of a distribution of numeric values.com.google.protobuf.Value.Builder
getDistributionBuilder()
A struct value describing properties of a distribution of numeric values.com.google.protobuf.ValueOrBuilder
getDistributionOrBuilder()
A struct value describing properties of a distribution of numeric values.com.google.protobuf.Value
getGauge()
A struct value describing properties of a Gauge.com.google.protobuf.Value.Builder
getGaugeBuilder()
A struct value describing properties of a Gauge.com.google.protobuf.ValueOrBuilder
getGaugeOrBuilder()
A struct value describing properties of a Gauge.com.google.protobuf.Value
getInternal()
Worker-computed aggregate value for internal use by the Dataflow service.com.google.protobuf.Value.Builder
getInternalBuilder()
Worker-computed aggregate value for internal use by the Dataflow service.com.google.protobuf.ValueOrBuilder
getInternalOrBuilder()
Worker-computed aggregate value for internal use by the Dataflow service.String
getKind()
Metric aggregation kind.com.google.protobuf.ByteString
getKindBytes()
Metric aggregation kind.com.google.protobuf.Value
getMeanCount()
Worker-computed aggregate value for the "Mean" aggregation kind.com.google.protobuf.Value.Builder
getMeanCountBuilder()
Worker-computed aggregate value for the "Mean" aggregation kind.com.google.protobuf.ValueOrBuilder
getMeanCountOrBuilder()
Worker-computed aggregate value for the "Mean" aggregation kind.com.google.protobuf.Value
getMeanSum()
Worker-computed aggregate value for the "Mean" aggregation kind.com.google.protobuf.Value.Builder
getMeanSumBuilder()
Worker-computed aggregate value for the "Mean" aggregation kind.com.google.protobuf.ValueOrBuilder
getMeanSumOrBuilder()
Worker-computed aggregate value for the "Mean" aggregation kind.MetricStructuredName
getName()
Name of the metric.MetricStructuredName.Builder
getNameBuilder()
Name of the metric.MetricStructuredNameOrBuilder
getNameOrBuilder()
Name of the metric.com.google.protobuf.Value
getScalar()
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".com.google.protobuf.Value.Builder
getScalarBuilder()
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".com.google.protobuf.ValueOrBuilder
getScalarOrBuilder()
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".com.google.protobuf.Value
getSet()
Worker-computed aggregate value for the "Set" aggregation kind.com.google.protobuf.Value.Builder
getSetBuilder()
Worker-computed aggregate value for the "Set" aggregation kind.com.google.protobuf.ValueOrBuilder
getSetOrBuilder()
Worker-computed aggregate value for the "Set" aggregation kind.com.google.protobuf.Timestamp
getUpdateTime()
Timestamp associated with the metric value.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Timestamp associated with the metric value.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Timestamp associated with the metric value.boolean
hasDistribution()
A struct value describing properties of a distribution of numeric values.boolean
hasGauge()
A struct value describing properties of a Gauge.boolean
hasInternal()
Worker-computed aggregate value for internal use by the Dataflow service.boolean
hasMeanCount()
Worker-computed aggregate value for the "Mean" aggregation kind.boolean
hasMeanSum()
Worker-computed aggregate value for the "Mean" aggregation kind.boolean
hasName()
Name of the metric.boolean
hasScalar()
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".boolean
hasSet()
Worker-computed aggregate value for the "Set" aggregation kind.boolean
hasUpdateTime()
Timestamp associated with the metric value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MetricUpdate.Builder
mergeDistribution(com.google.protobuf.Value value)
A struct value describing properties of a distribution of numeric values.MetricUpdate.Builder
mergeFrom(MetricUpdate other)
MetricUpdate.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MetricUpdate.Builder
mergeFrom(com.google.protobuf.Message other)
MetricUpdate.Builder
mergeGauge(com.google.protobuf.Value value)
A struct value describing properties of a Gauge.MetricUpdate.Builder
mergeInternal(com.google.protobuf.Value value)
Worker-computed aggregate value for internal use by the Dataflow service.MetricUpdate.Builder
mergeMeanCount(com.google.protobuf.Value value)
Worker-computed aggregate value for the "Mean" aggregation kind.MetricUpdate.Builder
mergeMeanSum(com.google.protobuf.Value value)
Worker-computed aggregate value for the "Mean" aggregation kind.MetricUpdate.Builder
mergeName(MetricStructuredName value)
Name of the metric.MetricUpdate.Builder
mergeScalar(com.google.protobuf.Value value)
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".MetricUpdate.Builder
mergeSet(com.google.protobuf.Value value)
Worker-computed aggregate value for the "Set" aggregation kind.MetricUpdate.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MetricUpdate.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Timestamp associated with the metric value.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.MetricUpdate.Builder
setDistribution(com.google.protobuf.Value value)
A struct value describing properties of a distribution of numeric values.MetricUpdate.Builder
setDistribution(com.google.protobuf.Value.Builder builderForValue)
A struct value describing properties of a distribution of numeric values.MetricUpdate.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MetricUpdate.Builder
setGauge(com.google.protobuf.Value value)
A struct value describing properties of a Gauge.MetricUpdate.Builder
setGauge(com.google.protobuf.Value.Builder builderForValue)
A struct value describing properties of a Gauge.MetricUpdate.Builder
setInternal(com.google.protobuf.Value value)
Worker-computed aggregate value for internal use by the Dataflow service.MetricUpdate.Builder
setInternal(com.google.protobuf.Value.Builder builderForValue)
Worker-computed aggregate value for internal use by the Dataflow service.MetricUpdate.Builder
setKind(String value)
Metric aggregation kind.MetricUpdate.Builder
setKindBytes(com.google.protobuf.ByteString value)
Metric aggregation kind.MetricUpdate.Builder
setMeanCount(com.google.protobuf.Value value)
Worker-computed aggregate value for the "Mean" aggregation kind.MetricUpdate.Builder
setMeanCount(com.google.protobuf.Value.Builder builderForValue)
Worker-computed aggregate value for the "Mean" aggregation kind.MetricUpdate.Builder
setMeanSum(com.google.protobuf.Value value)
Worker-computed aggregate value for the "Mean" aggregation kind.MetricUpdate.Builder
setMeanSum(com.google.protobuf.Value.Builder builderForValue)
Worker-computed aggregate value for the "Mean" aggregation kind.MetricUpdate.Builder
setName(MetricStructuredName value)
Name of the metric.MetricUpdate.Builder
setName(MetricStructuredName.Builder builderForValue)
Name of the metric.MetricUpdate.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MetricUpdate.Builder
setScalar(com.google.protobuf.Value value)
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".MetricUpdate.Builder
setScalar(com.google.protobuf.Value.Builder builderForValue)
Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or".MetricUpdate.Builder
setSet(com.google.protobuf.Value value)
Worker-computed aggregate value for the "Set" aggregation kind.MetricUpdate.Builder
setSet(com.google.protobuf.Value.Builder builderForValue)
Worker-computed aggregate value for the "Set" aggregation kind.MetricUpdate.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MetricUpdate.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Timestamp associated with the metric value.MetricUpdate.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Timestamp associated with the metric value.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricUpdate.Builder>
-
clear
public MetricUpdate.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricUpdate.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricUpdate.Builder>
-
getDefaultInstanceForType
public MetricUpdate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MetricUpdate build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MetricUpdate buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MetricUpdate.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricUpdate.Builder>
-
setField
public MetricUpdate.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricUpdate.Builder>
-
clearField
public MetricUpdate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricUpdate.Builder>
-
clearOneof
public MetricUpdate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricUpdate.Builder>
-
addRepeatedField
public MetricUpdate.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricUpdate.Builder>
-
mergeFrom
public MetricUpdate.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MetricUpdate.Builder>
-
mergeFrom
public MetricUpdate.Builder mergeFrom(MetricUpdate other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
- Returns:
- The name.
-
setName
public MetricUpdate.Builder setName(MetricStructuredName value)
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 interfaceMetricUpdateOrBuilder
-
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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
-
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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
-
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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
-
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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
-
hasDistribution
public boolean hasDistribution()
A struct value describing properties of a distribution of numeric values.
.google.protobuf.Value distribution = 11;
- Specified by:
hasDistribution
in interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
-
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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
-
hasInternal
public boolean hasInternal()
Worker-computed aggregate value for internal use by the Dataflow service.
.google.protobuf.Value internal = 8;
- Specified by:
hasInternal
in interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
-
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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
- 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 interfaceMetricUpdateOrBuilder
-
setUnknownFields
public final MetricUpdate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricUpdate.Builder>
-
mergeUnknownFields
public final MetricUpdate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MetricUpdate.Builder>
-
-