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 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];
      • 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];
      • getClusterLabelsOrThrow

        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];