Interface LabelOrBuilder (0.6.0)

public interface LabelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

The key part of the label.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

The key part of the label.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getSource()

public abstract String getSource()

The source of the Label. Source is empty if the label is directly attached to the resource and not inherited.

string source = 3;

Returns
Type Description
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

The source of the Label. Source is empty if the label is directly attached to the resource and not inherited.

string source = 3;

Returns
Type Description
ByteString

The bytes for source.

getValue()

public abstract String getValue()

The value part of the label.

string value = 2;

Returns
Type Description
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

The value part of the label.

string value = 2;

Returns
Type Description
ByteString

The bytes for value.