Possible states an environment might transition between during startup.
These states are not normally actionable by clients, but may be used to
show a progress message to the user. An environment won't necessarily go
through all of these states when starting. More states are likely to be
added in the future.
Startup is waiting for compute resources to be assigned to the
environment. This should normally happen very quickly, but an environment
might stay in this state for an extended period of time if the system is
experiencing heavy load.
AWAITING_COMPUTE_RESOURCES = 4;
AWAITING_COMPUTE_RESOURCES_VALUE
Startup is waiting for compute resources to be assigned to the
environment. This should normally happen very quickly, but an environment
might stay in this state for an extended period of time if the system is
experiencing heavy load.
AWAITING_COMPUTE_RESOURCES = 4;
FINISHED
Startup has completed. If the start operation was successful, the user
should be able to establish an SSH connection to their environment.
Otherwise, the operation will contain details of the failure.
FINISHED = 3;
FINISHED_VALUE
Startup has completed. If the start operation was successful, the user
should be able to establish an SSH connection to their environment.
Otherwise, the operation will contain details of the failure.
FINISHED = 3;
STARTING
The environment is in the process of being started, but no additional
details are available.
STARTING = 1;
STARTING_VALUE
The environment is in the process of being started, but no additional
details are available.
STARTING = 1;
STATE_UNSPECIFIED
The environment's start state is unknown.
STATE_UNSPECIFIED = 0;
STATE_UNSPECIFIED_VALUE
The environment's start state is unknown.
STATE_UNSPECIFIED = 0;
UNARCHIVING_DISK
Startup is waiting for the user's disk to be unarchived. This can happen
when the user returns to Cloud Shell after not having used it for a
while, and suggests that startup will take longer than normal.
UNARCHIVING_DISK = 2;
UNARCHIVING_DISK_VALUE
Startup is waiting for the user's disk to be unarchived. This can happen
when the user returns to Cloud Shell after not having used it for a
while, and suggests that startup will take longer than normal.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Enum StartEnvironmentMetadata.State (2.71.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.71.0 (latest)](/java/docs/reference/google-cloud-shell/latest/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.69.0](/java/docs/reference/google-cloud-shell/2.69.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.67.0](/java/docs/reference/google-cloud-shell/2.67.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.66.0](/java/docs/reference/google-cloud-shell/2.66.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.63.0](/java/docs/reference/google-cloud-shell/2.63.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.62.0](/java/docs/reference/google-cloud-shell/2.62.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.61.0](/java/docs/reference/google-cloud-shell/2.61.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.59.0](/java/docs/reference/google-cloud-shell/2.59.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.58.0](/java/docs/reference/google-cloud-shell/2.58.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.57.0](/java/docs/reference/google-cloud-shell/2.57.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.56.0](/java/docs/reference/google-cloud-shell/2.56.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.55.0](/java/docs/reference/google-cloud-shell/2.55.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.54.0](/java/docs/reference/google-cloud-shell/2.54.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.53.0](/java/docs/reference/google-cloud-shell/2.53.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.52.0](/java/docs/reference/google-cloud-shell/2.52.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.51.0](/java/docs/reference/google-cloud-shell/2.51.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.50.0](/java/docs/reference/google-cloud-shell/2.50.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.48.0](/java/docs/reference/google-cloud-shell/2.48.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.47.0](/java/docs/reference/google-cloud-shell/2.47.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.46.0](/java/docs/reference/google-cloud-shell/2.46.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.45.0](/java/docs/reference/google-cloud-shell/2.45.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.44.0](/java/docs/reference/google-cloud-shell/2.44.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.43.0](/java/docs/reference/google-cloud-shell/2.43.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.42.0](/java/docs/reference/google-cloud-shell/2.42.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.41.0](/java/docs/reference/google-cloud-shell/2.41.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.40.0](/java/docs/reference/google-cloud-shell/2.40.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.39.0](/java/docs/reference/google-cloud-shell/2.39.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.38.0](/java/docs/reference/google-cloud-shell/2.38.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.36.0](/java/docs/reference/google-cloud-shell/2.36.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.35.0](/java/docs/reference/google-cloud-shell/2.35.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.34.0](/java/docs/reference/google-cloud-shell/2.34.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.33.0](/java/docs/reference/google-cloud-shell/2.33.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.32.0](/java/docs/reference/google-cloud-shell/2.32.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.31.0](/java/docs/reference/google-cloud-shell/2.31.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.30.0](/java/docs/reference/google-cloud-shell/2.30.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.29.0](/java/docs/reference/google-cloud-shell/2.29.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.28.0](/java/docs/reference/google-cloud-shell/2.28.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.27.0](/java/docs/reference/google-cloud-shell/2.27.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.26.0](/java/docs/reference/google-cloud-shell/2.26.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.23.0](/java/docs/reference/google-cloud-shell/2.23.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.22.0](/java/docs/reference/google-cloud-shell/2.22.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.21.0](/java/docs/reference/google-cloud-shell/2.21.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.20.0](/java/docs/reference/google-cloud-shell/2.20.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.19.0](/java/docs/reference/google-cloud-shell/2.19.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.18.0](/java/docs/reference/google-cloud-shell/2.18.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.17.0](/java/docs/reference/google-cloud-shell/2.17.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.16.0](/java/docs/reference/google-cloud-shell/2.16.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.15.0](/java/docs/reference/google-cloud-shell/2.15.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.14.0](/java/docs/reference/google-cloud-shell/2.14.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.13.0](/java/docs/reference/google-cloud-shell/2.13.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.12.0](/java/docs/reference/google-cloud-shell/2.12.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.11.0](/java/docs/reference/google-cloud-shell/2.11.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.10.0](/java/docs/reference/google-cloud-shell/2.10.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.8.0](/java/docs/reference/google-cloud-shell/2.8.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.7.0](/java/docs/reference/google-cloud-shell/2.7.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.6.0](/java/docs/reference/google-cloud-shell/2.6.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.5.0](/java/docs/reference/google-cloud-shell/2.5.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.4.0](/java/docs/reference/google-cloud-shell/2.4.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.3.0](/java/docs/reference/google-cloud-shell/2.3.0/com.google.cloud.shell.v1.StartEnvironmentMetadata.State)\n- [2.1.11](/java/docs/reference/google-cloud-shell/2.1.11/com.google.cloud.shell.v1.StartEnvironmentMetadata.State) \n\n public enum StartEnvironmentMetadata.State extends Enum\u003cStartEnvironmentMetadata.State\u003e implements ProtocolMessageEnum\n\nPossible states an environment might transition between during startup.\nThese states are not normally actionable by clients, but may be used to\nshow a progress message to the user. An environment won't necessarily go\nthrough all of these states when starting. More states are likely to be\nadded in the future.\n\nProtobuf enum `google.cloud.shell.v1.StartEnvironmentMetadata.State` \n\nImplements\n----------\n\n[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html) \n\nInherited Members\n-----------------\n\n[Enum.\\\u003cT\\\u003evalueOf(Class\\\u003cT\\\u003e,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) \n[Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) \n[Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) \n[Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) \n[Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) \n[Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) \n[Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) \n[Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) \n[Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) \n[Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)"]]