Class ControlMessage.RunTimePassMessageEntry.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.RunTimePassMessageEntry.Builder>
-
- org.apache.nemo.runtime.common.comm.ControlMessage.RunTimePassMessageEntry.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.RunTimePassMessageEntryOrBuilder
- Enclosing class:
- ControlMessage.RunTimePassMessageEntry
public static final class ControlMessage.RunTimePassMessageEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.RunTimePassMessageEntry.Builder> implements ControlMessage.RunTimePassMessageEntryOrBuilder
Protobuf typeprotobuf.RunTimePassMessageEntry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlMessage.RunTimePassMessageEntry.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.RunTimePassMessageEntry
build()
ControlMessage.RunTimePassMessageEntry
buildPartial()
ControlMessage.RunTimePassMessageEntry.Builder
clear()
ControlMessage.RunTimePassMessageEntry.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ControlMessage.RunTimePassMessageEntry.Builder
clearKey()
required string key = 1;
ControlMessage.RunTimePassMessageEntry.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ControlMessage.RunTimePassMessageEntry.Builder
clearValue()
required int64 value = 2;
ControlMessage.RunTimePassMessageEntry.Builder
clone()
ControlMessage.RunTimePassMessageEntry
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getKey()
required string key = 1;
com.google.protobuf.ByteString
getKeyBytes()
required string key = 1;
long
getValue()
required int64 value = 2;
boolean
hasKey()
required string key = 1;
boolean
hasValue()
required int64 value = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ControlMessage.RunTimePassMessageEntry.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ControlMessage.RunTimePassMessageEntry.Builder
mergeFrom(com.google.protobuf.Message other)
ControlMessage.RunTimePassMessageEntry.Builder
mergeFrom(ControlMessage.RunTimePassMessageEntry other)
ControlMessage.RunTimePassMessageEntry.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ControlMessage.RunTimePassMessageEntry.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ControlMessage.RunTimePassMessageEntry.Builder
setKey(java.lang.String value)
required string key = 1;
ControlMessage.RunTimePassMessageEntry.Builder
setKeyBytes(com.google.protobuf.ByteString value)
required string key = 1;
ControlMessage.RunTimePassMessageEntry.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ControlMessage.RunTimePassMessageEntry.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ControlMessage.RunTimePassMessageEntry.Builder
setValue(long value)
required int64 value = 2;
-
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.RunTimePassMessageEntry.Builder>
-
clear
public ControlMessage.RunTimePassMessageEntry.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.RunTimePassMessageEntry.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.RunTimePassMessageEntry.Builder>
-
getDefaultInstanceForType
public ControlMessage.RunTimePassMessageEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ControlMessage.RunTimePassMessageEntry build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ControlMessage.RunTimePassMessageEntry buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ControlMessage.RunTimePassMessageEntry.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.RunTimePassMessageEntry.Builder>
-
setField
public ControlMessage.RunTimePassMessageEntry.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.RunTimePassMessageEntry.Builder>
-
clearField
public ControlMessage.RunTimePassMessageEntry.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.RunTimePassMessageEntry.Builder>
-
clearOneof
public ControlMessage.RunTimePassMessageEntry.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.RunTimePassMessageEntry.Builder>
-
setRepeatedField
public ControlMessage.RunTimePassMessageEntry.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.RunTimePassMessageEntry.Builder>
-
addRepeatedField
public ControlMessage.RunTimePassMessageEntry.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.RunTimePassMessageEntry.Builder>
-
mergeFrom
public ControlMessage.RunTimePassMessageEntry.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.RunTimePassMessageEntry.Builder>
-
mergeFrom
public ControlMessage.RunTimePassMessageEntry.Builder mergeFrom(ControlMessage.RunTimePassMessageEntry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ControlMessage.RunTimePassMessageEntry.Builder>
-
mergeFrom
public ControlMessage.RunTimePassMessageEntry.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.RunTimePassMessageEntry.Builder>
- Throws:
java.io.IOException
-
hasKey
public boolean hasKey()
required string key = 1;
- Specified by:
hasKey
in interfaceControlMessage.RunTimePassMessageEntryOrBuilder
- Returns:
- Whether the key field is set.
-
getKey
public java.lang.String getKey()
required string key = 1;
- Specified by:
getKey
in interfaceControlMessage.RunTimePassMessageEntryOrBuilder
- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()
required string key = 1;
- Specified by:
getKeyBytes
in interfaceControlMessage.RunTimePassMessageEntryOrBuilder
- Returns:
- The bytes for key.
-
setKey
public ControlMessage.RunTimePassMessageEntry.Builder setKey(java.lang.String value)
required string key = 1;
- Parameters:
value
- The key to set.- Returns:
- This builder for chaining.
-
clearKey
public ControlMessage.RunTimePassMessageEntry.Builder clearKey()
required string key = 1;
- Returns:
- This builder for chaining.
-
setKeyBytes
public ControlMessage.RunTimePassMessageEntry.Builder setKeyBytes(com.google.protobuf.ByteString value)
required string key = 1;
- Parameters:
value
- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()
required int64 value = 2;
- Specified by:
hasValue
in interfaceControlMessage.RunTimePassMessageEntryOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
public long getValue()
required int64 value = 2;
- Specified by:
getValue
in interfaceControlMessage.RunTimePassMessageEntryOrBuilder
- Returns:
- The value.
-
setValue
public ControlMessage.RunTimePassMessageEntry.Builder setValue(long value)
required int64 value = 2;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public ControlMessage.RunTimePassMessageEntry.Builder clearValue()
required int64 value = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ControlMessage.RunTimePassMessageEntry.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.RunTimePassMessageEntry.Builder>
-
mergeUnknownFields
public final ControlMessage.RunTimePassMessageEntry.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.RunTimePassMessageEntry.Builder>
-
-