Class QueuedResourceState.FailedData (2.53.0)

public static final class QueuedResourceState.FailedData extends GeneratedMessageV3 implements QueuedResourceState.FailedDataOrBuilder

Further data for the failed state.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > QueuedResourceState.FailedData

Static Fields

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QueuedResourceState.FailedData getDefaultInstance()
Returns
Type Description
QueuedResourceState.FailedData

getDescriptor()

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

newBuilder()

public static QueuedResourceState.FailedData.Builder newBuilder()
Returns
Type Description
QueuedResourceState.FailedData.Builder

newBuilder(QueuedResourceState.FailedData prototype)

public static QueuedResourceState.FailedData.Builder newBuilder(QueuedResourceState.FailedData prototype)
Parameter
Name Description
prototype QueuedResourceState.FailedData
Returns
Type Description
QueuedResourceState.FailedData.Builder

parseDelimitedFrom(InputStream input)

public static QueuedResourceState.FailedData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueuedResourceState.FailedData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueuedResourceState.FailedData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResourceState.FailedData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static QueuedResourceState.FailedData parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
QueuedResourceState.FailedData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueuedResourceState.FailedData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResourceState.FailedData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueuedResourceState.FailedData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QueuedResourceState.FailedData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueuedResourceState.FailedData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResourceState.FailedData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueuedResourceState.FailedData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QueuedResourceState.FailedData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueuedResourceState.FailedData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResourceState.FailedData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static QueuedResourceState.FailedData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueuedResourceState.FailedData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueuedResourceState.FailedData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResourceState.FailedData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static QueuedResourceState.FailedData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QueuedResourceState.FailedData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueuedResourceState.FailedData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueuedResourceState.FailedData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<QueuedResourceState.FailedData> parser()
Returns
Type Description
Parser<FailedData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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

getParserForType()

public Parser<QueuedResourceState.FailedData> getParserForType()
Returns
Type Description
Parser<FailedData>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public QueuedResourceState.FailedData.Builder newBuilderForType()
Returns
Type Description
QueuedResourceState.FailedData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueuedResourceState.FailedData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QueuedResourceState.FailedData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public QueuedResourceState.FailedData.Builder toBuilder()
Returns
Type Description
QueuedResourceState.FailedData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException