Class EnvironmentMode
java.lang.Object
com.google.genai.gaos.models.interactions.EnvironmentMode
EnvironmentMode
The compute lifecycle mode for an environment.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionasEnum()booleaninthashCode()booleanisKnown()static EnvironmentModeReturns a EnvironmentMode with the given value.toString()value()static EnvironmentMode[]values()
-
Field Details
-
ON_DEMAND
-
SELF_HOSTED
-
-
Method Details
-
of
Returns a EnvironmentMode with the given value. For a specific value the returned object will always be a singleton so reference equality is satisfied when the values are the same.- Parameters:
value- value to be wrapped as EnvironmentMode
-
value
-
asEnum
-
isKnown
public boolean isKnown() -
hashCode
public int hashCode() -
equals
-
toString
-
values
-