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 toRELAXED
.
Protobuf enum google.cloud.apihub.v1.Spec.ParsingMode
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
PARSING_MODE_UNSPECIFIED |
Defaults to |
PARSING_MODE_UNSPECIFIED_VALUE |
Defaults to |
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_VALUE |
Parsing of the Spec on create and update is relaxed, meaning that parsing errors the spec contents will not fail the API call. |
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_VALUE |
Parsing of the Spec on create and update is strict, meaning that parsing errors in the spec contents will fail the API call. |
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() |