Interface EnumValueOrBuilder (0.37.0)

public interface EnumValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getValue()

public abstract String getValue()

String value of the enum field. This must match defined set of enums in document schema using EnumTypeOptions.

string value = 1;

Returns
TypeDescription
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

String value of the enum field. This must match defined set of enums in document schema using EnumTypeOptions.

string value = 1;

Returns
TypeDescription
ByteString

The bytes for value.