Class QueuedResourceState.FailedData (2.22.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static QueuedResourceState.FailedData getDefaultInstance()
Returns
TypeDescription
QueuedResourceState.FailedData

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static QueuedResourceState.FailedData.Builder newBuilder()
Returns
TypeDescription
QueuedResourceState.FailedData.Builder

newBuilder(QueuedResourceState.FailedData prototype)

public static QueuedResourceState.FailedData.Builder newBuilder(QueuedResourceState.FailedData prototype)
Parameter
NameDescription
prototypeQueuedResourceState.FailedData
Returns
TypeDescription
QueuedResourceState.FailedData.Builder

parseDelimitedFrom(InputStream input)

public static QueuedResourceState.FailedData parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueuedResourceState.FailedData
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueuedResourceState.FailedData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResourceState.FailedData
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static QueuedResourceState.FailedData parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
QueuedResourceState.FailedData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueuedResourceState.FailedData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResourceState.FailedData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueuedResourceState.FailedData parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
QueuedResourceState.FailedData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueuedResourceState.FailedData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResourceState.FailedData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueuedResourceState.FailedData parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
QueuedResourceState.FailedData
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueuedResourceState.FailedData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResourceState.FailedData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static QueuedResourceState.FailedData parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueuedResourceState.FailedData
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueuedResourceState.FailedData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResourceState.FailedData
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static QueuedResourceState.FailedData parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
QueuedResourceState.FailedData
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueuedResourceState.FailedData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueuedResourceState.FailedData
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public QueuedResourceState.FailedData.Builder newBuilderForType()
Returns
TypeDescription
QueuedResourceState.FailedData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueuedResourceState.FailedData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
QueuedResourceState.FailedData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public QueuedResourceState.FailedData.Builder toBuilder()
Returns
TypeDescription
QueuedResourceState.FailedData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException