Interface GlobalVmExtensionPolicyLabelSelectorOrBuilder (1.105.0)

public interface GlobalVmExtensionPolicyLabelSelectorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsInclusionLabels(String key)

public abstract boolean containsInclusionLabels(String key)

Optional. Labels as key value pairs. A VM should contain all the pairs specified in this map to be selected; Labels within the LabelSelector are OR'ed.

map<string, string> inclusion_labels = 501312642;

Parameter
Name Description
key String
Returns
Type Description
boolean

getInclusionLabels() (deprecated)

public abstract Map<String,String> getInclusionLabels()
Returns
Type Description
Map<String,String>

getInclusionLabelsCount()

public abstract int getInclusionLabelsCount()

Optional. Labels as key value pairs. A VM should contain all the pairs specified in this map to be selected; Labels within the LabelSelector are OR'ed.

map<string, string> inclusion_labels = 501312642;

Returns
Type Description
int

getInclusionLabelsMap()

public abstract Map<String,String> getInclusionLabelsMap()

Optional. Labels as key value pairs. A VM should contain all the pairs specified in this map to be selected; Labels within the LabelSelector are OR'ed.

map<string, string> inclusion_labels = 501312642;

Returns
Type Description
Map<String,String>

getInclusionLabelsOrDefault(String key, String defaultValue)

public abstract String getInclusionLabelsOrDefault(String key, String defaultValue)

Optional. Labels as key value pairs. A VM should contain all the pairs specified in this map to be selected; Labels within the LabelSelector are OR'ed.

map<string, string> inclusion_labels = 501312642;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getInclusionLabelsOrThrow(String key)

public abstract String getInclusionLabelsOrThrow(String key)

Optional. Labels as key value pairs. A VM should contain all the pairs specified in this map to be selected; Labels within the LabelSelector are OR'ed.

map<string, string> inclusion_labels = 501312642;

Parameter
Name Description
key String
Returns
Type Description
String