Interface ClusterSelectorOrBuilder (4.45.0)

public interface ClusterSelectorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsClusterLabels(String key)

public abstract boolean containsClusterLabels(String key)

Required. The cluster labels. Cluster must have all labels to match.

map<string, string> cluster_labels = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
key String
Returns
Type Description
boolean

getClusterLabels() (deprecated)

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

getClusterLabelsCount()

public abstract int getClusterLabelsCount()

Required. The cluster labels. Cluster must have all labels to match.

map<string, string> cluster_labels = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getClusterLabelsMap()

public abstract Map<String,String> getClusterLabelsMap()

Required. The cluster labels. Cluster must have all labels to match.

map<string, string> cluster_labels = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Map<String,String>

getClusterLabelsOrDefault(String key, String defaultValue)

public abstract String getClusterLabelsOrDefault(String key, String defaultValue)

Required. The cluster labels. Cluster must have all labels to match.

map<string, string> cluster_labels = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getClusterLabelsOrThrow(String key)

public abstract String getClusterLabelsOrThrow(String key)

Required. The cluster labels. Cluster must have all labels to match.

map<string, string> cluster_labels = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
key String
Returns
Type Description
String

getZone()

public abstract String getZone()

Optional. The zone where workflow process executes. This parameter does not affect the selection of the cluster.

If unspecified, the zone of the first cluster matching the selector is used.

string zone = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

Optional. The zone where workflow process executes. This parameter does not affect the selection of the cluster.

If unspecified, the zone of the first cluster matching the selector is used.

string zone = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for zone.