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
ACTIVE_DATA_FIELD_NUMBER
public static final int ACTIVE_DATA_FIELD_NUMBER
Field Value
CREATING_DATA_FIELD_NUMBER
public static final int CREATING_DATA_FIELD_NUMBER
Field Value
DELETING_DATA_FIELD_NUMBER
public static final int DELETING_DATA_FIELD_NUMBER
Field Value
FAILED_DATA_FIELD_NUMBER
public static final int FAILED_DATA_FIELD_NUMBER
Field Value
PROVISIONING_DATA_FIELD_NUMBER
public static final int PROVISIONING_DATA_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
SUSPENDED_DATA_FIELD_NUMBER
public static final int SUSPENDED_DATA_FIELD_NUMBER
Field Value
SUSPENDING_DATA_FIELD_NUMBER
public static final int SUSPENDING_DATA_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static QueuedResourceState getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static QueuedResourceState.Builder newBuilder()
Returns
newBuilder(QueuedResourceState prototype)
public static QueuedResourceState.Builder newBuilder(QueuedResourceState prototype)
Parameter
Returns
public static QueuedResourceState parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static QueuedResourceState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static QueuedResourceState parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QueuedResourceState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static QueuedResourceState parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueuedResourceState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QueuedResourceState parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static QueuedResourceState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static QueuedResourceState parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static QueuedResourceState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static QueuedResourceState parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QueuedResourceState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<QueuedResourceState> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAcceptedData()
public QueuedResourceState.AcceptedData getAcceptedData()
Further data for the accepted state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;
Returns
getAcceptedDataOrBuilder()
public QueuedResourceState.AcceptedDataOrBuilder getAcceptedDataOrBuilder()
Further data for the accepted state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;
Returns
getActiveData()
public QueuedResourceState.ActiveData getActiveData()
Further data for the active state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;
Returns
getActiveDataOrBuilder()
public QueuedResourceState.ActiveDataOrBuilder getActiveDataOrBuilder()
Further data for the active state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;
Returns
getCreatingData()
public QueuedResourceState.CreatingData getCreatingData()
Further data for the creating state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;
Returns
getCreatingDataOrBuilder()
public QueuedResourceState.CreatingDataOrBuilder getCreatingDataOrBuilder()
Further data for the creating state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;
Returns
getDefaultInstanceForType()
public QueuedResourceState getDefaultInstanceForType()
Returns
getDeletingData()
public QueuedResourceState.DeletingData getDeletingData()
Further data for the deleting state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;
Returns
getDeletingDataOrBuilder()
public QueuedResourceState.DeletingDataOrBuilder getDeletingDataOrBuilder()
Further data for the deleting state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;
Returns
getFailedData()
public QueuedResourceState.FailedData getFailedData()
Further data for the failed state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;
Returns
getFailedDataOrBuilder()
public QueuedResourceState.FailedDataOrBuilder getFailedDataOrBuilder()
Further data for the failed state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;
Returns
getParserForType()
public Parser<QueuedResourceState> getParserForType()
Returns
Overrides
getProvisioningData()
public QueuedResourceState.ProvisioningData getProvisioningData()
Further data for the provisioning state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;
Returns
getProvisioningDataOrBuilder()
public QueuedResourceState.ProvisioningDataOrBuilder getProvisioningDataOrBuilder()
Further data for the provisioning state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public QueuedResourceState.State getState()
State of the QueuedResource request.
.google.cloud.tpu.v2alpha1.QueuedResourceState.State state = 1;
Returns
getStateDataCase()
public QueuedResourceState.StateDataCase getStateDataCase()
Returns
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
getSuspendedDataOrBuilder()
public QueuedResourceState.SuspendedDataOrBuilder getSuspendedDataOrBuilder()
Further data for the suspended state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;
Returns
getSuspendingData()
public QueuedResourceState.SuspendingData getSuspendingData()
Further data for the suspending state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;
Returns
getSuspendingDataOrBuilder()
public QueuedResourceState.SuspendingDataOrBuilder getSuspendingDataOrBuilder()
Further data for the suspending state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public QueuedResourceState.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QueuedResourceState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public QueuedResourceState.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions