Class StringEnumValue (2.8.6)

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
NameDescription
constantString

Methods

equals(Object that)

public boolean equals(Object that)
Parameter
NameDescription
thatObject
Returns
TypeDescription
boolean
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

name()

public String name()
Returns
TypeDescription
String

toString()

public String toString()
Returns
TypeDescription
String
Overrides