Constructor
new FileOptions(propertiesopt)
Constructs a new FileOptions.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.protobuf.IFileOptions |
<optional> |
Properties to set |
- Implements:
-
- IFileOptions
Members
ccEnableArenas
FileOptions ccEnableArenas.
ccEnableArenas
FileOptions ccEnableArenas.
ccEnableArenas
FileOptions ccEnableArenas.
ccGenericServices
FileOptions ccGenericServices.
ccGenericServices
FileOptions ccGenericServices.
ccGenericServices
FileOptions ccGenericServices.
csharpNamespace
FileOptions csharpNamespace.
csharpNamespace
FileOptions csharpNamespace.
csharpNamespace
FileOptions csharpNamespace.
deprecated
FileOptions deprecated.
deprecated
FileOptions deprecated.
deprecated
FileOptions deprecated.
goPackage
FileOptions goPackage.
goPackage
FileOptions goPackage.
goPackage
FileOptions goPackage.
javaGenerateEqualsAndHash
FileOptions javaGenerateEqualsAndHash.
javaGenerateEqualsAndHash
FileOptions javaGenerateEqualsAndHash.
javaGenerateEqualsAndHash
FileOptions javaGenerateEqualsAndHash.
javaGenericServices
FileOptions javaGenericServices.
javaGenericServices
FileOptions javaGenericServices.
javaGenericServices
FileOptions javaGenericServices.
javaMultipleFiles
FileOptions javaMultipleFiles.
javaMultipleFiles
FileOptions javaMultipleFiles.
javaMultipleFiles
FileOptions javaMultipleFiles.
javaOuterClassname
FileOptions javaOuterClassname.
javaOuterClassname
FileOptions javaOuterClassname.
javaOuterClassname
FileOptions javaOuterClassname.
javaPackage
FileOptions javaPackage.
javaPackage
FileOptions javaPackage.
javaPackage
FileOptions javaPackage.
javaStringCheckUtf8
FileOptions javaStringCheckUtf8.
javaStringCheckUtf8
FileOptions javaStringCheckUtf8.
javaStringCheckUtf8
FileOptions javaStringCheckUtf8.
objcClassPrefix
FileOptions objcClassPrefix.
objcClassPrefix
FileOptions objcClassPrefix.
objcClassPrefix
FileOptions objcClassPrefix.
optimizeFor
FileOptions optimizeFor.
optimizeFor
FileOptions optimizeFor.
optimizeFor
FileOptions optimizeFor.
pyGenericServices
FileOptions pyGenericServices.
pyGenericServices
FileOptions pyGenericServices.
pyGenericServices
FileOptions pyGenericServices.
uninterpretedOption
FileOptions uninterpretedOption.
uninterpretedOption
FileOptions uninterpretedOption.
uninterpretedOption
FileOptions uninterpretedOption.
OptimizeMode
OptimizeMode enum.
Properties:
Name | Type | Description |
---|---|---|
SPEED |
string |
SPEED value |
CODE_SIZE |
string |
CODE_SIZE value |
LITE_RUNTIME |
string |
LITE_RUNTIME value |
OptimizeMode
OptimizeMode enum.
Properties:
Name | Type | Description |
---|---|---|
SPEED |
string |
SPEED value |
CODE_SIZE |
string |
CODE_SIZE value |
LITE_RUNTIME |
string |
LITE_RUNTIME value |
OptimizeMode
OptimizeMode enum.
Properties:
Name | Type | Description |
---|---|---|
SPEED |
string |
SPEED value |
CODE_SIZE |
string |
CODE_SIZE value |
LITE_RUNTIME |
string |
LITE_RUNTIME value |
Methods
toJSON() → {Object.<string, *>}
Converts this FileOptions to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
toJSON() → {Object.<string, *>}
Converts this FileOptions to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
toJSON() → {Object.<string, *>}
Converts this FileOptions to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON 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 |
Returns:
Type | Description |
---|---|
google.protobuf.FileOptions |
FileOptions |
(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 |
Returns:
Type | Description |
---|---|
google.protobuf.FileOptions |
FileOptions |
(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 |
Returns:
Type | Description |
---|---|
google.protobuf.FileOptions |
FileOptions |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for FileOptions
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for FileOptions
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for FileOptions
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(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 |
Returns:
Type | Description |
---|---|
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 |
Returns:
Type | Description |
---|---|
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 |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |