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