Enum Spec.ParsingMode (0.2.0)

public enum Spec.ParsingMode extends Enum<Spec.ParsingMode> implements ProtocolMessageEnum

Specifies the parsing mode for API specifications during creation and update.

  • RELAXED: Parsing errors in the specification content do not fail the API call.
  • STRICT: Parsing errors in the specification content result in failure of the API call. If not specified, defaults to RELAXED.

Protobuf enum google.cloud.apihub.v1.Spec.ParsingMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
PARSING_MODE_UNSPECIFIED

Defaults to RELAXED.

PARSING_MODE_UNSPECIFIED = 0;

PARSING_MODE_UNSPECIFIED_VALUE

Defaults to RELAXED.

PARSING_MODE_UNSPECIFIED = 0;

RELAXED

Parsing of the Spec on create and update is relaxed, meaning that parsing errors the spec contents will not fail the API call.

RELAXED = 1;

RELAXED_VALUE

Parsing of the Spec on create and update is relaxed, meaning that parsing errors the spec contents will not fail the API call.

RELAXED = 1;

STRICT

Parsing of the Spec on create and update is strict, meaning that parsing errors in the spec contents will fail the API call.

STRICT = 2;

STRICT_VALUE

Parsing of the Spec on create and update is strict, meaning that parsing errors in the spec contents will fail the API call.

STRICT = 2;

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()