Class ControlMessage.ClientToDriverMessage.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.ClientToDriverMessage.Builder>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.ClientToDriverMessage.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.ClientToDriverMessageOrBuilder
- Enclosing class:
- ControlMessage.ClientToDriverMessage
public static final class ControlMessage.ClientToDriverMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.ClientToDriverMessage.Builder> implements ControlMessage.ClientToDriverMessageOrBuilder
Protobuf typeprotobuf.ClientToDriverMessage
-
-
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.ClientToDriverMessage.Builder>
-
clear
public ControlMessage.ClientToDriverMessage.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.ClientToDriverMessage.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.ClientToDriverMessage.Builder>
-
getDefaultInstanceForType
public ControlMessage.ClientToDriverMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ControlMessage.ClientToDriverMessage build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ControlMessage.ClientToDriverMessage buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ControlMessage.ClientToDriverMessage.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.ClientToDriverMessage.Builder>
-
setField
public ControlMessage.ClientToDriverMessage.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.ClientToDriverMessage.Builder>
-
clearField
public ControlMessage.ClientToDriverMessage.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.ClientToDriverMessage.Builder>
-
clearOneof
public ControlMessage.ClientToDriverMessage.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.ClientToDriverMessage.Builder>
-
setRepeatedField
public ControlMessage.ClientToDriverMessage.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.ClientToDriverMessage.Builder>
-
addRepeatedField
public ControlMessage.ClientToDriverMessage.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.ClientToDriverMessage.Builder>
-
mergeFrom
public ControlMessage.ClientToDriverMessage.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.ClientToDriverMessage.Builder>
-
mergeFrom
public ControlMessage.ClientToDriverMessage.Builder mergeFrom(ControlMessage.ClientToDriverMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.ClientToDriverMessage.Builder>
-
mergeFrom
public ControlMessage.ClientToDriverMessage.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.ClientToDriverMessage.Builder>
- Throws:
java.io.IOException
-
hasType
public boolean hasType()
required .protobuf.ClientToDriverMessageType type = 1;
- Specified by:
hasType
in interfaceControlMessage.ClientToDriverMessageOrBuilder
- Returns:
- Whether the type field is set.
-
getType
public ControlMessage.ClientToDriverMessageType getType()
required .protobuf.ClientToDriverMessageType type = 1;
- Specified by:
getType
in interfaceControlMessage.ClientToDriverMessageOrBuilder
- Returns:
- The type.
-
setType
public ControlMessage.ClientToDriverMessage.Builder setType(ControlMessage.ClientToDriverMessageType value)
required .protobuf.ClientToDriverMessageType type = 1;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public ControlMessage.ClientToDriverMessage.Builder clearType()
required .protobuf.ClientToDriverMessageType type = 1;
- Returns:
- This builder for chaining.
-
hasLaunchDAG
public boolean hasLaunchDAG()
optional .protobuf.LaunchDAGMessage launchDAG = 2;
- Specified by:
hasLaunchDAG
in interfaceControlMessage.ClientToDriverMessageOrBuilder
- Returns:
- Whether the launchDAG field is set.
-
getLaunchDAG
public ControlMessage.LaunchDAGMessage getLaunchDAG()
optional .protobuf.LaunchDAGMessage launchDAG = 2;
- Specified by:
getLaunchDAG
in interfaceControlMessage.ClientToDriverMessageOrBuilder
- Returns:
- The launchDAG.
-
setLaunchDAG
public ControlMessage.ClientToDriverMessage.Builder setLaunchDAG(ControlMessage.LaunchDAGMessage value)
optional .protobuf.LaunchDAGMessage launchDAG = 2;
-
setLaunchDAG
public ControlMessage.ClientToDriverMessage.Builder setLaunchDAG(ControlMessage.LaunchDAGMessage.Builder builderForValue)
optional .protobuf.LaunchDAGMessage launchDAG = 2;
-
mergeLaunchDAG
public ControlMessage.ClientToDriverMessage.Builder mergeLaunchDAG(ControlMessage.LaunchDAGMessage value)
optional .protobuf.LaunchDAGMessage launchDAG = 2;
-
clearLaunchDAG
public ControlMessage.ClientToDriverMessage.Builder clearLaunchDAG()
optional .protobuf.LaunchDAGMessage launchDAG = 2;
-
getLaunchDAGBuilder
public ControlMessage.LaunchDAGMessage.Builder getLaunchDAGBuilder()
optional .protobuf.LaunchDAGMessage launchDAG = 2;
-
getLaunchDAGOrBuilder
public ControlMessage.LaunchDAGMessageOrBuilder getLaunchDAGOrBuilder()
optional .protobuf.LaunchDAGMessage launchDAG = 2;
- Specified by:
getLaunchDAGOrBuilder
in interfaceControlMessage.ClientToDriverMessageOrBuilder
-
hasMessage
public boolean hasMessage()
optional .protobuf.NotificationMessage message = 3;
- Specified by:
hasMessage
in interfaceControlMessage.ClientToDriverMessageOrBuilder
- Returns:
- Whether the message field is set.
-
getMessage
public ControlMessage.NotificationMessage getMessage()
optional .protobuf.NotificationMessage message = 3;
- Specified by:
getMessage
in interfaceControlMessage.ClientToDriverMessageOrBuilder
- Returns:
- The message.
-
setMessage
public ControlMessage.ClientToDriverMessage.Builder setMessage(ControlMessage.NotificationMessage value)
optional .protobuf.NotificationMessage message = 3;
-
setMessage
public ControlMessage.ClientToDriverMessage.Builder setMessage(ControlMessage.NotificationMessage.Builder builderForValue)
optional .protobuf.NotificationMessage message = 3;
-
mergeMessage
public ControlMessage.ClientToDriverMessage.Builder mergeMessage(ControlMessage.NotificationMessage value)
optional .protobuf.NotificationMessage message = 3;
-
clearMessage
public ControlMessage.ClientToDriverMessage.Builder clearMessage()
optional .protobuf.NotificationMessage message = 3;
-
getMessageBuilder
public ControlMessage.NotificationMessage.Builder getMessageBuilder()
optional .protobuf.NotificationMessage message = 3;
-
getMessageOrBuilder
public ControlMessage.NotificationMessageOrBuilder getMessageOrBuilder()
optional .protobuf.NotificationMessage message = 3;
- Specified by:
getMessageOrBuilder
in interfaceControlMessage.ClientToDriverMessageOrBuilder
-
setUnknownFields
public final ControlMessage.ClientToDriverMessage.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.ClientToDriverMessage.Builder>
-
mergeUnknownFields
public final ControlMessage.ClientToDriverMessage.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.ClientToDriverMessage.Builder>
-
-