Interface AspectType.MetadataTemplate.EnumValueOrBuilder (1.39.0)

public static interface AspectType.MetadataTemplate.EnumValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeprecated()

public abstract String getDeprecated()

Optional. Optional deprecation message to be set if an enum value needs to be deprecated.

string deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The deprecated.

getDeprecatedBytes()

public abstract ByteString getDeprecatedBytes()

Optional. Optional deprecation message to be set if an enum value needs to be deprecated.

string deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for deprecated.

getIndex()

public abstract int getIndex()

Required. Index for the enum. Cannot be modified.

int32 index = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The index.

getName()

public abstract String getName()

Required. Name of the enumvalue. This is the actual value that the aspect will contain.

string name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Name of the enumvalue. This is the actual value that the aspect will contain.

string name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.