public static interface Scalapb.ScalaPbOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getFlatPackage()
If true, the compiler does not append the proto base file name
into the generated package name.
|
String |
getImport(int index)
Adds the following imports at the top of the file (this is meant
to provide implicit TypeMappers)
|
com.google.protobuf.ByteString |
getImportBytes(int index)
Adds the following imports at the top of the file (this is meant
to provide implicit TypeMappers)
|
int |
getImportCount()
Adds the following imports at the top of the file (this is meant
to provide implicit TypeMappers)
|
List<String> |
getImportList()
Adds the following imports at the top of the file (this is meant
to provide implicit TypeMappers)
|
String |
getPackageName()
If set then it overrides the java_package and package.
|
com.google.protobuf.ByteString |
getPackageNameBytes()
If set then it overrides the java_package and package.
|
boolean |
hasFlatPackage()
If true, the compiler does not append the proto base file name
into the generated package name.
|
boolean |
hasPackageName()
If set then it overrides the java_package and package.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasPackageName()
If set then it overrides the java_package and package.
optional string package_name = 1;
String getPackageName()
If set then it overrides the java_package and package.
optional string package_name = 1;
com.google.protobuf.ByteString getPackageNameBytes()
If set then it overrides the java_package and package.
optional string package_name = 1;
boolean hasFlatPackage()
If true, the compiler does not append the proto base file name into the generated package name. If false (the default), the generated scala package name is the package_name.basename where basename is the proto file name without the .proto extension.
optional bool flat_package = 2;
boolean getFlatPackage()
If true, the compiler does not append the proto base file name into the generated package name. If false (the default), the generated scala package name is the package_name.basename where basename is the proto file name without the .proto extension.
optional bool flat_package = 2;
List<String> getImportList()
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
repeated string import = 3;
int getImportCount()
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
repeated string import = 3;
String getImport(int index)
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
repeated string import = 3;
com.google.protobuf.ByteString getImportBytes(int index)
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
repeated string import = 3;
Copyright © 2018. All rights reserved.