Package com.google.protobuf
Class DescriptorProtos.FileOptions
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<DescriptorProtos.FileOptions>
com.google.protobuf.DescriptorProtos.FileOptions
- All Implemented Interfaces:
DescriptorProtos.FileOptionsOrBuilder
,GeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.FileOptions>
,Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,MessageOrBuilder
,Serializable
- Enclosing class:
DescriptorProtos
public static final class DescriptorProtos.FileOptions
extends GeneratedMessage.ExtendableMessage<DescriptorProtos.FileOptions>
implements DescriptorProtos.FileOptionsOrBuilder
Protobuf type
google.protobuf.FileOptions
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Protobuf typegoogle.protobuf.FileOptions
static enum
Protobuf enumgoogle.protobuf.FileOptions.OptimizeMode
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
GeneratedMessage.ExtendableMessage.ExtensionSerializer, GeneratedMessage.ExtendableMessage.ExtensionWriter
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
GeneratedMessage.ExtendableBuilder<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, GeneratedMessage.ExtendableMessage<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>, GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>, GeneratedMessage.FieldAccessorTable, GeneratedMessage.GeneratedExtension<ContainingT extends Message, T>, GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares the specified object with this message for equality.boolean
optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
boolean
optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
com.google.protobuf.ByteString
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
static DescriptorProtos.FileOptions
boolean
optional bool deprecated = 23 [default = false, json_name = "deprecated"];
static final Descriptors.Descriptor
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
optional string go_package = 11 [json_name = "goPackage"];
com.google.protobuf.ByteString
optional string go_package = 11 [json_name = "goPackage"];
boolean
Deprecated.google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.boolean
optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
boolean
optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
com.google.protobuf.ByteString
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
optional string java_package = 1 [json_name = "javaPackage"];
com.google.protobuf.ByteString
optional string java_package = 1 [json_name = "javaPackage"];
boolean
optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
com.google.protobuf.ByteString
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
com.google.protobuf.Parser
<DescriptorProtos.FileOptions> TODO: Remove this unnecessary intermediate implementation of this method.optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
com.google.protobuf.ByteString
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
com.google.protobuf.ByteString
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
optional string php_namespace = 41 [json_name = "phpNamespace"];
com.google.protobuf.ByteString
optional string php_namespace = 41 [json_name = "phpNamespace"];
boolean
optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
optional string ruby_package = 45 [json_name = "rubyPackage"];
com.google.protobuf.ByteString
optional string ruby_package = 45 [json_name = "rubyPackage"];
int
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
com.google.protobuf.ByteString
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
getUninterpretedOption
(int index) repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
int
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
getUninterpretedOptionOrBuilder
(int index) repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
boolean
optional bool cc_enable_arenas = 31 [default = true, json_name = "ccEnableArenas"];
boolean
optional bool cc_generic_services = 16 [default = false, json_name = "ccGenericServices"];
boolean
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
boolean
optional bool deprecated = 23 [default = false, json_name = "deprecated"];
boolean
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
boolean
optional string go_package = 11 [json_name = "goPackage"];
int
hashCode()
Returns the hash code value for this message.boolean
Deprecated.google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated.boolean
optional bool java_generic_services = 17 [default = false, json_name = "javaGenericServices"];
boolean
optional bool java_multiple_files = 10 [default = false, json_name = "javaMultipleFiles"];
boolean
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
boolean
optional string java_package = 1 [json_name = "javaPackage"];
boolean
optional bool java_string_check_utf8 = 27 [default = false, json_name = "javaStringCheckUtf8"];
boolean
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
boolean
optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED, json_name = "optimizeFor"];
boolean
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
boolean
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
boolean
optional string php_namespace = 41 [json_name = "phpNamespace"];
boolean
optional bool py_generic_services = 18 [default = false, json_name = "pyGenericServices"];
boolean
optional string ruby_package = 45 [json_name = "rubyPackage"];
boolean
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
protected GeneratedMessage.FieldAccessorTable
Get the FieldAccessorTable for this type.final boolean
newBuilder
(DescriptorProtos.FileOptions prototype) protected DescriptorProtos.FileOptions.Builder
Create a nested builder.static DescriptorProtos.FileOptions
parseDelimitedFrom
(InputStream input) static DescriptorProtos.FileOptions
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DescriptorProtos.FileOptions
parseFrom
(byte[] data) static DescriptorProtos.FileOptions
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DescriptorProtos.FileOptions
parseFrom
(com.google.protobuf.ByteString data) static DescriptorProtos.FileOptions
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DescriptorProtos.FileOptions
parseFrom
(com.google.protobuf.CodedInputStream input) static DescriptorProtos.FileOptions
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DescriptorProtos.FileOptions
parseFrom
(InputStream input) static DescriptorProtos.FileOptions
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DescriptorProtos.FileOptions
parseFrom
(ByteBuffer data) static DescriptorProtos.FileOptions
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<DescriptorProtos.FileOptions> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, newExtensionSerializer, newExtensionWriter, newMessageSetExtensionSerializer, newMessageSetExtensionWriter
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, getUnknownFields, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
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.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, 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, getUnknownFields, hasField, hasOneof
-
Field Details
-
JAVA_PACKAGE_FIELD_NUMBER
public static final int JAVA_PACKAGE_FIELD_NUMBER- See Also:
-
JAVA_OUTER_CLASSNAME_FIELD_NUMBER
public static final int JAVA_OUTER_CLASSNAME_FIELD_NUMBER- See Also:
-
JAVA_MULTIPLE_FILES_FIELD_NUMBER
public static final int JAVA_MULTIPLE_FILES_FIELD_NUMBER- See Also:
-
JAVA_GENERATE_EQUALS_AND_HASH_FIELD_NUMBER
public static final int JAVA_GENERATE_EQUALS_AND_HASH_FIELD_NUMBER- See Also:
-
JAVA_STRING_CHECK_UTF8_FIELD_NUMBER
public static final int JAVA_STRING_CHECK_UTF8_FIELD_NUMBER- See Also:
-
OPTIMIZE_FOR_FIELD_NUMBER
public static final int OPTIMIZE_FOR_FIELD_NUMBER- See Also:
-
GO_PACKAGE_FIELD_NUMBER
public static final int GO_PACKAGE_FIELD_NUMBER- See Also:
-
CC_GENERIC_SERVICES_FIELD_NUMBER
public static final int CC_GENERIC_SERVICES_FIELD_NUMBER- See Also:
-
JAVA_GENERIC_SERVICES_FIELD_NUMBER
public static final int JAVA_GENERIC_SERVICES_FIELD_NUMBER- See Also:
-
PY_GENERIC_SERVICES_FIELD_NUMBER
public static final int PY_GENERIC_SERVICES_FIELD_NUMBER- See Also:
-
DEPRECATED_FIELD_NUMBER
public static final int DEPRECATED_FIELD_NUMBER- See Also:
-
CC_ENABLE_ARENAS_FIELD_NUMBER
public static final int CC_ENABLE_ARENAS_FIELD_NUMBER- See Also:
-
OBJC_CLASS_PREFIX_FIELD_NUMBER
public static final int OBJC_CLASS_PREFIX_FIELD_NUMBER- See Also:
-
CSHARP_NAMESPACE_FIELD_NUMBER
public static final int CSHARP_NAMESPACE_FIELD_NUMBER- See Also:
-
SWIFT_PREFIX_FIELD_NUMBER
public static final int SWIFT_PREFIX_FIELD_NUMBER- See Also:
-
PHP_CLASS_PREFIX_FIELD_NUMBER
public static final int PHP_CLASS_PREFIX_FIELD_NUMBER- See Also:
-
PHP_NAMESPACE_FIELD_NUMBER
public static final int PHP_NAMESPACE_FIELD_NUMBER- See Also:
-
PHP_METADATA_NAMESPACE_FIELD_NUMBER
public static final int PHP_METADATA_NAMESPACE_FIELD_NUMBER- See Also:
-
RUBY_PACKAGE_FIELD_NUMBER
public static final int RUBY_PACKAGE_FIELD_NUMBER- See Also:
-
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER- See Also:
-
UNINTERPRETED_OPTION_FIELD_NUMBER
public static final int UNINTERPRETED_OPTION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
Description copied from class:GeneratedMessage
Get 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:
internalGetFieldAccessorTable
in classGeneratedMessage
-
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
optional string java_package = 1 [json_name = "javaPackage"];
- Specified by:
getJavaPackage
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The javaPackage.
-
getJavaPackageBytes
public com.google.protobuf.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
optional string java_outer_classname = 8 [json_name = "javaOuterClassname"];
- Specified by:
getJavaOuterClassname
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The javaOuterClassname.
-
getJavaOuterClassnameBytes
public com.google.protobuf.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.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.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
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
optional string go_package = 11 [json_name = "goPackage"];
- Specified by:
getGoPackage
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The goPackage.
-
getGoPackageBytes
public com.google.protobuf.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
optional string objc_class_prefix = 36 [json_name = "objcClassPrefix"];
- Specified by:
getObjcClassPrefix
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The objcClassPrefix.
-
getObjcClassPrefixBytes
public com.google.protobuf.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
optional string csharp_namespace = 37 [json_name = "csharpNamespace"];
- Specified by:
getCsharpNamespace
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The csharpNamespace.
-
getCsharpNamespaceBytes
public com.google.protobuf.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
optional string swift_prefix = 39 [json_name = "swiftPrefix"];
- Specified by:
getSwiftPrefix
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The swiftPrefix.
-
getSwiftPrefixBytes
public com.google.protobuf.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
optional string php_class_prefix = 40 [json_name = "phpClassPrefix"];
- Specified by:
getPhpClassPrefix
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The phpClassPrefix.
-
getPhpClassPrefixBytes
public com.google.protobuf.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
optional string php_namespace = 41 [json_name = "phpNamespace"];
- Specified by:
getPhpNamespace
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The phpNamespace.
-
getPhpNamespaceBytes
public com.google.protobuf.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
optional string php_metadata_namespace = 44 [json_name = "phpMetadataNamespace"];
- Specified by:
getPhpMetadataNamespace
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The phpMetadataNamespace.
-
getPhpMetadataNamespaceBytes
public com.google.protobuf.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
optional string ruby_package = 45 [json_name = "rubyPackage"];
- Specified by:
getRubyPackage
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The rubyPackage.
-
getRubyPackageBytes
public com.google.protobuf.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
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
- Specified by:
getFeatures
in interfaceDescriptorProtos.FileOptionsOrBuilder
- Returns:
- The features.
-
getFeaturesOrBuilder
optional .google.protobuf.FeatureSet features = 50 [json_name = "features"];
- Specified by:
getFeaturesOrBuilder
in interfaceDescriptorProtos.FileOptionsOrBuilder
-
getUninterpretedOptionList
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
- Specified by:
getUninterpretedOptionList
in interfaceDescriptorProtos.FileOptionsOrBuilder
-
getUninterpretedOptionOrBuilderList
public List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
- Specified by:
getUninterpretedOptionOrBuilderList
in interfaceDescriptorProtos.FileOptionsOrBuilder
-
getUninterpretedOptionCount
public int getUninterpretedOptionCount()repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
- Specified by:
getUninterpretedOptionCount
in interfaceDescriptorProtos.FileOptionsOrBuilder
-
getUninterpretedOption
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
- Specified by:
getUninterpretedOption
in interfaceDescriptorProtos.FileOptionsOrBuilder
-
getUninterpretedOptionOrBuilder
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
- Specified by:
getUninterpretedOptionOrBuilder
in interfaceDescriptorProtos.FileOptionsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessage.ExtendableMessage<DescriptorProtos.FileOptions>
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classGeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classGeneratedMessage
-
equals
Description copied from interface:Message
Compares the specified object with this message for equality. Returnstrue
if 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:
equals
in interfaceMessage
- Overrides:
equals
in classAbstractMessage
- Parameters:
obj
- object to be compared for equality with this message- Returns:
true
if the specified object is equal to this message
-
hashCode
public int hashCode()Description copied from interface:Message
Returns 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:
hashCode
in interfaceMessage
- Overrides:
hashCode
in classAbstractMessage
- Returns:
- the hash code value for this message
- See Also:
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DescriptorProtos.FileOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DescriptorProtos.FileOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfaceMessage
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static DescriptorProtos.FileOptions.Builder newBuilder(DescriptorProtos.FileOptions prototype) -
toBuilder
-
newBuilderForType
protected DescriptorProtos.FileOptions.Builder newBuilderForType(AbstractMessage.BuilderParent parent) Description copied from class:AbstractMessage
Create a nested builder.- Overrides:
newBuilderForType
in classAbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
Description copied from class:GeneratedMessage
TODO: Remove this unnecessary intermediate implementation of this method.- Specified by:
getParserForType
in interfaceMessage
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classGeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceGeneratedMessage.ExtendableMessageOrBuilder<DescriptorProtos.FileOptions>
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-