Package org.apache.spark.status.protobuf
Class StoreTypes.StreamBlockData.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
org.apache.spark.status.protobuf.StoreTypes.StreamBlockData.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.StreamBlockDataOrBuilder
- Enclosing class:
- StoreTypes.StreamBlockData
public static final class StoreTypes.StreamBlockData.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
implements StoreTypes.StreamBlockDataOrBuilder
Protobuf type
org.apache.spark.status.protobuf.StreamBlockData
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
bool deserialized = 7;
int64 disk_size = 9;
optional string executor_id = 2;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional string host_port = 3;
int64 mem_size = 8;
optional string name = 1;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string storage_level = 4;
bool use_disk = 6;
bool use_memory = 5;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
bool deserialized = 7;
long
int64 disk_size = 9;
optional string executor_id = 2;
com.google.protobuf.ByteString
optional string executor_id = 2;
optional string host_port = 3;
com.google.protobuf.ByteString
optional string host_port = 3;
long
int64 mem_size = 8;
getName()
optional string name = 1;
com.google.protobuf.ByteString
optional string name = 1;
optional string storage_level = 4;
com.google.protobuf.ByteString
optional string storage_level = 4;
boolean
bool use_disk = 6;
boolean
bool use_memory = 5;
boolean
optional string executor_id = 2;
boolean
optional string host_port = 3;
boolean
hasName()
optional string name = 1;
boolean
optional string storage_level = 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) setDeserialized
(boolean value) bool deserialized = 7;
setDiskSize
(long value) int64 disk_size = 9;
setExecutorId
(String value) optional string executor_id = 2;
setExecutorIdBytes
(com.google.protobuf.ByteString value) optional string executor_id = 2;
setHostPort
(String value) optional string host_port = 3;
setHostPortBytes
(com.google.protobuf.ByteString value) optional string host_port = 3;
setMemSize
(long value) int64 mem_size = 8;
optional string name = 1;
setNameBytes
(com.google.protobuf.ByteString value) optional string name = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStorageLevel
(String value) optional string storage_level = 4;
setStorageLevelBytes
(com.google.protobuf.ByteString value) optional string storage_level = 4;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setUseDisk
(boolean value) bool use_disk = 6;
setUseMemory
(boolean value) bool use_memory = 5;
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.StreamBlockData.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.StreamBlockData.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.StreamBlockData.Builder>
-
setField
public StoreTypes.StreamBlockData.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.StreamBlockData.Builder>
-
clearField
public StoreTypes.StreamBlockData.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.StreamBlockData.Builder>
-
clearOneof
public StoreTypes.StreamBlockData.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.StreamBlockData.Builder>
-
setRepeatedField
public StoreTypes.StreamBlockData.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.StreamBlockData.Builder>
-
addRepeatedField
public StoreTypes.StreamBlockData.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.StreamBlockData.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.StreamBlockData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
-
mergeFrom
public StoreTypes.StreamBlockData.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.StreamBlockData.Builder>
- Throws:
IOException
-
hasName
public boolean hasName()optional string name = 1;
- Specified by:
hasName
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- Whether the name field is set.
-
getName
optional string name = 1;
- Specified by:
getName
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 1;
- Specified by:
getNameBytes
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The bytes for name.
-
setName
optional string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
optional string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
optional string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasExecutorId
public boolean hasExecutorId()optional string executor_id = 2;
- Specified by:
hasExecutorId
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- Whether the executorId field is set.
-
getExecutorId
optional string executor_id = 2;
- Specified by:
getExecutorId
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The executorId.
-
getExecutorIdBytes
public com.google.protobuf.ByteString getExecutorIdBytes()optional string executor_id = 2;
- Specified by:
getExecutorIdBytes
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The bytes for executorId.
-
setExecutorId
optional string executor_id = 2;
- Parameters:
value
- The executorId to set.- Returns:
- This builder for chaining.
-
clearExecutorId
optional string executor_id = 2;
- Returns:
- This builder for chaining.
-
setExecutorIdBytes
optional string executor_id = 2;
- Parameters:
value
- The bytes for executorId to set.- Returns:
- This builder for chaining.
-
hasHostPort
public boolean hasHostPort()optional string host_port = 3;
- Specified by:
hasHostPort
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- Whether the hostPort field is set.
-
getHostPort
optional string host_port = 3;
- Specified by:
getHostPort
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The hostPort.
-
getHostPortBytes
public com.google.protobuf.ByteString getHostPortBytes()optional string host_port = 3;
- Specified by:
getHostPortBytes
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The bytes for hostPort.
-
setHostPort
optional string host_port = 3;
- Parameters:
value
- The hostPort to set.- Returns:
- This builder for chaining.
-
clearHostPort
optional string host_port = 3;
- Returns:
- This builder for chaining.
-
setHostPortBytes
optional string host_port = 3;
- Parameters:
value
- The bytes for hostPort to set.- Returns:
- This builder for chaining.
-
hasStorageLevel
public boolean hasStorageLevel()optional string storage_level = 4;
- Specified by:
hasStorageLevel
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- Whether the storageLevel field is set.
-
getStorageLevel
optional string storage_level = 4;
- Specified by:
getStorageLevel
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The storageLevel.
-
getStorageLevelBytes
public com.google.protobuf.ByteString getStorageLevelBytes()optional string storage_level = 4;
- Specified by:
getStorageLevelBytes
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The bytes for storageLevel.
-
setStorageLevel
optional string storage_level = 4;
- Parameters:
value
- The storageLevel to set.- Returns:
- This builder for chaining.
-
clearStorageLevel
optional string storage_level = 4;
- Returns:
- This builder for chaining.
-
setStorageLevelBytes
public StoreTypes.StreamBlockData.Builder setStorageLevelBytes(com.google.protobuf.ByteString value) optional string storage_level = 4;
- Parameters:
value
- The bytes for storageLevel to set.- Returns:
- This builder for chaining.
-
getUseMemory
public boolean getUseMemory()bool use_memory = 5;
- Specified by:
getUseMemory
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The useMemory.
-
setUseMemory
bool use_memory = 5;
- Parameters:
value
- The useMemory to set.- Returns:
- This builder for chaining.
-
clearUseMemory
bool use_memory = 5;
- Returns:
- This builder for chaining.
-
getUseDisk
public boolean getUseDisk()bool use_disk = 6;
- Specified by:
getUseDisk
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The useDisk.
-
setUseDisk
bool use_disk = 6;
- Parameters:
value
- The useDisk to set.- Returns:
- This builder for chaining.
-
clearUseDisk
bool use_disk = 6;
- Returns:
- This builder for chaining.
-
getDeserialized
public boolean getDeserialized()bool deserialized = 7;
- Specified by:
getDeserialized
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The deserialized.
-
setDeserialized
bool deserialized = 7;
- Parameters:
value
- The deserialized to set.- Returns:
- This builder for chaining.
-
clearDeserialized
bool deserialized = 7;
- Returns:
- This builder for chaining.
-
getMemSize
public long getMemSize()int64 mem_size = 8;
- Specified by:
getMemSize
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The memSize.
-
setMemSize
int64 mem_size = 8;
- Parameters:
value
- The memSize to set.- Returns:
- This builder for chaining.
-
clearMemSize
int64 mem_size = 8;
- Returns:
- This builder for chaining.
-
getDiskSize
public long getDiskSize()int64 disk_size = 9;
- Specified by:
getDiskSize
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The diskSize.
-
setDiskSize
int64 disk_size = 9;
- Parameters:
value
- The diskSize to set.- Returns:
- This builder for chaining.
-
clearDiskSize
int64 disk_size = 9;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final StoreTypes.StreamBlockData.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.StreamBlockData.Builder>
-
mergeUnknownFields
public final StoreTypes.StreamBlockData.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.StreamBlockData.Builder>
-