Class ControlMessage.TaskStateChangedMsg.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.TaskStateChangedMsg.Builder>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.TaskStateChangedMsg.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.TaskStateChangedMsgOrBuilder
- Enclosing class:
- ControlMessage.TaskStateChangedMsg
public static final class ControlMessage.TaskStateChangedMsg.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.TaskStateChangedMsg.Builder> implements ControlMessage.TaskStateChangedMsgOrBuilder
Messages from Executors to Master
Protobuf typeprotobuf.TaskStateChangedMsg
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlMessage.TaskStateChangedMsg.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.TaskStateChangedMsg
build()
ControlMessage.TaskStateChangedMsg
buildPartial()
ControlMessage.TaskStateChangedMsg.Builder
clear()
ControlMessage.TaskStateChangedMsg.Builder
clearAttemptIdx()
required int32 attemptIdx = 6;
ControlMessage.TaskStateChangedMsg.Builder
clearExecutorId()
required string executorId = 1;
ControlMessage.TaskStateChangedMsg.Builder
clearFailureCause()
optional .protobuf.RecoverableFailureCause failureCause = 5;
ControlMessage.TaskStateChangedMsg.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ControlMessage.TaskStateChangedMsg.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ControlMessage.TaskStateChangedMsg.Builder
clearState()
required .protobuf.TaskStateFromExecutor state = 3;
ControlMessage.TaskStateChangedMsg.Builder
clearTaskId()
required string taskId = 2;
ControlMessage.TaskStateChangedMsg.Builder
clearVertexPutOnHoldId()
optional string vertexPutOnHoldId = 4;
ControlMessage.TaskStateChangedMsg.Builder
clone()
int
getAttemptIdx()
required int32 attemptIdx = 6;
ControlMessage.TaskStateChangedMsg
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getExecutorId()
required string executorId = 1;
com.google.protobuf.ByteString
getExecutorIdBytes()
required string executorId = 1;
ControlMessage.RecoverableFailureCause
getFailureCause()
optional .protobuf.RecoverableFailureCause failureCause = 5;
ControlMessage.TaskStateFromExecutor
getState()
required .protobuf.TaskStateFromExecutor state = 3;
java.lang.String
getTaskId()
required string taskId = 2;
com.google.protobuf.ByteString
getTaskIdBytes()
required string taskId = 2;
java.lang.String
getVertexPutOnHoldId()
optional string vertexPutOnHoldId = 4;
com.google.protobuf.ByteString
getVertexPutOnHoldIdBytes()
optional string vertexPutOnHoldId = 4;
boolean
hasAttemptIdx()
required int32 attemptIdx = 6;
boolean
hasExecutorId()
required string executorId = 1;
boolean
hasFailureCause()
optional .protobuf.RecoverableFailureCause failureCause = 5;
boolean
hasState()
required .protobuf.TaskStateFromExecutor state = 3;
boolean
hasTaskId()
required string taskId = 2;
boolean
hasVertexPutOnHoldId()
optional string vertexPutOnHoldId = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ControlMessage.TaskStateChangedMsg.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ControlMessage.TaskStateChangedMsg.Builder
mergeFrom(com.google.protobuf.Message other)
ControlMessage.TaskStateChangedMsg.Builder
mergeFrom(ControlMessage.TaskStateChangedMsg other)
ControlMessage.TaskStateChangedMsg.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ControlMessage.TaskStateChangedMsg.Builder
setAttemptIdx(int value)
required int32 attemptIdx = 6;
ControlMessage.TaskStateChangedMsg.Builder
setExecutorId(java.lang.String value)
required string executorId = 1;
ControlMessage.TaskStateChangedMsg.Builder
setExecutorIdBytes(com.google.protobuf.ByteString value)
required string executorId = 1;
ControlMessage.TaskStateChangedMsg.Builder
setFailureCause(ControlMessage.RecoverableFailureCause value)
optional .protobuf.RecoverableFailureCause failureCause = 5;
ControlMessage.TaskStateChangedMsg.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.TaskStateChangedMsg.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ControlMessage.TaskStateChangedMsg.Builder
setState(ControlMessage.TaskStateFromExecutor value)
required .protobuf.TaskStateFromExecutor state = 3;
ControlMessage.TaskStateChangedMsg.Builder
setTaskId(java.lang.String value)
required string taskId = 2;
ControlMessage.TaskStateChangedMsg.Builder
setTaskIdBytes(com.google.protobuf.ByteString value)
required string taskId = 2;
ControlMessage.TaskStateChangedMsg.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ControlMessage.TaskStateChangedMsg.Builder
setVertexPutOnHoldId(java.lang.String value)
optional string vertexPutOnHoldId = 4;
ControlMessage.TaskStateChangedMsg.Builder
setVertexPutOnHoldIdBytes(com.google.protobuf.ByteString value)
optional string vertexPutOnHoldId = 4;
-
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.TaskStateChangedMsg.Builder>
-
clear
public ControlMessage.TaskStateChangedMsg.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.TaskStateChangedMsg.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.TaskStateChangedMsg.Builder>
-
getDefaultInstanceForType
public ControlMessage.TaskStateChangedMsg getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ControlMessage.TaskStateChangedMsg build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ControlMessage.TaskStateChangedMsg buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ControlMessage.TaskStateChangedMsg.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.TaskStateChangedMsg.Builder>
-
setField
public ControlMessage.TaskStateChangedMsg.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.TaskStateChangedMsg.Builder>
-
clearField
public ControlMessage.TaskStateChangedMsg.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.TaskStateChangedMsg.Builder>
-
clearOneof
public ControlMessage.TaskStateChangedMsg.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.TaskStateChangedMsg.Builder>
-
setRepeatedField
public ControlMessage.TaskStateChangedMsg.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.TaskStateChangedMsg.Builder>
-
addRepeatedField
public ControlMessage.TaskStateChangedMsg.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.TaskStateChangedMsg.Builder>
-
mergeFrom
public ControlMessage.TaskStateChangedMsg.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.TaskStateChangedMsg.Builder>
-
mergeFrom
public ControlMessage.TaskStateChangedMsg.Builder mergeFrom(ControlMessage.TaskStateChangedMsg other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.TaskStateChangedMsg.Builder>
-
mergeFrom
public ControlMessage.TaskStateChangedMsg.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.TaskStateChangedMsg.Builder>
- Throws:
java.io.IOException
-
hasExecutorId
public boolean hasExecutorId()
required string executorId = 1;
- Specified by:
hasExecutorId
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- Whether the executorId field is set.
-
getExecutorId
public java.lang.String getExecutorId()
required string executorId = 1;
- Specified by:
getExecutorId
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- The executorId.
-
getExecutorIdBytes
public com.google.protobuf.ByteString getExecutorIdBytes()
required string executorId = 1;
- Specified by:
getExecutorIdBytes
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- The bytes for executorId.
-
setExecutorId
public ControlMessage.TaskStateChangedMsg.Builder setExecutorId(java.lang.String value)
required string executorId = 1;
- Parameters:
value
- The executorId to set.- Returns:
- This builder for chaining.
-
clearExecutorId
public ControlMessage.TaskStateChangedMsg.Builder clearExecutorId()
required string executorId = 1;
- Returns:
- This builder for chaining.
-
setExecutorIdBytes
public ControlMessage.TaskStateChangedMsg.Builder setExecutorIdBytes(com.google.protobuf.ByteString value)
required string executorId = 1;
- Parameters:
value
- The bytes for executorId to set.- Returns:
- This builder for chaining.
-
hasTaskId
public boolean hasTaskId()
required string taskId = 2;
- Specified by:
hasTaskId
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- Whether the taskId field is set.
-
getTaskId
public java.lang.String getTaskId()
required string taskId = 2;
- Specified by:
getTaskId
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- The taskId.
-
getTaskIdBytes
public com.google.protobuf.ByteString getTaskIdBytes()
required string taskId = 2;
- Specified by:
getTaskIdBytes
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- The bytes for taskId.
-
setTaskId
public ControlMessage.TaskStateChangedMsg.Builder setTaskId(java.lang.String value)
required string taskId = 2;
- Parameters:
value
- The taskId to set.- Returns:
- This builder for chaining.
-
clearTaskId
public ControlMessage.TaskStateChangedMsg.Builder clearTaskId()
required string taskId = 2;
- Returns:
- This builder for chaining.
-
setTaskIdBytes
public ControlMessage.TaskStateChangedMsg.Builder setTaskIdBytes(com.google.protobuf.ByteString value)
required string taskId = 2;
- Parameters:
value
- The bytes for taskId to set.- Returns:
- This builder for chaining.
-
hasState
public boolean hasState()
required .protobuf.TaskStateFromExecutor state = 3;
- Specified by:
hasState
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- Whether the state field is set.
-
getState
public ControlMessage.TaskStateFromExecutor getState()
required .protobuf.TaskStateFromExecutor state = 3;
- Specified by:
getState
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- The state.
-
setState
public ControlMessage.TaskStateChangedMsg.Builder setState(ControlMessage.TaskStateFromExecutor value)
required .protobuf.TaskStateFromExecutor state = 3;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public ControlMessage.TaskStateChangedMsg.Builder clearState()
required .protobuf.TaskStateFromExecutor state = 3;
- Returns:
- This builder for chaining.
-
hasVertexPutOnHoldId
public boolean hasVertexPutOnHoldId()
optional string vertexPutOnHoldId = 4;
- Specified by:
hasVertexPutOnHoldId
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- Whether the vertexPutOnHoldId field is set.
-
getVertexPutOnHoldId
public java.lang.String getVertexPutOnHoldId()
optional string vertexPutOnHoldId = 4;
- Specified by:
getVertexPutOnHoldId
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- The vertexPutOnHoldId.
-
getVertexPutOnHoldIdBytes
public com.google.protobuf.ByteString getVertexPutOnHoldIdBytes()
optional string vertexPutOnHoldId = 4;
- Specified by:
getVertexPutOnHoldIdBytes
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- The bytes for vertexPutOnHoldId.
-
setVertexPutOnHoldId
public ControlMessage.TaskStateChangedMsg.Builder setVertexPutOnHoldId(java.lang.String value)
optional string vertexPutOnHoldId = 4;
- Parameters:
value
- The vertexPutOnHoldId to set.- Returns:
- This builder for chaining.
-
clearVertexPutOnHoldId
public ControlMessage.TaskStateChangedMsg.Builder clearVertexPutOnHoldId()
optional string vertexPutOnHoldId = 4;
- Returns:
- This builder for chaining.
-
setVertexPutOnHoldIdBytes
public ControlMessage.TaskStateChangedMsg.Builder setVertexPutOnHoldIdBytes(com.google.protobuf.ByteString value)
optional string vertexPutOnHoldId = 4;
- Parameters:
value
- The bytes for vertexPutOnHoldId to set.- Returns:
- This builder for chaining.
-
hasFailureCause
public boolean hasFailureCause()
optional .protobuf.RecoverableFailureCause failureCause = 5;
- Specified by:
hasFailureCause
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- Whether the failureCause field is set.
-
getFailureCause
public ControlMessage.RecoverableFailureCause getFailureCause()
optional .protobuf.RecoverableFailureCause failureCause = 5;
- Specified by:
getFailureCause
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- The failureCause.
-
setFailureCause
public ControlMessage.TaskStateChangedMsg.Builder setFailureCause(ControlMessage.RecoverableFailureCause value)
optional .protobuf.RecoverableFailureCause failureCause = 5;
- Parameters:
value
- The failureCause to set.- Returns:
- This builder for chaining.
-
clearFailureCause
public ControlMessage.TaskStateChangedMsg.Builder clearFailureCause()
optional .protobuf.RecoverableFailureCause failureCause = 5;
- Returns:
- This builder for chaining.
-
hasAttemptIdx
public boolean hasAttemptIdx()
required int32 attemptIdx = 6;
- Specified by:
hasAttemptIdx
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- Whether the attemptIdx field is set.
-
getAttemptIdx
public int getAttemptIdx()
required int32 attemptIdx = 6;
- Specified by:
getAttemptIdx
in interfaceControlMessage.TaskStateChangedMsgOrBuilder
- Returns:
- The attemptIdx.
-
setAttemptIdx
public ControlMessage.TaskStateChangedMsg.Builder setAttemptIdx(int value)
required int32 attemptIdx = 6;
- Parameters:
value
- The attemptIdx to set.- Returns:
- This builder for chaining.
-
clearAttemptIdx
public ControlMessage.TaskStateChangedMsg.Builder clearAttemptIdx()
required int32 attemptIdx = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ControlMessage.TaskStateChangedMsg.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.TaskStateChangedMsg.Builder>
-
mergeUnknownFields
public final ControlMessage.TaskStateChangedMsg.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.TaskStateChangedMsg.Builder>
-
-