public final class WorkItemDetails extends GeneratedMessageV3 implements WorkItemDetailsOrBuilder
Information about an individual work item execution.
Protobuf type google.dataflow.v1beta3.WorkItemDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WorkItemDetails.Builder newBuilder()
newBuilder(WorkItemDetails prototype)
public static WorkItemDetails.Builder newBuilder(WorkItemDetails prototype)
public static WorkItemDetails parseDelimitedFrom(InputStream input)
public static WorkItemDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WorkItemDetails parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WorkItemDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WorkItemDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkItemDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkItemDetails parseFrom(CodedInputStream input)
public static WorkItemDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkItemDetails parseFrom(InputStream input)
public static WorkItemDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WorkItemDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WorkItemDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WorkItemDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
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;
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;
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
|
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;
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
|
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()
Overrides
getProgress()
public ProgressTimeseries getProgress()
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6;
getProgressOrBuilder()
public ProgressTimeseriesOrBuilder getProgressOrBuilder()
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6;
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;
getState()
public ExecutionState getState()
State of this work item.
.google.dataflow.v1beta3.ExecutionState state = 5;
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WorkItemDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WorkItemDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public WorkItemDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides