Package com.google.protobuf
Class DescriptorProtos.FileOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<DescriptorProtos.FileOptions>
-
- com.google.protobuf.DescriptorProtos.FileOptions
-
- All Implemented Interfaces:
DescriptorProtos.FileOptionsOrBuilder,GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.FileOptions>,Message,MessageLite,MessageLiteOrBuilder,MessageOrBuilder,java.io.Serializable
- Enclosing class:
- DescriptorProtos
public static final class DescriptorProtos.FileOptions extends GeneratedMessageV3.ExtendableMessage<DescriptorProtos.FileOptions> implements DescriptorProtos.FileOptionsOrBuilder
Protobuf typegoogle.protobuf.FileOptions- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDescriptorProtos.FileOptions.BuilderProtobuf typegoogle.protobuf.FileOptionsstatic classDescriptorProtos.FileOptions.OptimizeModeProtobuf enumgoogle.protobuf.FileOptions.OptimizeMode-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
GeneratedMessageV3.ExtendableMessage.ExtensionWriter
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
-
Field Summary
Fields Modifier and Type Field Description static intCC_ENABLE_ARENAS_FIELD_NUMBERstatic intCC_GENERIC_SERVICES_FIELD_NUMBERstatic intCSHARP_NAMESPACE_FIELD_NUMBERstatic intDEPRECATED_FIELD_NUMBERstatic intGO_PACKAGE_FIELD_NUMBERstatic intJAVA_GENERATE_EQUALS_AND_HASH_FIELD_NUMBERstatic intJAVA_GENERIC_SERVICES_FIELD_NUMBERstatic intJAVA_MULTIPLE_FILES_FIELD_NUMBERstatic intJAVA_OUTER_CLASSNAME_FIELD_NUMBERstatic intJAVA_PACKAGE_FIELD_NUMBERstatic intJAVA_STRING_CHECK_UTF8_FIELD_NUMBERstatic intOBJC_CLASS_PREFIX_FIELD_NUMBERstatic intOPTIMIZE_FOR_FIELD_NUMBERstatic Parser<DescriptorProtos.FileOptions>PARSERDeprecated.static intPHP_CLASS_PREFIX_FIELD_NUMBERstatic intPHP_GENERIC_SERVICES_FIELD_NUMBERstatic intPHP_METADATA_NAMESPACE_FIELD_NUMBERstatic intPHP_NAMESPACE_FIELD_NUMBERstatic intPY_GENERIC_SERVICES_FIELD_NUMBERstatic intRUBY_PACKAGE_FIELD_NUMBERstatic intSWIFT_PREFIX_FIELD_NUMBERstatic intUNINTERPRETED_OPTION_FIELD_NUMBER-
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
-
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
-
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 booleanequals(java.lang.Object obj)Compares the specified object with this message for equality.booleangetCcEnableArenas()optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];booleangetCcGenericServices()optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];java.lang.StringgetCsharpNamespace()optional string csharp_namespace = 37 [json_name = "csharpNamespace"];ByteStringgetCsharpNamespaceBytes()optional string csharp_namespace = 37 [json_name = "csharpNamespace"];static DescriptorProtos.FileOptionsgetDefaultInstance()DescriptorProtos.FileOptionsgetDefaultInstanceForType()Get an instance of the type with no fields set.booleangetDeprecated()optional bool deprecated = 23 [default = false, json_name = "deprecated"];static Descriptors.DescriptorgetDescriptor()java.lang.StringgetGoPackage()optional string go_package = 11 [json_name = "goPackage"];ByteStringgetGoPackageBytes()optional string go_package = 11 [json_name = "goPackage"];booleangetJavaGenerateEqualsAndHash()Deprecated.google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.booleangetJavaGenericServices()optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];booleangetJavaMultipleFiles()optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];java.lang.StringgetJavaOuterClassname()optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];ByteStringgetJavaOuterClassnameBytes()optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];java.lang.StringgetJavaPackage()optional string java_package = 1 [json_name = "javaPackage"];ByteStringgetJavaPackageBytes()optional string java_package = 1 [json_name = "javaPackage"];booleangetJavaStringCheckUtf8()optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];java.lang.StringgetObjcClassPrefix()optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];ByteStringgetObjcClassPrefixBytes()optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];DescriptorProtos.FileOptions.OptimizeModegetOptimizeFor()optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];Parser<DescriptorProtos.FileOptions>getParserForType()Gets the parser for a message of the same type as this message.java.lang.StringgetPhpClassPrefix()optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];ByteStringgetPhpClassPrefixBytes()optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];booleangetPhpGenericServices()optional bool php_generic_services = 42 [default = false, json_name = "phpGenericServices"];java.lang.StringgetPhpMetadataNamespace()optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];ByteStringgetPhpMetadataNamespaceBytes()optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];java.lang.StringgetPhpNamespace()optional string php_namespace = 41 [json_name = "phpNamespace"];ByteStringgetPhpNamespaceBytes()optional string php_namespace = 41 [json_name = "phpNamespace"];booleangetPyGenericServices()optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];java.lang.StringgetRubyPackage()optional string ruby_package = 45 [json_name = "rubyPackage"];ByteStringgetRubyPackageBytes()optional string ruby_package = 45 [json_name = "rubyPackage"];intgetSerializedSize()Get the number of bytes required to encode this message.java.lang.StringgetSwiftPrefix()optional string swift_prefix = 39 [json_name = "swiftPrefix"];ByteStringgetSwiftPrefixBytes()optional string swift_prefix = 39 [json_name = "swiftPrefix"];DescriptorProtos.UninterpretedOptiongetUninterpretedOption(int index)repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];intgetUninterpretedOptionCount()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.UninterpretedOptionOrBuildergetUninterpretedOptionOrBuilder(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"];UnknownFieldSetgetUnknownFields()Get theUnknownFieldSetfor this message.booleanhasCcEnableArenas()optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];booleanhasCcGenericServices()optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];booleanhasCsharpNamespace()optional string csharp_namespace = 37 [json_name = "csharpNamespace"];booleanhasDeprecated()optional bool deprecated = 23 [default = false, json_name = "deprecated"];booleanhasGoPackage()optional string go_package = 11 [json_name = "goPackage"];inthashCode()Returns the hash code value for this message.booleanhasJavaGenerateEqualsAndHash()Deprecated.google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.booleanhasJavaGenericServices()optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];booleanhasJavaMultipleFiles()optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];booleanhasJavaOuterClassname()optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];booleanhasJavaPackage()optional string java_package = 1 [json_name = "javaPackage"];booleanhasJavaStringCheckUtf8()optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];booleanhasObjcClassPrefix()optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];booleanhasOptimizeFor()optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];booleanhasPhpClassPrefix()optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];booleanhasPhpGenericServices()optional bool php_generic_services = 42 [default = false, json_name = "phpGenericServices"];booleanhasPhpMetadataNamespace()optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];booleanhasPhpNamespace()optional string php_namespace = 41 [json_name = "phpNamespace"];booleanhasPyGenericServices()optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];booleanhasRubyPackage()optional string ruby_package = 45 [json_name = "rubyPackage"];booleanhasSwiftPrefix()optional string swift_prefix = 39 [json_name = "swiftPrefix"];protected GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()Get the FieldAccessorTable for this type.booleanisInitialized()Returns true if all required fields in the message and all embedded messages are set, false otherwise.static DescriptorProtos.FileOptions.BuildernewBuilder()static DescriptorProtos.FileOptions.BuildernewBuilder(DescriptorProtos.FileOptions prototype)DescriptorProtos.FileOptions.BuildernewBuilderForType()Constructs a new builder for a message of the same type as this message.protected DescriptorProtos.FileOptions.BuildernewBuilderForType(GeneratedMessageV3.BuilderParent parent)TODO(xiaofeng): remove this together with GeneratedMessageV3.BuilderParent.protected java.lang.ObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameter unused)Creates a new instance of this message type.static DescriptorProtos.FileOptionsparseDelimitedFrom(java.io.InputStream input)static DescriptorProtos.FileOptionsparseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileOptionsparseFrom(byte[] data)static DescriptorProtos.FileOptionsparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileOptionsparseFrom(ByteString data)static DescriptorProtos.FileOptionsparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileOptionsparseFrom(CodedInputStream input)static DescriptorProtos.FileOptionsparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileOptionsparseFrom(java.io.InputStream input)static DescriptorProtos.FileOptionsparseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)static DescriptorProtos.FileOptionsparseFrom(java.nio.ByteBuffer data)static DescriptorProtos.FileOptionsparseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry)static Parser<DescriptorProtos.FileOptions>parser()DescriptorProtos.FileOptions.BuildertoBuilder()Constructs a builder initialized with the current message.voidwriteTo(CodedOutputStream output)Serializes the message and writes it tooutput.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
-
-
-
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
-
PHP_GENERIC_SERVICES_FIELD_NUMBER
public static final int PHP_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
-
UNINTERPRETED_OPTION_FIELD_NUMBER
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final Parser<DescriptorProtos.FileOptions> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Description copied from class:GeneratedMessageV3Creates a new instance of this message type. Overridden in the generated code.- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
public final UnknownFieldSet getUnknownFields()
Description copied from interface:MessageOrBuilderGet theUnknownFieldSetfor this message.- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Description copied from class:GeneratedMessageV3Get the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
hasJavaPackage
public boolean hasJavaPackage()
optional string java_package = 1 [json_name = "javaPackage"];- Specified by:
hasJavaPackagein 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:
getJavaPackagein interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The javaPackage.
-
getJavaPackageBytes
public ByteString getJavaPackageBytes()
optional string java_package = 1 [json_name = "javaPackage"];- Specified by:
getJavaPackageBytesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The bytes for javaPackage.
-
hasJavaOuterClassname
public boolean hasJavaOuterClassname()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];- Specified by:
hasJavaOuterClassnamein 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:
getJavaOuterClassnamein interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The javaOuterClassname.
-
getJavaOuterClassnameBytes
public ByteString getJavaOuterClassnameBytes()
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];- Specified by:
getJavaOuterClassnameBytesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The bytes for javaOuterClassname.
-
hasJavaMultipleFiles
public boolean hasJavaMultipleFiles()
optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];- Specified by:
hasJavaMultipleFilesin 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:
getJavaMultipleFilesin 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:
hasJavaGenerateEqualsAndHashin 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:
getJavaGenerateEqualsAndHashin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The javaGenerateEqualsAndHash.
-
hasJavaStringCheckUtf8
public boolean hasJavaStringCheckUtf8()
optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];- Specified by:
hasJavaStringCheckUtf8in 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:
getJavaStringCheckUtf8in interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The javaStringCheckUtf8.
-
hasOptimizeFor
public boolean hasOptimizeFor()
optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];- Specified by:
hasOptimizeForin 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:
getOptimizeForin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The optimizeFor.
-
hasGoPackage
public boolean hasGoPackage()
optional string go_package = 11 [json_name = "goPackage"];- Specified by:
hasGoPackagein 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:
getGoPackagein interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The goPackage.
-
getGoPackageBytes
public ByteString getGoPackageBytes()
optional string go_package = 11 [json_name = "goPackage"];- Specified by:
getGoPackageBytesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The bytes for goPackage.
-
hasCcGenericServices
public boolean hasCcGenericServices()
optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];- Specified by:
hasCcGenericServicesin 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:
getCcGenericServicesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The ccGenericServices.
-
hasJavaGenericServices
public boolean hasJavaGenericServices()
optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];- Specified by:
hasJavaGenericServicesin 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:
getJavaGenericServicesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The javaGenericServices.
-
hasPyGenericServices
public boolean hasPyGenericServices()
optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];- Specified by:
hasPyGenericServicesin 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:
getPyGenericServicesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The pyGenericServices.
-
hasPhpGenericServices
public boolean hasPhpGenericServices()
optional bool php_generic_services = 42 [default = false, json_name = "phpGenericServices"];- Specified by:
hasPhpGenericServicesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- Whether the phpGenericServices field is set.
-
getPhpGenericServices
public boolean getPhpGenericServices()
optional bool php_generic_services = 42 [default = false, json_name = "phpGenericServices"];- Specified by:
getPhpGenericServicesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The phpGenericServices.
-
hasDeprecated
public boolean hasDeprecated()
optional bool deprecated = 23 [default = false, json_name = "deprecated"];- Specified by:
hasDeprecatedin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public boolean getDeprecated()
optional bool deprecated = 23 [default = false, json_name = "deprecated"];- Specified by:
getDeprecatedin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The deprecated.
-
hasCcEnableArenas
public boolean hasCcEnableArenas()
optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];- Specified by:
hasCcEnableArenasin 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:
getCcEnableArenasin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The ccEnableArenas.
-
hasObjcClassPrefix
public boolean hasObjcClassPrefix()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];- Specified by:
hasObjcClassPrefixin 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:
getObjcClassPrefixin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The objcClassPrefix.
-
getObjcClassPrefixBytes
public ByteString getObjcClassPrefixBytes()
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];- Specified by:
getObjcClassPrefixBytesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The bytes for objcClassPrefix.
-
hasCsharpNamespace
public boolean hasCsharpNamespace()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];- Specified by:
hasCsharpNamespacein 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:
getCsharpNamespacein interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The csharpNamespace.
-
getCsharpNamespaceBytes
public ByteString getCsharpNamespaceBytes()
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];- Specified by:
getCsharpNamespaceBytesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The bytes for csharpNamespace.
-
hasSwiftPrefix
public boolean hasSwiftPrefix()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];- Specified by:
hasSwiftPrefixin 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:
getSwiftPrefixin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The swiftPrefix.
-
getSwiftPrefixBytes
public ByteString getSwiftPrefixBytes()
optional string swift_prefix = 39 [json_name = "swiftPrefix"];- Specified by:
getSwiftPrefixBytesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The bytes for swiftPrefix.
-
hasPhpClassPrefix
public boolean hasPhpClassPrefix()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];- Specified by:
hasPhpClassPrefixin 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:
getPhpClassPrefixin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The phpClassPrefix.
-
getPhpClassPrefixBytes
public ByteString getPhpClassPrefixBytes()
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];- Specified by:
getPhpClassPrefixBytesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The bytes for phpClassPrefix.
-
hasPhpNamespace
public boolean hasPhpNamespace()
optional string php_namespace = 41 [json_name = "phpNamespace"];- Specified by:
hasPhpNamespacein 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:
getPhpNamespacein interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The phpNamespace.
-
getPhpNamespaceBytes
public ByteString getPhpNamespaceBytes()
optional string php_namespace = 41 [json_name = "phpNamespace"];- Specified by:
getPhpNamespaceBytesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The bytes for phpNamespace.
-
hasPhpMetadataNamespace
public boolean hasPhpMetadataNamespace()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];- Specified by:
hasPhpMetadataNamespacein 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:
getPhpMetadataNamespacein interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The phpMetadataNamespace.
-
getPhpMetadataNamespaceBytes
public ByteString getPhpMetadataNamespaceBytes()
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];- Specified by:
getPhpMetadataNamespaceBytesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The bytes for phpMetadataNamespace.
-
hasRubyPackage
public boolean hasRubyPackage()
optional string ruby_package = 45 [json_name = "rubyPackage"];- Specified by:
hasRubyPackagein 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:
getRubyPackagein interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The rubyPackage.
-
getRubyPackageBytes
public ByteString getRubyPackageBytes()
optional string ruby_package = 45 [json_name = "rubyPackage"];- Specified by:
getRubyPackageBytesin interfaceDescriptorProtos.FileOptionsOrBuilder- Returns:
- The bytes for rubyPackage.
-
getUninterpretedOptionList
public java.util.List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];- Specified by:
getUninterpretedOptionListin interfaceDescriptorProtos.FileOptionsOrBuilder
-
getUninterpretedOptionOrBuilderList
public java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];- Specified by:
getUninterpretedOptionOrBuilderListin interfaceDescriptorProtos.FileOptionsOrBuilder
-
getUninterpretedOptionCount
public int getUninterpretedOptionCount()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];- Specified by:
getUninterpretedOptionCountin interfaceDescriptorProtos.FileOptionsOrBuilder
-
getUninterpretedOption
public DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];- Specified by:
getUninterpretedOptionin interfaceDescriptorProtos.FileOptionsOrBuilder
-
getUninterpretedOptionOrBuilder
public DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];- Specified by:
getUninterpretedOptionOrBuilderin interfaceDescriptorProtos.FileOptionsOrBuilder
-
isInitialized
public final boolean isInitialized()
Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.ExtendableMessage<DescriptorProtos.FileOptions>
-
writeTo
public void writeTo(CodedOutputStream output) throws java.io.IOException
Description copied from interface:MessageLiteSerializes the message and writes it tooutput. This does not flush or close the stream.- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
Description copied from interface:MessageLiteGet the number of bytes required to encode this message. The result is only computed on the first call and memoized after that. If this message requires more than Integer.MAX_VALUE bytes to encode, the return value will be smaller than the actual number of bytes required and might be negative.- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
Description copied from interface:MessageCompares the specified object with this message for equality. Returnstrueif the given object is a message of the same type (as defined bygetDescriptorForType()) and has identical values for all of its fields. Subclasses must implement this; inheritingObject.equals()is incorrect.- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage- Parameters:
obj- object to be compared for equality with this message- Returns:
trueif the specified object is equal to this message
-
hashCode
public int hashCode()
Description copied from interface:MessageReturns the hash code value for this message. The hash code of a message should mix the message's type (object identity of the descriptor) with its contents (known and unknown field values). Subclasses must implement this; inheritingObject.hashCode()is incorrect.- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage- Returns:
- the hash code value for this message
- See Also:
Map.hashCode()
-
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
-
newBuilderForType
public DescriptorProtos.FileOptions.Builder newBuilderForType()
Description copied from interface:MessageLiteConstructs a new builder for a message of the same type as this message.- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
public static DescriptorProtos.FileOptions.Builder newBuilder()
-
newBuilder
public static DescriptorProtos.FileOptions.Builder newBuilder(DescriptorProtos.FileOptions prototype)
-
toBuilder
public DescriptorProtos.FileOptions.Builder toBuilder()
Description copied from interface:MessageLiteConstructs a builder initialized with the current message. Use this to derive a new message from the current one.- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected DescriptorProtos.FileOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Description copied from class:GeneratedMessageV3TODO(xiaofeng): remove this together with GeneratedMessageV3.BuilderParent.- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
public static DescriptorProtos.FileOptions getDefaultInstance()
-
parser
public static Parser<DescriptorProtos.FileOptions> parser()
-
getParserForType
public Parser<DescriptorProtos.FileOptions> getParserForType()
Description copied from interface:MessageLiteGets the parser for a message of the same type as this message.- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
public DescriptorProtos.FileOptions getDefaultInstanceForType()
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceGeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.FileOptions>- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
-