Package org.apache.spark.status.protobuf
Interface StoreTypes.SourceProgressOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StoreTypes.SourceProgress
,StoreTypes.SourceProgress.Builder
- Enclosing class:
- StoreTypes
public static interface StoreTypes.SourceProgressOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsMetrics
(String key) map<string, string> metrics = 8;
optional string description = 1;
com.google.protobuf.ByteString
optional string description = 1;
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;
double
double processed_rows_per_second = 7;
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;
boolean
optional string latest_offset = 4;
boolean
optional string start_offset = 2;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDescription
boolean hasDescription()optional string description = 1;
- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()optional string description = 1;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()optional string description = 1;
- Returns:
- The bytes for description.
-
hasStartOffset
boolean hasStartOffset()optional string start_offset = 2;
- Returns:
- Whether the startOffset field is set.
-
getStartOffset
String getStartOffset()optional string start_offset = 2;
- Returns:
- The startOffset.
-
getStartOffsetBytes
com.google.protobuf.ByteString getStartOffsetBytes()optional string start_offset = 2;
- Returns:
- The bytes for startOffset.
-
hasEndOffset
boolean hasEndOffset()optional string end_offset = 3;
- Returns:
- Whether the endOffset field is set.
-
getEndOffset
String getEndOffset()optional string end_offset = 3;
- Returns:
- The endOffset.
-
getEndOffsetBytes
com.google.protobuf.ByteString getEndOffsetBytes()optional string end_offset = 3;
- Returns:
- The bytes for endOffset.
-
hasLatestOffset
boolean hasLatestOffset()optional string latest_offset = 4;
- Returns:
- Whether the latestOffset field is set.
-
getLatestOffset
String getLatestOffset()optional string latest_offset = 4;
- Returns:
- The latestOffset.
-
getLatestOffsetBytes
com.google.protobuf.ByteString getLatestOffsetBytes()optional string latest_offset = 4;
- Returns:
- The bytes for latestOffset.
-
getNumInputRows
long getNumInputRows()int64 num_input_rows = 5;
- Returns:
- The numInputRows.
-
getInputRowsPerSecond
double getInputRowsPerSecond()double input_rows_per_second = 6;
- Returns:
- The inputRowsPerSecond.
-
getProcessedRowsPerSecond
double getProcessedRowsPerSecond()double processed_rows_per_second = 7;
- Returns:
- The processedRowsPerSecond.
-
getMetricsCount
int getMetricsCount()map<string, string> metrics = 8;
-
containsMetrics
map<string, string> metrics = 8;
-
getMetrics
Deprecated.UsegetMetricsMap()
instead. -
getMetricsMap
map<string, string> metrics = 8;
-
getMetricsOrDefault
map<string, string> metrics = 8;
-
getMetricsOrThrow
map<string, string> metrics = 8;
-