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