Class ControlMessage.MetricMsg.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.MetricMsg.Builder>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.MetricMsg.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.MetricMsgOrBuilder
- Enclosing class:
- ControlMessage.MetricMsg
public static final class ControlMessage.MetricMsg.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.MetricMsg.Builder> implements ControlMessage.MetricMsgOrBuilder
Protobuf typeprotobuf.MetricMsg
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlMessage.MetricMsg.Builder
addAllMetric(java.lang.Iterable<? extends ControlMessage.Metric> values)
repeated .protobuf.Metric metric = 1;
ControlMessage.MetricMsg.Builder
addMetric(int index, ControlMessage.Metric value)
repeated .protobuf.Metric metric = 1;
ControlMessage.MetricMsg.Builder
addMetric(int index, ControlMessage.Metric.Builder builderForValue)
repeated .protobuf.Metric metric = 1;
ControlMessage.MetricMsg.Builder
addMetric(ControlMessage.Metric value)
repeated .protobuf.Metric metric = 1;
ControlMessage.MetricMsg.Builder
addMetric(ControlMessage.Metric.Builder builderForValue)
repeated .protobuf.Metric metric = 1;
ControlMessage.Metric.Builder
addMetricBuilder()
repeated .protobuf.Metric metric = 1;
ControlMessage.Metric.Builder
addMetricBuilder(int index)
repeated .protobuf.Metric metric = 1;
ControlMessage.MetricMsg.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.MetricMsg
build()
ControlMessage.MetricMsg
buildPartial()
ControlMessage.MetricMsg.Builder
clear()
ControlMessage.MetricMsg.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ControlMessage.MetricMsg.Builder
clearMetric()
repeated .protobuf.Metric metric = 1;
ControlMessage.MetricMsg.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ControlMessage.MetricMsg.Builder
clone()
ControlMessage.MetricMsg
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ControlMessage.Metric
getMetric(int index)
repeated .protobuf.Metric metric = 1;
ControlMessage.Metric.Builder
getMetricBuilder(int index)
repeated .protobuf.Metric metric = 1;
java.util.List<ControlMessage.Metric.Builder>
getMetricBuilderList()
repeated .protobuf.Metric metric = 1;
int
getMetricCount()
repeated .protobuf.Metric metric = 1;
java.util.List<ControlMessage.Metric>
getMetricList()
repeated .protobuf.Metric metric = 1;
ControlMessage.MetricOrBuilder
getMetricOrBuilder(int index)
repeated .protobuf.Metric metric = 1;
java.util.List<? extends ControlMessage.MetricOrBuilder>
getMetricOrBuilderList()
repeated .protobuf.Metric metric = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ControlMessage.MetricMsg.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ControlMessage.MetricMsg.Builder
mergeFrom(com.google.protobuf.Message other)
ControlMessage.MetricMsg.Builder
mergeFrom(ControlMessage.MetricMsg other)
ControlMessage.MetricMsg.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ControlMessage.MetricMsg.Builder
removeMetric(int index)
repeated .protobuf.Metric metric = 1;
ControlMessage.MetricMsg.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.MetricMsg.Builder
setMetric(int index, ControlMessage.Metric value)
repeated .protobuf.Metric metric = 1;
ControlMessage.MetricMsg.Builder
setMetric(int index, ControlMessage.Metric.Builder builderForValue)
repeated .protobuf.Metric metric = 1;
ControlMessage.MetricMsg.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ControlMessage.MetricMsg.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.MetricMsg.Builder>
-
clear
public ControlMessage.MetricMsg.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.MetricMsg.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.MetricMsg.Builder>
-
getDefaultInstanceForType
public ControlMessage.MetricMsg getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ControlMessage.MetricMsg build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ControlMessage.MetricMsg buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ControlMessage.MetricMsg.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.MetricMsg.Builder>
-
setField
public ControlMessage.MetricMsg.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.MetricMsg.Builder>
-
clearField
public ControlMessage.MetricMsg.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.MetricMsg.Builder>
-
clearOneof
public ControlMessage.MetricMsg.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.MetricMsg.Builder>
-
setRepeatedField
public ControlMessage.MetricMsg.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.MetricMsg.Builder>
-
addRepeatedField
public ControlMessage.MetricMsg.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.MetricMsg.Builder>
-
mergeFrom
public ControlMessage.MetricMsg.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.MetricMsg.Builder>
-
mergeFrom
public ControlMessage.MetricMsg.Builder mergeFrom(ControlMessage.MetricMsg other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.MetricMsg.Builder>
-
mergeFrom
public ControlMessage.MetricMsg.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.MetricMsg.Builder>
- Throws:
java.io.IOException
-
getMetricList
public java.util.List<ControlMessage.Metric> getMetricList()
repeated .protobuf.Metric metric = 1;
- Specified by:
getMetricList
in interfaceControlMessage.MetricMsgOrBuilder
-
getMetricCount
public int getMetricCount()
repeated .protobuf.Metric metric = 1;
- Specified by:
getMetricCount
in interfaceControlMessage.MetricMsgOrBuilder
-
getMetric
public ControlMessage.Metric getMetric(int index)
repeated .protobuf.Metric metric = 1;
- Specified by:
getMetric
in interfaceControlMessage.MetricMsgOrBuilder
-
setMetric
public ControlMessage.MetricMsg.Builder setMetric(int index, ControlMessage.Metric value)
repeated .protobuf.Metric metric = 1;
-
setMetric
public ControlMessage.MetricMsg.Builder setMetric(int index, ControlMessage.Metric.Builder builderForValue)
repeated .protobuf.Metric metric = 1;
-
addMetric
public ControlMessage.MetricMsg.Builder addMetric(ControlMessage.Metric value)
repeated .protobuf.Metric metric = 1;
-
addMetric
public ControlMessage.MetricMsg.Builder addMetric(int index, ControlMessage.Metric value)
repeated .protobuf.Metric metric = 1;
-
addMetric
public ControlMessage.MetricMsg.Builder addMetric(ControlMessage.Metric.Builder builderForValue)
repeated .protobuf.Metric metric = 1;
-
addMetric
public ControlMessage.MetricMsg.Builder addMetric(int index, ControlMessage.Metric.Builder builderForValue)
repeated .protobuf.Metric metric = 1;
-
addAllMetric
public ControlMessage.MetricMsg.Builder addAllMetric(java.lang.Iterable<? extends ControlMessage.Metric> values)
repeated .protobuf.Metric metric = 1;
-
clearMetric
public ControlMessage.MetricMsg.Builder clearMetric()
repeated .protobuf.Metric metric = 1;
-
removeMetric
public ControlMessage.MetricMsg.Builder removeMetric(int index)
repeated .protobuf.Metric metric = 1;
-
getMetricBuilder
public ControlMessage.Metric.Builder getMetricBuilder(int index)
repeated .protobuf.Metric metric = 1;
-
getMetricOrBuilder
public ControlMessage.MetricOrBuilder getMetricOrBuilder(int index)
repeated .protobuf.Metric metric = 1;
- Specified by:
getMetricOrBuilder
in interfaceControlMessage.MetricMsgOrBuilder
-
getMetricOrBuilderList
public java.util.List<? extends ControlMessage.MetricOrBuilder> getMetricOrBuilderList()
repeated .protobuf.Metric metric = 1;
- Specified by:
getMetricOrBuilderList
in interfaceControlMessage.MetricMsgOrBuilder
-
addMetricBuilder
public ControlMessage.Metric.Builder addMetricBuilder()
repeated .protobuf.Metric metric = 1;
-
addMetricBuilder
public ControlMessage.Metric.Builder addMetricBuilder(int index)
repeated .protobuf.Metric metric = 1;
-
getMetricBuilderList
public java.util.List<ControlMessage.Metric.Builder> getMetricBuilderList()
repeated .protobuf.Metric metric = 1;
-
setUnknownFields
public final ControlMessage.MetricMsg.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.MetricMsg.Builder>
-
mergeUnknownFields
public final ControlMessage.MetricMsg.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.MetricMsg.Builder>
-
-