Class PipelineTaskDetail.PipelineTaskStatus.Builder (3.30.0)

public static final class PipelineTaskDetail.PipelineTaskStatus.Builder extends GeneratedMessageV3.Builder<PipelineTaskDetail.PipelineTaskStatus.Builder> implements PipelineTaskDetail.PipelineTaskStatusOrBuilder

A single record of the task status.

Protobuf type google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PipelineTaskDetail.PipelineTaskStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

build()

public PipelineTaskDetail.PipelineTaskStatus build()
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus

buildPartial()

public PipelineTaskDetail.PipelineTaskStatus buildPartial()
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus

clear()

public PipelineTaskDetail.PipelineTaskStatus.Builder clear()
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

clearError()

public PipelineTaskDetail.PipelineTaskStatus.Builder clearError()

Output only. The error that occurred during the state. May be set when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. If the state is FAILED, the error here is final and not going to be retried. If the state is a non-final state, the error indicates a system-error being retried.

.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public PipelineTaskDetail.PipelineTaskStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PipelineTaskDetail.PipelineTaskStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

clearState()

public PipelineTaskDetail.PipelineTaskStatus.Builder clearState()

Output only. The state of the task.

.google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder

This builder for chaining.

clearUpdateTime()

public PipelineTaskDetail.PipelineTaskStatus.Builder clearUpdateTime()

Output only. Update time of this status.

.google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder

clone()

public PipelineTaskDetail.PipelineTaskStatus.Builder clone()
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

getDefaultInstanceForType()

public PipelineTaskDetail.PipelineTaskStatus getDefaultInstanceForType()
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getError()

public Status getError()

Output only. The error that occurred during the state. May be set when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. If the state is FAILED, the error here is final and not going to be retried. If the state is a non-final state, the error indicates a system-error being retried.

.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

Output only. The error that occurred during the state. May be set when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. If the state is FAILED, the error here is final and not going to be retried. If the state is a non-final state, the error indicates a system-error being retried.

.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Output only. The error that occurred during the state. May be set when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. If the state is FAILED, the error here is final and not going to be retried. If the state is a non-final state, the error indicates a system-error being retried.

.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getState()

public PipelineTaskDetail.State getState()

Output only. The state of the task.

.google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PipelineTaskDetail.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the task.

.google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Update time of this status.

.google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Update time of this status.

.google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update time of this status.

.google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasError()

public boolean hasError()

Output only. The error that occurred during the state. May be set when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. If the state is FAILED, the error here is final and not going to be retried. If the state is a non-final state, the error indicates a system-error being retried.

.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the error field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Update time of this status.

.google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeError(Status value)

public PipelineTaskDetail.PipelineTaskStatus.Builder mergeError(Status value)

Output only. The error that occurred during the state. May be set when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. If the state is FAILED, the error here is final and not going to be retried. If the state is a non-final state, the error indicates a system-error being retried.

.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder

mergeFrom(PipelineTaskDetail.PipelineTaskStatus other)

public PipelineTaskDetail.PipelineTaskStatus.Builder mergeFrom(PipelineTaskDetail.PipelineTaskStatus other)
Parameter
NameDescription
otherPipelineTaskDetail.PipelineTaskStatus
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PipelineTaskDetail.PipelineTaskStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PipelineTaskDetail.PipelineTaskStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PipelineTaskDetail.PipelineTaskStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

mergeUpdateTime(Timestamp value)

public PipelineTaskDetail.PipelineTaskStatus.Builder mergeUpdateTime(Timestamp value)

Output only. Update time of this status.

.google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder

setError(Status value)

public PipelineTaskDetail.PipelineTaskStatus.Builder setError(Status value)

Output only. The error that occurred during the state. May be set when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. If the state is FAILED, the error here is final and not going to be retried. If the state is a non-final state, the error indicates a system-error being retried.

.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder

setError(Status.Builder builderForValue)

public PipelineTaskDetail.PipelineTaskStatus.Builder setError(Status.Builder builderForValue)

Output only. The error that occurred during the state. May be set when the state is any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. If the state is FAILED, the error here is final and not going to be retried. If the state is a non-final state, the error indicates a system-error being retried.

.google.rpc.Status error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PipelineTaskDetail.PipelineTaskStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PipelineTaskDetail.PipelineTaskStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

setState(PipelineTaskDetail.State value)

public PipelineTaskDetail.PipelineTaskStatus.Builder setState(PipelineTaskDetail.State value)

Output only. The state of the task.

.google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuePipelineTaskDetail.State

The state to set.

Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder

This builder for chaining.

setStateValue(int value)

public PipelineTaskDetail.PipelineTaskStatus.Builder setStateValue(int value)

Output only. The state of the task.

.google.cloud.aiplatform.v1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PipelineTaskDetail.PipelineTaskStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

setUpdateTime(Timestamp value)

public PipelineTaskDetail.PipelineTaskStatus.Builder setUpdateTime(Timestamp value)

Output only. Update time of this status.

.google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public PipelineTaskDetail.PipelineTaskStatus.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Update time of this status.

.google.protobuf.Timestamp update_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
PipelineTaskDetail.PipelineTaskStatus.Builder