Package com.google.cloud.dataproc.v1
Interface ClusterSelectorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClusterSelector
,ClusterSelector.Builder
public interface ClusterSelectorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsClusterLabels(String key)
Required.Map<String,String>
getClusterLabels()
Deprecated.int
getClusterLabelsCount()
Required.Map<String,String>
getClusterLabelsMap()
Required.String
getClusterLabelsOrDefault(String key, String defaultValue)
Required.String
getClusterLabelsOrThrow(String key)
Required.String
getZone()
Optional.com.google.protobuf.ByteString
getZoneBytes()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getZone
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:
- The zone.
-
getZoneBytes
com.google.protobuf.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:
- The bytes for zone.
-
getClusterLabelsCount
int getClusterLabelsCount()
Required. The cluster labels. Cluster must have all labels to match.
map<string, string> cluster_labels = 2 [(.google.api.field_behavior) = REQUIRED];
-
containsClusterLabels
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];
-
getClusterLabels
@Deprecated Map<String,String> getClusterLabels()
Deprecated.UsegetClusterLabelsMap()
instead.
-
getClusterLabelsMap
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];
-
getClusterLabelsOrDefault
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];
-
-