Interface KeyValueMetadataLabelOrBuilder (3.92.0)

public interface KeyValueMetadataLabelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

The metadata key. The format depends on the source of the metadata.

Example:

  • MSIP_Label_122709e3-8f6b-4860-985f-7f722a94f61e_Enabled (a Microsoft Purview Information Protection key example)

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

The metadata key. The format depends on the source of the metadata.

Example:

  • MSIP_Label_122709e3-8f6b-4860-985f-7f722a94f61e_Enabled (a Microsoft Purview Information Protection key example)

string key = 1;

Returns
Type Description
ByteString

The bytes for key.