private EnumOptions generateEnumOptions(Enum e) { EnumOptions.Builder builder = EnumOptions.newBuilder(); setOptions(builder, e.getOptionsList(), ENUM_OPTION_NAME_PREFIX); return builder.build(); }
/** Get the {@code EnumOptions}, defined in {@code descriptor.proto}. */ public EnumOptions getOptions() { return proto.getOptions(); }
/** * Get the {@code EnumOptions}, defined in {@code descriptor.proto}. */ public EnumOptions getOptions () { return proto.getOptions (); }
public EnumOptions.Builder getEnumOptions() { return currentScope.getEnumOptions(); }
protected EnumOptions.Builder getEnumOptions() { throw new RuntimeException(NOT_APPLICABLE_IN_CURRENT_SCOPE); }
@Override protected EnumOptions.Builder getEnumOptions() { return protoBuilder.getOptionsBuilder(); }