Interface ClusterSelectorOrBuilder (4.30.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
NameDescription
keyString
Returns
TypeDescription
boolean

getClusterLabels() (deprecated)

public abstract Map<String,String> getClusterLabels()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for zone.