Interface TagOrBuilder (3.40.0)

public interface TagOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTagKey()

public abstract String getTagKey()

TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.

optional string tag_key = 1;

Returns
Type Description
String

The tagKey.

getTagKeyBytes()

public abstract ByteString getTagKeyBytes()

TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.

optional string tag_key = 1;

Returns
Type Description
ByteString

The bytes for tagKey.

getTagValue()

public abstract String getTagValue()

TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.

optional string tag_value = 3;

Returns
Type Description
String

The tagValue.

getTagValueBytes()

public abstract ByteString getTagValueBytes()

TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.

optional string tag_value = 3;

Returns
Type Description
ByteString

The bytes for tagValue.

getTagValueId()

public abstract String getTagValueId()

TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.

optional string tag_value_id = 4;

Returns
Type Description
String

The tagValueId.

getTagValueIdBytes()

public abstract ByteString getTagValueIdBytes()

TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.

optional string tag_value_id = 4;

Returns
Type Description
ByteString

The bytes for tagValueId.

hasTagKey()

public abstract boolean hasTagKey()

TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.

optional string tag_key = 1;

Returns
Type Description
boolean

Whether the tagKey field is set.

hasTagValue()

public abstract boolean hasTagValue()

TagValue namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.

optional string tag_value = 3;

Returns
Type Description
boolean

Whether the tagValue field is set.

hasTagValueId()

public abstract boolean hasTagValueId()

TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.

optional string tag_value_id = 4;

Returns
Type Description
boolean

Whether the tagValueId field is set.