Class FileType (1.13.1)
Stay organized with collections
Save and categorize content based on your preferences.
To generate, use protoc with imports and source info
included. For an example test.proto file, the following
command would put the value in a new file named out.pb.
$protoc --include_imports --include_source_info test.proto
-o out.pb
PROTO_FILE (6):
Uncompiled Proto file. Used for storage and display purposes
only, currently server-side compilation is not supported.
Should match the inputs to 'protoc' command used to
generated FILE_DESCRIPTOR_SET_PROTO. A file of this type can
only be included if at least one file of type
FILE_DESCRIPTOR_SET_PROTO is included.
Enums |
Name |
Description |
FILE_TYPE_UNSPECIFIED |
Unknown file type. |
SERVICE_CONFIG_YAML |
YAML-specification of service. |
OPEN_API_JSON |
OpenAPI specification, serialized in JSON. |
OPEN_API_YAML |
OpenAPI specification, serialized in YAML. |
FILE_DESCRIPTOR_SET_PROTO |
FileDescriptorSet, generated by protoc. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]