Package org.apache.spark.status.protobuf
Class StoreTypes.AccumulableInfo.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<StoreTypes.AccumulableInfo.Builder>
implements StoreTypes.AccumulableInfoOrBuilder
Protobuf type
org.apache.spark.status.protobuf.AccumulableInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearId()int64 id = 1;optional string name = 2;optional string update = 3;optional string value = 4;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlonggetId()int64 id = 1;getName()optional string name = 2;com.google.protobuf.ByteStringoptional string name = 2;optional string update = 3;com.google.protobuf.ByteStringoptional string update = 3;getValue()optional string value = 4;com.google.protobuf.ByteStringoptional string value = 4;booleanhasName()optional string name = 2;booleanoptional string update = 3;booleanhasValue()optional string value = 4;final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setId(long value) int64 id = 1;optional string name = 2;setNameBytes(com.google.protobuf.ByteString value) optional string name = 2;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.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, mergeUnknownFields, newBuilderForField, setField, setRepeatedField, setUnknownFieldsMethods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom, mergeDelimitedFrom, mergeFromMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.AccumulableInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.AccumulableInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.AccumulableInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.AccumulableInfo.Builder>
-
mergeFrom
public StoreTypes.AccumulableInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.AccumulableInfo.Builder>- Throws:
IOException
-
getId
public long getId()int64 id = 1;- Specified by:
getIdin 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:
hasNamein interfaceStoreTypes.AccumulableInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 2;- Specified by:
getNamein interfaceStoreTypes.AccumulableInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2;- Specified by:
getNameBytesin 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:
hasUpdatein interfaceStoreTypes.AccumulableInfoOrBuilder- Returns:
- Whether the update field is set.
-
getUpdate
optional string update = 3;- Specified by:
getUpdatein interfaceStoreTypes.AccumulableInfoOrBuilder- Returns:
- The update.
-
getUpdateBytes
public com.google.protobuf.ByteString getUpdateBytes()optional string update = 3;- Specified by:
getUpdateBytesin 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:
hasValuein interfaceStoreTypes.AccumulableInfoOrBuilder- Returns:
- Whether the value field is set.
-
getValue
optional string value = 4;- Specified by:
getValuein interfaceStoreTypes.AccumulableInfoOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()optional string value = 4;- Specified by:
getValueBytesin 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.
-