public final class WorkItemDetails extends GeneratedMessageV3 implements WorkItemDetailsOrBuilder
Information about an individual work item execution.
Protobuf type google.dataflow.v1beta3.WorkItemDetails
Static Fields
ATTEMPT_ID_FIELD_NUMBER
public static final int ATTEMPT_ID_FIELD_NUMBER
Field Value
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
Field Value
PROGRESS_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
TASK_ID_FIELD_NUMBER
public static final int TASK_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static WorkItemDetails getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static WorkItemDetails.Builder newBuilder()
Returns
newBuilder(WorkItemDetails prototype)
public static WorkItemDetails.Builder newBuilder(WorkItemDetails prototype)
Parameter
Returns
public static WorkItemDetails parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static WorkItemDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static WorkItemDetails parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WorkItemDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static WorkItemDetails parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkItemDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WorkItemDetails parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static WorkItemDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WorkItemDetails parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static WorkItemDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static WorkItemDetails parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WorkItemDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<WorkItemDetails> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAttemptId()
public String getAttemptId()
Attempt ID of this work item
string attempt_id = 2;
Returns
Type | Description |
String | The attemptId.
|
getAttemptIdBytes()
public ByteString getAttemptIdBytes()
Attempt ID of this work item
string attempt_id = 2;
Returns
getDefaultInstanceForType()
public WorkItemDetails getDefaultInstanceForType()
Returns
getEndTime()
public 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
getEndTimeOrBuilder()
public 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;
Returns
getMetrics(int index)
public MetricUpdate getMetrics(int index)
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;
Parameter
Returns
getMetricsCount()
public int getMetricsCount()
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;
Returns
getMetricsList()
public List<MetricUpdate> getMetricsList()
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;
Returns
getMetricsOrBuilder(int index)
public MetricUpdateOrBuilder getMetricsOrBuilder(int index)
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;
Parameter
Returns
getMetricsOrBuilderList()
public List<? extends MetricUpdateOrBuilder> getMetricsOrBuilderList()
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;
Returns
Type | Description |
List<? extends com.google.dataflow.v1beta3.MetricUpdateOrBuilder> | |
getParserForType()
public Parser<WorkItemDetails> getParserForType()
Returns
Overrides
getProgress()
public ProgressTimeseries getProgress()
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6;
Returns
getProgressOrBuilder()
public ProgressTimeseriesOrBuilder getProgressOrBuilder()
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStartTime()
public Timestamp getStartTime()
Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3;
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3;
Returns
getState()
public ExecutionState getState()
State of this work item.
.google.dataflow.v1beta3.ExecutionState state = 5;
Returns
getStateValue()
public int getStateValue()
State of this work item.
.google.dataflow.v1beta3.ExecutionState state = 5;
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
getTaskId()
public String getTaskId()
Name of this work item.
string task_id = 1;
Returns
Type | Description |
String | The taskId.
|
getTaskIdBytes()
public ByteString getTaskIdBytes()
Name of this work item.
string task_id = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasEndTime()
public 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
Type | Description |
boolean | Whether the endTime field is set.
|
hasProgress()
public boolean hasProgress()
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6;
Returns
Type | Description |
boolean | Whether the progress field is set.
|
hasStartTime()
public boolean hasStartTime()
Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3;
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public WorkItemDetails.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WorkItemDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public WorkItemDetails.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions