public final class QueuedResourceState extends GeneratedMessageV3 implements QueuedResourceStateOrBuilder
QueuedResourceState defines the details of the QueuedResource request.
Protobuf type google.cloud.tpu.v2.QueuedResourceState
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static QueuedResourceState.Builder newBuilder()
newBuilder(QueuedResourceState prototype)
public static QueuedResourceState.Builder newBuilder(QueuedResourceState prototype)
public static QueuedResourceState parseDelimitedFrom(InputStream input)
public static QueuedResourceState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static QueuedResourceState parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QueuedResourceState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static QueuedResourceState parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueuedResourceState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueuedResourceState parseFrom(CodedInputStream input)
public static QueuedResourceState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QueuedResourceState parseFrom(InputStream input)
public static QueuedResourceState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static QueuedResourceState parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QueuedResourceState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<QueuedResourceState> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAcceptedData()
public QueuedResourceState.AcceptedData getAcceptedData()
Output only. Further data for the accepted state.
.google.cloud.tpu.v2.QueuedResourceState.AcceptedData accepted_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAcceptedDataOrBuilder()
public QueuedResourceState.AcceptedDataOrBuilder getAcceptedDataOrBuilder()
Output only. Further data for the accepted state.
.google.cloud.tpu.v2.QueuedResourceState.AcceptedData accepted_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getActiveData()
public QueuedResourceState.ActiveData getActiveData()
Output only. Further data for the active state.
.google.cloud.tpu.v2.QueuedResourceState.ActiveData active_data = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getActiveDataOrBuilder()
public QueuedResourceState.ActiveDataOrBuilder getActiveDataOrBuilder()
Output only. Further data for the active state.
.google.cloud.tpu.v2.QueuedResourceState.ActiveData active_data = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreatingData()
public QueuedResourceState.CreatingData getCreatingData()
Output only. Further data for the creating state.
.google.cloud.tpu.v2.QueuedResourceState.CreatingData creating_data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreatingDataOrBuilder()
public QueuedResourceState.CreatingDataOrBuilder getCreatingDataOrBuilder()
Output only. Further data for the creating state.
.google.cloud.tpu.v2.QueuedResourceState.CreatingData creating_data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public QueuedResourceState getDefaultInstanceForType()
getDeletingData()
public QueuedResourceState.DeletingData getDeletingData()
Output only. Further data for the deleting state.
.google.cloud.tpu.v2.QueuedResourceState.DeletingData deleting_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeletingDataOrBuilder()
public QueuedResourceState.DeletingDataOrBuilder getDeletingDataOrBuilder()
Output only. Further data for the deleting state.
.google.cloud.tpu.v2.QueuedResourceState.DeletingData deleting_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFailedData()
public QueuedResourceState.FailedData getFailedData()
Output only. Further data for the failed state.
.google.cloud.tpu.v2.QueuedResourceState.FailedData failed_data = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFailedDataOrBuilder()
public QueuedResourceState.FailedDataOrBuilder getFailedDataOrBuilder()
Output only. Further data for the failed state.
.google.cloud.tpu.v2.QueuedResourceState.FailedData failed_data = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public Parser<QueuedResourceState> getParserForType()
Overrides
getProvisioningData()
public QueuedResourceState.ProvisioningData getProvisioningData()
Output only. Further data for the provisioning state.
.google.cloud.tpu.v2.QueuedResourceState.ProvisioningData provisioning_data = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getProvisioningDataOrBuilder()
public QueuedResourceState.ProvisioningDataOrBuilder getProvisioningDataOrBuilder()
Output only. Further data for the provisioning state.
.google.cloud.tpu.v2.QueuedResourceState.ProvisioningData provisioning_data = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getState()
public QueuedResourceState.State getState()
Output only. State of the QueuedResource request.
.google.cloud.tpu.v2.QueuedResourceState.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateDataCase()
public QueuedResourceState.StateDataCase getStateDataCase()
getStateInitiator()
public QueuedResourceState.StateInitiator getStateInitiator()
Output only. The initiator of the QueuedResources's current state. Used to
indicate whether the SUSPENDING/SUSPENDED state was initiated by the user
or the service.
.google.cloud.tpu.v2.QueuedResourceState.StateInitiator state_initiator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateInitiatorValue()
public int getStateInitiatorValue()
Output only. The initiator of the QueuedResources's current state. Used to
indicate whether the SUSPENDING/SUSPENDED state was initiated by the user
or the service.
.google.cloud.tpu.v2.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()
Output only. State of the QueuedResource request.
.google.cloud.tpu.v2.QueuedResourceState.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getSuspendedData()
public QueuedResourceState.SuspendedData getSuspendedData()
Output only. Further data for the suspended state.
.google.cloud.tpu.v2.QueuedResourceState.SuspendedData suspended_data = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSuspendedDataOrBuilder()
public QueuedResourceState.SuspendedDataOrBuilder getSuspendedDataOrBuilder()
Output only. Further data for the suspended state.
.google.cloud.tpu.v2.QueuedResourceState.SuspendedData suspended_data = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSuspendingData()
public QueuedResourceState.SuspendingData getSuspendingData()
Output only. Further data for the suspending state.
.google.cloud.tpu.v2.QueuedResourceState.SuspendingData suspending_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSuspendingDataOrBuilder()
public QueuedResourceState.SuspendingDataOrBuilder getSuspendingDataOrBuilder()
Output only. Further data for the suspending state.
.google.cloud.tpu.v2.QueuedResourceState.SuspendingData suspending_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAcceptedData()
public boolean hasAcceptedData()
Output only. Further data for the accepted state.
.google.cloud.tpu.v2.QueuedResourceState.AcceptedData accepted_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the acceptedData field is set.
|
hasActiveData()
public boolean hasActiveData()
Output only. Further data for the active state.
.google.cloud.tpu.v2.QueuedResourceState.ActiveData active_data = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the activeData field is set.
|
hasCreatingData()
public boolean hasCreatingData()
Output only. Further data for the creating state.
.google.cloud.tpu.v2.QueuedResourceState.CreatingData creating_data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the creatingData field is set.
|
hasDeletingData()
public boolean hasDeletingData()
Output only. Further data for the deleting state.
.google.cloud.tpu.v2.QueuedResourceState.DeletingData deleting_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the deletingData field is set.
|
hasFailedData()
public boolean hasFailedData()
Output only. Further data for the failed state.
.google.cloud.tpu.v2.QueuedResourceState.FailedData failed_data = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the failedData field is set.
|
hasProvisioningData()
public boolean hasProvisioningData()
Output only. Further data for the provisioning state.
.google.cloud.tpu.v2.QueuedResourceState.ProvisioningData provisioning_data = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the provisioningData field is set.
|
hasSuspendedData()
public boolean hasSuspendedData()
Output only. Further data for the suspended state.
.google.cloud.tpu.v2.QueuedResourceState.SuspendedData suspended_data = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the suspendedData field is set.
|
hasSuspendingData()
public boolean hasSuspendingData()
Output only. Further data for the suspending state.
.google.cloud.tpu.v2.QueuedResourceState.SuspendingData suspending_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the suspendingData field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public QueuedResourceState.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QueuedResourceState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public QueuedResourceState.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides