Class QueuedResourceState (2.34.0)

public final class QueuedResourceState extends GeneratedMessageV3 implements QueuedResourceStateOrBuilder

QueuedResourceState defines the details of the QueuedResource request.

Protobuf type google.cloud.tpu.v2alpha1.QueuedResourceState

Static Fields

ACCEPTED_DATA_FIELD_NUMBER

public static final int ACCEPTED_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

ACTIVE_DATA_FIELD_NUMBER

public static final int ACTIVE_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

CREATING_DATA_FIELD_NUMBER

public static final int CREATING_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

DELETING_DATA_FIELD_NUMBER

public static final int DELETING_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

FAILED_DATA_FIELD_NUMBER

public static final int FAILED_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

PROVISIONING_DATA_FIELD_NUMBER

public static final int PROVISIONING_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_INITIATOR_FIELD_NUMBER

public static final int STATE_INITIATOR_FIELD_NUMBER
Field Value
TypeDescription
int

SUSPENDED_DATA_FIELD_NUMBER

public static final int SUSPENDED_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

SUSPENDING_DATA_FIELD_NUMBER

public static final int SUSPENDING_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QueuedResourceState getDefaultInstance()
Returns
TypeDescription
QueuedResourceState

getDescriptor()

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

newBuilder()

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

newBuilder(QueuedResourceState prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAcceptedData()

public QueuedResourceState.AcceptedData getAcceptedData()

Further data for the accepted state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;

Returns
TypeDescription
QueuedResourceState.AcceptedData

The acceptedData.

getAcceptedDataOrBuilder()

public QueuedResourceState.AcceptedDataOrBuilder getAcceptedDataOrBuilder()

Further data for the accepted state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;

Returns
TypeDescription
QueuedResourceState.AcceptedDataOrBuilder

getActiveData()

public QueuedResourceState.ActiveData getActiveData()

Further data for the active state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;

Returns
TypeDescription
QueuedResourceState.ActiveData

The activeData.

getActiveDataOrBuilder()

public QueuedResourceState.ActiveDataOrBuilder getActiveDataOrBuilder()

Further data for the active state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;

Returns
TypeDescription
QueuedResourceState.ActiveDataOrBuilder

getCreatingData()

public QueuedResourceState.CreatingData getCreatingData()

Further data for the creating state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;

Returns
TypeDescription
QueuedResourceState.CreatingData

The creatingData.

getCreatingDataOrBuilder()

public QueuedResourceState.CreatingDataOrBuilder getCreatingDataOrBuilder()

Further data for the creating state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;

Returns
TypeDescription
QueuedResourceState.CreatingDataOrBuilder

getDefaultInstanceForType()

public QueuedResourceState getDefaultInstanceForType()
Returns
TypeDescription
QueuedResourceState

getDeletingData()

public QueuedResourceState.DeletingData getDeletingData()

Further data for the deleting state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;

Returns
TypeDescription
QueuedResourceState.DeletingData

The deletingData.

getDeletingDataOrBuilder()

public QueuedResourceState.DeletingDataOrBuilder getDeletingDataOrBuilder()

Further data for the deleting state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;

Returns
TypeDescription
QueuedResourceState.DeletingDataOrBuilder

getFailedData()

public QueuedResourceState.FailedData getFailedData()

Further data for the failed state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;

Returns
TypeDescription
QueuedResourceState.FailedData

The failedData.

getFailedDataOrBuilder()

public QueuedResourceState.FailedDataOrBuilder getFailedDataOrBuilder()

Further data for the failed state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;

Returns
TypeDescription
QueuedResourceState.FailedDataOrBuilder

getParserForType()

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

getProvisioningData()

public QueuedResourceState.ProvisioningData getProvisioningData()

Further data for the provisioning state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;

Returns
TypeDescription
QueuedResourceState.ProvisioningData

The provisioningData.

getProvisioningDataOrBuilder()

public QueuedResourceState.ProvisioningDataOrBuilder getProvisioningDataOrBuilder()

Further data for the provisioning state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;

Returns
TypeDescription
QueuedResourceState.ProvisioningDataOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public QueuedResourceState.State getState()

State of the QueuedResource request.

.google.cloud.tpu.v2alpha1.QueuedResourceState.State state = 1;

Returns
TypeDescription
QueuedResourceState.State

The state.

getStateDataCase()

public QueuedResourceState.StateDataCase getStateDataCase()
Returns
TypeDescription
QueuedResourceState.StateDataCase

getStateInitiator()

public QueuedResourceState.StateInitiator getStateInitiator()

Output only. The initiator of the QueuedResources's current state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.StateInitiator state_initiator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
QueuedResourceState.StateInitiator

The stateInitiator.

getStateInitiatorValue()

public int getStateInitiatorValue()

Output only. The initiator of the QueuedResources's current state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.StateInitiator state_initiator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for stateInitiator.

getStateValue()

public int getStateValue()

State of the QueuedResource request.

.google.cloud.tpu.v2alpha1.QueuedResourceState.State state = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getSuspendedData()

public QueuedResourceState.SuspendedData getSuspendedData()

Further data for the suspended state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;

Returns
TypeDescription
QueuedResourceState.SuspendedData

The suspendedData.

getSuspendedDataOrBuilder()

public QueuedResourceState.SuspendedDataOrBuilder getSuspendedDataOrBuilder()

Further data for the suspended state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;

Returns
TypeDescription
QueuedResourceState.SuspendedDataOrBuilder

getSuspendingData()

public QueuedResourceState.SuspendingData getSuspendingData()

Further data for the suspending state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;

Returns
TypeDescription
QueuedResourceState.SuspendingData

The suspendingData.

getSuspendingDataOrBuilder()

public QueuedResourceState.SuspendingDataOrBuilder getSuspendingDataOrBuilder()

Further data for the suspending state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;

Returns
TypeDescription
QueuedResourceState.SuspendingDataOrBuilder

hasAcceptedData()

public boolean hasAcceptedData()

Further data for the accepted state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;

Returns
TypeDescription
boolean

Whether the acceptedData field is set.

hasActiveData()

public boolean hasActiveData()

Further data for the active state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;

Returns
TypeDescription
boolean

Whether the activeData field is set.

hasCreatingData()

public boolean hasCreatingData()

Further data for the creating state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;

Returns
TypeDescription
boolean

Whether the creatingData field is set.

hasDeletingData()

public boolean hasDeletingData()

Further data for the deleting state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;

Returns
TypeDescription
boolean

Whether the deletingData field is set.

hasFailedData()

public boolean hasFailedData()

Further data for the failed state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;

Returns
TypeDescription
boolean

Whether the failedData field is set.

hasProvisioningData()

public boolean hasProvisioningData()

Further data for the provisioning state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;

Returns
TypeDescription
boolean

Whether the provisioningData field is set.

hasSuspendedData()

public boolean hasSuspendedData()

Further data for the suspended state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;

Returns
TypeDescription
boolean

Whether the suspendedData field is set.

hasSuspendingData()

public boolean hasSuspendingData()

Further data for the suspending state.

.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;

Returns
TypeDescription
boolean

Whether the suspendingData 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.Builder newBuilderForType()
Returns
TypeDescription
QueuedResourceState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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