Class ControlMessage.Metric.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.Metric.Builder>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.Metric.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,ControlMessage.MetricOrBuilder
- Enclosing class:
- ControlMessage.Metric
public static final class ControlMessage.Metric.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.Metric.Builder> implements ControlMessage.MetricOrBuilder
Common messages
Protobuf typeprotobuf.Metric
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlMessage.Metric.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.Metric
build()
ControlMessage.Metric
buildPartial()
ControlMessage.Metric.Builder
clear()
ControlMessage.Metric.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ControlMessage.Metric.Builder
clearMetricField()
required string metricField = 3;
ControlMessage.Metric.Builder
clearMetricId()
required string metricId = 2;
ControlMessage.Metric.Builder
clearMetricType()
required string metricType = 1;
ControlMessage.Metric.Builder
clearMetricValue()
required bytes metricValue = 4;
ControlMessage.Metric.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ControlMessage.Metric.Builder
clone()
ControlMessage.Metric
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getMetricField()
required string metricField = 3;
com.google.protobuf.ByteString
getMetricFieldBytes()
required string metricField = 3;
java.lang.String
getMetricId()
required string metricId = 2;
com.google.protobuf.ByteString
getMetricIdBytes()
required string metricId = 2;
java.lang.String
getMetricType()
required string metricType = 1;
com.google.protobuf.ByteString
getMetricTypeBytes()
required string metricType = 1;
com.google.protobuf.ByteString
getMetricValue()
required bytes metricValue = 4;
boolean
hasMetricField()
required string metricField = 3;
boolean
hasMetricId()
required string metricId = 2;
boolean
hasMetricType()
required string metricType = 1;
boolean
hasMetricValue()
required bytes metricValue = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ControlMessage.Metric.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ControlMessage.Metric.Builder
mergeFrom(com.google.protobuf.Message other)
ControlMessage.Metric.Builder
mergeFrom(ControlMessage.Metric other)
ControlMessage.Metric.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ControlMessage.Metric.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.Metric.Builder
setMetricField(java.lang.String value)
required string metricField = 3;
ControlMessage.Metric.Builder
setMetricFieldBytes(com.google.protobuf.ByteString value)
required string metricField = 3;
ControlMessage.Metric.Builder
setMetricId(java.lang.String value)
required string metricId = 2;
ControlMessage.Metric.Builder
setMetricIdBytes(com.google.protobuf.ByteString value)
required string metricId = 2;
ControlMessage.Metric.Builder
setMetricType(java.lang.String value)
required string metricType = 1;
ControlMessage.Metric.Builder
setMetricTypeBytes(com.google.protobuf.ByteString value)
required string metricType = 1;
ControlMessage.Metric.Builder
setMetricValue(com.google.protobuf.ByteString value)
required bytes metricValue = 4;
ControlMessage.Metric.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ControlMessage.Metric.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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<ControlMessage.Metric.Builder>
-
clear
public ControlMessage.Metric.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<ControlMessage.Metric.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<ControlMessage.Metric.Builder>
-
getDefaultInstanceForType
public ControlMessage.Metric getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ControlMessage.Metric build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ControlMessage.Metric buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ControlMessage.Metric.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<ControlMessage.Metric.Builder>
-
setField
public ControlMessage.Metric.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.Metric.Builder>
-
clearField
public ControlMessage.Metric.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<ControlMessage.Metric.Builder>
-
clearOneof
public ControlMessage.Metric.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<ControlMessage.Metric.Builder>
-
setRepeatedField
public ControlMessage.Metric.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.Metric.Builder>
-
addRepeatedField
public ControlMessage.Metric.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.Metric.Builder>
-
mergeFrom
public ControlMessage.Metric.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ControlMessage.Metric.Builder>
-
mergeFrom
public ControlMessage.Metric.Builder mergeFrom(ControlMessage.Metric other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.Metric.Builder>
-
mergeFrom
public ControlMessage.Metric.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<ControlMessage.Metric.Builder>
- Throws:
java.io.IOException
-
hasMetricType
public boolean hasMetricType()
required string metricType = 1;
- Specified by:
hasMetricType
in interfaceControlMessage.MetricOrBuilder
- Returns:
- Whether the metricType field is set.
-
getMetricType
public java.lang.String getMetricType()
required string metricType = 1;
- Specified by:
getMetricType
in interfaceControlMessage.MetricOrBuilder
- Returns:
- The metricType.
-
getMetricTypeBytes
public com.google.protobuf.ByteString getMetricTypeBytes()
required string metricType = 1;
- Specified by:
getMetricTypeBytes
in interfaceControlMessage.MetricOrBuilder
- Returns:
- The bytes for metricType.
-
setMetricType
public ControlMessage.Metric.Builder setMetricType(java.lang.String value)
required string metricType = 1;
- Parameters:
value
- The metricType to set.- Returns:
- This builder for chaining.
-
clearMetricType
public ControlMessage.Metric.Builder clearMetricType()
required string metricType = 1;
- Returns:
- This builder for chaining.
-
setMetricTypeBytes
public ControlMessage.Metric.Builder setMetricTypeBytes(com.google.protobuf.ByteString value)
required string metricType = 1;
- Parameters:
value
- The bytes for metricType to set.- Returns:
- This builder for chaining.
-
hasMetricId
public boolean hasMetricId()
required string metricId = 2;
- Specified by:
hasMetricId
in interfaceControlMessage.MetricOrBuilder
- Returns:
- Whether the metricId field is set.
-
getMetricId
public java.lang.String getMetricId()
required string metricId = 2;
- Specified by:
getMetricId
in interfaceControlMessage.MetricOrBuilder
- Returns:
- The metricId.
-
getMetricIdBytes
public com.google.protobuf.ByteString getMetricIdBytes()
required string metricId = 2;
- Specified by:
getMetricIdBytes
in interfaceControlMessage.MetricOrBuilder
- Returns:
- The bytes for metricId.
-
setMetricId
public ControlMessage.Metric.Builder setMetricId(java.lang.String value)
required string metricId = 2;
- Parameters:
value
- The metricId to set.- Returns:
- This builder for chaining.
-
clearMetricId
public ControlMessage.Metric.Builder clearMetricId()
required string metricId = 2;
- Returns:
- This builder for chaining.
-
setMetricIdBytes
public ControlMessage.Metric.Builder setMetricIdBytes(com.google.protobuf.ByteString value)
required string metricId = 2;
- Parameters:
value
- The bytes for metricId to set.- Returns:
- This builder for chaining.
-
hasMetricField
public boolean hasMetricField()
required string metricField = 3;
- Specified by:
hasMetricField
in interfaceControlMessage.MetricOrBuilder
- Returns:
- Whether the metricField field is set.
-
getMetricField
public java.lang.String getMetricField()
required string metricField = 3;
- Specified by:
getMetricField
in interfaceControlMessage.MetricOrBuilder
- Returns:
- The metricField.
-
getMetricFieldBytes
public com.google.protobuf.ByteString getMetricFieldBytes()
required string metricField = 3;
- Specified by:
getMetricFieldBytes
in interfaceControlMessage.MetricOrBuilder
- Returns:
- The bytes for metricField.
-
setMetricField
public ControlMessage.Metric.Builder setMetricField(java.lang.String value)
required string metricField = 3;
- Parameters:
value
- The metricField to set.- Returns:
- This builder for chaining.
-
clearMetricField
public ControlMessage.Metric.Builder clearMetricField()
required string metricField = 3;
- Returns:
- This builder for chaining.
-
setMetricFieldBytes
public ControlMessage.Metric.Builder setMetricFieldBytes(com.google.protobuf.ByteString value)
required string metricField = 3;
- Parameters:
value
- The bytes for metricField to set.- Returns:
- This builder for chaining.
-
hasMetricValue
public boolean hasMetricValue()
required bytes metricValue = 4;
- Specified by:
hasMetricValue
in interfaceControlMessage.MetricOrBuilder
- Returns:
- Whether the metricValue field is set.
-
getMetricValue
public com.google.protobuf.ByteString getMetricValue()
required bytes metricValue = 4;
- Specified by:
getMetricValue
in interfaceControlMessage.MetricOrBuilder
- Returns:
- The metricValue.
-
setMetricValue
public ControlMessage.Metric.Builder setMetricValue(com.google.protobuf.ByteString value)
required bytes metricValue = 4;
- Parameters:
value
- The metricValue to set.- Returns:
- This builder for chaining.
-
clearMetricValue
public ControlMessage.Metric.Builder clearMetricValue()
required bytes metricValue = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ControlMessage.Metric.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.Metric.Builder>
-
mergeUnknownFields
public final ControlMessage.Metric.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.Metric.Builder>
-
-