public static final class StoreTypes.StreamBlockData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder> implements StoreTypes.StreamBlockDataOrBuilder
org.apache.spark.status.protobuf.StreamBlockData
Modifier and Type | Method and Description |
---|---|
StoreTypes.StreamBlockData.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.StreamBlockData |
build() |
StoreTypes.StreamBlockData |
buildPartial() |
StoreTypes.StreamBlockData.Builder |
clear() |
StoreTypes.StreamBlockData.Builder |
clearDeserialized()
bool deserialized = 7; |
StoreTypes.StreamBlockData.Builder |
clearDiskSize()
int64 disk_size = 9; |
StoreTypes.StreamBlockData.Builder |
clearExecutorId()
optional string executor_id = 2; |
StoreTypes.StreamBlockData.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StoreTypes.StreamBlockData.Builder |
clearHostPort()
optional string host_port = 3; |
StoreTypes.StreamBlockData.Builder |
clearMemSize()
int64 mem_size = 8; |
StoreTypes.StreamBlockData.Builder |
clearName()
optional string name = 1; |
StoreTypes.StreamBlockData.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StoreTypes.StreamBlockData.Builder |
clearStorageLevel()
optional string storage_level = 4; |
StoreTypes.StreamBlockData.Builder |
clearUseDisk()
bool use_disk = 6; |
StoreTypes.StreamBlockData.Builder |
clearUseMemory()
bool use_memory = 5; |
StoreTypes.StreamBlockData.Builder |
clone() |
StoreTypes.StreamBlockData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDeserialized()
bool deserialized = 7; |
long |
getDiskSize()
int64 disk_size = 9; |
String |
getExecutorId()
optional string executor_id = 2; |
com.google.protobuf.ByteString |
getExecutorIdBytes()
optional string executor_id = 2; |
String |
getHostPort()
optional string host_port = 3; |
com.google.protobuf.ByteString |
getHostPortBytes()
optional string host_port = 3; |
long |
getMemSize()
int64 mem_size = 8; |
String |
getName()
optional string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 1; |
String |
getStorageLevel()
optional string storage_level = 4; |
com.google.protobuf.ByteString |
getStorageLevelBytes()
optional string storage_level = 4; |
boolean |
getUseDisk()
bool use_disk = 6; |
boolean |
getUseMemory()
bool use_memory = 5; |
boolean |
hasExecutorId()
optional string executor_id = 2; |
boolean |
hasHostPort()
optional string host_port = 3; |
boolean |
hasName()
optional string name = 1; |
boolean |
hasStorageLevel()
optional string storage_level = 4; |
boolean |
isInitialized() |
StoreTypes.StreamBlockData.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StoreTypes.StreamBlockData.Builder |
mergeFrom(com.google.protobuf.Message other) |
StoreTypes.StreamBlockData.Builder |
mergeFrom(StoreTypes.StreamBlockData other) |
StoreTypes.StreamBlockData.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoreTypes.StreamBlockData.Builder |
setDeserialized(boolean value)
bool deserialized = 7; |
StoreTypes.StreamBlockData.Builder |
setDiskSize(long value)
int64 disk_size = 9; |
StoreTypes.StreamBlockData.Builder |
setExecutorId(String value)
optional string executor_id = 2; |
StoreTypes.StreamBlockData.Builder |
setExecutorIdBytes(com.google.protobuf.ByteString value)
optional string executor_id = 2; |
StoreTypes.StreamBlockData.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.StreamBlockData.Builder |
setHostPort(String value)
optional string host_port = 3; |
StoreTypes.StreamBlockData.Builder |
setHostPortBytes(com.google.protobuf.ByteString value)
optional string host_port = 3; |
StoreTypes.StreamBlockData.Builder |
setMemSize(long value)
int64 mem_size = 8; |
StoreTypes.StreamBlockData.Builder |
setName(String value)
optional string name = 1; |
StoreTypes.StreamBlockData.Builder |
setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1; |
StoreTypes.StreamBlockData.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StoreTypes.StreamBlockData.Builder |
setStorageLevel(String value)
optional string storage_level = 4; |
StoreTypes.StreamBlockData.Builder |
setStorageLevelBytes(com.google.protobuf.ByteString value)
optional string storage_level = 4; |
StoreTypes.StreamBlockData.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoreTypes.StreamBlockData.Builder |
setUseDisk(boolean value)
bool use_disk = 6; |
StoreTypes.StreamBlockData.Builder |
setUseMemory(boolean value)
bool use_memory = 5; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public StoreTypes.StreamBlockData.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
public StoreTypes.StreamBlockData getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StoreTypes.StreamBlockData build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.StreamBlockData buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.StreamBlockData.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
public StoreTypes.StreamBlockData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
public StoreTypes.StreamBlockData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
public StoreTypes.StreamBlockData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
public StoreTypes.StreamBlockData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
public StoreTypes.StreamBlockData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
public StoreTypes.StreamBlockData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.StreamBlockData.Builder>
public StoreTypes.StreamBlockData.Builder mergeFrom(StoreTypes.StreamBlockData other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
public StoreTypes.StreamBlockData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.StreamBlockData.Builder>
java.io.IOException
public boolean hasName()
optional string name = 1;
hasName
in interface StoreTypes.StreamBlockDataOrBuilder
public String getName()
optional string name = 1;
getName
in interface StoreTypes.StreamBlockDataOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 1;
getNameBytes
in interface StoreTypes.StreamBlockDataOrBuilder
public StoreTypes.StreamBlockData.Builder setName(String value)
optional string name = 1;
value
- The name to set.public StoreTypes.StreamBlockData.Builder clearName()
optional string name = 1;
public StoreTypes.StreamBlockData.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1;
value
- The bytes for name to set.public boolean hasExecutorId()
optional string executor_id = 2;
hasExecutorId
in interface StoreTypes.StreamBlockDataOrBuilder
public String getExecutorId()
optional string executor_id = 2;
getExecutorId
in interface StoreTypes.StreamBlockDataOrBuilder
public com.google.protobuf.ByteString getExecutorIdBytes()
optional string executor_id = 2;
getExecutorIdBytes
in interface StoreTypes.StreamBlockDataOrBuilder
public StoreTypes.StreamBlockData.Builder setExecutorId(String value)
optional string executor_id = 2;
value
- The executorId to set.public StoreTypes.StreamBlockData.Builder clearExecutorId()
optional string executor_id = 2;
public StoreTypes.StreamBlockData.Builder setExecutorIdBytes(com.google.protobuf.ByteString value)
optional string executor_id = 2;
value
- The bytes for executorId to set.public boolean hasHostPort()
optional string host_port = 3;
hasHostPort
in interface StoreTypes.StreamBlockDataOrBuilder
public String getHostPort()
optional string host_port = 3;
getHostPort
in interface StoreTypes.StreamBlockDataOrBuilder
public com.google.protobuf.ByteString getHostPortBytes()
optional string host_port = 3;
getHostPortBytes
in interface StoreTypes.StreamBlockDataOrBuilder
public StoreTypes.StreamBlockData.Builder setHostPort(String value)
optional string host_port = 3;
value
- The hostPort to set.public StoreTypes.StreamBlockData.Builder clearHostPort()
optional string host_port = 3;
public StoreTypes.StreamBlockData.Builder setHostPortBytes(com.google.protobuf.ByteString value)
optional string host_port = 3;
value
- The bytes for hostPort to set.public boolean hasStorageLevel()
optional string storage_level = 4;
hasStorageLevel
in interface StoreTypes.StreamBlockDataOrBuilder
public String getStorageLevel()
optional string storage_level = 4;
getStorageLevel
in interface StoreTypes.StreamBlockDataOrBuilder
public com.google.protobuf.ByteString getStorageLevelBytes()
optional string storage_level = 4;
getStorageLevelBytes
in interface StoreTypes.StreamBlockDataOrBuilder
public StoreTypes.StreamBlockData.Builder setStorageLevel(String value)
optional string storage_level = 4;
value
- The storageLevel to set.public StoreTypes.StreamBlockData.Builder clearStorageLevel()
optional string storage_level = 4;
public StoreTypes.StreamBlockData.Builder setStorageLevelBytes(com.google.protobuf.ByteString value)
optional string storage_level = 4;
value
- The bytes for storageLevel to set.public boolean getUseMemory()
bool use_memory = 5;
getUseMemory
in interface StoreTypes.StreamBlockDataOrBuilder
public StoreTypes.StreamBlockData.Builder setUseMemory(boolean value)
bool use_memory = 5;
value
- The useMemory to set.public StoreTypes.StreamBlockData.Builder clearUseMemory()
bool use_memory = 5;
public boolean getUseDisk()
bool use_disk = 6;
getUseDisk
in interface StoreTypes.StreamBlockDataOrBuilder
public StoreTypes.StreamBlockData.Builder setUseDisk(boolean value)
bool use_disk = 6;
value
- The useDisk to set.public StoreTypes.StreamBlockData.Builder clearUseDisk()
bool use_disk = 6;
public boolean getDeserialized()
bool deserialized = 7;
getDeserialized
in interface StoreTypes.StreamBlockDataOrBuilder
public StoreTypes.StreamBlockData.Builder setDeserialized(boolean value)
bool deserialized = 7;
value
- The deserialized to set.public StoreTypes.StreamBlockData.Builder clearDeserialized()
bool deserialized = 7;
public long getMemSize()
int64 mem_size = 8;
getMemSize
in interface StoreTypes.StreamBlockDataOrBuilder
public StoreTypes.StreamBlockData.Builder setMemSize(long value)
int64 mem_size = 8;
value
- The memSize to set.public StoreTypes.StreamBlockData.Builder clearMemSize()
int64 mem_size = 8;
public long getDiskSize()
int64 disk_size = 9;
getDiskSize
in interface StoreTypes.StreamBlockDataOrBuilder
public StoreTypes.StreamBlockData.Builder setDiskSize(long value)
int64 disk_size = 9;
value
- The diskSize to set.public StoreTypes.StreamBlockData.Builder clearDiskSize()
int64 disk_size = 9;
public final StoreTypes.StreamBlockData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>
public final StoreTypes.StreamBlockData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StreamBlockData.Builder>