Class ControlMessage.ByteTransferContextSetupMessage.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.ByteTransferContextSetupMessage.Builder>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessageOrBuilder
- Enclosing class:
- ControlMessage.ByteTransferContextSetupMessage
public static final class ControlMessage.ByteTransferContextSetupMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.ByteTransferContextSetupMessage.Builder> implements ControlMessage.ByteTransferContextSetupMessageOrBuilder
Protobuf typeprotobuf.ByteTransferContextSetupMessage
-
-
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.ByteTransferContextSetupMessage.Builder>
-
clear
public ControlMessage.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessage.Builder>
-
getDefaultInstanceForType
public ControlMessage.ByteTransferContextSetupMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ControlMessage.ByteTransferContextSetupMessage build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ControlMessage.ByteTransferContextSetupMessage buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ControlMessage.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessage.Builder>
-
setField
public ControlMessage.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessage.Builder>
-
clearField
public ControlMessage.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessage.Builder>
-
clearOneof
public ControlMessage.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessage.Builder>
-
setRepeatedField
public ControlMessage.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessage.Builder>
-
addRepeatedField
public ControlMessage.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessage.Builder>
-
mergeFrom
public ControlMessage.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessage.Builder>
-
mergeFrom
public ControlMessage.ByteTransferContextSetupMessage.Builder mergeFrom(ControlMessage.ByteTransferContextSetupMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.ByteTransferContextSetupMessage.Builder>
-
mergeFrom
public ControlMessage.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessage.Builder>
- Throws:
java.io.IOException
-
hasInitiatorExecutorId
public boolean hasInitiatorExecutorId()
required string initiatorExecutorId = 1;
- Specified by:
hasInitiatorExecutorId
in interfaceControlMessage.ByteTransferContextSetupMessageOrBuilder
- Returns:
- Whether the initiatorExecutorId field is set.
-
getInitiatorExecutorId
public java.lang.String getInitiatorExecutorId()
required string initiatorExecutorId = 1;
- Specified by:
getInitiatorExecutorId
in interfaceControlMessage.ByteTransferContextSetupMessageOrBuilder
- Returns:
- The initiatorExecutorId.
-
getInitiatorExecutorIdBytes
public com.google.protobuf.ByteString getInitiatorExecutorIdBytes()
required string initiatorExecutorId = 1;
- Specified by:
getInitiatorExecutorIdBytes
in interfaceControlMessage.ByteTransferContextSetupMessageOrBuilder
- Returns:
- The bytes for initiatorExecutorId.
-
setInitiatorExecutorId
public ControlMessage.ByteTransferContextSetupMessage.Builder setInitiatorExecutorId(java.lang.String value)
required string initiatorExecutorId = 1;
- Parameters:
value
- The initiatorExecutorId to set.- Returns:
- This builder for chaining.
-
clearInitiatorExecutorId
public ControlMessage.ByteTransferContextSetupMessage.Builder clearInitiatorExecutorId()
required string initiatorExecutorId = 1;
- Returns:
- This builder for chaining.
-
setInitiatorExecutorIdBytes
public ControlMessage.ByteTransferContextSetupMessage.Builder setInitiatorExecutorIdBytes(com.google.protobuf.ByteString value)
required string initiatorExecutorId = 1;
- Parameters:
value
- The bytes for initiatorExecutorId to set.- Returns:
- This builder for chaining.
-
hasTransferIndex
public boolean hasTransferIndex()
required int32 transferIndex = 2;
- Specified by:
hasTransferIndex
in interfaceControlMessage.ByteTransferContextSetupMessageOrBuilder
- Returns:
- Whether the transferIndex field is set.
-
getTransferIndex
public int getTransferIndex()
required int32 transferIndex = 2;
- Specified by:
getTransferIndex
in interfaceControlMessage.ByteTransferContextSetupMessageOrBuilder
- Returns:
- The transferIndex.
-
setTransferIndex
public ControlMessage.ByteTransferContextSetupMessage.Builder setTransferIndex(int value)
required int32 transferIndex = 2;
- Parameters:
value
- The transferIndex to set.- Returns:
- This builder for chaining.
-
clearTransferIndex
public ControlMessage.ByteTransferContextSetupMessage.Builder clearTransferIndex()
required int32 transferIndex = 2;
- Returns:
- This builder for chaining.
-
hasDataDirection
public boolean hasDataDirection()
required .protobuf.ByteTransferDataDirection dataDirection = 3;
- Specified by:
hasDataDirection
in interfaceControlMessage.ByteTransferContextSetupMessageOrBuilder
- Returns:
- Whether the dataDirection field is set.
-
getDataDirection
public ControlMessage.ByteTransferDataDirection getDataDirection()
required .protobuf.ByteTransferDataDirection dataDirection = 3;
- Specified by:
getDataDirection
in interfaceControlMessage.ByteTransferContextSetupMessageOrBuilder
- Returns:
- The dataDirection.
-
setDataDirection
public ControlMessage.ByteTransferContextSetupMessage.Builder setDataDirection(ControlMessage.ByteTransferDataDirection value)
required .protobuf.ByteTransferDataDirection dataDirection = 3;
- Parameters:
value
- The dataDirection to set.- Returns:
- This builder for chaining.
-
clearDataDirection
public ControlMessage.ByteTransferContextSetupMessage.Builder clearDataDirection()
required .protobuf.ByteTransferDataDirection dataDirection = 3;
- Returns:
- This builder for chaining.
-
hasContextDescriptor
public boolean hasContextDescriptor()
required bytes contextDescriptor = 4;
- Specified by:
hasContextDescriptor
in interfaceControlMessage.ByteTransferContextSetupMessageOrBuilder
- Returns:
- Whether the contextDescriptor field is set.
-
getContextDescriptor
public com.google.protobuf.ByteString getContextDescriptor()
required bytes contextDescriptor = 4;
- Specified by:
getContextDescriptor
in interfaceControlMessage.ByteTransferContextSetupMessageOrBuilder
- Returns:
- The contextDescriptor.
-
setContextDescriptor
public ControlMessage.ByteTransferContextSetupMessage.Builder setContextDescriptor(com.google.protobuf.ByteString value)
required bytes contextDescriptor = 4;
- Parameters:
value
- The contextDescriptor to set.- Returns:
- This builder for chaining.
-
clearContextDescriptor
public ControlMessage.ByteTransferContextSetupMessage.Builder clearContextDescriptor()
required bytes contextDescriptor = 4;
- Returns:
- This builder for chaining.
-
hasIsPipe
public boolean hasIsPipe()
required bool isPipe = 5;
- Specified by:
hasIsPipe
in interfaceControlMessage.ByteTransferContextSetupMessageOrBuilder
- Returns:
- Whether the isPipe field is set.
-
getIsPipe
public boolean getIsPipe()
required bool isPipe = 5;
- Specified by:
getIsPipe
in interfaceControlMessage.ByteTransferContextSetupMessageOrBuilder
- Returns:
- The isPipe.
-
setIsPipe
public ControlMessage.ByteTransferContextSetupMessage.Builder setIsPipe(boolean value)
required bool isPipe = 5;
- Parameters:
value
- The isPipe to set.- Returns:
- This builder for chaining.
-
clearIsPipe
public ControlMessage.ByteTransferContextSetupMessage.Builder clearIsPipe()
required bool isPipe = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ControlMessage.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessage.Builder>
-
mergeUnknownFields
public final ControlMessage.ByteTransferContextSetupMessage.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.ByteTransferContextSetupMessage.Builder>
-
-