Interface EnumValueOrBuilder (0.47.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
Type Description
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
Type Description
ByteString

The bytes for value.