Package com.google.cloud.tpu.v2alpha1
Class QueuedResourceState
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.tpu.v2alpha1.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.v2alpha1.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 TypeMethodDescriptionbooleanFurther data for the accepted state.Further data for the accepted state.Further data for the active state.Further data for the active state.Further data for the creating state.Further data for the creating state.static QueuedResourceStateFurther data for the deleting state.Further data for the deleting state.static final com.google.protobuf.Descriptors.DescriptorFurther data for the failed state.Further data for the failed state.com.google.protobuf.Parser<QueuedResourceState>Further data for the provisioning state.Further data for the provisioning state.intgetState()State of the QueuedResource request.Output only.intOutput only.intState of the QueuedResource request.Further data for the suspended state.Further data for the suspended state.Further data for the suspending state.Further data for the suspending state.booleanFurther data for the accepted state.booleanFurther data for the active state.booleanFurther data for the creating state.booleanFurther data for the deleting state.booleanFurther data for the failed state.inthashCode()booleanFurther data for the provisioning state.booleanFurther data for the suspended state.booleanFurther data for the suspending state.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()State of the QueuedResource request.
.google.cloud.tpu.v2alpha1.QueuedResourceState.State state = 1;- Specified by:
getStateValuein interfaceQueuedResourceStateOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
State of the QueuedResource request.
.google.cloud.tpu.v2alpha1.QueuedResourceState.State state = 1;- Specified by:
getStatein interfaceQueuedResourceStateOrBuilder- Returns:
- The state.
-
hasCreatingData
public boolean hasCreatingData()Further data for the creating state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;- Specified by:
hasCreatingDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the creatingData field is set.
-
getCreatingData
Further data for the creating state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;- Specified by:
getCreatingDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The creatingData.
-
getCreatingDataOrBuilder
Further data for the creating state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.CreatingData creating_data = 2;- Specified by:
getCreatingDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
hasAcceptedData
public boolean hasAcceptedData()Further data for the accepted state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;- Specified by:
hasAcceptedDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the acceptedData field is set.
-
getAcceptedData
Further data for the accepted state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;- Specified by:
getAcceptedDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The acceptedData.
-
getAcceptedDataOrBuilder
Further data for the accepted state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.AcceptedData accepted_data = 3;- Specified by:
getAcceptedDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
hasProvisioningData
public boolean hasProvisioningData()Further data for the provisioning state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;- Specified by:
hasProvisioningDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the provisioningData field is set.
-
getProvisioningData
Further data for the provisioning state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;- Specified by:
getProvisioningDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The provisioningData.
-
getProvisioningDataOrBuilder
Further data for the provisioning state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.ProvisioningData provisioning_data = 4;- Specified by:
getProvisioningDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
hasFailedData
public boolean hasFailedData()Further data for the failed state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;- Specified by:
hasFailedDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the failedData field is set.
-
getFailedData
Further data for the failed state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;- Specified by:
getFailedDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The failedData.
-
getFailedDataOrBuilder
Further data for the failed state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.FailedData failed_data = 5;- Specified by:
getFailedDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
hasDeletingData
public boolean hasDeletingData()Further data for the deleting state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;- Specified by:
hasDeletingDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the deletingData field is set.
-
getDeletingData
Further data for the deleting state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;- Specified by:
getDeletingDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The deletingData.
-
getDeletingDataOrBuilder
Further data for the deleting state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.DeletingData deleting_data = 6;- Specified by:
getDeletingDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
hasActiveData
public boolean hasActiveData()Further data for the active state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;- Specified by:
hasActiveDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the activeData field is set.
-
getActiveData
Further data for the active state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;- Specified by:
getActiveDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The activeData.
-
getActiveDataOrBuilder
Further data for the active state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.ActiveData active_data = 7;- Specified by:
getActiveDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
hasSuspendingData
public boolean hasSuspendingData()Further data for the suspending state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;- Specified by:
hasSuspendingDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the suspendingData field is set.
-
getSuspendingData
Further data for the suspending state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;- Specified by:
getSuspendingDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The suspendingData.
-
getSuspendingDataOrBuilder
Further data for the suspending state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendingData suspending_data = 8;- Specified by:
getSuspendingDataOrBuilderin interfaceQueuedResourceStateOrBuilder
-
hasSuspendedData
public boolean hasSuspendedData()Further data for the suspended state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;- Specified by:
hasSuspendedDatain interfaceQueuedResourceStateOrBuilder- Returns:
- Whether the suspendedData field is set.
-
getSuspendedData
Further data for the suspended state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;- Specified by:
getSuspendedDatain interfaceQueuedResourceStateOrBuilder- Returns:
- The suspendedData.
-
getSuspendedDataOrBuilder
Further data for the suspended state.
.google.cloud.tpu.v2alpha1.QueuedResourceState.SuspendedData suspended_data = 9;- 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.v2alpha1.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.v2alpha1.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
-