Class StringEnumValue (2.38.1)

public abstract class StringEnumValue 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.

Inheritance

Object > StringEnumValue

Implements

Serializable

Constructors

StringEnumValue(String constant)

protected StringEnumValue(String constant)

Don't create subclasses outside of google-cloud-java.

Parameter
Name Description
constant String

Methods

equals(Object that)

public boolean equals(Object that)
Parameter
Name Description
that Object
Returns
Type Description
boolean
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

name()

public String name()
Returns
Type Description
String

toString()

public String toString()
Returns
Type Description
String
Overrides