Class ControlMessage.DriverToClientMessage.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.DriverToClientMessage.Builder>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.DriverToClientMessage.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.DriverToClientMessageOrBuilder
- Enclosing class:
- ControlMessage.DriverToClientMessage
public static final class ControlMessage.DriverToClientMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.DriverToClientMessage.Builder> implements ControlMessage.DriverToClientMessageOrBuilder
Protobuf typeprotobuf.DriverToClientMessage
-
-
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.DriverToClientMessage.Builder>
-
clear
public ControlMessage.DriverToClientMessage.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.DriverToClientMessage.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.DriverToClientMessage.Builder>
-
getDefaultInstanceForType
public ControlMessage.DriverToClientMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ControlMessage.DriverToClientMessage build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ControlMessage.DriverToClientMessage buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ControlMessage.DriverToClientMessage.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.DriverToClientMessage.Builder>
-
setField
public ControlMessage.DriverToClientMessage.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.DriverToClientMessage.Builder>
-
clearField
public ControlMessage.DriverToClientMessage.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.DriverToClientMessage.Builder>
-
clearOneof
public ControlMessage.DriverToClientMessage.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.DriverToClientMessage.Builder>
-
setRepeatedField
public ControlMessage.DriverToClientMessage.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.DriverToClientMessage.Builder>
-
addRepeatedField
public ControlMessage.DriverToClientMessage.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.DriverToClientMessage.Builder>
-
mergeFrom
public ControlMessage.DriverToClientMessage.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.DriverToClientMessage.Builder>
-
mergeFrom
public ControlMessage.DriverToClientMessage.Builder mergeFrom(ControlMessage.DriverToClientMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.DriverToClientMessage.Builder>
-
mergeFrom
public ControlMessage.DriverToClientMessage.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.DriverToClientMessage.Builder>
- Throws:
java.io.IOException
-
hasType
public boolean hasType()
required .protobuf.DriverToClientMessageType type = 1;
- Specified by:
hasType
in interfaceControlMessage.DriverToClientMessageOrBuilder
- Returns:
- Whether the type field is set.
-
getType
public ControlMessage.DriverToClientMessageType getType()
required .protobuf.DriverToClientMessageType type = 1;
- Specified by:
getType
in interfaceControlMessage.DriverToClientMessageOrBuilder
- Returns:
- The type.
-
setType
public ControlMessage.DriverToClientMessage.Builder setType(ControlMessage.DriverToClientMessageType value)
required .protobuf.DriverToClientMessageType type = 1;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public ControlMessage.DriverToClientMessage.Builder clearType()
required .protobuf.DriverToClientMessageType type = 1;
- Returns:
- This builder for chaining.
-
hasDataCollected
public boolean hasDataCollected()
optional .protobuf.DataCollectMessage dataCollected = 2;
- Specified by:
hasDataCollected
in interfaceControlMessage.DriverToClientMessageOrBuilder
- Returns:
- Whether the dataCollected field is set.
-
getDataCollected
public ControlMessage.DataCollectMessage getDataCollected()
optional .protobuf.DataCollectMessage dataCollected = 2;
- Specified by:
getDataCollected
in interfaceControlMessage.DriverToClientMessageOrBuilder
- Returns:
- The dataCollected.
-
setDataCollected
public ControlMessage.DriverToClientMessage.Builder setDataCollected(ControlMessage.DataCollectMessage value)
optional .protobuf.DataCollectMessage dataCollected = 2;
-
setDataCollected
public ControlMessage.DriverToClientMessage.Builder setDataCollected(ControlMessage.DataCollectMessage.Builder builderForValue)
optional .protobuf.DataCollectMessage dataCollected = 2;
-
mergeDataCollected
public ControlMessage.DriverToClientMessage.Builder mergeDataCollected(ControlMessage.DataCollectMessage value)
optional .protobuf.DataCollectMessage dataCollected = 2;
-
clearDataCollected
public ControlMessage.DriverToClientMessage.Builder clearDataCollected()
optional .protobuf.DataCollectMessage dataCollected = 2;
-
getDataCollectedBuilder
public ControlMessage.DataCollectMessage.Builder getDataCollectedBuilder()
optional .protobuf.DataCollectMessage dataCollected = 2;
-
getDataCollectedOrBuilder
public ControlMessage.DataCollectMessageOrBuilder getDataCollectedOrBuilder()
optional .protobuf.DataCollectMessage dataCollected = 2;
- Specified by:
getDataCollectedOrBuilder
in interfaceControlMessage.DriverToClientMessageOrBuilder
-
hasOptimizationType
public boolean hasOptimizationType()
optional .protobuf.OptimizationType optimizationType = 3;
- Specified by:
hasOptimizationType
in interfaceControlMessage.DriverToClientMessageOrBuilder
- Returns:
- Whether the optimizationType field is set.
-
getOptimizationType
public ControlMessage.OptimizationType getOptimizationType()
optional .protobuf.OptimizationType optimizationType = 3;
- Specified by:
getOptimizationType
in interfaceControlMessage.DriverToClientMessageOrBuilder
- Returns:
- The optimizationType.
-
setOptimizationType
public ControlMessage.DriverToClientMessage.Builder setOptimizationType(ControlMessage.OptimizationType value)
optional .protobuf.OptimizationType optimizationType = 3;
- Parameters:
value
- The optimizationType to set.- Returns:
- This builder for chaining.
-
clearOptimizationType
public ControlMessage.DriverToClientMessage.Builder clearOptimizationType()
optional .protobuf.OptimizationType optimizationType = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ControlMessage.DriverToClientMessage.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.DriverToClientMessage.Builder>
-
mergeUnknownFields
public final ControlMessage.DriverToClientMessage.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.DriverToClientMessage.Builder>
-
-