Package org.apache.spark.status.protobuf
Class StoreTypes.AccumulableInfo.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.AccumulableInfo.Builder>
org.apache.spark.status.protobuf.StoreTypes.AccumulableInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.AccumulableInfoOrBuilder
- Enclosing class:
- StoreTypes.AccumulableInfo
public static final class StoreTypes.AccumulableInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.AccumulableInfo.Builder>
implements StoreTypes.AccumulableInfoOrBuilder
Protobuf type
org.apache.spark.status.protobuf.AccumulableInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()
int64 id = 1;
optional string name = 2;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string update = 3;
optional string value = 4;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
getId()
int64 id = 1;
getName()
optional string name = 2;
com.google.protobuf.ByteString
optional string name = 2;
optional string update = 3;
com.google.protobuf.ByteString
optional string update = 3;
getValue()
optional string value = 4;
com.google.protobuf.ByteString
optional string value = 4;
boolean
hasName()
optional string name = 2;
boolean
optional string update = 3;
boolean
hasValue()
optional string value = 4;
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setId
(long value) int64 id = 1;
optional string name = 2;
setNameBytes
(com.google.protobuf.ByteString value) optional string name = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) optional string update = 3;
setUpdateBytes
(com.google.protobuf.ByteString value) optional string update = 3;
optional string value = 4;
setValueBytes
(com.google.protobuf.ByteString value) optional string value = 4;
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeFrom
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
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<StoreTypes.AccumulableInfo.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<StoreTypes.AccumulableInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.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<StoreTypes.AccumulableInfo.Builder>
-
setField
public StoreTypes.AccumulableInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.AccumulableInfo.Builder>
-
clearField
public StoreTypes.AccumulableInfo.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<StoreTypes.AccumulableInfo.Builder>
-
clearOneof
public StoreTypes.AccumulableInfo.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<StoreTypes.AccumulableInfo.Builder>
-
setRepeatedField
public StoreTypes.AccumulableInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.AccumulableInfo.Builder>
-
addRepeatedField
public StoreTypes.AccumulableInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.AccumulableInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.AccumulableInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.AccumulableInfo.Builder>
-
mergeFrom
public StoreTypes.AccumulableInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<StoreTypes.AccumulableInfo.Builder>
- Throws:
IOException
-
getId
public long getId()int64 id = 1;
- Specified by:
getId
in interfaceStoreTypes.AccumulableInfoOrBuilder
- Returns:
- The id.
-
setId
int64 id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
int64 id = 1;
- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()optional string name = 2;
- Specified by:
hasName
in interfaceStoreTypes.AccumulableInfoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
optional string name = 2;
- Specified by:
getName
in interfaceStoreTypes.AccumulableInfoOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2;
- Specified by:
getNameBytes
in interfaceStoreTypes.AccumulableInfoOrBuilder
- Returns:
- The bytes for name.
-
setName
optional string name = 2;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
optional string name = 2;
- Returns:
- This builder for chaining.
-
setNameBytes
optional string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasUpdate
public boolean hasUpdate()optional string update = 3;
- Specified by:
hasUpdate
in interfaceStoreTypes.AccumulableInfoOrBuilder
- Returns:
- Whether the update field is set.
-
getUpdate
optional string update = 3;
- Specified by:
getUpdate
in interfaceStoreTypes.AccumulableInfoOrBuilder
- Returns:
- The update.
-
getUpdateBytes
public com.google.protobuf.ByteString getUpdateBytes()optional string update = 3;
- Specified by:
getUpdateBytes
in interfaceStoreTypes.AccumulableInfoOrBuilder
- Returns:
- The bytes for update.
-
setUpdate
optional string update = 3;
- Parameters:
value
- The update to set.- Returns:
- This builder for chaining.
-
clearUpdate
optional string update = 3;
- Returns:
- This builder for chaining.
-
setUpdateBytes
optional string update = 3;
- Parameters:
value
- The bytes for update to set.- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()optional string value = 4;
- Specified by:
hasValue
in interfaceStoreTypes.AccumulableInfoOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
optional string value = 4;
- Specified by:
getValue
in interfaceStoreTypes.AccumulableInfoOrBuilder
- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()optional string value = 4;
- Specified by:
getValueBytes
in interfaceStoreTypes.AccumulableInfoOrBuilder
- Returns:
- The bytes for value.
-
setValue
optional string value = 4;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
optional string value = 4;
- Returns:
- This builder for chaining.
-
setValueBytes
optional string value = 4;
- Parameters:
value
- The bytes for value to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final StoreTypes.AccumulableInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.AccumulableInfo.Builder>
-
mergeUnknownFields
public final StoreTypes.AccumulableInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.AccumulableInfo.Builder>
-