Interface PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder (2.55.0)

public static interface PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.

map<string, string> labels = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.

map<string, string> labels = 1;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.

map<string, string> labels = 1;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)