Package org.apache.spark.status.protobuf
Class StoreTypes.RDDDataDistribution.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RDDDataDistribution.Builder>
org.apache.spark.status.protobuf.StoreTypes.RDDDataDistribution.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.RDDDataDistributionOrBuilder
- Enclosing class:
- StoreTypes.RDDDataDistribution
public static final class StoreTypes.RDDDataDistribution.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RDDDataDistribution.Builder>
implements StoreTypes.RDDDataDistributionOrBuilder
Protobuf type
org.apache.spark.status.protobuf.RDDDataDistribution
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional string address = 1;
int64 disk_used = 4;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) int64 memory_remaining = 3;
int64 memory_used = 2;
optional int64 off_heap_memory_remaining = 8;
optional int64 off_heap_memory_used = 6;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional int64 on_heap_memory_remaining = 7;
optional int64 on_heap_memory_used = 5;
clone()
optional string address = 1;
com.google.protobuf.ByteString
optional string address = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
int64 disk_used = 4;
long
int64 memory_remaining = 3;
long
int64 memory_used = 2;
long
optional int64 off_heap_memory_remaining = 8;
long
optional int64 off_heap_memory_used = 6;
long
optional int64 on_heap_memory_remaining = 7;
long
optional int64 on_heap_memory_used = 5;
boolean
optional string address = 1;
boolean
optional int64 off_heap_memory_remaining = 8;
boolean
optional int64 off_heap_memory_used = 6;
boolean
optional int64 on_heap_memory_remaining = 7;
boolean
optional int64 on_heap_memory_used = 5;
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) setAddress
(String value) optional string address = 1;
setAddressBytes
(com.google.protobuf.ByteString value) optional string address = 1;
setDiskUsed
(long value) int64 disk_used = 4;
setMemoryRemaining
(long value) int64 memory_remaining = 3;
setMemoryUsed
(long value) int64 memory_used = 2;
setOffHeapMemoryRemaining
(long value) optional int64 off_heap_memory_remaining = 8;
setOffHeapMemoryUsed
(long value) optional int64 off_heap_memory_used = 6;
setOnHeapMemoryRemaining
(long value) optional int64 on_heap_memory_remaining = 7;
setOnHeapMemoryUsed
(long value) optional int64 on_heap_memory_used = 5;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.RDDDataDistribution.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.RDDDataDistribution.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.RDDDataDistribution.Builder>
-
setField
public StoreTypes.RDDDataDistribution.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.RDDDataDistribution.Builder>
-
clearField
public StoreTypes.RDDDataDistribution.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.RDDDataDistribution.Builder>
-
clearOneof
public StoreTypes.RDDDataDistribution.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.RDDDataDistribution.Builder>
-
setRepeatedField
public StoreTypes.RDDDataDistribution.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.RDDDataDistribution.Builder>
-
addRepeatedField
public StoreTypes.RDDDataDistribution.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.RDDDataDistribution.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.RDDDataDistribution.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RDDDataDistribution.Builder>
-
mergeFrom
public StoreTypes.RDDDataDistribution.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.RDDDataDistribution.Builder>
- Throws:
IOException
-
hasAddress
public boolean hasAddress()optional string address = 1;
- Specified by:
hasAddress
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- Whether the address field is set.
-
getAddress
optional string address = 1;
- Specified by:
getAddress
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- The address.
-
getAddressBytes
public com.google.protobuf.ByteString getAddressBytes()optional string address = 1;
- Specified by:
getAddressBytes
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- The bytes for address.
-
setAddress
optional string address = 1;
- Parameters:
value
- The address to set.- Returns:
- This builder for chaining.
-
clearAddress
optional string address = 1;
- Returns:
- This builder for chaining.
-
setAddressBytes
optional string address = 1;
- Parameters:
value
- The bytes for address to set.- Returns:
- This builder for chaining.
-
getMemoryUsed
public long getMemoryUsed()int64 memory_used = 2;
- Specified by:
getMemoryUsed
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- The memoryUsed.
-
setMemoryUsed
int64 memory_used = 2;
- Parameters:
value
- The memoryUsed to set.- Returns:
- This builder for chaining.
-
clearMemoryUsed
int64 memory_used = 2;
- Returns:
- This builder for chaining.
-
getMemoryRemaining
public long getMemoryRemaining()int64 memory_remaining = 3;
- Specified by:
getMemoryRemaining
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- The memoryRemaining.
-
setMemoryRemaining
int64 memory_remaining = 3;
- Parameters:
value
- The memoryRemaining to set.- Returns:
- This builder for chaining.
-
clearMemoryRemaining
int64 memory_remaining = 3;
- Returns:
- This builder for chaining.
-
getDiskUsed
public long getDiskUsed()int64 disk_used = 4;
- Specified by:
getDiskUsed
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- 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.
-
hasOnHeapMemoryUsed
public boolean hasOnHeapMemoryUsed()optional int64 on_heap_memory_used = 5;
- Specified by:
hasOnHeapMemoryUsed
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- Whether the onHeapMemoryUsed field is set.
-
getOnHeapMemoryUsed
public long getOnHeapMemoryUsed()optional int64 on_heap_memory_used = 5;
- Specified by:
getOnHeapMemoryUsed
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- The onHeapMemoryUsed.
-
setOnHeapMemoryUsed
optional int64 on_heap_memory_used = 5;
- Parameters:
value
- The onHeapMemoryUsed to set.- Returns:
- This builder for chaining.
-
clearOnHeapMemoryUsed
optional int64 on_heap_memory_used = 5;
- Returns:
- This builder for chaining.
-
hasOffHeapMemoryUsed
public boolean hasOffHeapMemoryUsed()optional int64 off_heap_memory_used = 6;
- Specified by:
hasOffHeapMemoryUsed
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- Whether the offHeapMemoryUsed field is set.
-
getOffHeapMemoryUsed
public long getOffHeapMemoryUsed()optional int64 off_heap_memory_used = 6;
- Specified by:
getOffHeapMemoryUsed
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- The offHeapMemoryUsed.
-
setOffHeapMemoryUsed
optional int64 off_heap_memory_used = 6;
- Parameters:
value
- The offHeapMemoryUsed to set.- Returns:
- This builder for chaining.
-
clearOffHeapMemoryUsed
optional int64 off_heap_memory_used = 6;
- Returns:
- This builder for chaining.
-
hasOnHeapMemoryRemaining
public boolean hasOnHeapMemoryRemaining()optional int64 on_heap_memory_remaining = 7;
- Specified by:
hasOnHeapMemoryRemaining
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- Whether the onHeapMemoryRemaining field is set.
-
getOnHeapMemoryRemaining
public long getOnHeapMemoryRemaining()optional int64 on_heap_memory_remaining = 7;
- Specified by:
getOnHeapMemoryRemaining
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- The onHeapMemoryRemaining.
-
setOnHeapMemoryRemaining
optional int64 on_heap_memory_remaining = 7;
- Parameters:
value
- The onHeapMemoryRemaining to set.- Returns:
- This builder for chaining.
-
clearOnHeapMemoryRemaining
optional int64 on_heap_memory_remaining = 7;
- Returns:
- This builder for chaining.
-
hasOffHeapMemoryRemaining
public boolean hasOffHeapMemoryRemaining()optional int64 off_heap_memory_remaining = 8;
- Specified by:
hasOffHeapMemoryRemaining
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- Whether the offHeapMemoryRemaining field is set.
-
getOffHeapMemoryRemaining
public long getOffHeapMemoryRemaining()optional int64 off_heap_memory_remaining = 8;
- Specified by:
getOffHeapMemoryRemaining
in interfaceStoreTypes.RDDDataDistributionOrBuilder
- Returns:
- The offHeapMemoryRemaining.
-
setOffHeapMemoryRemaining
optional int64 off_heap_memory_remaining = 8;
- Parameters:
value
- The offHeapMemoryRemaining to set.- Returns:
- This builder for chaining.
-
clearOffHeapMemoryRemaining
optional int64 off_heap_memory_remaining = 8;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final StoreTypes.RDDDataDistribution.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.RDDDataDistribution.Builder>
-
mergeUnknownFields
public final StoreTypes.RDDDataDistribution.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.RDDDataDistribution.Builder>
-