Package org.apache.spark.status.protobuf
Class StoreTypes.SourceProgress
Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.spark.status.protobuf.StoreTypes.SourceProgress
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,StoreTypes.SourceProgressOrBuilder
- Enclosing class:
- StoreTypes
public static final class StoreTypes.SourceProgress
extends com.google.protobuf.GeneratedMessageV3
implements StoreTypes.SourceProgressOrBuilder
Protobuf type
org.apache.spark.status.protobuf.SourceProgress
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeorg.apache.spark.status.protobuf.SourceProgress
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsMetrics
(String key) map<string, string> metrics = 8;
boolean
static StoreTypes.SourceProgress
optional string description = 1;
com.google.protobuf.ByteString
optional string description = 1;
static final com.google.protobuf.Descriptors.Descriptor
optional string end_offset = 3;
com.google.protobuf.ByteString
optional string end_offset = 3;
double
double input_rows_per_second = 6;
optional string latest_offset = 4;
com.google.protobuf.ByteString
optional string latest_offset = 4;
Deprecated.int
map<string, string> metrics = 8;
map<string, string> metrics = 8;
getMetricsOrDefault
(String key, String defaultValue) map<string, string> metrics = 8;
getMetricsOrThrow
(String key) map<string, string> metrics = 8;
long
int64 num_input_rows = 5;
com.google.protobuf.Parser<StoreTypes.SourceProgress>
double
double processed_rows_per_second = 7;
int
optional string start_offset = 2;
com.google.protobuf.ByteString
optional string start_offset = 2;
boolean
optional string description = 1;
boolean
optional string end_offset = 3;
int
hashCode()
boolean
optional string latest_offset = 4;
boolean
optional string start_offset = 2;
final boolean
newBuilder
(StoreTypes.SourceProgress prototype) static StoreTypes.SourceProgress
parseDelimitedFrom
(InputStream input) static StoreTypes.SourceProgress
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SourceProgress
parseFrom
(byte[] data) static StoreTypes.SourceProgress
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SourceProgress
parseFrom
(com.google.protobuf.ByteString data) static StoreTypes.SourceProgress
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SourceProgress
parseFrom
(com.google.protobuf.CodedInputStream input) static StoreTypes.SourceProgress
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SourceProgress
parseFrom
(InputStream input) static StoreTypes.SourceProgress
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SourceProgress
parseFrom
(ByteBuffer data) static StoreTypes.SourceProgress
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StoreTypes.SourceProgress>
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:
-
START_OFFSET_FIELD_NUMBER
public static final int START_OFFSET_FIELD_NUMBER- See Also:
-
END_OFFSET_FIELD_NUMBER
public static final int END_OFFSET_FIELD_NUMBER- See Also:
-
LATEST_OFFSET_FIELD_NUMBER
public static final int LATEST_OFFSET_FIELD_NUMBER- See Also:
-
NUM_INPUT_ROWS_FIELD_NUMBER
public static final int NUM_INPUT_ROWS_FIELD_NUMBER- See Also:
-
INPUT_ROWS_PER_SECOND_FIELD_NUMBER
public static final int INPUT_ROWS_PER_SECOND_FIELD_NUMBER- See Also:
-
PROCESSED_ROWS_PER_SECOND_FIELD_NUMBER
public static final int PROCESSED_ROWS_PER_SECOND_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.SourceProgressOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 1;
- Specified by:
getDescription
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 1;
- Specified by:
getDescriptionBytes
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- The bytes for description.
-
hasStartOffset
public boolean hasStartOffset()optional string start_offset = 2;
- Specified by:
hasStartOffset
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- Whether the startOffset field is set.
-
getStartOffset
optional string start_offset = 2;
- Specified by:
getStartOffset
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- The startOffset.
-
getStartOffsetBytes
public com.google.protobuf.ByteString getStartOffsetBytes()optional string start_offset = 2;
- Specified by:
getStartOffsetBytes
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- The bytes for startOffset.
-
hasEndOffset
public boolean hasEndOffset()optional string end_offset = 3;
- Specified by:
hasEndOffset
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- Whether the endOffset field is set.
-
getEndOffset
optional string end_offset = 3;
- Specified by:
getEndOffset
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- The endOffset.
-
getEndOffsetBytes
public com.google.protobuf.ByteString getEndOffsetBytes()optional string end_offset = 3;
- Specified by:
getEndOffsetBytes
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- The bytes for endOffset.
-
hasLatestOffset
public boolean hasLatestOffset()optional string latest_offset = 4;
- Specified by:
hasLatestOffset
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- Whether the latestOffset field is set.
-
getLatestOffset
optional string latest_offset = 4;
- Specified by:
getLatestOffset
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- The latestOffset.
-
getLatestOffsetBytes
public com.google.protobuf.ByteString getLatestOffsetBytes()optional string latest_offset = 4;
- Specified by:
getLatestOffsetBytes
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- The bytes for latestOffset.
-
getNumInputRows
public long getNumInputRows()int64 num_input_rows = 5;
- Specified by:
getNumInputRows
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- The numInputRows.
-
getInputRowsPerSecond
public double getInputRowsPerSecond()double input_rows_per_second = 6;
- Specified by:
getInputRowsPerSecond
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- The inputRowsPerSecond.
-
getProcessedRowsPerSecond
public double getProcessedRowsPerSecond()double processed_rows_per_second = 7;
- Specified by:
getProcessedRowsPerSecond
in interfaceStoreTypes.SourceProgressOrBuilder
- Returns:
- The processedRowsPerSecond.
-
getMetricsCount
public int getMetricsCount()Description copied from interface:StoreTypes.SourceProgressOrBuilder
map<string, string> metrics = 8;
- Specified by:
getMetricsCount
in interfaceStoreTypes.SourceProgressOrBuilder
-
containsMetrics
map<string, string> metrics = 8;
- Specified by:
containsMetrics
in interfaceStoreTypes.SourceProgressOrBuilder
-
getMetrics
Deprecated.UsegetMetricsMap()
instead.- Specified by:
getMetrics
in interfaceStoreTypes.SourceProgressOrBuilder
-
getMetricsMap
map<string, string> metrics = 8;
- Specified by:
getMetricsMap
in interfaceStoreTypes.SourceProgressOrBuilder
-
getMetricsOrDefault
map<string, string> metrics = 8;
- Specified by:
getMetricsOrDefault
in interfaceStoreTypes.SourceProgressOrBuilder
-
getMetricsOrThrow
map<string, string> metrics = 8;
- Specified by:
getMetricsOrThrow
in interfaceStoreTypes.SourceProgressOrBuilder
-
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.SourceProgress parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.SourceProgress parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.SourceProgress parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.SourceProgress 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.SourceProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.SourceProgress 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.SourceProgress parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StoreTypes.SourceProgress parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StoreTypes.SourceProgress parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StoreTypes.SourceProgress 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
-