Class QueuedResourceState (2.48.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
Type Description
int

ACTIVE_DATA_FIELD_NUMBER

public static final int ACTIVE_DATA_FIELD_NUMBER
Field Value
Type Description
int

CREATING_DATA_FIELD_NUMBER

public static final int CREATING_DATA_FIELD_NUMBER
Field Value
Type Description
int

DELETING_DATA_FIELD_NUMBER

public static final int DELETING_DATA_FIELD_NUMBER
Field Value
Type Description
int

FAILED_DATA_FIELD_NUMBER

public static final int FAILED_DATA_FIELD_NUMBER
Field Value
Type Description
int

PROVISIONING_DATA_FIELD_NUMBER

public static final int PROVISIONING_DATA_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STATE_INITIATOR_FIELD_NUMBER

public static final int STATE_INITIATOR_FIELD_NUMBER
Field Value
Type Description
int

SUSPENDED_DATA_FIELD_NUMBER

public static final int SUSPENDED_DATA_FIELD_NUMBER
Field Value
Type Description
int

SUSPENDING_DATA_FIELD_NUMBER

public static final int SUSPENDING_DATA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QueuedResourceState getDefaultInstance()
Returns
Type Description
QueuedResourceState

getDescriptor()

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

newBuilder()

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

newBuilder(QueuedResourceState prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAcceptedData()

public QueuedResourceState.AcceptedData getAcceptedData()

Further data for the accepted state.

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

Returns
Type Description
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
Type Description
QueuedResourceState.AcceptedDataOrBuilder

getActiveData()

public QueuedResourceState.ActiveData getActiveData()

Further data for the active state.

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

Returns
Type Description
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
Type Description
QueuedResourceState.ActiveDataOrBuilder

getCreatingData()

public QueuedResourceState.CreatingData getCreatingData()

Further data for the creating state.

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

Returns
Type Description
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
Type Description
QueuedResourceState.CreatingDataOrBuilder

getDefaultInstanceForType()

public QueuedResourceState getDefaultInstanceForType()
Returns
Type Description
QueuedResourceState

getDeletingData()

public QueuedResourceState.DeletingData getDeletingData()

Further data for the deleting state.

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

Returns
Type Description
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
Type Description
QueuedResourceState.DeletingDataOrBuilder

getFailedData()

public QueuedResourceState.FailedData getFailedData()

Further data for the failed state.

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

Returns
Type Description
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
Type Description
QueuedResourceState.FailedDataOrBuilder

getParserForType()

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

getProvisioningData()

public QueuedResourceState.ProvisioningData getProvisioningData()

Further data for the provisioning state.

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

Returns
Type Description
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
Type Description
QueuedResourceState.ProvisioningDataOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public QueuedResourceState.State getState()

State of the QueuedResource request.

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

Returns
Type Description
QueuedResourceState.State

The state.

getStateDataCase()

public QueuedResourceState.StateDataCase getStateDataCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
QueuedResourceState.SuspendedDataOrBuilder

getSuspendingData()

public QueuedResourceState.SuspendingData getSuspendingData()

Further data for the suspending state.

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

Returns
Type Description
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
Type Description
QueuedResourceState.SuspendingDataOrBuilder

hasAcceptedData()

public boolean hasAcceptedData()

Further data for the accepted state.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueuedResourceState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QueuedResourceState.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.Builder toBuilder()
Returns
Type Description
QueuedResourceState.Builder

writeTo(CodedOutputStream output)

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