Class DescriptorProtos.FileOptions.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileOptions.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.FileOptions.Builder>
      • getDefaultInstanceForType

        public DescriptorProtos.FileOptions getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.FileOptions>
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DescriptorProtos.FileOptions build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DescriptorProtos.FileOptions buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

        public DescriptorProtos.FileOptions.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.FileOptions.Builder>
        Throws:
        IOException
      • hasJavaPackage

        public boolean hasJavaPackage()
         Sets the Java package where classes generated from this .proto will be
         placed.  By default, the proto package is used, but this is often
         inappropriate because proto packages do not normally start with backwards
         domain names.
         
        optional string java_package = 1;
        Specified by:
        hasJavaPackage in interface DescriptorProtos.FileOptionsOrBuilder
      • getJavaPackage

        public String getJavaPackage()
         Sets the Java package where classes generated from this .proto will be
         placed.  By default, the proto package is used, but this is often
         inappropriate because proto packages do not normally start with backwards
         domain names.
         
        optional string java_package = 1;
        Specified by:
        getJavaPackage in interface DescriptorProtos.FileOptionsOrBuilder
      • getJavaPackageBytes

        public com.google.protobuf.ByteString getJavaPackageBytes()
         Sets the Java package where classes generated from this .proto will be
         placed.  By default, the proto package is used, but this is often
         inappropriate because proto packages do not normally start with backwards
         domain names.
         
        optional string java_package = 1;
        Specified by:
        getJavaPackageBytes in interface DescriptorProtos.FileOptionsOrBuilder
      • setJavaPackage

        public DescriptorProtos.FileOptions.Builder setJavaPackage​(String value)
         Sets the Java package where classes generated from this .proto will be
         placed.  By default, the proto package is used, but this is often
         inappropriate because proto packages do not normally start with backwards
         domain names.
         
        optional string java_package = 1;
      • clearJavaPackage

        public DescriptorProtos.FileOptions.Builder clearJavaPackage()
         Sets the Java package where classes generated from this .proto will be
         placed.  By default, the proto package is used, but this is often
         inappropriate because proto packages do not normally start with backwards
         domain names.
         
        optional string java_package = 1;
      • setJavaPackageBytes

        public DescriptorProtos.FileOptions.Builder setJavaPackageBytes​(com.google.protobuf.ByteString value)
         Sets the Java package where classes generated from this .proto will be
         placed.  By default, the proto package is used, but this is often
         inappropriate because proto packages do not normally start with backwards
         domain names.
         
        optional string java_package = 1;
      • hasJavaOuterClassname

        public boolean hasJavaOuterClassname()
         If set, all the classes from the .proto file are wrapped in a single
         outer class with the given name.  This applies to both Proto1
         (equivalent to the old "--one_java_file" option) and Proto2 (where
         a .proto always translates to a single class, but you may want to
         explicitly choose the class name).
         
        optional string java_outer_classname = 8;
        Specified by:
        hasJavaOuterClassname in interface DescriptorProtos.FileOptionsOrBuilder
      • getJavaOuterClassname

        public String getJavaOuterClassname()
         If set, all the classes from the .proto file are wrapped in a single
         outer class with the given name.  This applies to both Proto1
         (equivalent to the old "--one_java_file" option) and Proto2 (where
         a .proto always translates to a single class, but you may want to
         explicitly choose the class name).
         
        optional string java_outer_classname = 8;
        Specified by:
        getJavaOuterClassname in interface DescriptorProtos.FileOptionsOrBuilder
      • getJavaOuterClassnameBytes

        public com.google.protobuf.ByteString getJavaOuterClassnameBytes()
         If set, all the classes from the .proto file are wrapped in a single
         outer class with the given name.  This applies to both Proto1
         (equivalent to the old "--one_java_file" option) and Proto2 (where
         a .proto always translates to a single class, but you may want to
         explicitly choose the class name).
         
        optional string java_outer_classname = 8;
        Specified by:
        getJavaOuterClassnameBytes in interface DescriptorProtos.FileOptionsOrBuilder
      • setJavaOuterClassname

        public DescriptorProtos.FileOptions.Builder setJavaOuterClassname​(String value)
         If set, all the classes from the .proto file are wrapped in a single
         outer class with the given name.  This applies to both Proto1
         (equivalent to the old "--one_java_file" option) and Proto2 (where
         a .proto always translates to a single class, but you may want to
         explicitly choose the class name).
         
        optional string java_outer_classname = 8;
      • clearJavaOuterClassname

        public DescriptorProtos.FileOptions.Builder clearJavaOuterClassname()
         If set, all the classes from the .proto file are wrapped in a single
         outer class with the given name.  This applies to both Proto1
         (equivalent to the old "--one_java_file" option) and Proto2 (where
         a .proto always translates to a single class, but you may want to
         explicitly choose the class name).
         
        optional string java_outer_classname = 8;
      • setJavaOuterClassnameBytes

        public DescriptorProtos.FileOptions.Builder setJavaOuterClassnameBytes​(com.google.protobuf.ByteString value)
         If set, all the classes from the .proto file are wrapped in a single
         outer class with the given name.  This applies to both Proto1
         (equivalent to the old "--one_java_file" option) and Proto2 (where
         a .proto always translates to a single class, but you may want to
         explicitly choose the class name).
         
        optional string java_outer_classname = 8;
      • hasJavaMultipleFiles

        public boolean hasJavaMultipleFiles()
         If set true, then the Java code generator will generate a separate .java
         file for each top-level message, enum, and service defined in the .proto
         file.  Thus, these types will *not* be nested inside the outer class
         named by java_outer_classname.  However, the outer class will still be
         generated to contain the file's getDescriptor() method as well as any
         top-level extensions defined in the file.
         
        optional bool java_multiple_files = 10 [default = false];
        Specified by:
        hasJavaMultipleFiles in interface DescriptorProtos.FileOptionsOrBuilder
      • getJavaMultipleFiles

        public boolean getJavaMultipleFiles()
         If set true, then the Java code generator will generate a separate .java
         file for each top-level message, enum, and service defined in the .proto
         file.  Thus, these types will *not* be nested inside the outer class
         named by java_outer_classname.  However, the outer class will still be
         generated to contain the file's getDescriptor() method as well as any
         top-level extensions defined in the file.
         
        optional bool java_multiple_files = 10 [default = false];
        Specified by:
        getJavaMultipleFiles in interface DescriptorProtos.FileOptionsOrBuilder
      • setJavaMultipleFiles

        public DescriptorProtos.FileOptions.Builder setJavaMultipleFiles​(boolean value)
         If set true, then the Java code generator will generate a separate .java
         file for each top-level message, enum, and service defined in the .proto
         file.  Thus, these types will *not* be nested inside the outer class
         named by java_outer_classname.  However, the outer class will still be
         generated to contain the file's getDescriptor() method as well as any
         top-level extensions defined in the file.
         
        optional bool java_multiple_files = 10 [default = false];
      • clearJavaMultipleFiles

        public DescriptorProtos.FileOptions.Builder clearJavaMultipleFiles()
         If set true, then the Java code generator will generate a separate .java
         file for each top-level message, enum, and service defined in the .proto
         file.  Thus, these types will *not* be nested inside the outer class
         named by java_outer_classname.  However, the outer class will still be
         generated to contain the file's getDescriptor() method as well as any
         top-level extensions defined in the file.
         
        optional bool java_multiple_files = 10 [default = false];
      • setJavaGenerateEqualsAndHash

        @Deprecated
        public DescriptorProtos.FileOptions.Builder setJavaGenerateEqualsAndHash​(boolean value)
        Deprecated.
         This option does nothing.
         
        optional bool java_generate_equals_and_hash = 20 [deprecated = true];
      • hasJavaStringCheckUtf8

        public boolean hasJavaStringCheckUtf8()
         If set true, then the Java2 code generator will generate code that
         throws an exception whenever an attempt is made to assign a non-UTF-8
         byte sequence to a string field.
         Message reflection will do the same.
         However, an extension field still accepts non-UTF-8 byte sequences.
         This option has no effect on when used with the lite runtime.
         
        optional bool java_string_check_utf8 = 27 [default = false];
        Specified by:
        hasJavaStringCheckUtf8 in interface DescriptorProtos.FileOptionsOrBuilder
      • getJavaStringCheckUtf8

        public boolean getJavaStringCheckUtf8()
         If set true, then the Java2 code generator will generate code that
         throws an exception whenever an attempt is made to assign a non-UTF-8
         byte sequence to a string field.
         Message reflection will do the same.
         However, an extension field still accepts non-UTF-8 byte sequences.
         This option has no effect on when used with the lite runtime.
         
        optional bool java_string_check_utf8 = 27 [default = false];
        Specified by:
        getJavaStringCheckUtf8 in interface DescriptorProtos.FileOptionsOrBuilder
      • setJavaStringCheckUtf8

        public DescriptorProtos.FileOptions.Builder setJavaStringCheckUtf8​(boolean value)
         If set true, then the Java2 code generator will generate code that
         throws an exception whenever an attempt is made to assign a non-UTF-8
         byte sequence to a string field.
         Message reflection will do the same.
         However, an extension field still accepts non-UTF-8 byte sequences.
         This option has no effect on when used with the lite runtime.
         
        optional bool java_string_check_utf8 = 27 [default = false];
      • clearJavaStringCheckUtf8

        public DescriptorProtos.FileOptions.Builder clearJavaStringCheckUtf8()
         If set true, then the Java2 code generator will generate code that
         throws an exception whenever an attempt is made to assign a non-UTF-8
         byte sequence to a string field.
         Message reflection will do the same.
         However, an extension field still accepts non-UTF-8 byte sequences.
         This option has no effect on when used with the lite runtime.
         
        optional bool java_string_check_utf8 = 27 [default = false];
      • hasGoPackage

        public boolean hasGoPackage()
         Sets the Go package where structs generated from this .proto will be
         placed. If omitted, the Go package will be derived from the following:
           - The basename of the package import path, if provided.
           - Otherwise, the package statement in the .proto file, if present.
           - Otherwise, the basename of the .proto file, without extension.
         
        optional string go_package = 11;
        Specified by:
        hasGoPackage in interface DescriptorProtos.FileOptionsOrBuilder
      • getGoPackage

        public String getGoPackage()
         Sets the Go package where structs generated from this .proto will be
         placed. If omitted, the Go package will be derived from the following:
           - The basename of the package import path, if provided.
           - Otherwise, the package statement in the .proto file, if present.
           - Otherwise, the basename of the .proto file, without extension.
         
        optional string go_package = 11;
        Specified by:
        getGoPackage in interface DescriptorProtos.FileOptionsOrBuilder
      • getGoPackageBytes

        public com.google.protobuf.ByteString getGoPackageBytes()
         Sets the Go package where structs generated from this .proto will be
         placed. If omitted, the Go package will be derived from the following:
           - The basename of the package import path, if provided.
           - Otherwise, the package statement in the .proto file, if present.
           - Otherwise, the basename of the .proto file, without extension.
         
        optional string go_package = 11;
        Specified by:
        getGoPackageBytes in interface DescriptorProtos.FileOptionsOrBuilder
      • setGoPackage

        public DescriptorProtos.FileOptions.Builder setGoPackage​(String value)
         Sets the Go package where structs generated from this .proto will be
         placed. If omitted, the Go package will be derived from the following:
           - The basename of the package import path, if provided.
           - Otherwise, the package statement in the .proto file, if present.
           - Otherwise, the basename of the .proto file, without extension.
         
        optional string go_package = 11;
      • clearGoPackage

        public DescriptorProtos.FileOptions.Builder clearGoPackage()
         Sets the Go package where structs generated from this .proto will be
         placed. If omitted, the Go package will be derived from the following:
           - The basename of the package import path, if provided.
           - Otherwise, the package statement in the .proto file, if present.
           - Otherwise, the basename of the .proto file, without extension.
         
        optional string go_package = 11;
      • setGoPackageBytes

        public DescriptorProtos.FileOptions.Builder setGoPackageBytes​(com.google.protobuf.ByteString value)
         Sets the Go package where structs generated from this .proto will be
         placed. If omitted, the Go package will be derived from the following:
           - The basename of the package import path, if provided.
           - Otherwise, the package statement in the .proto file, if present.
           - Otherwise, the basename of the .proto file, without extension.
         
        optional string go_package = 11;
      • hasCcGenericServices

        public boolean hasCcGenericServices()
         Should generic services be generated in each language?  "Generic" services
         are not specific to any particular RPC system.  They are generated by the
         main code generators in each language (without additional plugins).
         Generic services were the only kind of service generation supported by
         early versions of google.protobuf.
         Generic services are now considered deprecated in favor of using plugins
         that generate code specific to your particular RPC system.  Therefore,
         these default to false.  Old code which depends on generic services should
         explicitly set them to true.
         
        optional bool cc_generic_services = 16 [default = false];
        Specified by:
        hasCcGenericServices in interface DescriptorProtos.FileOptionsOrBuilder
      • getCcGenericServices

        public boolean getCcGenericServices()
         Should generic services be generated in each language?  "Generic" services
         are not specific to any particular RPC system.  They are generated by the
         main code generators in each language (without additional plugins).
         Generic services were the only kind of service generation supported by
         early versions of google.protobuf.
         Generic services are now considered deprecated in favor of using plugins
         that generate code specific to your particular RPC system.  Therefore,
         these default to false.  Old code which depends on generic services should
         explicitly set them to true.
         
        optional bool cc_generic_services = 16 [default = false];
        Specified by:
        getCcGenericServices in interface DescriptorProtos.FileOptionsOrBuilder
      • setCcGenericServices

        public DescriptorProtos.FileOptions.Builder setCcGenericServices​(boolean value)
         Should generic services be generated in each language?  "Generic" services
         are not specific to any particular RPC system.  They are generated by the
         main code generators in each language (without additional plugins).
         Generic services were the only kind of service generation supported by
         early versions of google.protobuf.
         Generic services are now considered deprecated in favor of using plugins
         that generate code specific to your particular RPC system.  Therefore,
         these default to false.  Old code which depends on generic services should
         explicitly set them to true.
         
        optional bool cc_generic_services = 16 [default = false];
      • clearCcGenericServices

        public DescriptorProtos.FileOptions.Builder clearCcGenericServices()
         Should generic services be generated in each language?  "Generic" services
         are not specific to any particular RPC system.  They are generated by the
         main code generators in each language (without additional plugins).
         Generic services were the only kind of service generation supported by
         early versions of google.protobuf.
         Generic services are now considered deprecated in favor of using plugins
         that generate code specific to your particular RPC system.  Therefore,
         these default to false.  Old code which depends on generic services should
         explicitly set them to true.
         
        optional bool cc_generic_services = 16 [default = false];
      • hasDeprecated

        public boolean hasDeprecated()
         Is this file deprecated?
         Depending on the target platform, this can emit Deprecated annotations
         for everything in the file, or it will be completely ignored; in the very
         least, this is a formalization for deprecating files.
         
        optional bool deprecated = 23 [default = false];
        Specified by:
        hasDeprecated in interface DescriptorProtos.FileOptionsOrBuilder
      • getDeprecated

        public boolean getDeprecated()
         Is this file deprecated?
         Depending on the target platform, this can emit Deprecated annotations
         for everything in the file, or it will be completely ignored; in the very
         least, this is a formalization for deprecating files.
         
        optional bool deprecated = 23 [default = false];
        Specified by:
        getDeprecated in interface DescriptorProtos.FileOptionsOrBuilder
      • setDeprecated

        public DescriptorProtos.FileOptions.Builder setDeprecated​(boolean value)
         Is this file deprecated?
         Depending on the target platform, this can emit Deprecated annotations
         for everything in the file, or it will be completely ignored; in the very
         least, this is a formalization for deprecating files.
         
        optional bool deprecated = 23 [default = false];
      • clearDeprecated

        public DescriptorProtos.FileOptions.Builder clearDeprecated()
         Is this file deprecated?
         Depending on the target platform, this can emit Deprecated annotations
         for everything in the file, or it will be completely ignored; in the very
         least, this is a formalization for deprecating files.
         
        optional bool deprecated = 23 [default = false];
      • hasCcEnableArenas

        public boolean hasCcEnableArenas()
         Enables the use of arenas for the proto messages in this file. This applies
         only to generated classes for C++.
         
        optional bool cc_enable_arenas = 31 [default = true];
        Specified by:
        hasCcEnableArenas in interface DescriptorProtos.FileOptionsOrBuilder
      • getCcEnableArenas

        public boolean getCcEnableArenas()
         Enables the use of arenas for the proto messages in this file. This applies
         only to generated classes for C++.
         
        optional bool cc_enable_arenas = 31 [default = true];
        Specified by:
        getCcEnableArenas in interface DescriptorProtos.FileOptionsOrBuilder
      • setCcEnableArenas

        public DescriptorProtos.FileOptions.Builder setCcEnableArenas​(boolean value)
         Enables the use of arenas for the proto messages in this file. This applies
         only to generated classes for C++.
         
        optional bool cc_enable_arenas = 31 [default = true];
      • clearCcEnableArenas

        public DescriptorProtos.FileOptions.Builder clearCcEnableArenas()
         Enables the use of arenas for the proto messages in this file. This applies
         only to generated classes for C++.
         
        optional bool cc_enable_arenas = 31 [default = true];
      • hasObjcClassPrefix

        public boolean hasObjcClassPrefix()
         Sets the objective c class prefix which is prepended to all objective c
         generated classes from this .proto. There is no default.
         
        optional string objc_class_prefix = 36;
        Specified by:
        hasObjcClassPrefix in interface DescriptorProtos.FileOptionsOrBuilder
      • getObjcClassPrefix

        public String getObjcClassPrefix()
         Sets the objective c class prefix which is prepended to all objective c
         generated classes from this .proto. There is no default.
         
        optional string objc_class_prefix = 36;
        Specified by:
        getObjcClassPrefix in interface DescriptorProtos.FileOptionsOrBuilder
      • getObjcClassPrefixBytes

        public com.google.protobuf.ByteString getObjcClassPrefixBytes()
         Sets the objective c class prefix which is prepended to all objective c
         generated classes from this .proto. There is no default.
         
        optional string objc_class_prefix = 36;
        Specified by:
        getObjcClassPrefixBytes in interface DescriptorProtos.FileOptionsOrBuilder
      • setObjcClassPrefix

        public DescriptorProtos.FileOptions.Builder setObjcClassPrefix​(String value)
         Sets the objective c class prefix which is prepended to all objective c
         generated classes from this .proto. There is no default.
         
        optional string objc_class_prefix = 36;
      • clearObjcClassPrefix

        public DescriptorProtos.FileOptions.Builder clearObjcClassPrefix()
         Sets the objective c class prefix which is prepended to all objective c
         generated classes from this .proto. There is no default.
         
        optional string objc_class_prefix = 36;
      • setObjcClassPrefixBytes

        public DescriptorProtos.FileOptions.Builder setObjcClassPrefixBytes​(com.google.protobuf.ByteString value)
         Sets the objective c class prefix which is prepended to all objective c
         generated classes from this .proto. There is no default.
         
        optional string objc_class_prefix = 36;
      • clearCsharpNamespace

        public DescriptorProtos.FileOptions.Builder clearCsharpNamespace()
         Namespace for generated classes; defaults to the package.
         
        optional string csharp_namespace = 37;
      • setCsharpNamespaceBytes

        public DescriptorProtos.FileOptions.Builder setCsharpNamespaceBytes​(com.google.protobuf.ByteString value)
         Namespace for generated classes; defaults to the package.
         
        optional string csharp_namespace = 37;
      • hasSwiftPrefix

        public boolean hasSwiftPrefix()
         By default Swift generators will take the proto package and CamelCase it
         replacing '.' with underscore and use that to prefix the types/symbols
         defined. When this options is provided, they will use this value instead
         to prefix the types/symbols defined.
         
        optional string swift_prefix = 39;
        Specified by:
        hasSwiftPrefix in interface DescriptorProtos.FileOptionsOrBuilder
      • getSwiftPrefix

        public String getSwiftPrefix()
         By default Swift generators will take the proto package and CamelCase it
         replacing '.' with underscore and use that to prefix the types/symbols
         defined. When this options is provided, they will use this value instead
         to prefix the types/symbols defined.
         
        optional string swift_prefix = 39;
        Specified by:
        getSwiftPrefix in interface DescriptorProtos.FileOptionsOrBuilder
      • getSwiftPrefixBytes

        public com.google.protobuf.ByteString getSwiftPrefixBytes()
         By default Swift generators will take the proto package and CamelCase it
         replacing '.' with underscore and use that to prefix the types/symbols
         defined. When this options is provided, they will use this value instead
         to prefix the types/symbols defined.
         
        optional string swift_prefix = 39;
        Specified by:
        getSwiftPrefixBytes in interface DescriptorProtos.FileOptionsOrBuilder
      • setSwiftPrefix

        public DescriptorProtos.FileOptions.Builder setSwiftPrefix​(String value)
         By default Swift generators will take the proto package and CamelCase it
         replacing '.' with underscore and use that to prefix the types/symbols
         defined. When this options is provided, they will use this value instead
         to prefix the types/symbols defined.
         
        optional string swift_prefix = 39;
      • clearSwiftPrefix

        public DescriptorProtos.FileOptions.Builder clearSwiftPrefix()
         By default Swift generators will take the proto package and CamelCase it
         replacing '.' with underscore and use that to prefix the types/symbols
         defined. When this options is provided, they will use this value instead
         to prefix the types/symbols defined.
         
        optional string swift_prefix = 39;
      • setSwiftPrefixBytes

        public DescriptorProtos.FileOptions.Builder setSwiftPrefixBytes​(com.google.protobuf.ByteString value)
         By default Swift generators will take the proto package and CamelCase it
         replacing '.' with underscore and use that to prefix the types/symbols
         defined. When this options is provided, they will use this value instead
         to prefix the types/symbols defined.
         
        optional string swift_prefix = 39;
      • hasPhpClassPrefix

        public boolean hasPhpClassPrefix()
         Sets the php class prefix which is prepended to all php generated classes
         from this .proto. Default is empty.
         
        optional string php_class_prefix = 40;
        Specified by:
        hasPhpClassPrefix in interface DescriptorProtos.FileOptionsOrBuilder
      • getPhpClassPrefixBytes

        public com.google.protobuf.ByteString getPhpClassPrefixBytes()
         Sets the php class prefix which is prepended to all php generated classes
         from this .proto. Default is empty.
         
        optional string php_class_prefix = 40;
        Specified by:
        getPhpClassPrefixBytes in interface DescriptorProtos.FileOptionsOrBuilder
      • setPhpClassPrefix

        public DescriptorProtos.FileOptions.Builder setPhpClassPrefix​(String value)
         Sets the php class prefix which is prepended to all php generated classes
         from this .proto. Default is empty.
         
        optional string php_class_prefix = 40;
      • clearPhpClassPrefix

        public DescriptorProtos.FileOptions.Builder clearPhpClassPrefix()
         Sets the php class prefix which is prepended to all php generated classes
         from this .proto. Default is empty.
         
        optional string php_class_prefix = 40;
      • setPhpClassPrefixBytes

        public DescriptorProtos.FileOptions.Builder setPhpClassPrefixBytes​(com.google.protobuf.ByteString value)
         Sets the php class prefix which is prepended to all php generated classes
         from this .proto. Default is empty.
         
        optional string php_class_prefix = 40;
      • hasPhpNamespace

        public boolean hasPhpNamespace()
         Use this option to change the namespace of php generated classes. Default
         is empty. When this option is empty, the package name will be used for
         determining the namespace.
         
        optional string php_namespace = 41;
        Specified by:
        hasPhpNamespace in interface DescriptorProtos.FileOptionsOrBuilder
      • getPhpNamespace

        public String getPhpNamespace()
         Use this option to change the namespace of php generated classes. Default
         is empty. When this option is empty, the package name will be used for
         determining the namespace.
         
        optional string php_namespace = 41;
        Specified by:
        getPhpNamespace in interface DescriptorProtos.FileOptionsOrBuilder
      • getPhpNamespaceBytes

        public com.google.protobuf.ByteString getPhpNamespaceBytes()
         Use this option to change the namespace of php generated classes. Default
         is empty. When this option is empty, the package name will be used for
         determining the namespace.
         
        optional string php_namespace = 41;
        Specified by:
        getPhpNamespaceBytes in interface DescriptorProtos.FileOptionsOrBuilder
      • setPhpNamespace

        public DescriptorProtos.FileOptions.Builder setPhpNamespace​(String value)
         Use this option to change the namespace of php generated classes. Default
         is empty. When this option is empty, the package name will be used for
         determining the namespace.
         
        optional string php_namespace = 41;
      • clearPhpNamespace

        public DescriptorProtos.FileOptions.Builder clearPhpNamespace()
         Use this option to change the namespace of php generated classes. Default
         is empty. When this option is empty, the package name will be used for
         determining the namespace.
         
        optional string php_namespace = 41;
      • setPhpNamespaceBytes

        public DescriptorProtos.FileOptions.Builder setPhpNamespaceBytes​(com.google.protobuf.ByteString value)
         Use this option to change the namespace of php generated classes. Default
         is empty. When this option is empty, the package name will be used for
         determining the namespace.
         
        optional string php_namespace = 41;
      • hasPhpMetadataNamespace

        public boolean hasPhpMetadataNamespace()
         Use this option to change the namespace of php generated metadata classes.
         Default is empty. When this option is empty, the proto file name will be
         used for determining the namespace.
         
        optional string php_metadata_namespace = 44;
        Specified by:
        hasPhpMetadataNamespace in interface DescriptorProtos.FileOptionsOrBuilder
      • getPhpMetadataNamespace

        public String getPhpMetadataNamespace()
         Use this option to change the namespace of php generated metadata classes.
         Default is empty. When this option is empty, the proto file name will be
         used for determining the namespace.
         
        optional string php_metadata_namespace = 44;
        Specified by:
        getPhpMetadataNamespace in interface DescriptorProtos.FileOptionsOrBuilder
      • getPhpMetadataNamespaceBytes

        public com.google.protobuf.ByteString getPhpMetadataNamespaceBytes()
         Use this option to change the namespace of php generated metadata classes.
         Default is empty. When this option is empty, the proto file name will be
         used for determining the namespace.
         
        optional string php_metadata_namespace = 44;
        Specified by:
        getPhpMetadataNamespaceBytes in interface DescriptorProtos.FileOptionsOrBuilder
      • setPhpMetadataNamespace

        public DescriptorProtos.FileOptions.Builder setPhpMetadataNamespace​(String value)
         Use this option to change the namespace of php generated metadata classes.
         Default is empty. When this option is empty, the proto file name will be
         used for determining the namespace.
         
        optional string php_metadata_namespace = 44;
      • clearPhpMetadataNamespace

        public DescriptorProtos.FileOptions.Builder clearPhpMetadataNamespace()
         Use this option to change the namespace of php generated metadata classes.
         Default is empty. When this option is empty, the proto file name will be
         used for determining the namespace.
         
        optional string php_metadata_namespace = 44;
      • setPhpMetadataNamespaceBytes

        public DescriptorProtos.FileOptions.Builder setPhpMetadataNamespaceBytes​(com.google.protobuf.ByteString value)
         Use this option to change the namespace of php generated metadata classes.
         Default is empty. When this option is empty, the proto file name will be
         used for determining the namespace.
         
        optional string php_metadata_namespace = 44;
      • hasRubyPackage

        public boolean hasRubyPackage()
         Use this option to change the package of ruby generated classes. Default
         is empty. When this option is not set, the package name will be used for
         determining the ruby package.
         
        optional string ruby_package = 45;
        Specified by:
        hasRubyPackage in interface DescriptorProtos.FileOptionsOrBuilder
      • getRubyPackage

        public String getRubyPackage()
         Use this option to change the package of ruby generated classes. Default
         is empty. When this option is not set, the package name will be used for
         determining the ruby package.
         
        optional string ruby_package = 45;
        Specified by:
        getRubyPackage in interface DescriptorProtos.FileOptionsOrBuilder
      • getRubyPackageBytes

        public com.google.protobuf.ByteString getRubyPackageBytes()
         Use this option to change the package of ruby generated classes. Default
         is empty. When this option is not set, the package name will be used for
         determining the ruby package.
         
        optional string ruby_package = 45;
        Specified by:
        getRubyPackageBytes in interface DescriptorProtos.FileOptionsOrBuilder
      • setRubyPackage

        public DescriptorProtos.FileOptions.Builder setRubyPackage​(String value)
         Use this option to change the package of ruby generated classes. Default
         is empty. When this option is not set, the package name will be used for
         determining the ruby package.
         
        optional string ruby_package = 45;
      • clearRubyPackage

        public DescriptorProtos.FileOptions.Builder clearRubyPackage()
         Use this option to change the package of ruby generated classes. Default
         is empty. When this option is not set, the package name will be used for
         determining the ruby package.
         
        optional string ruby_package = 45;
      • setRubyPackageBytes

        public DescriptorProtos.FileOptions.Builder setRubyPackageBytes​(com.google.protobuf.ByteString value)
         Use this option to change the package of ruby generated classes. Default
         is empty. When this option is not set, the package name will be used for
         determining the ruby package.
         
        optional string ruby_package = 45;
      • getUninterpretedOptionCount

        public int getUninterpretedOptionCount()
         The parser stores options it doesn't recognize here.
         See the documentation for the "Options" section above.
         
        repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
        Specified by:
        getUninterpretedOptionCount in interface DescriptorProtos.FileOptionsOrBuilder
      • clearUninterpretedOption

        public DescriptorProtos.FileOptions.Builder clearUninterpretedOption()
         The parser stores options it doesn't recognize here.
         See the documentation for the "Options" section above.
         
        repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
      • removeUninterpretedOption

        public DescriptorProtos.FileOptions.Builder removeUninterpretedOption​(int index)
         The parser stores options it doesn't recognize here.
         See the documentation for the "Options" section above.
         
        repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
      • getUninterpretedOptionBuilder

        public DescriptorProtos.UninterpretedOption.Builder getUninterpretedOptionBuilder​(int index)
         The parser stores options it doesn't recognize here.
         See the documentation for the "Options" section above.
         
        repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
      • addUninterpretedOptionBuilder

        public DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder()
         The parser stores options it doesn't recognize here.
         See the documentation for the "Options" section above.
         
        repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
      • addUninterpretedOptionBuilder

        public DescriptorProtos.UninterpretedOption.Builder addUninterpretedOptionBuilder​(int index)
         The parser stores options it doesn't recognize here.
         See the documentation for the "Options" section above.
         
        repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
      • getUninterpretedOptionBuilderList

        public List<DescriptorProtos.UninterpretedOption.Builder> getUninterpretedOptionBuilderList()
         The parser stores options it doesn't recognize here.
         See the documentation for the "Options" section above.
         
        repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;