Enum OpenApiSpecDetails.Format (0.7.0)

public enum OpenApiSpecDetails.Format extends Enum<OpenApiSpecDetails.Format> implements ProtocolMessageEnum

Enumeration of spec formats.

Protobuf enum google.cloud.apihub.v1.OpenApiSpecDetails.Format

Implements

ProtocolMessageEnum

Static Fields

Name Description
FORMAT_UNSPECIFIED

SpecFile type unspecified.

FORMAT_UNSPECIFIED = 0;

FORMAT_UNSPECIFIED_VALUE

SpecFile type unspecified.

FORMAT_UNSPECIFIED = 0;

OPEN_API_SPEC_2_0

OpenAPI Spec v2.0.

OPEN_API_SPEC_2_0 = 1;

OPEN_API_SPEC_2_0_VALUE

OpenAPI Spec v2.0.

OPEN_API_SPEC_2_0 = 1;

OPEN_API_SPEC_3_0

OpenAPI Spec v3.0.

OPEN_API_SPEC_3_0 = 2;

OPEN_API_SPEC_3_0_VALUE

OpenAPI Spec v3.0.

OPEN_API_SPEC_3_0 = 2;

OPEN_API_SPEC_3_1

OpenAPI Spec v3.1.

OPEN_API_SPEC_3_1 = 3;

OPEN_API_SPEC_3_1_VALUE

OpenAPI Spec v3.1.

OPEN_API_SPEC_3_1 = 3;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()