Package org.apache.spark.status.protobuf
Class StoreTypes.StreamBlockData
Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.spark.status.protobuf.StoreTypes.StreamBlockData
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,StoreTypes.StreamBlockDataOrBuilder
- Enclosing class:
- StoreTypes
public static final class StoreTypes.StreamBlockData
extends com.google.protobuf.GeneratedMessageV3
implements StoreTypes.StreamBlockDataOrBuilder
Protobuf type
org.apache.spark.status.protobuf.StreamBlockData
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeorg.apache.spark.status.protobuf.StreamBlockData
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,
BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static StoreTypes.StreamBlockData
static final 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;
com.google.protobuf.Parser<StoreTypes.StreamBlockData>
int
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;
int
hashCode()
boolean
optional string host_port = 3;
boolean
hasName()
optional string name = 1;
boolean
optional string storage_level = 4;
final boolean
newBuilder
(StoreTypes.StreamBlockData prototype) static StoreTypes.StreamBlockData
parseDelimitedFrom
(InputStream input) static StoreTypes.StreamBlockData
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.StreamBlockData
parseFrom
(byte[] data) static StoreTypes.StreamBlockData
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.StreamBlockData
parseFrom
(com.google.protobuf.ByteString data) static StoreTypes.StreamBlockData
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.StreamBlockData
parseFrom
(com.google.protobuf.CodedInputStream input) static StoreTypes.StreamBlockData
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.StreamBlockData
parseFrom
(InputStream input) static StoreTypes.StreamBlockData
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.StreamBlockData
parseFrom
(ByteBuffer data) static StoreTypes.StreamBlockData
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StoreTypes.StreamBlockData>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
EXECUTOR_ID_FIELD_NUMBER
public static final int EXECUTOR_ID_FIELD_NUMBER- See Also:
-
HOST_PORT_FIELD_NUMBER
public static final int HOST_PORT_FIELD_NUMBER- See Also:
-
STORAGE_LEVEL_FIELD_NUMBER
public static final int STORAGE_LEVEL_FIELD_NUMBER- See Also:
-
USE_MEMORY_FIELD_NUMBER
public static final int USE_MEMORY_FIELD_NUMBER- See Also:
-
USE_DISK_FIELD_NUMBER
public static final int USE_DISK_FIELD_NUMBER- See Also:
-
DESERIALIZED_FIELD_NUMBER
public static final int DESERIALIZED_FIELD_NUMBER- See Also:
-
MEM_SIZE_FIELD_NUMBER
public static final int MEM_SIZE_FIELD_NUMBER- See Also:
-
DISK_SIZE_FIELD_NUMBER
public static final int DISK_SIZE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
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.
-
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.
-
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.
-
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.
-
getUseMemory
public boolean getUseMemory()bool use_memory = 5;
- Specified by:
getUseMemory
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The useMemory.
-
getUseDisk
public boolean getUseDisk()bool use_disk = 6;
- Specified by:
getUseDisk
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The useDisk.
-
getDeserialized
public boolean getDeserialized()bool deserialized = 7;
- Specified by:
getDeserialized
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The deserialized.
-
getMemSize
public long getMemSize()int64 mem_size = 8;
- Specified by:
getMemSize
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The memSize.
-
getDiskSize
public long getDiskSize()int64 disk_size = 9;
- Specified by:
getDiskSize
in interfaceStoreTypes.StreamBlockDataOrBuilder
- Returns:
- The diskSize.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StoreTypes.StreamBlockData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.StreamBlockData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.StreamBlockData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.StreamBlockData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.StreamBlockData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.StreamBlockData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StoreTypes.StreamBlockData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StoreTypes.StreamBlockData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StoreTypes.StreamBlockData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StoreTypes.StreamBlockData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-