Class ControlMessage.BlockStateChangedMsg.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.BlockStateChangedMsg.Builder>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsgOrBuilder
- Enclosing class:
- ControlMessage.BlockStateChangedMsg
public static final class ControlMessage.BlockStateChangedMsg.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.BlockStateChangedMsg.Builder> implements ControlMessage.BlockStateChangedMsgOrBuilder
Protobuf typeprotobuf.BlockStateChangedMsg
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlMessage.BlockStateChangedMsg.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.BlockStateChangedMsg
build()
ControlMessage.BlockStateChangedMsg
buildPartial()
ControlMessage.BlockStateChangedMsg.Builder
clear()
ControlMessage.BlockStateChangedMsg.Builder
clearBlockId()
required string blockId = 2;
ControlMessage.BlockStateChangedMsg.Builder
clearExecutorId()
required string executorId = 1;
ControlMessage.BlockStateChangedMsg.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ControlMessage.BlockStateChangedMsg.Builder
clearLocation()
The location of the block (e.g., executor id or remote store).ControlMessage.BlockStateChangedMsg.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ControlMessage.BlockStateChangedMsg.Builder
clearState()
required .protobuf.BlockStateFromExecutor state = 3;
ControlMessage.BlockStateChangedMsg.Builder
clone()
java.lang.String
getBlockId()
required string blockId = 2;
com.google.protobuf.ByteString
getBlockIdBytes()
required string blockId = 2;
ControlMessage.BlockStateChangedMsg
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;
java.lang.String
getLocation()
The location of the block (e.g., executor id or remote store).com.google.protobuf.ByteString
getLocationBytes()
The location of the block (e.g., executor id or remote store).ControlMessage.BlockStateFromExecutor
getState()
required .protobuf.BlockStateFromExecutor state = 3;
boolean
hasBlockId()
required string blockId = 2;
boolean
hasExecutorId()
required string executorId = 1;
boolean
hasLocation()
The location of the block (e.g., executor id or remote store).boolean
hasState()
required .protobuf.BlockStateFromExecutor state = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ControlMessage.BlockStateChangedMsg.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ControlMessage.BlockStateChangedMsg.Builder
mergeFrom(com.google.protobuf.Message other)
ControlMessage.BlockStateChangedMsg.Builder
mergeFrom(ControlMessage.BlockStateChangedMsg other)
ControlMessage.BlockStateChangedMsg.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ControlMessage.BlockStateChangedMsg.Builder
setBlockId(java.lang.String value)
required string blockId = 2;
ControlMessage.BlockStateChangedMsg.Builder
setBlockIdBytes(com.google.protobuf.ByteString value)
required string blockId = 2;
ControlMessage.BlockStateChangedMsg.Builder
setExecutorId(java.lang.String value)
required string executorId = 1;
ControlMessage.BlockStateChangedMsg.Builder
setExecutorIdBytes(com.google.protobuf.ByteString value)
required string executorId = 1;
ControlMessage.BlockStateChangedMsg.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.BlockStateChangedMsg.Builder
setLocation(java.lang.String value)
The location of the block (e.g., executor id or remote store).ControlMessage.BlockStateChangedMsg.Builder
setLocationBytes(com.google.protobuf.ByteString value)
The location of the block (e.g., executor id or remote store).ControlMessage.BlockStateChangedMsg.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ControlMessage.BlockStateChangedMsg.Builder
setState(ControlMessage.BlockStateFromExecutor value)
required .protobuf.BlockStateFromExecutor state = 3;
ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsg.Builder>
-
clear
public ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsg.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.BlockStateChangedMsg.Builder>
-
getDefaultInstanceForType
public ControlMessage.BlockStateChangedMsg getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ControlMessage.BlockStateChangedMsg build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ControlMessage.BlockStateChangedMsg buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsg.Builder>
-
setField
public ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsg.Builder>
-
clearField
public ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsg.Builder>
-
clearOneof
public ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsg.Builder>
-
setRepeatedField
public ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsg.Builder>
-
addRepeatedField
public ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsg.Builder>
-
mergeFrom
public ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsg.Builder>
-
mergeFrom
public ControlMessage.BlockStateChangedMsg.Builder mergeFrom(ControlMessage.BlockStateChangedMsg other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.BlockStateChangedMsg.Builder>
-
mergeFrom
public ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsg.Builder>
- Throws:
java.io.IOException
-
hasExecutorId
public boolean hasExecutorId()
required string executorId = 1;
- Specified by:
hasExecutorId
in interfaceControlMessage.BlockStateChangedMsgOrBuilder
- Returns:
- Whether the executorId field is set.
-
getExecutorId
public java.lang.String getExecutorId()
required string executorId = 1;
- Specified by:
getExecutorId
in interfaceControlMessage.BlockStateChangedMsgOrBuilder
- Returns:
- The executorId.
-
getExecutorIdBytes
public com.google.protobuf.ByteString getExecutorIdBytes()
required string executorId = 1;
- Specified by:
getExecutorIdBytes
in interfaceControlMessage.BlockStateChangedMsgOrBuilder
- Returns:
- The bytes for executorId.
-
setExecutorId
public ControlMessage.BlockStateChangedMsg.Builder setExecutorId(java.lang.String value)
required string executorId = 1;
- Parameters:
value
- The executorId to set.- Returns:
- This builder for chaining.
-
clearExecutorId
public ControlMessage.BlockStateChangedMsg.Builder clearExecutorId()
required string executorId = 1;
- Returns:
- This builder for chaining.
-
setExecutorIdBytes
public ControlMessage.BlockStateChangedMsg.Builder setExecutorIdBytes(com.google.protobuf.ByteString value)
required string executorId = 1;
- Parameters:
value
- The bytes for executorId to set.- Returns:
- This builder for chaining.
-
hasBlockId
public boolean hasBlockId()
required string blockId = 2;
- Specified by:
hasBlockId
in interfaceControlMessage.BlockStateChangedMsgOrBuilder
- Returns:
- Whether the blockId field is set.
-
getBlockId
public java.lang.String getBlockId()
required string blockId = 2;
- Specified by:
getBlockId
in interfaceControlMessage.BlockStateChangedMsgOrBuilder
- Returns:
- The blockId.
-
getBlockIdBytes
public com.google.protobuf.ByteString getBlockIdBytes()
required string blockId = 2;
- Specified by:
getBlockIdBytes
in interfaceControlMessage.BlockStateChangedMsgOrBuilder
- Returns:
- The bytes for blockId.
-
setBlockId
public ControlMessage.BlockStateChangedMsg.Builder setBlockId(java.lang.String value)
required string blockId = 2;
- Parameters:
value
- The blockId to set.- Returns:
- This builder for chaining.
-
clearBlockId
public ControlMessage.BlockStateChangedMsg.Builder clearBlockId()
required string blockId = 2;
- Returns:
- This builder for chaining.
-
setBlockIdBytes
public ControlMessage.BlockStateChangedMsg.Builder setBlockIdBytes(com.google.protobuf.ByteString value)
required string blockId = 2;
- Parameters:
value
- The bytes for blockId to set.- Returns:
- This builder for chaining.
-
hasState
public boolean hasState()
required .protobuf.BlockStateFromExecutor state = 3;
- Specified by:
hasState
in interfaceControlMessage.BlockStateChangedMsgOrBuilder
- Returns:
- Whether the state field is set.
-
getState
public ControlMessage.BlockStateFromExecutor getState()
required .protobuf.BlockStateFromExecutor state = 3;
- Specified by:
getState
in interfaceControlMessage.BlockStateChangedMsgOrBuilder
- Returns:
- The state.
-
setState
public ControlMessage.BlockStateChangedMsg.Builder setState(ControlMessage.BlockStateFromExecutor value)
required .protobuf.BlockStateFromExecutor state = 3;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public ControlMessage.BlockStateChangedMsg.Builder clearState()
required .protobuf.BlockStateFromExecutor state = 3;
- Returns:
- This builder for chaining.
-
hasLocation
public boolean hasLocation()
The location of the block (e.g., executor id or remote store).
required string location = 4;
- Specified by:
hasLocation
in interfaceControlMessage.BlockStateChangedMsgOrBuilder
- Returns:
- Whether the location field is set.
-
getLocation
public java.lang.String getLocation()
The location of the block (e.g., executor id or remote store).
required string location = 4;
- Specified by:
getLocation
in interfaceControlMessage.BlockStateChangedMsgOrBuilder
- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
The location of the block (e.g., executor id or remote store).
required string location = 4;
- Specified by:
getLocationBytes
in interfaceControlMessage.BlockStateChangedMsgOrBuilder
- Returns:
- The bytes for location.
-
setLocation
public ControlMessage.BlockStateChangedMsg.Builder setLocation(java.lang.String value)
The location of the block (e.g., executor id or remote store).
required string location = 4;
- Parameters:
value
- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
public ControlMessage.BlockStateChangedMsg.Builder clearLocation()
The location of the block (e.g., executor id or remote store).
required string location = 4;
- Returns:
- This builder for chaining.
-
setLocationBytes
public ControlMessage.BlockStateChangedMsg.Builder setLocationBytes(com.google.protobuf.ByteString value)
The location of the block (e.g., executor id or remote store).
required string location = 4;
- Parameters:
value
- The bytes for location to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsg.Builder>
-
mergeUnknownFields
public final ControlMessage.BlockStateChangedMsg.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.BlockStateChangedMsg.Builder>
-
-