Class ControlMessage.DataCollectMessage.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.DataCollectMessage.Builder>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.DataCollectMessage.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.DataCollectMessageOrBuilder
- Enclosing class:
- ControlMessage.DataCollectMessage
public static final class ControlMessage.DataCollectMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.DataCollectMessage.Builder> implements ControlMessage.DataCollectMessageOrBuilder
Protobuf typeprotobuf.DataCollectMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlMessage.DataCollectMessage.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.DataCollectMessage
build()
ControlMessage.DataCollectMessage
buildPartial()
ControlMessage.DataCollectMessage.Builder
clear()
ControlMessage.DataCollectMessage.Builder
clearData()
required string data = 1;
ControlMessage.DataCollectMessage.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ControlMessage.DataCollectMessage.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ControlMessage.DataCollectMessage.Builder
clone()
java.lang.String
getData()
required string data = 1;
com.google.protobuf.ByteString
getDataBytes()
required string data = 1;
ControlMessage.DataCollectMessage
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
hasData()
required string data = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ControlMessage.DataCollectMessage.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ControlMessage.DataCollectMessage.Builder
mergeFrom(com.google.protobuf.Message other)
ControlMessage.DataCollectMessage.Builder
mergeFrom(ControlMessage.DataCollectMessage other)
ControlMessage.DataCollectMessage.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ControlMessage.DataCollectMessage.Builder
setData(java.lang.String value)
required string data = 1;
ControlMessage.DataCollectMessage.Builder
setDataBytes(com.google.protobuf.ByteString value)
required string data = 1;
ControlMessage.DataCollectMessage.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.DataCollectMessage.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ControlMessage.DataCollectMessage.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.DataCollectMessage.Builder>
-
clear
public ControlMessage.DataCollectMessage.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.DataCollectMessage.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.DataCollectMessage.Builder>
-
getDefaultInstanceForType
public ControlMessage.DataCollectMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ControlMessage.DataCollectMessage build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ControlMessage.DataCollectMessage buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ControlMessage.DataCollectMessage.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.DataCollectMessage.Builder>
-
setField
public ControlMessage.DataCollectMessage.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.DataCollectMessage.Builder>
-
clearField
public ControlMessage.DataCollectMessage.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.DataCollectMessage.Builder>
-
clearOneof
public ControlMessage.DataCollectMessage.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.DataCollectMessage.Builder>
-
setRepeatedField
public ControlMessage.DataCollectMessage.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.DataCollectMessage.Builder>
-
addRepeatedField
public ControlMessage.DataCollectMessage.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.DataCollectMessage.Builder>
-
mergeFrom
public ControlMessage.DataCollectMessage.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.DataCollectMessage.Builder>
-
mergeFrom
public ControlMessage.DataCollectMessage.Builder mergeFrom(ControlMessage.DataCollectMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.DataCollectMessage.Builder>
-
mergeFrom
public ControlMessage.DataCollectMessage.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.DataCollectMessage.Builder>
- Throws:
java.io.IOException
-
hasData
public boolean hasData()
required string data = 1;
- Specified by:
hasData
in interfaceControlMessage.DataCollectMessageOrBuilder
- Returns:
- Whether the data field is set.
-
getData
public java.lang.String getData()
required string data = 1;
- Specified by:
getData
in interfaceControlMessage.DataCollectMessageOrBuilder
- Returns:
- The data.
-
getDataBytes
public com.google.protobuf.ByteString getDataBytes()
required string data = 1;
- Specified by:
getDataBytes
in interfaceControlMessage.DataCollectMessageOrBuilder
- Returns:
- The bytes for data.
-
setData
public ControlMessage.DataCollectMessage.Builder setData(java.lang.String value)
required string data = 1;
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
public ControlMessage.DataCollectMessage.Builder clearData()
required string data = 1;
- Returns:
- This builder for chaining.
-
setDataBytes
public ControlMessage.DataCollectMessage.Builder setDataBytes(com.google.protobuf.ByteString value)
required string data = 1;
- Parameters:
value
- The bytes for data to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ControlMessage.DataCollectMessage.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.DataCollectMessage.Builder>
-
mergeUnknownFields
public final ControlMessage.DataCollectMessage.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.DataCollectMessage.Builder>
-
-