Enum ResourceDescriptor.Style (2.38.0)

public enum ResourceDescriptor.Style extends Enum<ResourceDescriptor.Style> implements ProtocolMessageEnum

A flag representing a specific style that a resource claims to conform to.

Protobuf enum google.api.ResourceDescriptor.Style

Implements

ProtocolMessageEnum

Static Fields

Name Description
DECLARATIVE_FRIENDLY

This resource is intended to be "declarative-friendly".

Declarative-friendly resources must be more strictly consistent, and setting this to true communicates to tools that this resource should adhere to declarative-friendly expectations.

Note: This is used by the API linter (linter.aip.dev) to enable additional checks.

DECLARATIVE_FRIENDLY = 1;

DECLARATIVE_FRIENDLY_VALUE

This resource is intended to be "declarative-friendly".

Declarative-friendly resources must be more strictly consistent, and setting this to true communicates to tools that this resource should adhere to declarative-friendly expectations.

Note: This is used by the API linter (linter.aip.dev) to enable additional checks.

DECLARATIVE_FRIENDLY = 1;

STYLE_UNSPECIFIED

The unspecified value. Do not use.

STYLE_UNSPECIFIED = 0;

STYLE_UNSPECIFIED_VALUE

The unspecified value. Do not use.

STYLE_UNSPECIFIED = 0;

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