Enum ConfigFile.FileType (3.19.0)

public enum ConfigFile.FileType extends Enum<ConfigFile.FileType> implements ProtocolMessageEnum

Protobuf enum google.api.servicemanagement.v1.ConfigFile.FileType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
FILE_DESCRIPTOR_SET_PROTO

FileDescriptorSet, generated by protoc.

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

FILE_DESCRIPTOR_SET_PROTO = 4;

FILE_DESCRIPTOR_SET_PROTO_VALUE

FileDescriptorSet, generated by protoc.

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

FILE_DESCRIPTOR_SET_PROTO = 4;

FILE_TYPE_UNSPECIFIED

Unknown file type.

FILE_TYPE_UNSPECIFIED = 0;

FILE_TYPE_UNSPECIFIED_VALUE

Unknown file type.

FILE_TYPE_UNSPECIFIED = 0;

OPEN_API_JSON

OpenAPI specification, serialized in JSON.

OPEN_API_JSON = 2;

OPEN_API_JSON_VALUE

OpenAPI specification, serialized in JSON.

OPEN_API_JSON = 2;

OPEN_API_YAML

OpenAPI specification, serialized in YAML.

OPEN_API_YAML = 3;

OPEN_API_YAML_VALUE

OpenAPI specification, serialized in YAML.

OPEN_API_YAML = 3;

PROTO_FILE

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.

PROTO_FILE = 6;

PROTO_FILE_VALUE

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.

PROTO_FILE = 6;

SERVICE_CONFIG_YAML

YAML-specification of service.

SERVICE_CONFIG_YAML = 1;

SERVICE_CONFIG_YAML_VALUE

YAML-specification of service.

SERVICE_CONFIG_YAML = 1;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()