public static final class Windmill.Counter.Builder extends com.google.protobuf.GeneratedMessage.Builder<Windmill.Counter.Builder> implements Windmill.CounterOrBuilder
windmill.Counter| Modifier and Type | Method and Description |
|---|---|
Windmill.Counter |
build() |
Windmill.Counter |
buildPartial() |
Windmill.Counter.Builder |
clear() |
Windmill.Counter.Builder |
clearCumulative()
optional bool cumulative = 7; |
Windmill.Counter.Builder |
clearDoubleScalar()
optional double double_scalar = 3; |
Windmill.Counter.Builder |
clearIntScalar()
optional int64 int_scalar = 4; |
Windmill.Counter.Builder |
clearKind()
optional .windmill.Counter.Kind kind = 2; |
Windmill.Counter.Builder |
clearMeanCount()
optional int64 mean_count = 6; |
Windmill.Counter.Builder |
clearName()
optional string name = 1; |
Windmill.Counter.Builder |
clone() |
boolean |
getCumulative()
optional bool cumulative = 7; |
Windmill.Counter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getDoubleScalar()
optional double double_scalar = 3; |
long |
getIntScalar()
optional int64 int_scalar = 4; |
Windmill.Counter.Kind |
getKind()
optional .windmill.Counter.Kind kind = 2; |
long |
getMeanCount()
optional int64 mean_count = 6; |
java.lang.String |
getName()
optional string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 1; |
boolean |
hasCumulative()
optional bool cumulative = 7; |
boolean |
hasDoubleScalar()
optional double double_scalar = 3; |
boolean |
hasIntScalar()
optional int64 int_scalar = 4; |
boolean |
hasKind()
optional .windmill.Counter.Kind kind = 2; |
boolean |
hasMeanCount()
optional int64 mean_count = 6; |
boolean |
hasName()
optional string name = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Windmill.Counter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Windmill.Counter.Builder |
mergeFrom(com.google.protobuf.Message other) |
Windmill.Counter.Builder |
mergeFrom(Windmill.Counter other) |
Windmill.Counter.Builder |
setCumulative(boolean value)
optional bool cumulative = 7; |
Windmill.Counter.Builder |
setDoubleScalar(double value)
optional double double_scalar = 3; |
Windmill.Counter.Builder |
setIntScalar(long value)
optional int64 int_scalar = 4; |
Windmill.Counter.Builder |
setKind(Windmill.Counter.Kind value)
optional .windmill.Counter.Kind kind = 2; |
Windmill.Counter.Builder |
setMeanCount(long value)
optional int64 mean_count = 6; |
Windmill.Counter.Builder |
setName(java.lang.String value)
optional string name = 1; |
Windmill.Counter.Builder |
setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Windmill.Counter.Builder>public Windmill.Counter.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Windmill.Counter.Builder>public Windmill.Counter.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<Windmill.Counter.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Windmill.Counter.Builder>public Windmill.Counter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Windmill.Counter build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Windmill.Counter buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Windmill.Counter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Windmill.Counter.Builder>public Windmill.Counter.Builder mergeFrom(Windmill.Counter other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Windmill.Counter.Builder>public Windmill.Counter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Windmill.Counter.Builder>java.io.IOExceptionpublic boolean hasName()
optional string name = 1;hasName in interface Windmill.CounterOrBuilderpublic java.lang.String getName()
optional string name = 1;getName in interface Windmill.CounterOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 1;getNameBytes in interface Windmill.CounterOrBuilderpublic Windmill.Counter.Builder setName(java.lang.String value)
optional string name = 1;public Windmill.Counter.Builder clearName()
optional string name = 1;public Windmill.Counter.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1;public boolean hasKind()
optional .windmill.Counter.Kind kind = 2;hasKind in interface Windmill.CounterOrBuilderpublic Windmill.Counter.Kind getKind()
optional .windmill.Counter.Kind kind = 2;getKind in interface Windmill.CounterOrBuilderpublic Windmill.Counter.Builder setKind(Windmill.Counter.Kind value)
optional .windmill.Counter.Kind kind = 2;public Windmill.Counter.Builder clearKind()
optional .windmill.Counter.Kind kind = 2;public boolean hasDoubleScalar()
optional double double_scalar = 3;
For SUM, MAX, MIN, AND, OR, MEAN at most one of the following should be set. For MEAN it is the sum
hasDoubleScalar in interface Windmill.CounterOrBuilderpublic double getDoubleScalar()
optional double double_scalar = 3;
For SUM, MAX, MIN, AND, OR, MEAN at most one of the following should be set. For MEAN it is the sum
getDoubleScalar in interface Windmill.CounterOrBuilderpublic Windmill.Counter.Builder setDoubleScalar(double value)
optional double double_scalar = 3;
For SUM, MAX, MIN, AND, OR, MEAN at most one of the following should be set. For MEAN it is the sum
public Windmill.Counter.Builder clearDoubleScalar()
optional double double_scalar = 3;
For SUM, MAX, MIN, AND, OR, MEAN at most one of the following should be set. For MEAN it is the sum
public boolean hasIntScalar()
optional int64 int_scalar = 4;hasIntScalar in interface Windmill.CounterOrBuilderpublic long getIntScalar()
optional int64 int_scalar = 4;getIntScalar in interface Windmill.CounterOrBuilderpublic Windmill.Counter.Builder setIntScalar(long value)
optional int64 int_scalar = 4;public Windmill.Counter.Builder clearIntScalar()
optional int64 int_scalar = 4;public boolean hasMeanCount()
optional int64 mean_count = 6;
Only set for MEAN. Count of elements contributing to the sum.
hasMeanCount in interface Windmill.CounterOrBuilderpublic long getMeanCount()
optional int64 mean_count = 6;
Only set for MEAN. Count of elements contributing to the sum.
getMeanCount in interface Windmill.CounterOrBuilderpublic Windmill.Counter.Builder setMeanCount(long value)
optional int64 mean_count = 6;
Only set for MEAN. Count of elements contributing to the sum.
public Windmill.Counter.Builder clearMeanCount()
optional int64 mean_count = 6;
Only set for MEAN. Count of elements contributing to the sum.
public boolean hasCumulative()
optional bool cumulative = 7;
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.
hasCumulative in interface Windmill.CounterOrBuilderpublic boolean getCumulative()
optional bool cumulative = 7;
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.
getCumulative in interface Windmill.CounterOrBuilderpublic Windmill.Counter.Builder setCumulative(boolean value)
optional bool cumulative = 7;
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.
public Windmill.Counter.Builder clearCumulative()
optional bool cumulative = 7;
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.