Package com.google.dataflow.v1beta3
Class WorkItemDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WorkItemDetails.Builder>
com.google.dataflow.v1beta3.WorkItemDetails.Builder
- All Implemented Interfaces:
WorkItemDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- WorkItemDetails
public static final class WorkItemDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<WorkItemDetails.Builder>
implements WorkItemDetailsOrBuilder
Information about an individual work item execution.Protobuf type
google.dataflow.v1beta3.WorkItemDetails-
Method Summary
Modifier and TypeMethodDescriptionaddAllMetrics(Iterable<? extends MetricUpdate> values) Metrics for this work item.addMetrics(int index, MetricUpdate value) Metrics for this work item.addMetrics(int index, MetricUpdate.Builder builderForValue) Metrics for this work item.addMetrics(MetricUpdate value) Metrics for this work item.addMetrics(MetricUpdate.Builder builderForValue) Metrics for this work item.Metrics for this work item.addMetricsBuilder(int index) Metrics for this work item.build()clear()Attempt ID of this work itemEnd time of this work item attempt.Metrics for this work item.Progress of this work item.Start time of this work item attempt.State of this work item.Information about straggler detections for this work item.Name of this work item.Attempt ID of this work itemcom.google.protobuf.ByteStringAttempt ID of this work itemstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampEnd time of this work item attempt.com.google.protobuf.Timestamp.BuilderEnd time of this work item attempt.com.google.protobuf.TimestampOrBuilderEnd time of this work item attempt.getMetrics(int index) Metrics for this work item.getMetricsBuilder(int index) Metrics for this work item.Metrics for this work item.intMetrics for this work item.Metrics for this work item.getMetricsOrBuilder(int index) Metrics for this work item.List<? extends MetricUpdateOrBuilder>Metrics for this work item.Progress of this work item.Progress of this work item.Progress of this work item.com.google.protobuf.TimestampStart time of this work item attempt.com.google.protobuf.Timestamp.BuilderStart time of this work item attempt.com.google.protobuf.TimestampOrBuilderStart time of this work item attempt.getState()State of this work item.intState of this work item.Information about straggler detections for this work item.Information about straggler detections for this work item.Information about straggler detections for this work item.Name of this work item.com.google.protobuf.ByteStringName of this work item.booleanEnd time of this work item attempt.booleanProgress of this work item.booleanStart time of this work item attempt.booleanInformation about straggler detections for this work item.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEndTime(com.google.protobuf.Timestamp value) End time of this work item attempt.mergeFrom(WorkItemDetails other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeProgress(ProgressTimeseries value) Progress of this work item.mergeStartTime(com.google.protobuf.Timestamp value) Start time of this work item attempt.mergeStragglerInfo(StragglerInfo value) Information about straggler detections for this work item.removeMetrics(int index) Metrics for this work item.setAttemptId(String value) Attempt ID of this work itemsetAttemptIdBytes(com.google.protobuf.ByteString value) Attempt ID of this work itemsetEndTime(com.google.protobuf.Timestamp value) End time of this work item attempt.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) End time of this work item attempt.setMetrics(int index, MetricUpdate value) Metrics for this work item.setMetrics(int index, MetricUpdate.Builder builderForValue) Metrics for this work item.setProgress(ProgressTimeseries value) Progress of this work item.setProgress(ProgressTimeseries.Builder builderForValue) Progress of this work item.setStartTime(com.google.protobuf.Timestamp value) Start time of this work item attempt.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Start time of this work item attempt.setState(ExecutionState value) State of this work item.setStateValue(int value) State of this work item.setStragglerInfo(StragglerInfo value) Information about straggler detections for this work item.setStragglerInfo(StragglerInfo.Builder builderForValue) Information about straggler detections for this work item.Name of this work item.setTaskIdBytes(com.google.protobuf.ByteString value) Name of this work item.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<WorkItemDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<WorkItemDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<WorkItemDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkItemDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<WorkItemDetails.Builder>
-
mergeFrom
public WorkItemDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkItemDetails.Builder>- Throws:
IOException
-
getTaskId
Name of this work item.
string task_id = 1;- Specified by:
getTaskIdin interfaceWorkItemDetailsOrBuilder- Returns:
- The taskId.
-
getTaskIdBytes
public com.google.protobuf.ByteString getTaskIdBytes()Name of this work item.
string task_id = 1;- Specified by:
getTaskIdBytesin interfaceWorkItemDetailsOrBuilder- Returns:
- The bytes for taskId.
-
setTaskId
Name of this work item.
string task_id = 1;- Parameters:
value- The taskId to set.- Returns:
- This builder for chaining.
-
clearTaskId
Name of this work item.
string task_id = 1;- Returns:
- This builder for chaining.
-
setTaskIdBytes
Name of this work item.
string task_id = 1;- Parameters:
value- The bytes for taskId to set.- Returns:
- This builder for chaining.
-
getAttemptId
Attempt ID of this work item
string attempt_id = 2;- Specified by:
getAttemptIdin interfaceWorkItemDetailsOrBuilder- Returns:
- The attemptId.
-
getAttemptIdBytes
public com.google.protobuf.ByteString getAttemptIdBytes()Attempt ID of this work item
string attempt_id = 2;- Specified by:
getAttemptIdBytesin interfaceWorkItemDetailsOrBuilder- Returns:
- The bytes for attemptId.
-
setAttemptId
Attempt ID of this work item
string attempt_id = 2;- Parameters:
value- The attemptId to set.- Returns:
- This builder for chaining.
-
clearAttemptId
Attempt ID of this work item
string attempt_id = 2;- Returns:
- This builder for chaining.
-
setAttemptIdBytes
Attempt ID of this work item
string attempt_id = 2;- Parameters:
value- The bytes for attemptId to set.- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3;- Specified by:
hasStartTimein interfaceWorkItemDetailsOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimein interfaceWorkItemDetailsOrBuilder- Returns:
- The startTime.
-
setStartTime
Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3; -
setStartTime
Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3; -
mergeStartTime
Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3; -
clearStartTime
Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Start time of this work item attempt.
.google.protobuf.Timestamp start_time = 3;- Specified by:
getStartTimeOrBuilderin interfaceWorkItemDetailsOrBuilder
-
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;- Specified by:
hasEndTimein interfaceWorkItemDetailsOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public 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;- Specified by:
getEndTimein interfaceWorkItemDetailsOrBuilder- Returns:
- The endTime.
-
setEndTime
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; -
setEndTime
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; -
mergeEndTime
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; -
clearEndTime
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; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()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 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;- Specified by:
getEndTimeOrBuilderin interfaceWorkItemDetailsOrBuilder
-
getStateValue
public int getStateValue()State of this work item.
.google.dataflow.v1beta3.ExecutionState state = 5;- Specified by:
getStateValuein interfaceWorkItemDetailsOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
State of this work item.
.google.dataflow.v1beta3.ExecutionState state = 5;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
State of this work item.
.google.dataflow.v1beta3.ExecutionState state = 5;- Specified by:
getStatein interfaceWorkItemDetailsOrBuilder- Returns:
- The state.
-
setState
State of this work item.
.google.dataflow.v1beta3.ExecutionState state = 5;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
State of this work item.
.google.dataflow.v1beta3.ExecutionState state = 5;- Returns:
- This builder for chaining.
-
hasProgress
public boolean hasProgress()Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6;- Specified by:
hasProgressin interfaceWorkItemDetailsOrBuilder- Returns:
- Whether the progress field is set.
-
getProgress
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6;- Specified by:
getProgressin interfaceWorkItemDetailsOrBuilder- Returns:
- The progress.
-
setProgress
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6; -
setProgress
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6; -
mergeProgress
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6; -
clearProgress
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6; -
getProgressBuilder
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6; -
getProgressOrBuilder
Progress of this work item.
.google.dataflow.v1beta3.ProgressTimeseries progress = 6;- Specified by:
getProgressOrBuilderin interfaceWorkItemDetailsOrBuilder
-
getMetricsList
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;- Specified by:
getMetricsListin interfaceWorkItemDetailsOrBuilder
-
getMetricsCount
public int getMetricsCount()Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;- Specified by:
getMetricsCountin interfaceWorkItemDetailsOrBuilder
-
getMetrics
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;- Specified by:
getMetricsin interfaceWorkItemDetailsOrBuilder
-
setMetrics
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
setMetrics
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
addMetrics
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
addMetrics
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
addMetrics
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
addMetrics
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
addAllMetrics
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
clearMetrics
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
removeMetrics
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
getMetricsBuilder
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
getMetricsOrBuilder
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;- Specified by:
getMetricsOrBuilderin interfaceWorkItemDetailsOrBuilder
-
getMetricsOrBuilderList
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7;- Specified by:
getMetricsOrBuilderListin interfaceWorkItemDetailsOrBuilder
-
addMetricsBuilder
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
addMetricsBuilder
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
getMetricsBuilderList
Metrics for this work item.
repeated .google.dataflow.v1beta3.MetricUpdate metrics = 7; -
hasStragglerInfo
public boolean hasStragglerInfo()Information about straggler detections for this work item.
.google.dataflow.v1beta3.StragglerInfo straggler_info = 8;- Specified by:
hasStragglerInfoin interfaceWorkItemDetailsOrBuilder- Returns:
- Whether the stragglerInfo field is set.
-
getStragglerInfo
Information about straggler detections for this work item.
.google.dataflow.v1beta3.StragglerInfo straggler_info = 8;- Specified by:
getStragglerInfoin interfaceWorkItemDetailsOrBuilder- Returns:
- The stragglerInfo.
-
setStragglerInfo
Information about straggler detections for this work item.
.google.dataflow.v1beta3.StragglerInfo straggler_info = 8; -
setStragglerInfo
Information about straggler detections for this work item.
.google.dataflow.v1beta3.StragglerInfo straggler_info = 8; -
mergeStragglerInfo
Information about straggler detections for this work item.
.google.dataflow.v1beta3.StragglerInfo straggler_info = 8; -
clearStragglerInfo
Information about straggler detections for this work item.
.google.dataflow.v1beta3.StragglerInfo straggler_info = 8; -
getStragglerInfoBuilder
Information about straggler detections for this work item.
.google.dataflow.v1beta3.StragglerInfo straggler_info = 8; -
getStragglerInfoOrBuilder
Information about straggler detections for this work item.
.google.dataflow.v1beta3.StragglerInfo straggler_info = 8;- Specified by:
getStragglerInfoOrBuilderin interfaceWorkItemDetailsOrBuilder
-