Class ControlMessage.BlockLocationInfoMsg.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.BlockLocationInfoMsg.Builder>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsgOrBuilder
- Enclosing class:
- ControlMessage.BlockLocationInfoMsg
public static final class ControlMessage.BlockLocationInfoMsg.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.BlockLocationInfoMsg.Builder> implements ControlMessage.BlockLocationInfoMsgOrBuilder
Protobuf typeprotobuf.BlockLocationInfoMsg
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlMessage.BlockLocationInfoMsg.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.BlockLocationInfoMsg
build()
ControlMessage.BlockLocationInfoMsg
buildPartial()
ControlMessage.BlockLocationInfoMsg.Builder
clear()
ControlMessage.BlockLocationInfoMsg.Builder
clearBlockId()
required string blockId = 2;
ControlMessage.BlockLocationInfoMsg.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ControlMessage.BlockLocationInfoMsg.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ControlMessage.BlockLocationInfoMsg.Builder
clearOwnerExecutorId()
optional string ownerExecutorId = 4;
ControlMessage.BlockLocationInfoMsg.Builder
clearRequestId()
To find the matching request msgControlMessage.BlockLocationInfoMsg.Builder
clearState()
optional .protobuf.BlockStateFromExecutor state = 3;
ControlMessage.BlockLocationInfoMsg.Builder
clone()
java.lang.String
getBlockId()
required string blockId = 2;
com.google.protobuf.ByteString
getBlockIdBytes()
required string blockId = 2;
ControlMessage.BlockLocationInfoMsg
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getOwnerExecutorId()
optional string ownerExecutorId = 4;
com.google.protobuf.ByteString
getOwnerExecutorIdBytes()
optional string ownerExecutorId = 4;
long
getRequestId()
To find the matching request msgControlMessage.BlockStateFromExecutor
getState()
optional .protobuf.BlockStateFromExecutor state = 3;
boolean
hasBlockId()
required string blockId = 2;
boolean
hasOwnerExecutorId()
optional string ownerExecutorId = 4;
boolean
hasRequestId()
To find the matching request msgboolean
hasState()
optional .protobuf.BlockStateFromExecutor state = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ControlMessage.BlockLocationInfoMsg.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ControlMessage.BlockLocationInfoMsg.Builder
mergeFrom(com.google.protobuf.Message other)
ControlMessage.BlockLocationInfoMsg.Builder
mergeFrom(ControlMessage.BlockLocationInfoMsg other)
ControlMessage.BlockLocationInfoMsg.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ControlMessage.BlockLocationInfoMsg.Builder
setBlockId(java.lang.String value)
required string blockId = 2;
ControlMessage.BlockLocationInfoMsg.Builder
setBlockIdBytes(com.google.protobuf.ByteString value)
required string blockId = 2;
ControlMessage.BlockLocationInfoMsg.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.BlockLocationInfoMsg.Builder
setOwnerExecutorId(java.lang.String value)
optional string ownerExecutorId = 4;
ControlMessage.BlockLocationInfoMsg.Builder
setOwnerExecutorIdBytes(com.google.protobuf.ByteString value)
optional string ownerExecutorId = 4;
ControlMessage.BlockLocationInfoMsg.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ControlMessage.BlockLocationInfoMsg.Builder
setRequestId(long value)
To find the matching request msgControlMessage.BlockLocationInfoMsg.Builder
setState(ControlMessage.BlockStateFromExecutor value)
optional .protobuf.BlockStateFromExecutor state = 3;
ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsg.Builder>
-
clear
public ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsg.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.BlockLocationInfoMsg.Builder>
-
getDefaultInstanceForType
public ControlMessage.BlockLocationInfoMsg getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ControlMessage.BlockLocationInfoMsg build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ControlMessage.BlockLocationInfoMsg buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsg.Builder>
-
setField
public ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsg.Builder>
-
clearField
public ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsg.Builder>
-
clearOneof
public ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsg.Builder>
-
setRepeatedField
public ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsg.Builder>
-
addRepeatedField
public ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsg.Builder>
-
mergeFrom
public ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsg.Builder>
-
mergeFrom
public ControlMessage.BlockLocationInfoMsg.Builder mergeFrom(ControlMessage.BlockLocationInfoMsg other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.BlockLocationInfoMsg.Builder>
-
mergeFrom
public ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsg.Builder>
- Throws:
java.io.IOException
-
hasRequestId
public boolean hasRequestId()
To find the matching request msg
required int64 requestId = 1;
- Specified by:
hasRequestId
in interfaceControlMessage.BlockLocationInfoMsgOrBuilder
- Returns:
- Whether the requestId field is set.
-
getRequestId
public long getRequestId()
To find the matching request msg
required int64 requestId = 1;
- Specified by:
getRequestId
in interfaceControlMessage.BlockLocationInfoMsgOrBuilder
- Returns:
- The requestId.
-
setRequestId
public ControlMessage.BlockLocationInfoMsg.Builder setRequestId(long value)
To find the matching request msg
required int64 requestId = 1;
- Parameters:
value
- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
public ControlMessage.BlockLocationInfoMsg.Builder clearRequestId()
To find the matching request msg
required int64 requestId = 1;
- Returns:
- This builder for chaining.
-
hasBlockId
public boolean hasBlockId()
required string blockId = 2;
- Specified by:
hasBlockId
in interfaceControlMessage.BlockLocationInfoMsgOrBuilder
- Returns:
- Whether the blockId field is set.
-
getBlockId
public java.lang.String getBlockId()
required string blockId = 2;
- Specified by:
getBlockId
in interfaceControlMessage.BlockLocationInfoMsgOrBuilder
- Returns:
- The blockId.
-
getBlockIdBytes
public com.google.protobuf.ByteString getBlockIdBytes()
required string blockId = 2;
- Specified by:
getBlockIdBytes
in interfaceControlMessage.BlockLocationInfoMsgOrBuilder
- Returns:
- The bytes for blockId.
-
setBlockId
public ControlMessage.BlockLocationInfoMsg.Builder setBlockId(java.lang.String value)
required string blockId = 2;
- Parameters:
value
- The blockId to set.- Returns:
- This builder for chaining.
-
clearBlockId
public ControlMessage.BlockLocationInfoMsg.Builder clearBlockId()
required string blockId = 2;
- Returns:
- This builder for chaining.
-
setBlockIdBytes
public ControlMessage.BlockLocationInfoMsg.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()
optional .protobuf.BlockStateFromExecutor state = 3;
- Specified by:
hasState
in interfaceControlMessage.BlockLocationInfoMsgOrBuilder
- Returns:
- Whether the state field is set.
-
getState
public ControlMessage.BlockStateFromExecutor getState()
optional .protobuf.BlockStateFromExecutor state = 3;
- Specified by:
getState
in interfaceControlMessage.BlockLocationInfoMsgOrBuilder
- Returns:
- The state.
-
setState
public ControlMessage.BlockLocationInfoMsg.Builder setState(ControlMessage.BlockStateFromExecutor value)
optional .protobuf.BlockStateFromExecutor state = 3;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public ControlMessage.BlockLocationInfoMsg.Builder clearState()
optional .protobuf.BlockStateFromExecutor state = 3;
- Returns:
- This builder for chaining.
-
hasOwnerExecutorId
public boolean hasOwnerExecutorId()
optional string ownerExecutorId = 4;
- Specified by:
hasOwnerExecutorId
in interfaceControlMessage.BlockLocationInfoMsgOrBuilder
- Returns:
- Whether the ownerExecutorId field is set.
-
getOwnerExecutorId
public java.lang.String getOwnerExecutorId()
optional string ownerExecutorId = 4;
- Specified by:
getOwnerExecutorId
in interfaceControlMessage.BlockLocationInfoMsgOrBuilder
- Returns:
- The ownerExecutorId.
-
getOwnerExecutorIdBytes
public com.google.protobuf.ByteString getOwnerExecutorIdBytes()
optional string ownerExecutorId = 4;
- Specified by:
getOwnerExecutorIdBytes
in interfaceControlMessage.BlockLocationInfoMsgOrBuilder
- Returns:
- The bytes for ownerExecutorId.
-
setOwnerExecutorId
public ControlMessage.BlockLocationInfoMsg.Builder setOwnerExecutorId(java.lang.String value)
optional string ownerExecutorId = 4;
- Parameters:
value
- The ownerExecutorId to set.- Returns:
- This builder for chaining.
-
clearOwnerExecutorId
public ControlMessage.BlockLocationInfoMsg.Builder clearOwnerExecutorId()
optional string ownerExecutorId = 4;
- Returns:
- This builder for chaining.
-
setOwnerExecutorIdBytes
public ControlMessage.BlockLocationInfoMsg.Builder setOwnerExecutorIdBytes(com.google.protobuf.ByteString value)
optional string ownerExecutorId = 4;
- Parameters:
value
- The bytes for ownerExecutorId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsg.Builder>
-
mergeUnknownFields
public final ControlMessage.BlockLocationInfoMsg.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.BlockLocationInfoMsg.Builder>
-
-