Package com.google.protobuf
Class DescriptorProtos.FileOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.ExtendableMessage<DescriptorProtos.FileOptions,DescriptorProtos.FileOptions.Builder>
-
- com.google.protobuf.DescriptorProtos.FileOptions
-
- All Implemented Interfaces:
DescriptorProtos.FileOptionsOrBuilder
,GeneratedMessageLite.ExtendableMessageOrBuilder<DescriptorProtos.FileOptions,DescriptorProtos.FileOptions.Builder>
,MessageLite
,MessageLiteOrBuilder
- Enclosing class:
- DescriptorProtos
public static final class DescriptorProtos.FileOptions extends GeneratedMessageLite.ExtendableMessage<DescriptorProtos.FileOptions,DescriptorProtos.FileOptions.Builder> implements DescriptorProtos.FileOptionsOrBuilder
Protobuf typegoogle.protobuf.FileOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DescriptorProtos.FileOptions.Builder
Protobuf typegoogle.protobuf.FileOptions
static class
DescriptorProtos.FileOptions.OptimizeMode
Protobuf enumgoogle.protobuf.FileOptions.OptimizeMode
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableMessage
GeneratedMessageLite.ExtendableMessage.ExtensionWriter
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
GeneratedMessageLite.DefaultInstanceBasedParser<T extends GeneratedMessageLite<T,?>>, GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>, GeneratedMessageLite.MethodToInvoke, GeneratedMessageLite.SerializedForm
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
-
Field Summary
Fields Modifier and Type Field Description static int
CC_ENABLE_ARENAS_FIELD_NUMBER
static int
CC_GENERIC_SERVICES_FIELD_NUMBER
static int
CSHARP_NAMESPACE_FIELD_NUMBER
static int
DEPRECATED_FIELD_NUMBER
static int
FEATURES_FIELD_NUMBER
static int
GO_PACKAGE_FIELD_NUMBER
static int
JAVA_GENERATE_EQUALS_AND_HASH_FIELD_NUMBER
static int
JAVA_GENERIC_SERVICES_FIELD_NUMBER
static int
JAVA_MULTIPLE_FILES_FIELD_NUMBER
static int
JAVA_OUTER_CLASSNAME_FIELD_NUMBER
static int
JAVA_PACKAGE_FIELD_NUMBER
static int
JAVA_STRING_CHECK_UTF8_FIELD_NUMBER
static int
OBJC_CLASS_PREFIX_FIELD_NUMBER
static int
OPTIMIZE_FOR_FIELD_NUMBER
static int
PHP_CLASS_PREFIX_FIELD_NUMBER
static int
PHP_METADATA_NAMESPACE_FIELD_NUMBER
static int
PHP_NAMESPACE_FIELD_NUMBER
static int
PY_GENERIC_SERVICES_FIELD_NUMBER
static int
RUBY_PACKAGE_FIELD_NUMBER
static int
SWIFT_PREFIX_FIELD_NUMBER
static int
UNINTERPRETED_OPTION_FIELD_NUMBER
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableMessage
extensions
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
-
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.lang.Object
dynamicMethod(GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)
A method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke
.boolean
getCcEnableArenas()
optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
boolean
getCcGenericServices()
optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
java.lang.String
getCsharpNamespace()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
ByteString
getCsharpNamespaceBytes()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
static DescriptorProtos.FileOptions
getDefaultInstance()
boolean
getDeprecated()
optional bool deprecated = 23 [default = false, json_name = "deprecated"];
DescriptorProtos.FeatureSet
getFeatures()
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
java.lang.String
getGoPackage()
optional string go_package = 11 [json_name = "goPackage"];
ByteString
getGoPackageBytes()
optional string go_package = 11 [json_name = "goPackage"];
boolean
getJavaGenerateEqualsAndHash()
Deprecated.google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.boolean
getJavaGenericServices()
optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
boolean
getJavaMultipleFiles()
optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
java.lang.String
getJavaOuterClassname()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
ByteString
getJavaOuterClassnameBytes()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
java.lang.String
getJavaPackage()
optional string java_package = 1 [json_name = "javaPackage"];
ByteString
getJavaPackageBytes()
optional string java_package = 1 [json_name = "javaPackage"];
boolean
getJavaStringCheckUtf8()
optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
java.lang.String
getObjcClassPrefix()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
ByteString
getObjcClassPrefixBytes()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
DescriptorProtos.FileOptions.OptimizeMode
getOptimizeFor()
optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
java.lang.String
getPhpClassPrefix()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
ByteString
getPhpClassPrefixBytes()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
java.lang.String
getPhpMetadataNamespace()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
ByteString
getPhpMetadataNamespaceBytes()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
java.lang.String
getPhpNamespace()
optional string php_namespace = 41 [json_name = "phpNamespace"];
ByteString
getPhpNamespaceBytes()
optional string php_namespace = 41 [json_name = "phpNamespace"];
boolean
getPyGenericServices()
optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
java.lang.String
getRubyPackage()
optional string ruby_package = 45 [json_name = "rubyPackage"];
ByteString
getRubyPackageBytes()
optional string ruby_package = 45 [json_name = "rubyPackage"];
java.lang.String
getSwiftPrefix()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
ByteString
getSwiftPrefixBytes()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
DescriptorProtos.UninterpretedOption
getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
int
getUninterpretedOptionCount()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
java.util.List<DescriptorProtos.UninterpretedOption>
getUninterpretedOptionList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
DescriptorProtos.UninterpretedOptionOrBuilder
getUninterpretedOptionOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder>
getUninterpretedOptionOrBuilderList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
boolean
hasCcEnableArenas()
optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
boolean
hasCcGenericServices()
optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
boolean
hasCsharpNamespace()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
boolean
hasDeprecated()
optional bool deprecated = 23 [default = false, json_name = "deprecated"];
boolean
hasFeatures()
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
boolean
hasGoPackage()
optional string go_package = 11 [json_name = "goPackage"];
boolean
hasJavaGenerateEqualsAndHash()
Deprecated.google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.boolean
hasJavaGenericServices()
optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
boolean
hasJavaMultipleFiles()
optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
boolean
hasJavaOuterClassname()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
boolean
hasJavaPackage()
optional string java_package = 1 [json_name = "javaPackage"];
boolean
hasJavaStringCheckUtf8()
optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
boolean
hasObjcClassPrefix()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
boolean
hasOptimizeFor()
optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
boolean
hasPhpClassPrefix()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
boolean
hasPhpMetadataNamespace()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
boolean
hasPhpNamespace()
optional string php_namespace = 41 [json_name = "phpNamespace"];
boolean
hasPyGenericServices()
optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
boolean
hasRubyPackage()
optional string ruby_package = 45 [json_name = "rubyPackage"];
boolean
hasSwiftPrefix()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
static DescriptorProtos.FileOptions.Builder
newBuilder()
static DescriptorProtos.FileOptions.Builder
newBuilder(DescriptorProtos.FileOptions prototype)
static DescriptorProtos.FileOptions
parseDelimitedFrom(java.io.InputStream input)
static DescriptorProtos.FileOptions
parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FileOptions
parseFrom(byte[] data)
static DescriptorProtos.FileOptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FileOptions
parseFrom(ByteString data)
static DescriptorProtos.FileOptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FileOptions
parseFrom(CodedInputStream input)
static DescriptorProtos.FileOptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FileOptions
parseFrom(java.io.InputStream input)
static DescriptorProtos.FileOptions
parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)
static DescriptorProtos.FileOptions
parseFrom(java.nio.ByteBuffer data)
static DescriptorProtos.FileOptions
parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry)
static Parser<DescriptorProtos.FileOptions>
parser()
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getExtension, getExtension, getExtensionCount, hasExtension, mergeExtensionFields, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldAsMessageSet
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Field Detail
-
JAVA_PACKAGE_FIELD_NUMBER
public static final int JAVA_PACKAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JAVA_OUTER_CLASSNAME_FIELD_NUMBER
public static final int JAVA_OUTER_CLASSNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JAVA_MULTIPLE_FILES_FIELD_NUMBER
public static final int JAVA_MULTIPLE_FILES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JAVA_GENERATE_EQUALS_AND_HASH_FIELD_NUMBER
public static final int JAVA_GENERATE_EQUALS_AND_HASH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JAVA_STRING_CHECK_UTF8_FIELD_NUMBER
public static final int JAVA_STRING_CHECK_UTF8_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIMIZE_FOR_FIELD_NUMBER
public static final int OPTIMIZE_FOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GO_PACKAGE_FIELD_NUMBER
public static final int GO_PACKAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CC_GENERIC_SERVICES_FIELD_NUMBER
public static final int CC_GENERIC_SERVICES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JAVA_GENERIC_SERVICES_FIELD_NUMBER
public static final int JAVA_GENERIC_SERVICES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PY_GENERIC_SERVICES_FIELD_NUMBER
public static final int PY_GENERIC_SERVICES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPRECATED_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CC_ENABLE_ARENAS_FIELD_NUMBER
public static final int CC_ENABLE_ARENAS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBJC_CLASS_PREFIX_FIELD_NUMBER
public static final int OBJC_CLASS_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CSHARP_NAMESPACE_FIELD_NUMBER
public static final int CSHARP_NAMESPACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SWIFT_PREFIX_FIELD_NUMBER
public static final int SWIFT_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHP_CLASS_PREFIX_FIELD_NUMBER
public static final int PHP_CLASS_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHP_NAMESPACE_FIELD_NUMBER
public static final int PHP_NAMESPACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHP_METADATA_NAMESPACE_FIELD_NUMBER
public static final int PHP_METADATA_NAMESPACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUBY_PACKAGE_FIELD_NUMBER
public static final int RUBY_PACKAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNINTERPRETED_OPTION_FIELD_NUMBER
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasJavaPackage
public boolean hasJavaPackage()
optional string java_package = 1 [json_name = "javaPackage"];
- Specified by:
hasJavaPackage
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the javaPackage field is set.
-
getJavaPackage
public java.lang.String getJavaPackage()
optional string java_package = 1 [json_name = "javaPackage"];
- Specified by:
getJavaPackage
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The javaPackage.
-
getJavaPackageBytes
public ByteString getJavaPackageBytes()
optional string java_package = 1 [json_name = "javaPackage"];
- Specified by:
getJavaPackageBytes
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The bytes for javaPackage.
-
hasJavaOuterClassname
public boolean hasJavaOuterClassname()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
- Specified by:
hasJavaOuterClassname
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the javaOuterClassname field is set.
-
getJavaOuterClassname
public java.lang.String getJavaOuterClassname()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
- Specified by:
getJavaOuterClassname
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The javaOuterClassname.
-
getJavaOuterClassnameBytes
public ByteString getJavaOuterClassnameBytes()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
- Specified by:
getJavaOuterClassnameBytes
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The bytes for javaOuterClassname.
-
hasJavaMultipleFiles
public boolean hasJavaMultipleFiles()
optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
- Specified by:
hasJavaMultipleFiles
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the javaMultipleFiles field is set.
-
getJavaMultipleFiles
public boolean getJavaMultipleFiles()
optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
- Specified by:
getJavaMultipleFiles
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The javaMultipleFiles.
-
hasJavaGenerateEqualsAndHash
@Deprecated public boolean hasJavaGenerateEqualsAndHash()
Deprecated.google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated. See google/protobuf/descriptor.proto;l=0optional bool java_generate_equals_and_hash = 20 [json_name = "javaGenerateEqualsAndHash", deprecated = true];
- Specified by:
hasJavaGenerateEqualsAndHash
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the javaGenerateEqualsAndHash field is set.
-
getJavaGenerateEqualsAndHash
@Deprecated public boolean getJavaGenerateEqualsAndHash()
Deprecated.google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated. See google/protobuf/descriptor.proto;l=0optional bool java_generate_equals_and_hash = 20 [json_name = "javaGenerateEqualsAndHash", deprecated = true];
- Specified by:
getJavaGenerateEqualsAndHash
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The javaGenerateEqualsAndHash.
-
hasJavaStringCheckUtf8
public boolean hasJavaStringCheckUtf8()
optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
- Specified by:
hasJavaStringCheckUtf8
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the javaStringCheckUtf8 field is set.
-
getJavaStringCheckUtf8
public boolean getJavaStringCheckUtf8()
optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
- Specified by:
getJavaStringCheckUtf8
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The javaStringCheckUtf8.
-
hasOptimizeFor
public boolean hasOptimizeFor()
optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
- Specified by:
hasOptimizeFor
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the optimizeFor field is set.
-
getOptimizeFor
public DescriptorProtos.FileOptions.OptimizeMode getOptimizeFor()
optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
- Specified by:
getOptimizeFor
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The optimizeFor.
-
hasGoPackage
public boolean hasGoPackage()
optional string go_package = 11 [json_name = "goPackage"];
- Specified by:
hasGoPackage
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the goPackage field is set.
-
getGoPackage
public java.lang.String getGoPackage()
optional string go_package = 11 [json_name = "goPackage"];
- Specified by:
getGoPackage
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The goPackage.
-
getGoPackageBytes
public ByteString getGoPackageBytes()
optional string go_package = 11 [json_name = "goPackage"];
- Specified by:
getGoPackageBytes
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The bytes for goPackage.
-
hasCcGenericServices
public boolean hasCcGenericServices()
optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
- Specified by:
hasCcGenericServices
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the ccGenericServices field is set.
-
getCcGenericServices
public boolean getCcGenericServices()
optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
- Specified by:
getCcGenericServices
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The ccGenericServices.
-
hasJavaGenericServices
public boolean hasJavaGenericServices()
optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
- Specified by:
hasJavaGenericServices
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the javaGenericServices field is set.
-
getJavaGenericServices
public boolean getJavaGenericServices()
optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
- Specified by:
getJavaGenericServices
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The javaGenericServices.
-
hasPyGenericServices
public boolean hasPyGenericServices()
optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
- Specified by:
hasPyGenericServices
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the pyGenericServices field is set.
-
getPyGenericServices
public boolean getPyGenericServices()
optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
- Specified by:
getPyGenericServices
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The pyGenericServices.
-
hasDeprecated
public boolean hasDeprecated()
optional bool deprecated = 23 [default = false, json_name = "deprecated"];
- Specified by:
hasDeprecated
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public boolean getDeprecated()
optional bool deprecated = 23 [default = false, json_name = "deprecated"];
- Specified by:
getDeprecated
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The deprecated.
-
hasCcEnableArenas
public boolean hasCcEnableArenas()
optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
- Specified by:
hasCcEnableArenas
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the ccEnableArenas field is set.
-
getCcEnableArenas
public boolean getCcEnableArenas()
optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
- Specified by:
getCcEnableArenas
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The ccEnableArenas.
-
hasObjcClassPrefix
public boolean hasObjcClassPrefix()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
- Specified by:
hasObjcClassPrefix
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the objcClassPrefix field is set.
-
getObjcClassPrefix
public java.lang.String getObjcClassPrefix()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
- Specified by:
getObjcClassPrefix
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The objcClassPrefix.
-
getObjcClassPrefixBytes
public ByteString getObjcClassPrefixBytes()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
- Specified by:
getObjcClassPrefixBytes
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The bytes for objcClassPrefix.
-
hasCsharpNamespace
public boolean hasCsharpNamespace()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
- Specified by:
hasCsharpNamespace
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the csharpNamespace field is set.
-
getCsharpNamespace
public java.lang.String getCsharpNamespace()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
- Specified by:
getCsharpNamespace
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The csharpNamespace.
-
getCsharpNamespaceBytes
public ByteString getCsharpNamespaceBytes()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
- Specified by:
getCsharpNamespaceBytes
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The bytes for csharpNamespace.
-
hasSwiftPrefix
public boolean hasSwiftPrefix()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
- Specified by:
hasSwiftPrefix
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the swiftPrefix field is set.
-
getSwiftPrefix
public java.lang.String getSwiftPrefix()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
- Specified by:
getSwiftPrefix
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The swiftPrefix.
-
getSwiftPrefixBytes
public ByteString getSwiftPrefixBytes()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
- Specified by:
getSwiftPrefixBytes
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The bytes for swiftPrefix.
-
hasPhpClassPrefix
public boolean hasPhpClassPrefix()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
- Specified by:
hasPhpClassPrefix
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the phpClassPrefix field is set.
-
getPhpClassPrefix
public java.lang.String getPhpClassPrefix()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
- Specified by:
getPhpClassPrefix
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The phpClassPrefix.
-
getPhpClassPrefixBytes
public ByteString getPhpClassPrefixBytes()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
- Specified by:
getPhpClassPrefixBytes
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The bytes for phpClassPrefix.
-
hasPhpNamespace
public boolean hasPhpNamespace()
optional string php_namespace = 41 [json_name = "phpNamespace"];
- Specified by:
hasPhpNamespace
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the phpNamespace field is set.
-
getPhpNamespace
public java.lang.String getPhpNamespace()
optional string php_namespace = 41 [json_name = "phpNamespace"];
- Specified by:
getPhpNamespace
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The phpNamespace.
-
getPhpNamespaceBytes
public ByteString getPhpNamespaceBytes()
optional string php_namespace = 41 [json_name = "phpNamespace"];
- Specified by:
getPhpNamespaceBytes
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The bytes for phpNamespace.
-
hasPhpMetadataNamespace
public boolean hasPhpMetadataNamespace()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
- Specified by:
hasPhpMetadataNamespace
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the phpMetadataNamespace field is set.
-
getPhpMetadataNamespace
public java.lang.String getPhpMetadataNamespace()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
- Specified by:
getPhpMetadataNamespace
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The phpMetadataNamespace.
-
getPhpMetadataNamespaceBytes
public ByteString getPhpMetadataNamespaceBytes()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
- Specified by:
getPhpMetadataNamespaceBytes
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The bytes for phpMetadataNamespace.
-
hasRubyPackage
public boolean hasRubyPackage()
optional string ruby_package = 45 [json_name = "rubyPackage"];
- Specified by:
hasRubyPackage
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the rubyPackage field is set.
-
getRubyPackage
public java.lang.String getRubyPackage()
optional string ruby_package = 45 [json_name = "rubyPackage"];
- Specified by:
getRubyPackage
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The rubyPackage.
-
getRubyPackageBytes
public ByteString getRubyPackageBytes()
optional string ruby_package = 45 [json_name = "rubyPackage"];
- Specified by:
getRubyPackageBytes
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The bytes for rubyPackage.
-
hasFeatures
public boolean hasFeatures()
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
- Specified by:
hasFeatures
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- Whether the features field is set.
-
getFeatures
public DescriptorProtos.FeatureSet getFeatures()
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
- Specified by:
getFeatures
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The features.
-
getUninterpretedOptionList
public java.util.List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
- Specified by:
getUninterpretedOptionList
in interfaceDescriptorProtos.FileOptionsOrBuilder
-
getUninterpretedOptionOrBuilderList
public java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
getUninterpretedOptionCount
public int getUninterpretedOptionCount()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
- Specified by:
getUninterpretedOptionCount
in interfaceDescriptorProtos.FileOptionsOrBuilder
-
getUninterpretedOption
public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
- Specified by:
getUninterpretedOption
in interfaceDescriptorProtos.FileOptionsOrBuilder
-
getUninterpretedOptionOrBuilder
public DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(ByteString data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.FileOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static DescriptorProtos.FileOptions parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static DescriptorProtos.FileOptions.Builder newBuilder()
-
newBuilder
public static DescriptorProtos.FileOptions.Builder newBuilder(DescriptorProtos.FileOptions prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)
Description copied from class:GeneratedMessageLite
A method that implements different types of operations described inGeneratedMessageLite.MethodToInvoke
. These different kinds of operations are required to implement message-level operations for builders in the runtime. This method bundles those operations to reduce the generated methods count.NEW_INSTANCE
returns a new instance of the protocol buffer that has not yet been made immutable. SeeMAKE_IMMUTABLE
.IS_INITIALIZED
returnsnull
for false and the default instance for true. It doesn't use or modify any memoized value.GET_MEMOIZED_IS_INITIALIZED
returns the memoizedisInitialized
byte value.SET_MEMOIZED_IS_INITIALIZED
sets the memoizedisInitialized
byte value to 1 if the first parameter is not null, or to 0 if the first parameter is null.NEW_BUILDER
returns aBuilderType
instance.
For use by generated code only.
- Specified by:
dynamicMethod
in classGeneratedMessageLite<DescriptorProtos.FileOptions,DescriptorProtos.FileOptions.Builder>
-
getDefaultInstance
public static DescriptorProtos.FileOptions getDefaultInstance()
-
parser
public static Parser<DescriptorProtos.FileOptions> parser()
-
-