Package org.apache.spark.status.protobuf
Class StoreTypes.RDDPartitionInfo.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RDDPartitionInfo.Builder>
org.apache.spark.status.protobuf.StoreTypes.RDDPartitionInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.RDDPartitionInfoOrBuilder
- Enclosing class:
- StoreTypes.RDDPartitionInfo
public static final class StoreTypes.RDDPartitionInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RDDPartitionInfo.Builder>
implements StoreTypes.RDDPartitionInfoOrBuilder
Protobuf type
org.apache.spark.status.protobuf.RDDPartitionInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddAllExecutors
(Iterable<String> values) repeated string executors = 5;
addExecutors
(String value) repeated string executors = 5;
addExecutorsBytes
(com.google.protobuf.ByteString value) repeated string executors = 5;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional string block_name = 1;
int64 disk_used = 4;
repeated string executors = 5;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) int64 memory_used = 3;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string storage_level = 2;
clone()
optional string block_name = 1;
com.google.protobuf.ByteString
optional string block_name = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
int64 disk_used = 4;
getExecutors
(int index) repeated string executors = 5;
com.google.protobuf.ByteString
getExecutorsBytes
(int index) repeated string executors = 5;
int
repeated string executors = 5;
com.google.protobuf.ProtocolStringList
repeated string executors = 5;
long
int64 memory_used = 3;
optional string storage_level = 2;
com.google.protobuf.ByteString
optional string storage_level = 2;
boolean
optional string block_name = 1;
boolean
optional string storage_level = 2;
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) setBlockName
(String value) optional string block_name = 1;
setBlockNameBytes
(com.google.protobuf.ByteString value) optional string block_name = 1;
setDiskUsed
(long value) int64 disk_used = 4;
setExecutors
(int index, String value) repeated string executors = 5;
setMemoryUsed
(long value) int64 memory_used = 3;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStorageLevel
(String value) optional string storage_level = 2;
setStorageLevelBytes
(com.google.protobuf.ByteString value) optional string storage_level = 2;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) 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.RDDPartitionInfo.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.RDDPartitionInfo.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.RDDPartitionInfo.Builder>
-
setField
public StoreTypes.RDDPartitionInfo.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.RDDPartitionInfo.Builder>
-
clearField
public StoreTypes.RDDPartitionInfo.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.RDDPartitionInfo.Builder>
-
clearOneof
public StoreTypes.RDDPartitionInfo.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.RDDPartitionInfo.Builder>
-
setRepeatedField
public StoreTypes.RDDPartitionInfo.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.RDDPartitionInfo.Builder>
-
addRepeatedField
public StoreTypes.RDDPartitionInfo.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.RDDPartitionInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.RDDPartitionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RDDPartitionInfo.Builder>
-
mergeFrom
public StoreTypes.RDDPartitionInfo.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.RDDPartitionInfo.Builder>
- Throws:
IOException
-
hasBlockName
public boolean hasBlockName()optional string block_name = 1;
- Specified by:
hasBlockName
in interfaceStoreTypes.RDDPartitionInfoOrBuilder
- Returns:
- Whether the blockName field is set.
-
getBlockName
optional string block_name = 1;
- Specified by:
getBlockName
in interfaceStoreTypes.RDDPartitionInfoOrBuilder
- Returns:
- The blockName.
-
getBlockNameBytes
public com.google.protobuf.ByteString getBlockNameBytes()optional string block_name = 1;
- Specified by:
getBlockNameBytes
in interfaceStoreTypes.RDDPartitionInfoOrBuilder
- Returns:
- The bytes for blockName.
-
setBlockName
optional string block_name = 1;
- Parameters:
value
- The blockName to set.- Returns:
- This builder for chaining.
-
clearBlockName
optional string block_name = 1;
- Returns:
- This builder for chaining.
-
setBlockNameBytes
optional string block_name = 1;
- Parameters:
value
- The bytes for blockName to set.- Returns:
- This builder for chaining.
-
hasStorageLevel
public boolean hasStorageLevel()optional string storage_level = 2;
- Specified by:
hasStorageLevel
in interfaceStoreTypes.RDDPartitionInfoOrBuilder
- Returns:
- Whether the storageLevel field is set.
-
getStorageLevel
optional string storage_level = 2;
- Specified by:
getStorageLevel
in interfaceStoreTypes.RDDPartitionInfoOrBuilder
- Returns:
- The storageLevel.
-
getStorageLevelBytes
public com.google.protobuf.ByteString getStorageLevelBytes()optional string storage_level = 2;
- Specified by:
getStorageLevelBytes
in interfaceStoreTypes.RDDPartitionInfoOrBuilder
- Returns:
- The bytes for storageLevel.
-
setStorageLevel
optional string storage_level = 2;
- Parameters:
value
- The storageLevel to set.- Returns:
- This builder for chaining.
-
clearStorageLevel
optional string storage_level = 2;
- Returns:
- This builder for chaining.
-
setStorageLevelBytes
public StoreTypes.RDDPartitionInfo.Builder setStorageLevelBytes(com.google.protobuf.ByteString value) optional string storage_level = 2;
- Parameters:
value
- The bytes for storageLevel to set.- Returns:
- This builder for chaining.
-
getMemoryUsed
public long getMemoryUsed()int64 memory_used = 3;
- Specified by:
getMemoryUsed
in interfaceStoreTypes.RDDPartitionInfoOrBuilder
- Returns:
- The memoryUsed.
-
setMemoryUsed
int64 memory_used = 3;
- Parameters:
value
- The memoryUsed to set.- Returns:
- This builder for chaining.
-
clearMemoryUsed
int64 memory_used = 3;
- Returns:
- This builder for chaining.
-
getDiskUsed
public long getDiskUsed()int64 disk_used = 4;
- Specified by:
getDiskUsed
in interfaceStoreTypes.RDDPartitionInfoOrBuilder
- Returns:
- The diskUsed.
-
setDiskUsed
int64 disk_used = 4;
- Parameters:
value
- The diskUsed to set.- Returns:
- This builder for chaining.
-
clearDiskUsed
int64 disk_used = 4;
- Returns:
- This builder for chaining.
-
getExecutorsList
public com.google.protobuf.ProtocolStringList getExecutorsList()repeated string executors = 5;
- Specified by:
getExecutorsList
in interfaceStoreTypes.RDDPartitionInfoOrBuilder
- Returns:
- A list containing the executors.
-
getExecutorsCount
public int getExecutorsCount()repeated string executors = 5;
- Specified by:
getExecutorsCount
in interfaceStoreTypes.RDDPartitionInfoOrBuilder
- Returns:
- The count of executors.
-
getExecutors
repeated string executors = 5;
- Specified by:
getExecutors
in interfaceStoreTypes.RDDPartitionInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The executors at the given index.
-
getExecutorsBytes
public com.google.protobuf.ByteString getExecutorsBytes(int index) repeated string executors = 5;
- Specified by:
getExecutorsBytes
in interfaceStoreTypes.RDDPartitionInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the executors at the given index.
-
setExecutors
repeated string executors = 5;
- Parameters:
index
- The index to set the value at.value
- The executors to set.- Returns:
- This builder for chaining.
-
addExecutors
repeated string executors = 5;
- Parameters:
value
- The executors to add.- Returns:
- This builder for chaining.
-
addAllExecutors
repeated string executors = 5;
- Parameters:
values
- The executors to add.- Returns:
- This builder for chaining.
-
clearExecutors
repeated string executors = 5;
- Returns:
- This builder for chaining.
-
addExecutorsBytes
repeated string executors = 5;
- Parameters:
value
- The bytes of the executors to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final StoreTypes.RDDPartitionInfo.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.RDDPartitionInfo.Builder>
-
mergeUnknownFields
public final StoreTypes.RDDPartitionInfo.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.RDDPartitionInfo.Builder>
-