Enum PluginProtos.CodeGeneratorResponse.Feature (3.19.4)

public enum PluginProtos.CodeGeneratorResponse.Feature extends Enum<PluginProtos.CodeGeneratorResponse.Feature> implements ProtocolMessageEnum

Sync with code_generator.h.

Protobuf enum google.protobuf.compiler.CodeGeneratorResponse.Feature

Implements

ProtocolMessageEnum

Static Fields

NameDescription
FEATURE_NONE

FEATURE_NONE = 0;

FEATURE_NONE_VALUE

FEATURE_NONE = 0;

FEATURE_PROTO3_OPTIONAL

FEATURE_PROTO3_OPTIONAL = 1;

FEATURE_PROTO3_OPTIONAL_VALUE

FEATURE_PROTO3_OPTIONAL = 1;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()

Return the enum type's descriptor, which contains information about each defined value, etc.

getNumber()

Return the value's numeric value as defined in the .proto file.

getValueDescriptor()

Return the value's descriptor, which contains information such as value name, number, and type.