Java 类com.google.protobuf.DescriptorProtos.EnumOptions 实例源码

项目:api-compiler    文件:DescriptorGenerator.java   
private EnumOptions generateEnumOptions(Enum e) {
  EnumOptions.Builder builder = EnumOptions.newBuilder();
  setOptions(builder, e.getOptionsList(), ENUM_OPTION_NAME_PREFIX);
  return builder.build();
}
项目:play-store-api    文件:Descriptors.java   
/** Get the {@code EnumOptions}, defined in {@code descriptor.proto}. */
public EnumOptions getOptions() { return proto.getOptions(); }
项目:Beam    文件:Descriptors.java   
/**
 * Get the {@code EnumOptions}, defined in {@code descriptor.proto}.
 */
public EnumOptions getOptions () {
    return proto.getOptions ();
}
项目:protobuf-el    文件:Scopes.java   
public EnumOptions.Builder getEnumOptions() {
  return currentScope.getEnumOptions();
}
项目:protobuf-el    文件:Scopes.java   
protected EnumOptions.Builder getEnumOptions() {
  throw new RuntimeException(NOT_APPLICABLE_IN_CURRENT_SCOPE);
}
项目:protobuf-el    文件:Scopes.java   
@Override
protected EnumOptions.Builder getEnumOptions() {
  return protoBuilder.getOptionsBuilder();
}