public static final class Scalapb.ScalaPbOptions extends com.google.protobuf.GeneratedMessageV3 implements Scalapb.ScalaPbOptionsOrBuilder
scalapb.ScalaPbOptions
Modifier and Type | Class and Description |
---|---|
static class |
Scalapb.ScalaPbOptions.Builder
Protobuf type
scalapb.ScalaPbOptions |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
FLAT_PACKAGE_FIELD_NUMBER |
static int |
IMPORT_FIELD_NUMBER |
static int |
PACKAGE_NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<Scalapb.ScalaPbOptions> |
PARSER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Scalapb.ScalaPbOptions |
getDefaultInstance() |
Scalapb.ScalaPbOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Scalapb.ScalaPbOptions> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasFlatPackage()
If true, the compiler does not append the proto base file name
into the generated package name.
|
int |
hashCode() |
boolean |
hasPackageName()
If set then it overrides the java_package and package.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Scalapb.ScalaPbOptions.Builder |
newBuilder() |
static Scalapb.ScalaPbOptions.Builder |
newBuilder(Scalapb.ScalaPbOptions prototype) |
Scalapb.ScalaPbOptions.Builder |
newBuilderForType() |
protected Scalapb.ScalaPbOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Scalapb.ScalaPbOptions |
parseDelimitedFrom(InputStream input) |
static Scalapb.ScalaPbOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Scalapb.ScalaPbOptions |
parseFrom(byte[] data) |
static Scalapb.ScalaPbOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Scalapb.ScalaPbOptions |
parseFrom(ByteBuffer data) |
static Scalapb.ScalaPbOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Scalapb.ScalaPbOptions |
parseFrom(com.google.protobuf.ByteString data) |
static Scalapb.ScalaPbOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Scalapb.ScalaPbOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Scalapb.ScalaPbOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Scalapb.ScalaPbOptions |
parseFrom(InputStream input) |
static Scalapb.ScalaPbOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Scalapb.ScalaPbOptions> |
parser() |
Scalapb.ScalaPbOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int PACKAGE_NAME_FIELD_NUMBER
public static final int FLAT_PACKAGE_FIELD_NUMBER
public static final int IMPORT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Scalapb.ScalaPbOptions> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Scalapb.ScalaPbOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Scalapb.ScalaPbOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Scalapb.ScalaPbOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Scalapb.ScalaPbOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Scalapb.ScalaPbOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Scalapb.ScalaPbOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Scalapb.ScalaPbOptions parseFrom(InputStream input) throws IOException
IOException
public static Scalapb.ScalaPbOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Scalapb.ScalaPbOptions parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Scalapb.ScalaPbOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Scalapb.ScalaPbOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Scalapb.ScalaPbOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Scalapb.ScalaPbOptions.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Scalapb.ScalaPbOptions.Builder newBuilder()
public static Scalapb.ScalaPbOptions.Builder newBuilder(Scalapb.ScalaPbOptions prototype)
public Scalapb.ScalaPbOptions.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Scalapb.ScalaPbOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Scalapb.ScalaPbOptions getDefaultInstance()
public static com.google.protobuf.Parser<Scalapb.ScalaPbOptions> parser()
public com.google.protobuf.Parser<Scalapb.ScalaPbOptions> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Scalapb.ScalaPbOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018. All rights reserved.