Package org.apache.spark.status.protobuf
Class StoreTypes.StateOperatorProgress.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StoreTypes.StateOperatorProgress.Builder>
org.apache.spark.status.protobuf.StoreTypes.StateOperatorProgress.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,StoreTypes.StateOperatorProgressOrBuilder
- Enclosing class:
- StoreTypes.StateOperatorProgress
public static final class StoreTypes.StateOperatorProgress.Builder
extends com.google.protobuf.GeneratedMessage.Builder<StoreTypes.StateOperatorProgress.Builder>
implements StoreTypes.StateOperatorProgressOrBuilder
Protobuf type
org.apache.spark.status.protobuf.StateOperatorProgress-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()int64 all_removals_time_ms = 6;int64 all_updates_time_ms = 4;int64 commit_time_ms = 7;int64 memory_used_bytes = 8;int64 num_rows_dropped_by_watermark = 9;int64 num_rows_removed = 5;int64 num_rows_total = 2;int64 num_rows_updated = 3;int64 num_shuffle_partitions = 10;int64 num_state_store_instances = 11;optional string operator_name = 1;booleanmap<string, int64> custom_metrics = 12;longint64 all_removals_time_ms = 6;longint64 all_updates_time_ms = 4;longint64 commit_time_ms = 7;Deprecated.intmap<string, int64> custom_metrics = 12;map<string, int64> custom_metrics = 12;longgetCustomMetricsOrDefault(String key, long defaultValue) map<string, int64> custom_metrics = 12;longmap<string, int64> custom_metrics = 12;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongint64 memory_used_bytes = 8;Deprecated.longint64 num_rows_dropped_by_watermark = 9;longint64 num_rows_removed = 5;longint64 num_rows_total = 2;longint64 num_rows_updated = 3;longint64 num_shuffle_partitions = 10;longint64 num_state_store_instances = 11;optional string operator_name = 1;com.google.protobuf.ByteStringoptional string operator_name = 1;booleanoptional string operator_name = 1;final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllCustomMetrics(Map<String, Long> values) map<string, int64> custom_metrics = 12;putCustomMetrics(String key, long value) map<string, int64> custom_metrics = 12;map<string, int64> custom_metrics = 12;setAllRemovalsTimeMs(long value) int64 all_removals_time_ms = 6;setAllUpdatesTimeMs(long value) int64 all_updates_time_ms = 4;setCommitTimeMs(long value) int64 commit_time_ms = 7;setMemoryUsedBytes(long value) int64 memory_used_bytes = 8;setNumRowsDroppedByWatermark(long value) int64 num_rows_dropped_by_watermark = 9;setNumRowsRemoved(long value) int64 num_rows_removed = 5;setNumRowsTotal(long value) int64 num_rows_total = 2;setNumRowsUpdated(long value) int64 num_rows_updated = 3;setNumShufflePartitions(long value) int64 num_shuffle_partitions = 10;setNumStateStoreInstances(long value) int64 num_state_store_instances = 11;setOperatorName(String value) optional string operator_name = 1;setOperatorNameBytes(com.google.protobuf.ByteString value) optional string operator_name = 1;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, mergeUnknownFields, newBuilderForField, setField, setRepeatedField, setUnknownFieldsMethods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom, mergeDelimitedFrom, mergeFromMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.StateOperatorProgress.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.StateOperatorProgress.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.StateOperatorProgress.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.StateOperatorProgress.Builder>
-
mergeFrom
public StoreTypes.StateOperatorProgress.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.StateOperatorProgress.Builder>- Throws:
IOException
-
hasOperatorName
public boolean hasOperatorName()optional string operator_name = 1;- Specified by:
hasOperatorNamein interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- Whether the operatorName field is set.
-
getOperatorName
optional string operator_name = 1;- Specified by:
getOperatorNamein interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- The operatorName.
-
getOperatorNameBytes
public com.google.protobuf.ByteString getOperatorNameBytes()optional string operator_name = 1;- Specified by:
getOperatorNameBytesin interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- The bytes for operatorName.
-
setOperatorName
optional string operator_name = 1;- Parameters:
value- The operatorName to set.- Returns:
- This builder for chaining.
-
clearOperatorName
optional string operator_name = 1;- Returns:
- This builder for chaining.
-
setOperatorNameBytes
public StoreTypes.StateOperatorProgress.Builder setOperatorNameBytes(com.google.protobuf.ByteString value) optional string operator_name = 1;- Parameters:
value- The bytes for operatorName to set.- Returns:
- This builder for chaining.
-
getNumRowsTotal
public long getNumRowsTotal()int64 num_rows_total = 2;- Specified by:
getNumRowsTotalin interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- The numRowsTotal.
-
setNumRowsTotal
int64 num_rows_total = 2;- Parameters:
value- The numRowsTotal to set.- Returns:
- This builder for chaining.
-
clearNumRowsTotal
int64 num_rows_total = 2;- Returns:
- This builder for chaining.
-
getNumRowsUpdated
public long getNumRowsUpdated()int64 num_rows_updated = 3;- Specified by:
getNumRowsUpdatedin interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- The numRowsUpdated.
-
setNumRowsUpdated
int64 num_rows_updated = 3;- Parameters:
value- The numRowsUpdated to set.- Returns:
- This builder for chaining.
-
clearNumRowsUpdated
int64 num_rows_updated = 3;- Returns:
- This builder for chaining.
-
getAllUpdatesTimeMs
public long getAllUpdatesTimeMs()int64 all_updates_time_ms = 4;- Specified by:
getAllUpdatesTimeMsin interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- The allUpdatesTimeMs.
-
setAllUpdatesTimeMs
int64 all_updates_time_ms = 4;- Parameters:
value- The allUpdatesTimeMs to set.- Returns:
- This builder for chaining.
-
clearAllUpdatesTimeMs
int64 all_updates_time_ms = 4;- Returns:
- This builder for chaining.
-
getNumRowsRemoved
public long getNumRowsRemoved()int64 num_rows_removed = 5;- Specified by:
getNumRowsRemovedin interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- The numRowsRemoved.
-
setNumRowsRemoved
int64 num_rows_removed = 5;- Parameters:
value- The numRowsRemoved to set.- Returns:
- This builder for chaining.
-
clearNumRowsRemoved
int64 num_rows_removed = 5;- Returns:
- This builder for chaining.
-
getAllRemovalsTimeMs
public long getAllRemovalsTimeMs()int64 all_removals_time_ms = 6;- Specified by:
getAllRemovalsTimeMsin interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- The allRemovalsTimeMs.
-
setAllRemovalsTimeMs
int64 all_removals_time_ms = 6;- Parameters:
value- The allRemovalsTimeMs to set.- Returns:
- This builder for chaining.
-
clearAllRemovalsTimeMs
int64 all_removals_time_ms = 6;- Returns:
- This builder for chaining.
-
getCommitTimeMs
public long getCommitTimeMs()int64 commit_time_ms = 7;- Specified by:
getCommitTimeMsin interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- The commitTimeMs.
-
setCommitTimeMs
int64 commit_time_ms = 7;- Parameters:
value- The commitTimeMs to set.- Returns:
- This builder for chaining.
-
clearCommitTimeMs
int64 commit_time_ms = 7;- Returns:
- This builder for chaining.
-
getMemoryUsedBytes
public long getMemoryUsedBytes()int64 memory_used_bytes = 8;- Specified by:
getMemoryUsedBytesin interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- The memoryUsedBytes.
-
setMemoryUsedBytes
int64 memory_used_bytes = 8;- Parameters:
value- The memoryUsedBytes to set.- Returns:
- This builder for chaining.
-
clearMemoryUsedBytes
int64 memory_used_bytes = 8;- Returns:
- This builder for chaining.
-
getNumRowsDroppedByWatermark
public long getNumRowsDroppedByWatermark()int64 num_rows_dropped_by_watermark = 9;- Specified by:
getNumRowsDroppedByWatermarkin interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- The numRowsDroppedByWatermark.
-
setNumRowsDroppedByWatermark
int64 num_rows_dropped_by_watermark = 9;- Parameters:
value- The numRowsDroppedByWatermark to set.- Returns:
- This builder for chaining.
-
clearNumRowsDroppedByWatermark
int64 num_rows_dropped_by_watermark = 9;- Returns:
- This builder for chaining.
-
getNumShufflePartitions
public long getNumShufflePartitions()int64 num_shuffle_partitions = 10;- Specified by:
getNumShufflePartitionsin interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- The numShufflePartitions.
-
setNumShufflePartitions
int64 num_shuffle_partitions = 10;- Parameters:
value- The numShufflePartitions to set.- Returns:
- This builder for chaining.
-
clearNumShufflePartitions
int64 num_shuffle_partitions = 10;- Returns:
- This builder for chaining.
-
getNumStateStoreInstances
public long getNumStateStoreInstances()int64 num_state_store_instances = 11;- Specified by:
getNumStateStoreInstancesin interfaceStoreTypes.StateOperatorProgressOrBuilder- Returns:
- The numStateStoreInstances.
-
setNumStateStoreInstances
int64 num_state_store_instances = 11;- Parameters:
value- The numStateStoreInstances to set.- Returns:
- This builder for chaining.
-
clearNumStateStoreInstances
int64 num_state_store_instances = 11;- Returns:
- This builder for chaining.
-
getCustomMetricsCount
public int getCustomMetricsCount()Description copied from interface:StoreTypes.StateOperatorProgressOrBuildermap<string, int64> custom_metrics = 12;- Specified by:
getCustomMetricsCountin interfaceStoreTypes.StateOperatorProgressOrBuilder
-
containsCustomMetrics
map<string, int64> custom_metrics = 12;- Specified by:
containsCustomMetricsin interfaceStoreTypes.StateOperatorProgressOrBuilder
-
getCustomMetrics
Deprecated.UsegetCustomMetricsMap()instead.- Specified by:
getCustomMetricsin interfaceStoreTypes.StateOperatorProgressOrBuilder
-
getCustomMetricsMap
map<string, int64> custom_metrics = 12;- Specified by:
getCustomMetricsMapin interfaceStoreTypes.StateOperatorProgressOrBuilder
-
getCustomMetricsOrDefault
map<string, int64> custom_metrics = 12;- Specified by:
getCustomMetricsOrDefaultin interfaceStoreTypes.StateOperatorProgressOrBuilder
-
getCustomMetricsOrThrow
map<string, int64> custom_metrics = 12;- Specified by:
getCustomMetricsOrThrowin interfaceStoreTypes.StateOperatorProgressOrBuilder
-
clearCustomMetrics
-
removeCustomMetrics
map<string, int64> custom_metrics = 12; -
getMutableCustomMetrics
Deprecated.Use alternate mutation accessors instead. -
putCustomMetrics
map<string, int64> custom_metrics = 12; -
putAllCustomMetrics
map<string, int64> custom_metrics = 12;
-