Package org.apache.spark.status.protobuf
Class StoreTypes.SourceProgress
Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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.GeneratedMessage
implements StoreTypes.SourceProgressOrBuilder
Protobuf type
org.apache.spark.status.protobuf.SourceProgress- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.apache.spark.status.protobuf.SourceProgressNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetrics(String key) map<string, string> metrics = 8;booleanstatic StoreTypes.SourceProgressoptional string description = 1;com.google.protobuf.ByteStringoptional string description = 1;static final com.google.protobuf.Descriptors.Descriptoroptional string end_offset = 3;com.google.protobuf.ByteStringoptional string end_offset = 3;doubledouble input_rows_per_second = 6;optional string latest_offset = 4;com.google.protobuf.ByteStringoptional string latest_offset = 4;Deprecated.intmap<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;longint64 num_input_rows = 5;com.google.protobuf.Parser<StoreTypes.SourceProgress>doubledouble processed_rows_per_second = 7;intoptional string start_offset = 2;com.google.protobuf.ByteStringoptional string start_offset = 2;booleanoptional string description = 1;booleanoptional string end_offset = 3;inthashCode()booleanoptional string latest_offset = 4;booleanoptional string start_offset = 2;final booleannewBuilder(StoreTypes.SourceProgress prototype) static StoreTypes.SourceProgressparseDelimitedFrom(InputStream input) static StoreTypes.SourceProgressparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SourceProgressparseFrom(byte[] data) static StoreTypes.SourceProgressparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SourceProgressparseFrom(com.google.protobuf.ByteString data) static StoreTypes.SourceProgressparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SourceProgressparseFrom(com.google.protobuf.CodedInputStream input) static StoreTypes.SourceProgressparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SourceProgressparseFrom(InputStream input) static StoreTypes.SourceProgressparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.SourceProgressparseFrom(ByteBuffer data) static StoreTypes.SourceProgressparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StoreTypes.SourceProgress>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
hasDescriptionin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 1;- Specified by:
getDescriptionin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 1;- Specified by:
getDescriptionBytesin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- The bytes for description.
-
hasStartOffset
public boolean hasStartOffset()optional string start_offset = 2;- Specified by:
hasStartOffsetin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- Whether the startOffset field is set.
-
getStartOffset
optional string start_offset = 2;- Specified by:
getStartOffsetin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- The startOffset.
-
getStartOffsetBytes
public com.google.protobuf.ByteString getStartOffsetBytes()optional string start_offset = 2;- Specified by:
getStartOffsetBytesin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- The bytes for startOffset.
-
hasEndOffset
public boolean hasEndOffset()optional string end_offset = 3;- Specified by:
hasEndOffsetin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- Whether the endOffset field is set.
-
getEndOffset
optional string end_offset = 3;- Specified by:
getEndOffsetin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- The endOffset.
-
getEndOffsetBytes
public com.google.protobuf.ByteString getEndOffsetBytes()optional string end_offset = 3;- Specified by:
getEndOffsetBytesin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- The bytes for endOffset.
-
hasLatestOffset
public boolean hasLatestOffset()optional string latest_offset = 4;- Specified by:
hasLatestOffsetin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- Whether the latestOffset field is set.
-
getLatestOffset
optional string latest_offset = 4;- Specified by:
getLatestOffsetin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- The latestOffset.
-
getLatestOffsetBytes
public com.google.protobuf.ByteString getLatestOffsetBytes()optional string latest_offset = 4;- Specified by:
getLatestOffsetBytesin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- The bytes for latestOffset.
-
getNumInputRows
public long getNumInputRows()int64 num_input_rows = 5;- Specified by:
getNumInputRowsin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- The numInputRows.
-
getInputRowsPerSecond
public double getInputRowsPerSecond()double input_rows_per_second = 6;- Specified by:
getInputRowsPerSecondin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- The inputRowsPerSecond.
-
getProcessedRowsPerSecond
public double getProcessedRowsPerSecond()double processed_rows_per_second = 7;- Specified by:
getProcessedRowsPerSecondin interfaceStoreTypes.SourceProgressOrBuilder- Returns:
- The processedRowsPerSecond.
-
getMetricsCount
public int getMetricsCount()Description copied from interface:StoreTypes.SourceProgressOrBuildermap<string, string> metrics = 8;- Specified by:
getMetricsCountin interfaceStoreTypes.SourceProgressOrBuilder
-
containsMetrics
map<string, string> metrics = 8;- Specified by:
containsMetricsin interfaceStoreTypes.SourceProgressOrBuilder
-
getMetrics
Deprecated.UsegetMetricsMap()instead.- Specified by:
getMetricsin interfaceStoreTypes.SourceProgressOrBuilder
-
getMetricsMap
map<string, string> metrics = 8;- Specified by:
getMetricsMapin interfaceStoreTypes.SourceProgressOrBuilder
-
getMetricsOrDefault
map<string, string> metrics = 8;- Specified by:
getMetricsOrDefaultin interfaceStoreTypes.SourceProgressOrBuilder
-
getMetricsOrThrow
map<string, string> metrics = 8;- Specified by:
getMetricsOrThrowin interfaceStoreTypes.SourceProgressOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-