Interface LabelDescriptorOrBuilder (2.40.0)

public interface LabelDescriptorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

A human-readable description for the label.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

A human-readable description for the label.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getKey()

public abstract String getKey()

The label key.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

The label key.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getValueType()

public abstract LabelDescriptor.ValueType getValueType()

The type of data that can be assigned to the label.

.google.api.LabelDescriptor.ValueType value_type = 2;

Returns
Type Description
LabelDescriptor.ValueType

The valueType.

getValueTypeValue()

public abstract int getValueTypeValue()

The type of data that can be assigned to the label.

.google.api.LabelDescriptor.ValueType value_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for valueType.