Class ControlMessage.PipeTransferContextDescriptor.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.PipeTransferContextDescriptor.Builder>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.PipeTransferContextDescriptor.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.PipeTransferContextDescriptorOrBuilder
- Enclosing class:
- ControlMessage.PipeTransferContextDescriptor
public static final class ControlMessage.PipeTransferContextDescriptor.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.PipeTransferContextDescriptor.Builder> implements ControlMessage.PipeTransferContextDescriptorOrBuilder
Protobuf typeprotobuf.PipeTransferContextDescriptor
-
-
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.PipeTransferContextDescriptor.Builder>
-
clear
public ControlMessage.PipeTransferContextDescriptor.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.PipeTransferContextDescriptor.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.PipeTransferContextDescriptor.Builder>
-
getDefaultInstanceForType
public ControlMessage.PipeTransferContextDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ControlMessage.PipeTransferContextDescriptor build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ControlMessage.PipeTransferContextDescriptor buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ControlMessage.PipeTransferContextDescriptor.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.PipeTransferContextDescriptor.Builder>
-
setField
public ControlMessage.PipeTransferContextDescriptor.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.PipeTransferContextDescriptor.Builder>
-
clearField
public ControlMessage.PipeTransferContextDescriptor.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.PipeTransferContextDescriptor.Builder>
-
clearOneof
public ControlMessage.PipeTransferContextDescriptor.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.PipeTransferContextDescriptor.Builder>
-
setRepeatedField
public ControlMessage.PipeTransferContextDescriptor.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.PipeTransferContextDescriptor.Builder>
-
addRepeatedField
public ControlMessage.PipeTransferContextDescriptor.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.PipeTransferContextDescriptor.Builder>
-
mergeFrom
public ControlMessage.PipeTransferContextDescriptor.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.PipeTransferContextDescriptor.Builder>
-
mergeFrom
public ControlMessage.PipeTransferContextDescriptor.Builder mergeFrom(ControlMessage.PipeTransferContextDescriptor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.PipeTransferContextDescriptor.Builder>
-
mergeFrom
public ControlMessage.PipeTransferContextDescriptor.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.PipeTransferContextDescriptor.Builder>
- Throws:
java.io.IOException
-
hasSrcTaskIndex
public boolean hasSrcTaskIndex()
required int64 srcTaskIndex = 1;
- Specified by:
hasSrcTaskIndex
in interfaceControlMessage.PipeTransferContextDescriptorOrBuilder
- Returns:
- Whether the srcTaskIndex field is set.
-
getSrcTaskIndex
public long getSrcTaskIndex()
required int64 srcTaskIndex = 1;
- Specified by:
getSrcTaskIndex
in interfaceControlMessage.PipeTransferContextDescriptorOrBuilder
- Returns:
- The srcTaskIndex.
-
setSrcTaskIndex
public ControlMessage.PipeTransferContextDescriptor.Builder setSrcTaskIndex(long value)
required int64 srcTaskIndex = 1;
- Parameters:
value
- The srcTaskIndex to set.- Returns:
- This builder for chaining.
-
clearSrcTaskIndex
public ControlMessage.PipeTransferContextDescriptor.Builder clearSrcTaskIndex()
required int64 srcTaskIndex = 1;
- Returns:
- This builder for chaining.
-
hasRuntimeEdgeId
public boolean hasRuntimeEdgeId()
required string runtimeEdgeId = 2;
- Specified by:
hasRuntimeEdgeId
in interfaceControlMessage.PipeTransferContextDescriptorOrBuilder
- Returns:
- Whether the runtimeEdgeId field is set.
-
getRuntimeEdgeId
public java.lang.String getRuntimeEdgeId()
required string runtimeEdgeId = 2;
- Specified by:
getRuntimeEdgeId
in interfaceControlMessage.PipeTransferContextDescriptorOrBuilder
- Returns:
- The runtimeEdgeId.
-
getRuntimeEdgeIdBytes
public com.google.protobuf.ByteString getRuntimeEdgeIdBytes()
required string runtimeEdgeId = 2;
- Specified by:
getRuntimeEdgeIdBytes
in interfaceControlMessage.PipeTransferContextDescriptorOrBuilder
- Returns:
- The bytes for runtimeEdgeId.
-
setRuntimeEdgeId
public ControlMessage.PipeTransferContextDescriptor.Builder setRuntimeEdgeId(java.lang.String value)
required string runtimeEdgeId = 2;
- Parameters:
value
- The runtimeEdgeId to set.- Returns:
- This builder for chaining.
-
clearRuntimeEdgeId
public ControlMessage.PipeTransferContextDescriptor.Builder clearRuntimeEdgeId()
required string runtimeEdgeId = 2;
- Returns:
- This builder for chaining.
-
setRuntimeEdgeIdBytes
public ControlMessage.PipeTransferContextDescriptor.Builder setRuntimeEdgeIdBytes(com.google.protobuf.ByteString value)
required string runtimeEdgeId = 2;
- Parameters:
value
- The bytes for runtimeEdgeId to set.- Returns:
- This builder for chaining.
-
hasDstTaskIndex
public boolean hasDstTaskIndex()
required int64 dstTaskIndex = 3;
- Specified by:
hasDstTaskIndex
in interfaceControlMessage.PipeTransferContextDescriptorOrBuilder
- Returns:
- Whether the dstTaskIndex field is set.
-
getDstTaskIndex
public long getDstTaskIndex()
required int64 dstTaskIndex = 3;
- Specified by:
getDstTaskIndex
in interfaceControlMessage.PipeTransferContextDescriptorOrBuilder
- Returns:
- The dstTaskIndex.
-
setDstTaskIndex
public ControlMessage.PipeTransferContextDescriptor.Builder setDstTaskIndex(long value)
required int64 dstTaskIndex = 3;
- Parameters:
value
- The dstTaskIndex to set.- Returns:
- This builder for chaining.
-
clearDstTaskIndex
public ControlMessage.PipeTransferContextDescriptor.Builder clearDstTaskIndex()
required int64 dstTaskIndex = 3;
- Returns:
- This builder for chaining.
-
hasNumPipeToWait
public boolean hasNumPipeToWait()
required int64 numPipeToWait = 4;
- Specified by:
hasNumPipeToWait
in interfaceControlMessage.PipeTransferContextDescriptorOrBuilder
- Returns:
- Whether the numPipeToWait field is set.
-
getNumPipeToWait
public long getNumPipeToWait()
required int64 numPipeToWait = 4;
- Specified by:
getNumPipeToWait
in interfaceControlMessage.PipeTransferContextDescriptorOrBuilder
- Returns:
- The numPipeToWait.
-
setNumPipeToWait
public ControlMessage.PipeTransferContextDescriptor.Builder setNumPipeToWait(long value)
required int64 numPipeToWait = 4;
- Parameters:
value
- The numPipeToWait to set.- Returns:
- This builder for chaining.
-
clearNumPipeToWait
public ControlMessage.PipeTransferContextDescriptor.Builder clearNumPipeToWait()
required int64 numPipeToWait = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ControlMessage.PipeTransferContextDescriptor.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.PipeTransferContextDescriptor.Builder>
-
mergeUnknownFields
public final ControlMessage.PipeTransferContextDescriptor.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.PipeTransferContextDescriptor.Builder>
-
-