Class ControlMessage.BlockTransferContextDescriptor.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.BlockTransferContextDescriptor.Builder>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.BlockTransferContextDescriptor.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.BlockTransferContextDescriptorOrBuilder
- Enclosing class:
- ControlMessage.BlockTransferContextDescriptor
public static final class ControlMessage.BlockTransferContextDescriptor.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.BlockTransferContextDescriptor.Builder> implements ControlMessage.BlockTransferContextDescriptorOrBuilder
Protobuf typeprotobuf.BlockTransferContextDescriptor
-
-
Method Summary
-
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.BlockTransferContextDescriptor.Builder>
-
clear
public ControlMessage.BlockTransferContextDescriptor.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.BlockTransferContextDescriptor.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.BlockTransferContextDescriptor.Builder>
-
getDefaultInstanceForType
public ControlMessage.BlockTransferContextDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ControlMessage.BlockTransferContextDescriptor build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ControlMessage.BlockTransferContextDescriptor buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ControlMessage.BlockTransferContextDescriptor.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.BlockTransferContextDescriptor.Builder>
-
setField
public ControlMessage.BlockTransferContextDescriptor.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.BlockTransferContextDescriptor.Builder>
-
clearField
public ControlMessage.BlockTransferContextDescriptor.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.BlockTransferContextDescriptor.Builder>
-
clearOneof
public ControlMessage.BlockTransferContextDescriptor.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.BlockTransferContextDescriptor.Builder>
-
setRepeatedField
public ControlMessage.BlockTransferContextDescriptor.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.BlockTransferContextDescriptor.Builder>
-
addRepeatedField
public ControlMessage.BlockTransferContextDescriptor.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.BlockTransferContextDescriptor.Builder>
-
mergeFrom
public ControlMessage.BlockTransferContextDescriptor.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.BlockTransferContextDescriptor.Builder>
-
mergeFrom
public ControlMessage.BlockTransferContextDescriptor.Builder mergeFrom(ControlMessage.BlockTransferContextDescriptor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.BlockTransferContextDescriptor.Builder>
-
mergeFrom
public ControlMessage.BlockTransferContextDescriptor.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.BlockTransferContextDescriptor.Builder>
- Throws:
java.io.IOException
-
hasBlockId
public boolean hasBlockId()
required string blockId = 1;
- Specified by:
hasBlockId
in interfaceControlMessage.BlockTransferContextDescriptorOrBuilder
- Returns:
- Whether the blockId field is set.
-
getBlockId
public java.lang.String getBlockId()
required string blockId = 1;
- Specified by:
getBlockId
in interfaceControlMessage.BlockTransferContextDescriptorOrBuilder
- Returns:
- The blockId.
-
getBlockIdBytes
public com.google.protobuf.ByteString getBlockIdBytes()
required string blockId = 1;
- Specified by:
getBlockIdBytes
in interfaceControlMessage.BlockTransferContextDescriptorOrBuilder
- Returns:
- The bytes for blockId.
-
setBlockId
public ControlMessage.BlockTransferContextDescriptor.Builder setBlockId(java.lang.String value)
required string blockId = 1;
- Parameters:
value
- The blockId to set.- Returns:
- This builder for chaining.
-
clearBlockId
public ControlMessage.BlockTransferContextDescriptor.Builder clearBlockId()
required string blockId = 1;
- Returns:
- This builder for chaining.
-
setBlockIdBytes
public ControlMessage.BlockTransferContextDescriptor.Builder setBlockIdBytes(com.google.protobuf.ByteString value)
required string blockId = 1;
- Parameters:
value
- The bytes for blockId to set.- Returns:
- This builder for chaining.
-
hasBlockStore
public boolean hasBlockStore()
required .protobuf.BlockStore blockStore = 2;
- Specified by:
hasBlockStore
in interfaceControlMessage.BlockTransferContextDescriptorOrBuilder
- Returns:
- Whether the blockStore field is set.
-
getBlockStore
public ControlMessage.BlockStore getBlockStore()
required .protobuf.BlockStore blockStore = 2;
- Specified by:
getBlockStore
in interfaceControlMessage.BlockTransferContextDescriptorOrBuilder
- Returns:
- The blockStore.
-
setBlockStore
public ControlMessage.BlockTransferContextDescriptor.Builder setBlockStore(ControlMessage.BlockStore value)
required .protobuf.BlockStore blockStore = 2;
- Parameters:
value
- The blockStore to set.- Returns:
- This builder for chaining.
-
clearBlockStore
public ControlMessage.BlockTransferContextDescriptor.Builder clearBlockStore()
required .protobuf.BlockStore blockStore = 2;
- Returns:
- This builder for chaining.
-
hasRuntimeEdgeId
public boolean hasRuntimeEdgeId()
required string runtimeEdgeId = 3;
- Specified by:
hasRuntimeEdgeId
in interfaceControlMessage.BlockTransferContextDescriptorOrBuilder
- Returns:
- Whether the runtimeEdgeId field is set.
-
getRuntimeEdgeId
public java.lang.String getRuntimeEdgeId()
required string runtimeEdgeId = 3;
- Specified by:
getRuntimeEdgeId
in interfaceControlMessage.BlockTransferContextDescriptorOrBuilder
- Returns:
- The runtimeEdgeId.
-
getRuntimeEdgeIdBytes
public com.google.protobuf.ByteString getRuntimeEdgeIdBytes()
required string runtimeEdgeId = 3;
- Specified by:
getRuntimeEdgeIdBytes
in interfaceControlMessage.BlockTransferContextDescriptorOrBuilder
- Returns:
- The bytes for runtimeEdgeId.
-
setRuntimeEdgeId
public ControlMessage.BlockTransferContextDescriptor.Builder setRuntimeEdgeId(java.lang.String value)
required string runtimeEdgeId = 3;
- Parameters:
value
- The runtimeEdgeId to set.- Returns:
- This builder for chaining.
-
clearRuntimeEdgeId
public ControlMessage.BlockTransferContextDescriptor.Builder clearRuntimeEdgeId()
required string runtimeEdgeId = 3;
- Returns:
- This builder for chaining.
-
setRuntimeEdgeIdBytes
public ControlMessage.BlockTransferContextDescriptor.Builder setRuntimeEdgeIdBytes(com.google.protobuf.ByteString value)
required string runtimeEdgeId = 3;
- Parameters:
value
- The bytes for runtimeEdgeId to set.- Returns:
- This builder for chaining.
-
hasKeyRange
public boolean hasKeyRange()
optional bytes keyRange = 4;
- Specified by:
hasKeyRange
in interfaceControlMessage.BlockTransferContextDescriptorOrBuilder
- Returns:
- Whether the keyRange field is set.
-
getKeyRange
public com.google.protobuf.ByteString getKeyRange()
optional bytes keyRange = 4;
- Specified by:
getKeyRange
in interfaceControlMessage.BlockTransferContextDescriptorOrBuilder
- Returns:
- The keyRange.
-
setKeyRange
public ControlMessage.BlockTransferContextDescriptor.Builder setKeyRange(com.google.protobuf.ByteString value)
optional bytes keyRange = 4;
- Parameters:
value
- The keyRange to set.- Returns:
- This builder for chaining.
-
clearKeyRange
public ControlMessage.BlockTransferContextDescriptor.Builder clearKeyRange()
optional bytes keyRange = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ControlMessage.BlockTransferContextDescriptor.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.BlockTransferContextDescriptor.Builder>
-
mergeUnknownFields
public final ControlMessage.BlockTransferContextDescriptor.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.BlockTransferContextDescriptor.Builder>
-
-