Interface WorkflowTemplatePlacementOrBuilder (4.52.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
Type Description
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
Type Description
ClusterSelectorOrBuilder

getManagedCluster()

public abstract ManagedCluster getManagedCluster()

A cluster that is managed by the workflow.

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

Returns
Type Description
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
Type Description
ManagedClusterOrBuilder

getPlacementCase()

public abstract WorkflowTemplatePlacement.PlacementCase getPlacementCase()
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the managedCluster field is set.