Package com.google.dataflow.v1beta3
Interface WorkItemDetailsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkItemDetails,WorkItemDetails.Builder
public interface WorkItemDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAttemptId()Attempt ID of this work itemcom.google.protobuf.ByteStringgetAttemptIdBytes()Attempt ID of this work itemcom.google.protobuf.TimestampgetEndTime()End time of this work item attempt.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()End time of this work item attempt.MetricUpdategetMetrics(int index)Metrics for this work item.intgetMetricsCount()Metrics for this work item.List<MetricUpdate>getMetricsList()Metrics for this work item.MetricUpdateOrBuildergetMetricsOrBuilder(int index)Metrics for this work item.List<? extends MetricUpdateOrBuilder>getMetricsOrBuilderList()Metrics for this work item.ProgressTimeseriesgetProgress()Progress of this work item.ProgressTimeseriesOrBuildergetProgressOrBuilder()Progress of this work item.com.google.protobuf.TimestampgetStartTime()Start time of this work item attempt.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Start time of this work item attempt.ExecutionStategetState()State of this work item.intgetStateValue()State of this work item.StringgetTaskId()Name of this work item.com.google.protobuf.ByteStringgetTaskIdBytes()Name of this work item.booleanhasEndTime()End time of this work item attempt.booleanhasProgress()Progress of this work item.booleanhasStartTime()Start time of this work item attempt.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTaskId
String getTaskId()
Name of this work item.
string task_id = 1;- Returns:
- The taskId.
-
getTaskIdBytes
com.google.protobuf.ByteString getTaskIdBytes()
Name of this work item.
string task_id = 1;- Returns:
- The bytes for taskId.
-
getAttemptId
String getAttemptId()
Attempt ID of this work item
string attempt_id = 2;- Returns:
- The attemptId.
-
getAttemptIdBytes
com.google.protobuf.ByteString getAttemptIdBytes()
Attempt ID of this work item
string attempt_id = 2;- Returns:
- The bytes for attemptId.
-
hasStartTime
boolean hasStartTime()
Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3;- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()
Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3;- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3;
-
hasEndTime
boolean hasEndTime()
End time of this work item attempt. If the work item is completed, this is the actual end time of the work item. Otherwise, it is the predicted end time.
.google.protobuf.Timestamp end_time = 4;- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()
End time of this work item attempt. If the work item is completed, this is the actual end time of the work item. Otherwise, it is the predicted end time.
.google.protobuf.Timestamp end_time = 4;- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
End time of this work item attempt. If the work item is completed, this is the actual end time of the work item. Otherwise, it is the predicted end time.
.google.protobuf.Timestamp end_time = 4;
-
getStateValue
int getStateValue()
State of this work item.
.google.dataflow.v1beta3.ExecutionState state = 5;- Returns:
- The enum numeric value on the wire for state.
-
getState
ExecutionState getState()
State of this work item.
.google.dataflow.v1beta3.ExecutionState state = 5;- Returns:
- The state.
-
hasProgress
boolean hasProgress()
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6;- Returns:
- Whether the progress field is set.
-
getProgress
ProgressTimeseries getProgress()
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6;- Returns:
- The progress.
-
getProgressOrBuilder
ProgressTimeseriesOrBuilder getProgressOrBuilder()
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6;
-
getMetricsList
List<MetricUpdate> getMetricsList()
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;
-
getMetrics
MetricUpdate getMetrics(int index)
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;
-
getMetricsCount
int getMetricsCount()
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;
-
getMetricsOrBuilderList
List<? extends MetricUpdateOrBuilder> getMetricsOrBuilderList()
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;
-
getMetricsOrBuilder
MetricUpdateOrBuilder getMetricsOrBuilder(int index)
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;
-
-