Constructor
new FileOptions(propertiesopt)
Constructs a new FileOptions.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
properties |
google.protobuf.IFileOptions |
<optional> |
Properties to set |
- Implements:
-
- IFileOptions
Members
(static) OptimizeMode :string
OptimizeMode enum.
Properties:
| Name | Type | Description |
|---|---|---|
SPEED |
string |
SPEED value |
CODE_SIZE |
string |
CODE_SIZE value |
LITE_RUNTIME |
string |
LITE_RUNTIME value |
(static) OptimizeMode :string
OptimizeMode enum.
Properties:
| Name | Type | Description |
|---|---|---|
SPEED |
string |
SPEED value |
CODE_SIZE |
string |
CODE_SIZE value |
LITE_RUNTIME |
string |
LITE_RUNTIME value |
(static) OptimizeMode :string
OptimizeMode enum.
Properties:
| Name | Type | Description |
|---|---|---|
SPEED |
string |
SPEED value |
CODE_SIZE |
string |
CODE_SIZE value |
LITE_RUNTIME |
string |
LITE_RUNTIME value |
ccEnableArenas :boolean
FileOptions ccEnableArenas.
ccEnableArenas :boolean
FileOptions ccEnableArenas.
ccEnableArenas :boolean
FileOptions ccEnableArenas.
ccGenericServices :boolean
FileOptions ccGenericServices.
ccGenericServices :boolean
FileOptions ccGenericServices.
ccGenericServices :boolean
FileOptions ccGenericServices.
csharpNamespace :string
FileOptions csharpNamespace.
csharpNamespace :string
FileOptions csharpNamespace.
csharpNamespace :string
FileOptions csharpNamespace.
deprecated :boolean
FileOptions deprecated.
deprecated :boolean
FileOptions deprecated.
deprecated :boolean
FileOptions deprecated.
goPackage :string
FileOptions goPackage.
goPackage :string
FileOptions goPackage.
goPackage :string
FileOptions goPackage.
javaGenerateEqualsAndHash :boolean
FileOptions javaGenerateEqualsAndHash.
javaGenerateEqualsAndHash :boolean
FileOptions javaGenerateEqualsAndHash.
javaGenerateEqualsAndHash :boolean
FileOptions javaGenerateEqualsAndHash.
javaGenericServices :boolean
FileOptions javaGenericServices.
javaGenericServices :boolean
FileOptions javaGenericServices.
javaGenericServices :boolean
FileOptions javaGenericServices.
javaMultipleFiles :boolean
FileOptions javaMultipleFiles.
javaMultipleFiles :boolean
FileOptions javaMultipleFiles.
javaMultipleFiles :boolean
FileOptions javaMultipleFiles.
javaOuterClassname :string
FileOptions javaOuterClassname.
javaOuterClassname :string
FileOptions javaOuterClassname.
javaOuterClassname :string
FileOptions javaOuterClassname.
javaPackage :string
FileOptions javaPackage.
javaPackage :string
FileOptions javaPackage.
javaPackage :string
FileOptions javaPackage.
javaStringCheckUtf8 :boolean
FileOptions javaStringCheckUtf8.
javaStringCheckUtf8 :boolean
FileOptions javaStringCheckUtf8.
javaStringCheckUtf8 :boolean
FileOptions javaStringCheckUtf8.
objcClassPrefix :string
FileOptions objcClassPrefix.
objcClassPrefix :string
FileOptions objcClassPrefix.
objcClassPrefix :string
FileOptions objcClassPrefix.
optimizeFor :google.protobuf.FileOptions.OptimizeMode
FileOptions optimizeFor.
optimizeFor :google.protobuf.FileOptions.OptimizeMode
FileOptions optimizeFor.
optimizeFor :google.protobuf.FileOptions.OptimizeMode
FileOptions optimizeFor.
pyGenericServices :boolean
FileOptions pyGenericServices.
pyGenericServices :boolean
FileOptions pyGenericServices.
pyGenericServices :boolean
FileOptions pyGenericServices.
uninterpretedOption :Array.<google.protobuf.IUninterpretedOption>
FileOptions uninterpretedOption.
uninterpretedOption :Array.<google.protobuf.IUninterpretedOption>
FileOptions uninterpretedOption.
uninterpretedOption :Array.<google.protobuf.IUninterpretedOption>
FileOptions uninterpretedOption.
Methods
(static) fromObject(object) → {google.protobuf.FileOptions}
Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object.<string, *> |
Plain object |
(static) fromObject(object) → {google.protobuf.FileOptions}
Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object.<string, *> |
Plain object |
(static) fromObject(object) → {google.protobuf.FileOptions}
Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
Object.<string, *> |
Plain object |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a FileOptions message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.protobuf.FileOptions |
FileOptions |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a FileOptions message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.protobuf.FileOptions |
FileOptions |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from a FileOptions message. Also converts values to other types if specified.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
message |
google.protobuf.FileOptions |
FileOptions |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
toJSON() → {Object.<string, *>}
Converts this FileOptions to JSON.
toJSON() → {Object.<string, *>}
Converts this FileOptions to JSON.
toJSON() → {Object.<string, *>}
Converts this FileOptions to JSON.