Class QueuedResourceState.FailedData.Builder (2.49.0)

public static final class QueuedResourceState.FailedData.Builder extends GeneratedMessageV3.Builder<QueuedResourceState.FailedData.Builder> implements QueuedResourceState.FailedDataOrBuilder

Further data for the failed state.

Protobuf type google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueuedResourceState.FailedData build()
Returns
Type Description
QueuedResourceState.FailedData

buildPartial()

public QueuedResourceState.FailedData buildPartial()
Returns
Type Description
QueuedResourceState.FailedData

clear()

public QueuedResourceState.FailedData.Builder clear()
Returns
Type Description
QueuedResourceState.FailedData.Builder
Overrides

clearError()

public QueuedResourceState.FailedData.Builder clearError()

The error that caused the queued resource to enter the FAILED state.

.google.rpc.Status error = 1;

Returns
Type Description
QueuedResourceState.FailedData.Builder

clearField(Descriptors.FieldDescriptor field)

public QueuedResourceState.FailedData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QueuedResourceState.FailedData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueuedResourceState.FailedData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QueuedResourceState.FailedData.Builder
Overrides

clone()

public QueuedResourceState.FailedData.Builder clone()
Returns
Type Description
QueuedResourceState.FailedData.Builder
Overrides

getDefaultInstanceForType()

public QueuedResourceState.FailedData getDefaultInstanceForType()
Returns
Type Description
QueuedResourceState.FailedData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getError()

public Status getError()

The error that caused the queued resource to enter the FAILED state.

.google.rpc.Status error = 1;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

The error that caused the queued resource to enter the FAILED state.

.google.rpc.Status error = 1;

Returns
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

The error that caused the queued resource to enter the FAILED state.

.google.rpc.Status error = 1;

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasError()

public boolean hasError()

The error that caused the queued resource to enter the FAILED state.

.google.rpc.Status error = 1;

Returns
Type Description
boolean

Whether the error 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 QueuedResourceState.FailedData.Builder mergeError(Status value)

The error that caused the queued resource to enter the FAILED state.

.google.rpc.Status error = 1;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
QueuedResourceState.FailedData.Builder

mergeFrom(QueuedResourceState.FailedData other)

public QueuedResourceState.FailedData.Builder mergeFrom(QueuedResourceState.FailedData other)
Parameter
Name Description
other QueuedResourceState.FailedData
Returns
Type Description
QueuedResourceState.FailedData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public QueuedResourceState.FailedData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueuedResourceState.FailedData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResourceState.FailedData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueuedResourceState.FailedData.Builder
Overrides

setError(Status value)

public QueuedResourceState.FailedData.Builder setError(Status value)

The error that caused the queued resource to enter the FAILED state.

.google.rpc.Status error = 1;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
QueuedResourceState.FailedData.Builder

setError(Status.Builder builderForValue)

public QueuedResourceState.FailedData.Builder setError(Status.Builder builderForValue)

The error that caused the queued resource to enter the FAILED state.

.google.rpc.Status error = 1;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
QueuedResourceState.FailedData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueuedResourceState.FailedData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueuedResourceState.FailedData.Builder
Overrides

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

public QueuedResourceState.FailedData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QueuedResourceState.FailedData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResourceState.FailedData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueuedResourceState.FailedData.Builder
Overrides