Class StringEnumValue

java.lang.Object
com.google.cloud.StringEnumValue
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Identity.Type

public abstract class StringEnumValue extends Object implements Serializable
This represents a specific instance of a concept having a known set of acceptable String values, which can expand later due to new API features. Standard Java enums can't be used in such a context.
See Also:
  • Constructor Details

    • StringEnumValue

      @InternalApi("This class should only be extended within google-cloud-java") protected StringEnumValue(String constant)
      Don't create subclasses outside of google-cloud-java.
  • Method Details