public static final class Scalapb.ScalaPbOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder> implements Scalapb.ScalaPbOptionsOrBuilder
scalapb.ScalaPbOptions
Modifier and Type | Method and Description |
---|---|
Scalapb.ScalaPbOptions.Builder |
addAllImport(Iterable<String> values)
Adds the following imports at the top of the file (this is meant
to provide implicit TypeMappers)
|
Scalapb.ScalaPbOptions.Builder |
addImport(String value)
Adds the following imports at the top of the file (this is meant
to provide implicit TypeMappers)
|
Scalapb.ScalaPbOptions.Builder |
addImportBytes(com.google.protobuf.ByteString value)
Adds the following imports at the top of the file (this is meant
to provide implicit TypeMappers)
|
Scalapb.ScalaPbOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Scalapb.ScalaPbOptions |
build() |
Scalapb.ScalaPbOptions |
buildPartial() |
Scalapb.ScalaPbOptions.Builder |
clear() |
Scalapb.ScalaPbOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Scalapb.ScalaPbOptions.Builder |
clearFlatPackage()
If true, the compiler does not append the proto base file name
into the generated package name.
|
Scalapb.ScalaPbOptions.Builder |
clearImport()
Adds the following imports at the top of the file (this is meant
to provide implicit TypeMappers)
|
Scalapb.ScalaPbOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Scalapb.ScalaPbOptions.Builder |
clearPackageName()
If set then it overrides the java_package and package.
|
Scalapb.ScalaPbOptions.Builder |
clone() |
Scalapb.ScalaPbOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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)
|
com.google.protobuf.ProtocolStringList |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Scalapb.ScalaPbOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Scalapb.ScalaPbOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
Scalapb.ScalaPbOptions.Builder |
mergeFrom(Scalapb.ScalaPbOptions other) |
Scalapb.ScalaPbOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Scalapb.ScalaPbOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Scalapb.ScalaPbOptions.Builder |
setFlatPackage(boolean value)
If true, the compiler does not append the proto base file name
into the generated package name.
|
Scalapb.ScalaPbOptions.Builder |
setImport(int index,
String value)
Adds the following imports at the top of the file (this is meant
to provide implicit TypeMappers)
|
Scalapb.ScalaPbOptions.Builder |
setPackageName(String value)
If set then it overrides the java_package and package.
|
Scalapb.ScalaPbOptions.Builder |
setPackageNameBytes(com.google.protobuf.ByteString value)
If set then it overrides the java_package and package.
|
Scalapb.ScalaPbOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Scalapb.ScalaPbOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder>
public Scalapb.ScalaPbOptions.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder>
public Scalapb.ScalaPbOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Scalapb.ScalaPbOptions build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Scalapb.ScalaPbOptions buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Scalapb.ScalaPbOptions.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder>
public Scalapb.ScalaPbOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder>
public Scalapb.ScalaPbOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder>
public Scalapb.ScalaPbOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder>
public Scalapb.ScalaPbOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder>
public Scalapb.ScalaPbOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder>
public Scalapb.ScalaPbOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Scalapb.ScalaPbOptions.Builder>
public Scalapb.ScalaPbOptions.Builder mergeFrom(Scalapb.ScalaPbOptions other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder>
public Scalapb.ScalaPbOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Scalapb.ScalaPbOptions.Builder>
IOException
public boolean hasPackageName()
If set then it overrides the java_package and package.
optional string package_name = 1;
hasPackageName
in interface Scalapb.ScalaPbOptionsOrBuilder
public String getPackageName()
If set then it overrides the java_package and package.
optional string package_name = 1;
getPackageName
in interface Scalapb.ScalaPbOptionsOrBuilder
public com.google.protobuf.ByteString getPackageNameBytes()
If set then it overrides the java_package and package.
optional string package_name = 1;
getPackageNameBytes
in interface Scalapb.ScalaPbOptionsOrBuilder
public Scalapb.ScalaPbOptions.Builder setPackageName(String value)
If set then it overrides the java_package and package.
optional string package_name = 1;
public Scalapb.ScalaPbOptions.Builder clearPackageName()
If set then it overrides the java_package and package.
optional string package_name = 1;
public Scalapb.ScalaPbOptions.Builder setPackageNameBytes(com.google.protobuf.ByteString value)
If set then it overrides the java_package and package.
optional string package_name = 1;
public 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;
hasFlatPackage
in interface Scalapb.ScalaPbOptionsOrBuilder
public 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;
getFlatPackage
in interface Scalapb.ScalaPbOptionsOrBuilder
public Scalapb.ScalaPbOptions.Builder setFlatPackage(boolean value)
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;
public Scalapb.ScalaPbOptions.Builder clearFlatPackage()
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;
public com.google.protobuf.ProtocolStringList getImportList()
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
repeated string import = 3;
getImportList
in interface Scalapb.ScalaPbOptionsOrBuilder
public int getImportCount()
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
repeated string import = 3;
getImportCount
in interface Scalapb.ScalaPbOptionsOrBuilder
public 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;
getImport
in interface Scalapb.ScalaPbOptionsOrBuilder
public 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;
getImportBytes
in interface Scalapb.ScalaPbOptionsOrBuilder
public Scalapb.ScalaPbOptions.Builder setImport(int index, String value)
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
repeated string import = 3;
public Scalapb.ScalaPbOptions.Builder addImport(String value)
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
repeated string import = 3;
public Scalapb.ScalaPbOptions.Builder addAllImport(Iterable<String> values)
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
repeated string import = 3;
public Scalapb.ScalaPbOptions.Builder clearImport()
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
repeated string import = 3;
public Scalapb.ScalaPbOptions.Builder addImportBytes(com.google.protobuf.ByteString value)
Adds the following imports at the top of the file (this is meant to provide implicit TypeMappers)
repeated string import = 3;
public final Scalapb.ScalaPbOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder>
public final Scalapb.ScalaPbOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Scalapb.ScalaPbOptions.Builder>
Copyright © 2018. All rights reserved.