Package com.google.cloud.tpu.v2
Class QueuedResourceState
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.tpu.v2.QueuedResourceState
- All Implemented Interfaces:
QueuedResourceStateOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class QueuedResourceState
extends com.google.protobuf.GeneratedMessage
implements QueuedResourceStateOrBuilder
QueuedResourceState defines the details of the QueuedResource request.Protobuf type
google.cloud.tpu.v2.QueuedResourceState- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFurther data for the accepted state.static interfacestatic final classFurther data for the active state.static interfacestatic final classQueuedResourceState defines the details of the QueuedResource request.static final classFurther data for the creating state.static interfacestatic final classFurther data for the deleting state.static interfacestatic final classFurther data for the failed state.static interfacestatic final classFurther data for the provisioning state.static interfacestatic enumOutput only state of the requeststatic enumstatic enumThe initiator of the QueuedResource's SUSPENDING/SUSPENDED state.static final classFurther data for the suspended state.static interfacestatic final classFurther data for the suspending state.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.Output only.Output only.Output only.Output only.Output only.static QueuedResourceStateOutput only.Output only.static final com.google.protobuf.Descriptors.DescriptorOutput only.Output only.com.google.protobuf.Parser<QueuedResourceState>Output only.Output only.intgetState()Output only.Output only.intOutput only.intOutput only.Output only.Output only.Output only.Output only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic QueuedResourceState.Builderstatic QueuedResourceState.BuildernewBuilder(QueuedResourceState prototype) protected QueuedResourceState.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static QueuedResourceStateparseDelimitedFrom(InputStream input) static QueuedResourceStateparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueuedResourceStateparseFrom(byte[] data) static QueuedResourceStateparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueuedResourceStateparseFrom(com.google.protobuf.ByteString data) static QueuedResourceStateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueuedResourceStateparseFrom(com.google.protobuf.CodedInputStream input) static QueuedResourceStateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueuedResourceStateparseFrom(InputStream input) static QueuedResourceStateparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueuedResourceStateparseFrom(ByteBuffer data) static QueuedResourceStateparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<QueuedResourceState>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
CREATING_DATA_FIELD_NUMBER
public static final int CREATING_DATA_FIELD_NUMBER- See Also:
-
ACCEPTED_DATA_FIELD_NUMBER
public static final int ACCEPTED_DATA_FIELD_NUMBER- See Also:
-
PROVISIONING_DATA_FIELD_NUMBER
public static final int PROVISIONING_DATA_FIELD_NUMBER- See Also:
-
FAILED_DATA_FIELD_NUMBER
public static final int FAILED_DATA_FIELD_NUMBER- See Also:
-
DELETING_DATA_FIELD_NUMBER
public static final int DELETING_DATA_FIELD_NUMBER- See Also:
-
ACTIVE_DATA_FIELD_NUMBER
public static final int ACTIVE_DATA_FIELD_NUMBER- See Also:
-
SUSPENDING_DATA_FIELD_NUMBER
public static final int SUSPENDING_DATA_FIELD_NUMBER- See Also:
-
SUSPENDED_DATA_FIELD_NUMBER
public static final int SUSPENDED_DATA_FIELD_NUMBER- See Also:
-
STATE_INITIATOR_FIELD_NUMBER
public static final int STATE_INITIATOR_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getStateDataCase
- Specified by:
getStateDataCasein interfaceQueuedResourceStateOrBuilder
-
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];- Specified by:
getStateValuein interfaceQueuedResourceStateOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. State of the QueuedResource request.
.google.cloud.tpu.v2.QueuedResourceState.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceQueuedResourceStateOrBuilder- Returns:
- The state.
-
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];- Specified by:
hasCreatingDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the creatingData field is set.
-
getCreatingData
Output only. Further data for the creating state.
.google.cloud.tpu.v2.QueuedResourceState.CreatingData creating_data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreatingDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The creatingData.
-
getCreatingDataOrBuilder
Output only. Further data for the creating state.
.google.cloud.tpu.v2.QueuedResourceState.CreatingData creating_data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreatingDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
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];- Specified by:
hasAcceptedDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the acceptedData field is set.
-
getAcceptedData
Output only. Further data for the accepted state.
.google.cloud.tpu.v2.QueuedResourceState.AcceptedData accepted_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAcceptedDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The acceptedData.
-
getAcceptedDataOrBuilder
Output only. Further data for the accepted state.
.google.cloud.tpu.v2.QueuedResourceState.AcceptedData accepted_data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAcceptedDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
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];- Specified by:
hasProvisioningDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the provisioningData field is set.
-
getProvisioningData
Output only. Further data for the provisioning state.
.google.cloud.tpu.v2.QueuedResourceState.ProvisioningData provisioning_data = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProvisioningDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The provisioningData.
-
getProvisioningDataOrBuilder
Output only. Further data for the provisioning state.
.google.cloud.tpu.v2.QueuedResourceState.ProvisioningData provisioning_data = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProvisioningDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
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];- Specified by:
hasFailedDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the failedData field is set.
-
getFailedData
Output only. Further data for the failed state.
.google.cloud.tpu.v2.QueuedResourceState.FailedData failed_data = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailedDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The failedData.
-
getFailedDataOrBuilder
Output only. Further data for the failed state.
.google.cloud.tpu.v2.QueuedResourceState.FailedData failed_data = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailedDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
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];- Specified by:
hasDeletingDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the deletingData field is set.
-
getDeletingData
Output only. Further data for the deleting state.
.google.cloud.tpu.v2.QueuedResourceState.DeletingData deleting_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeletingDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The deletingData.
-
getDeletingDataOrBuilder
Output only. Further data for the deleting state.
.google.cloud.tpu.v2.QueuedResourceState.DeletingData deleting_data = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeletingDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
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];- Specified by:
hasActiveDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the activeData field is set.
-
getActiveData
Output only. Further data for the active state.
.google.cloud.tpu.v2.QueuedResourceState.ActiveData active_data = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActiveDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The activeData.
-
getActiveDataOrBuilder
Output only. Further data for the active state.
.google.cloud.tpu.v2.QueuedResourceState.ActiveData active_data = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActiveDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
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];- Specified by:
hasSuspendingDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the suspendingData field is set.
-
getSuspendingData
Output only. Further data for the suspending state.
.google.cloud.tpu.v2.QueuedResourceState.SuspendingData suspending_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspendingDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The suspendingData.
-
getSuspendingDataOrBuilder
Output only. Further data for the suspending state.
.google.cloud.tpu.v2.QueuedResourceState.SuspendingData suspending_data = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspendingDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
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];- Specified by:
hasSuspendedDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the suspendedData field is set.
-
getSuspendedData
Output only. Further data for the suspended state.
.google.cloud.tpu.v2.QueuedResourceState.SuspendedData suspended_data = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspendedDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The suspendedData.
-
getSuspendedDataOrBuilder
Output only. Further data for the suspended state.
.google.cloud.tpu.v2.QueuedResourceState.SuspendedData suspended_data = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspendedDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
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];- Specified by:
getStateInitiatorValuein interfaceQueuedResourceStateOrBuilder- Returns:
- The enum numeric value on the wire for 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];- Specified by:
getStateInitiatorin interfaceQueuedResourceStateOrBuilder- Returns:
- The stateInitiator.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static QueuedResourceState parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueuedResourceState parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueuedResourceState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueuedResourceState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueuedResourceState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueuedResourceState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QueuedResourceState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static QueuedResourceState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static QueuedResourceState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static QueuedResourceState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QueuedResourceState.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-