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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public PipelineTaskDetail.PipelineTaskStatus build()

buildPartial()

public PipelineTaskDetail.PipelineTaskStatus buildPartial()

clear()

public PipelineTaskDetail.PipelineTaskStatus.Builder clear()
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];

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PipelineTaskDetail.PipelineTaskStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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];

clone()

public PipelineTaskDetail.PipelineTaskStatus.Builder clone()
Overrides

getDefaultInstanceForType()

public PipelineTaskDetail.PipelineTaskStatus getDefaultInstanceForType()

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

mergeFrom(PipelineTaskDetail.PipelineTaskStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PipelineTaskDetail.PipelineTaskStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public PipelineTaskDetail.PipelineTaskStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
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
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

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