Class WorkItemDetails (0.43.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
TypeDescription
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

METRICS_FIELD_NUMBER

public static final int METRICS_FIELD_NUMBER
Field Value
TypeDescription
int

PROGRESS_FIELD_NUMBER

public static final int PROGRESS_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

TASK_ID_FIELD_NUMBER

public static final int TASK_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WorkItemDetails getDefaultInstance()
Returns
TypeDescription
WorkItemDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WorkItemDetails.Builder newBuilder()
Returns
TypeDescription
WorkItemDetails.Builder

newBuilder(WorkItemDetails prototype)

public static WorkItemDetails.Builder newBuilder(WorkItemDetails prototype)
Parameter
NameDescription
prototypeWorkItemDetails
Returns
TypeDescription
WorkItemDetails.Builder

parseDelimitedFrom(InputStream input)

public static WorkItemDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkItemDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkItemDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkItemDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WorkItemDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WorkItemDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkItemDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkItemDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkItemDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WorkItemDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkItemDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkItemDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkItemDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WorkItemDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkItemDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkItemDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WorkItemDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkItemDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkItemDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkItemDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WorkItemDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WorkItemDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkItemDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkItemDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WorkItemDetails> parser()
Returns
TypeDescription
Parser<WorkItemDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAttemptId()

public String getAttemptId()

Attempt ID of this work item

string attempt_id = 2;

Returns
TypeDescription
String

The attemptId.

getAttemptIdBytes()

public ByteString getAttemptIdBytes()

Attempt ID of this work item

string attempt_id = 2;

Returns
TypeDescription
ByteString

The bytes for attemptId.

getDefaultInstanceForType()

public WorkItemDetails getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getMetrics(int index)

public MetricUpdate getMetrics(int index)

Metrics for this work item.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MetricUpdate

getMetricsCount()

public int getMetricsCount()

Metrics for this work item.

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

Returns
TypeDescription
int

getMetricsList()

public List<MetricUpdate> getMetricsList()

Metrics for this work item.

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

Returns
TypeDescription
List<MetricUpdate>

getMetricsOrBuilder(int index)

public MetricUpdateOrBuilder getMetricsOrBuilder(int index)

Metrics for this work item.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MetricUpdateOrBuilder

getMetricsOrBuilderList()

public List<? extends MetricUpdateOrBuilder> getMetricsOrBuilderList()

Metrics for this work item.

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

Returns
TypeDescription
List<? extends com.google.dataflow.v1beta3.MetricUpdateOrBuilder>

getParserForType()

public Parser<WorkItemDetails> getParserForType()
Returns
TypeDescription
Parser<WorkItemDetails>
Overrides

getProgress()

public ProgressTimeseries getProgress()

Progress of this work item.

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

Returns
TypeDescription
ProgressTimeseries

The progress.

getProgressOrBuilder()

public ProgressTimeseriesOrBuilder getProgressOrBuilder()

Progress of this work item.

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

Returns
TypeDescription
ProgressTimeseriesOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

Start time of this work item attempt.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Start time of this work item attempt.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getState()

public ExecutionState getState()

State of this work item.

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

Returns
TypeDescription
ExecutionState

The state.

getStateValue()

public int getStateValue()

State of this work item.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTaskId()

public String getTaskId()

Name of this work item.

string task_id = 1;

Returns
TypeDescription
String

The taskId.

getTaskIdBytes()

public ByteString getTaskIdBytes()

Name of this work item.

string task_id = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the endTime field is set.

hasProgress()

public boolean hasProgress()

Progress of this work item.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WorkItemDetails.Builder newBuilderForType()
Returns
TypeDescription
WorkItemDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkItemDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WorkItemDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WorkItemDetails.Builder toBuilder()
Returns
TypeDescription
WorkItemDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException