Class PageProcessingOptionsContentLayer
java.lang.Object
com.google.genai.gaos.models.interactions.PageProcessingOptionsContentLayer
Wrapper for an "open" enum that can handle unknown values from API responses
without runtime errors. Instances are immutable singletons with reference equality.
Use
asEnum() for switch expressions.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PageProcessingOptionsContentLayerstatic final PageProcessingOptionsContentLayer -
Method Summary
-
Field Details
-
PAGE_IMAGE
-
PAGE_TEXT
-
-
Method Details
-
of
Returns a PageProcessingOptionsContentLayer 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 PageProcessingOptionsContentLayer
-
value
-
asEnum
-
isKnown
public boolean isKnown() -
hashCode
public int hashCode() -
equals
-
toString
-
values
-