Class QueuedResourceState.FailedData.Builder (2.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueuedResourceState.FailedData build()
Returns
TypeDescription
QueuedResourceState.FailedData

buildPartial()

public QueuedResourceState.FailedData buildPartial()
Returns
TypeDescription
QueuedResourceState.FailedData

clear()

public QueuedResourceState.FailedData.Builder clear()
Returns
TypeDescription
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
TypeDescription
QueuedResourceState.FailedData.Builder

clearField(Descriptors.FieldDescriptor field)

public QueuedResourceState.FailedData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QueuedResourceState.FailedData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueuedResourceState.FailedData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
QueuedResourceState.FailedData.Builder
Overrides

clone()

public QueuedResourceState.FailedData.Builder clone()
Returns
TypeDescription
QueuedResourceState.FailedData.Builder
Overrides

getDefaultInstanceForType()

public QueuedResourceState.FailedData getDefaultInstanceForType()
Returns
TypeDescription
QueuedResourceState.FailedData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getError()

public Status getError()

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

.google.rpc.Status error = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

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

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

.google.rpc.Status error = 1;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
QueuedResourceState.FailedData.Builder

mergeFrom(QueuedResourceState.FailedData other)

public QueuedResourceState.FailedData.Builder mergeFrom(QueuedResourceState.FailedData other)
Parameter
NameDescription
otherQueuedResourceState.FailedData
Returns
TypeDescription
QueuedResourceState.FailedData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public QueuedResourceState.FailedData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
QueuedResourceState.FailedData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResourceState.FailedData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
QueuedResourceState.FailedData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueuedResourceState.FailedData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
QueuedResourceState.FailedData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final QueuedResourceState.FailedData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueuedResourceState.FailedData.Builder
Overrides