Class WorkItemDetails (0.52.0)

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
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

METRICS_FIELD_NUMBER

public static final int METRICS_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_FIELD_NUMBER

public static final int PROGRESS_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TASK_ID_FIELD_NUMBER

public static final int TASK_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WorkItemDetails getDefaultInstance()
Returns
Type Description
WorkItemDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static WorkItemDetails.Builder newBuilder()
Returns
Type Description
WorkItemDetails.Builder

newBuilder(WorkItemDetails prototype)

public static WorkItemDetails.Builder newBuilder(WorkItemDetails prototype)
Parameter
Name Description
prototype WorkItemDetails
Returns
Type Description
WorkItemDetails.Builder

parseDelimitedFrom(InputStream input)

public static WorkItemDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WorkItemDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkItemDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkItemDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WorkItemDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WorkItemDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkItemDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkItemDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkItemDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WorkItemDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkItemDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkItemDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkItemDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WorkItemDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkItemDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkItemDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WorkItemDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WorkItemDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkItemDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkItemDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WorkItemDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WorkItemDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkItemDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkItemDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WorkItemDetails> parser()
Returns
Type Description
Parser<WorkItemDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
ByteString

The bytes for attemptId.

getDefaultInstanceForType()

public WorkItemDetails getDefaultInstanceForType()
Returns
Type Description
WorkItemDetails

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
Type Description
Timestamp

The endTime.

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
Type Description
TimestampOrBuilder

getMetrics(int index)

public MetricUpdate getMetrics(int index)

Metrics for this work item.

repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;

Parameter
Name Description
index int
Returns
Type Description
MetricUpdate

getMetricsCount()

public int getMetricsCount()

Metrics for this work item.

repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;

Returns
Type Description
int

getMetricsList()

public List<MetricUpdate> getMetricsList()

Metrics for this work item.

repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;

Returns
Type Description
List<MetricUpdate>

getMetricsOrBuilder(int index)

public MetricUpdateOrBuilder getMetricsOrBuilder(int index)

Metrics for this work item.

repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;

Parameter
Name Description
index int
Returns
Type Description
MetricUpdateOrBuilder

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
Type Description
Parser<WorkItemDetails>
Overrides

getProgress()

public ProgressTimeseries getProgress()

Progress of this work item.

.google.dataflow.v1beta3.ProgressTimeseries progress = 6;

Returns
Type Description
ProgressTimeseries

The progress.

getProgressOrBuilder()

public ProgressTimeseriesOrBuilder getProgressOrBuilder()

Progress of this work item.

.google.dataflow.v1beta3.ProgressTimeseries progress = 6;

Returns
Type Description
ProgressTimeseriesOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Start time of this work item attempt.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Start time of this work item attempt.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
TimestampOrBuilder

getState()

public ExecutionState getState()

State of this work item.

.google.dataflow.v1beta3.ExecutionState state = 5;

Returns
Type Description
ExecutionState

The state.

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
Type Description
ByteString

The bytes for taskId.

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WorkItemDetails.Builder newBuilderForType()
Returns
Type Description
WorkItemDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkItemDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WorkItemDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WorkItemDetails.Builder toBuilder()
Returns
Type Description
WorkItemDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException