Interface WorkflowTemplatePlacementOrBuilder (4.25.0)

public interface WorkflowTemplatePlacementOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterSelector()

public abstract ClusterSelector getClusterSelector()

Optional. A selector that chooses target cluster for jobs based on metadata.

The selector is evaluated at the time each job is submitted.

.google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2;

Returns
TypeDescription
ClusterSelector

The clusterSelector.

getClusterSelectorOrBuilder()

public abstract ClusterSelectorOrBuilder getClusterSelectorOrBuilder()

Optional. A selector that chooses target cluster for jobs based on metadata.

The selector is evaluated at the time each job is submitted.

.google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2;

Returns
TypeDescription
ClusterSelectorOrBuilder

getManagedCluster()

public abstract ManagedCluster getManagedCluster()

A cluster that is managed by the workflow.

.google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1;

Returns
TypeDescription
ManagedCluster

The managedCluster.

getManagedClusterOrBuilder()

public abstract ManagedClusterOrBuilder getManagedClusterOrBuilder()

A cluster that is managed by the workflow.

.google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1;

Returns
TypeDescription
ManagedClusterOrBuilder

getPlacementCase()

public abstract WorkflowTemplatePlacement.PlacementCase getPlacementCase()
Returns
TypeDescription
WorkflowTemplatePlacement.PlacementCase

hasClusterSelector()

public abstract boolean hasClusterSelector()

Optional. A selector that chooses target cluster for jobs based on metadata.

The selector is evaluated at the time each job is submitted.

.google.cloud.dataproc.v1.ClusterSelector cluster_selector = 2;

Returns
TypeDescription
boolean

Whether the clusterSelector field is set.

hasManagedCluster()

public abstract boolean hasManagedCluster()

A cluster that is managed by the workflow.

.google.cloud.dataproc.v1.ManagedCluster managed_cluster = 1;

Returns
TypeDescription
boolean

Whether the managedCluster field is set.