Class PipelineTaskDetail.PipelineTaskStatus.Builder (3.42.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.v1beta1.PipelineTaskDetail.PipelineTaskStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PipelineTaskDetail.PipelineTaskStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

build()

public PipelineTaskDetail.PipelineTaskStatus build()
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus

buildPartial()

public PipelineTaskDetail.PipelineTaskStatus buildPartial()
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus

clear()

public PipelineTaskDetail.PipelineTaskStatus.Builder clear()
Returns
Type Description
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
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public PipelineTaskDetail.PipelineTaskStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PipelineTaskDetail.PipelineTaskStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

clearState()

public PipelineTaskDetail.PipelineTaskStatus.Builder clearState()

Output only. The state of the task.

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

Returns
Type Description
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
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder

clone()

public PipelineTaskDetail.PipelineTaskStatus.Builder clone()
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

getDefaultInstanceForType()

public PipelineTaskDetail.PipelineTaskStatus getDefaultInstanceForType()
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
com.google.rpc.StatusOrBuilder

getState()

public PipelineTaskDetail.State getState()

Output only. The state of the task.

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

Returns
Type Description
PipelineTaskDetail.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the task.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value com.google.rpc.Status
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder

mergeFrom(PipelineTaskDetail.PipelineTaskStatus other)

public PipelineTaskDetail.PipelineTaskStatus.Builder mergeFrom(PipelineTaskDetail.PipelineTaskStatus other)
Parameter
Name Description
other PipelineTaskDetail.PipelineTaskStatus
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PipelineTaskDetail.PipelineTaskStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PipelineTaskDetail.PipelineTaskStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PipelineTaskDetail.PipelineTaskStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value com.google.rpc.Status
Returns
Type Description
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
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PipelineTaskDetail.PipelineTaskStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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.v1beta1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value PipelineTaskDetail.State

The state to set.

Returns
Type Description
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.v1beta1.PipelineTaskDetail.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PipelineTaskDetail.PipelineTaskStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
PipelineTaskDetail.PipelineTaskStatus.Builder