Package org.apache.spark.status.protobuf
Class StoreTypes.SinkProgress
Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.spark.status.protobuf.StoreTypes.SinkProgress
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,StoreTypes.SinkProgressOrBuilder
- Enclosing class:
- StoreTypes
public static final class StoreTypes.SinkProgress
extends com.google.protobuf.GeneratedMessageV3
implements StoreTypes.SinkProgressOrBuilder
Protobuf type
org.apache.spark.status.protobuf.SinkProgress
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeorg.apache.spark.status.protobuf.SinkProgress
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsMetrics
(String key) map<string, string> metrics = 3;
boolean
static StoreTypes.SinkProgress
optional string description = 1;
com.google.protobuf.ByteString
optional string description = 1;
static final com.google.protobuf.Descriptors.Descriptor
Deprecated.int
map<string, string> metrics = 3;
map<string, string> metrics = 3;
getMetricsOrDefault
(String key, String defaultValue) map<string, string> metrics = 3;
getMetricsOrThrow
(String key) map<string, string> metrics = 3;
long
int64 num_output_rows = 2;
com.google.protobuf.Parser<StoreTypes.SinkProgress>
int
boolean
optional string description = 1;
int
hashCode()
final boolean
newBuilder
(StoreTypes.SinkProgress prototype) static StoreTypes.SinkProgress
parseDelimitedFrom
(InputStream input) static StoreTypes.SinkProgress
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SinkProgress
parseFrom
(byte[] data) static StoreTypes.SinkProgress
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SinkProgress
parseFrom
(com.google.protobuf.ByteString data) static StoreTypes.SinkProgress
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SinkProgress
parseFrom
(com.google.protobuf.CodedInputStream input) static StoreTypes.SinkProgress
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SinkProgress
parseFrom
(InputStream input) static StoreTypes.SinkProgress
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SinkProgress
parseFrom
(ByteBuffer data) static StoreTypes.SinkProgress
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StoreTypes.SinkProgress>
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
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
NUM_OUTPUT_ROWS_FIELD_NUMBER
public static final int NUM_OUTPUT_ROWS_FIELD_NUMBER- See Also:
-
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
hasDescription
public boolean hasDescription()optional string description = 1;
- Specified by:
hasDescription
in interfaceStoreTypes.SinkProgressOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 1;
- Specified by:
getDescription
in interfaceStoreTypes.SinkProgressOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 1;
- Specified by:
getDescriptionBytes
in interfaceStoreTypes.SinkProgressOrBuilder
- Returns:
- The bytes for description.
-
getNumOutputRows
public long getNumOutputRows()int64 num_output_rows = 2;
- Specified by:
getNumOutputRows
in interfaceStoreTypes.SinkProgressOrBuilder
- Returns:
- The numOutputRows.
-
getMetricsCount
public int getMetricsCount()Description copied from interface:StoreTypes.SinkProgressOrBuilder
map<string, string> metrics = 3;
- Specified by:
getMetricsCount
in interfaceStoreTypes.SinkProgressOrBuilder
-
containsMetrics
map<string, string> metrics = 3;
- Specified by:
containsMetrics
in interfaceStoreTypes.SinkProgressOrBuilder
-
getMetrics
Deprecated.UsegetMetricsMap()
instead.- Specified by:
getMetrics
in interfaceStoreTypes.SinkProgressOrBuilder
-
getMetricsMap
map<string, string> metrics = 3;
- Specified by:
getMetricsMap
in interfaceStoreTypes.SinkProgressOrBuilder
-
getMetricsOrDefault
map<string, string> metrics = 3;
- Specified by:
getMetricsOrDefault
in interfaceStoreTypes.SinkProgressOrBuilder
-
getMetricsOrThrow
map<string, string> metrics = 3;
- Specified by:
getMetricsOrThrow
in interfaceStoreTypes.SinkProgressOrBuilder
-
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.SinkProgress parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.SinkProgress parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.SinkProgress parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.SinkProgress 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.SinkProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.SinkProgress 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.SinkProgress parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StoreTypes.SinkProgress parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StoreTypes.SinkProgress parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StoreTypes.SinkProgress 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
-