Class WorkflowMetadata.Builder (4.28.0)

public static final class WorkflowMetadata.Builder extends GeneratedMessageV3.Builder<WorkflowMetadata.Builder> implements WorkflowMetadataOrBuilder

A Dataproc workflow template resource.

Protobuf type google.cloud.dataproc.v1.WorkflowMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkflowMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WorkflowMetadata.Builder
Overrides

build()

public WorkflowMetadata build()
Returns
TypeDescription
WorkflowMetadata

buildPartial()

public WorkflowMetadata buildPartial()
Returns
TypeDescription
WorkflowMetadata

clear()

public WorkflowMetadata.Builder clear()
Returns
TypeDescription
WorkflowMetadata.Builder
Overrides

clearClusterName()

public WorkflowMetadata.Builder clearClusterName()

Output only. The name of the target cluster.

string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

clearClusterUuid()

public WorkflowMetadata.Builder clearClusterUuid()

Output only. The UUID of target cluster.

string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

clearCreateCluster()

public WorkflowMetadata.Builder clearCreateCluster()

Output only. The create cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

clearDagEndTime()

public WorkflowMetadata.Builder clearDagEndTime()

Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.

.google.protobuf.Timestamp dag_end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

clearDagStartTime()

public WorkflowMetadata.Builder clearDagStartTime()

Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.

.google.protobuf.Timestamp dag_start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

clearDagTimeout()

public WorkflowMetadata.Builder clearDagTimeout()

Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration).

.google.protobuf.Duration dag_timeout = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

clearDeleteCluster()

public WorkflowMetadata.Builder clearDeleteCluster()

Output only. The delete cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

clearEndTime()

public WorkflowMetadata.Builder clearEndTime()

Output only. Workflow end time.

.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public WorkflowMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
WorkflowMetadata.Builder
Overrides

clearGraph()

public WorkflowMetadata.Builder clearGraph()

Output only. The workflow graph.

.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkflowMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
WorkflowMetadata.Builder
Overrides

clearParameters()

public WorkflowMetadata.Builder clearParameters()
Returns
TypeDescription
WorkflowMetadata.Builder

clearStartTime()

public WorkflowMetadata.Builder clearStartTime()

Output only. Workflow start time.

.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

clearState()

public WorkflowMetadata.Builder clearState()

Output only. The workflow state.

.google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

clearTemplate()

public WorkflowMetadata.Builder clearTemplate()

Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names.

  • For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}

  • For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}

string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

clearVersion()

public WorkflowMetadata.Builder clearVersion()

Output only. The version of template at the time of workflow instantiation.

int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

clone()

public WorkflowMetadata.Builder clone()
Returns
TypeDescription
WorkflowMetadata.Builder
Overrides

containsParameters(String key)

public boolean containsParameters(String key)

Map from parameter names to values that were used for those parameters.

map<string, string> parameters = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getClusterName()

public String getClusterName()

Output only. The name of the target cluster.

string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The clusterName.

getClusterNameBytes()

public ByteString getClusterNameBytes()

Output only. The name of the target cluster.

string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for clusterName.

getClusterUuid()

public String getClusterUuid()

Output only. The UUID of target cluster.

string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The clusterUuid.

getClusterUuidBytes()

public ByteString getClusterUuidBytes()

Output only. The UUID of target cluster.

string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for clusterUuid.

getCreateCluster()

public ClusterOperation getCreateCluster()

Output only. The create cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ClusterOperation

The createCluster.

getCreateClusterBuilder()

public ClusterOperation.Builder getCreateClusterBuilder()

Output only. The create cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ClusterOperation.Builder

getCreateClusterOrBuilder()

public ClusterOperationOrBuilder getCreateClusterOrBuilder()

Output only. The create cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ClusterOperationOrBuilder

getDagEndTime()

public Timestamp getDagEndTime()

Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.

.google.protobuf.Timestamp dag_end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The dagEndTime.

getDagEndTimeBuilder()

public Timestamp.Builder getDagEndTimeBuilder()

Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.

.google.protobuf.Timestamp dag_end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getDagEndTimeOrBuilder()

public TimestampOrBuilder getDagEndTimeOrBuilder()

Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.

.google.protobuf.Timestamp dag_end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDagStartTime()

public Timestamp getDagStartTime()

Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.

.google.protobuf.Timestamp dag_start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The dagStartTime.

getDagStartTimeBuilder()

public Timestamp.Builder getDagStartTimeBuilder()

Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.

.google.protobuf.Timestamp dag_start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getDagStartTimeOrBuilder()

public TimestampOrBuilder getDagStartTimeOrBuilder()

Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.

.google.protobuf.Timestamp dag_start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDagTimeout()

public Duration getDagTimeout()

Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration).

.google.protobuf.Duration dag_timeout = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Duration

The dagTimeout.

getDagTimeoutBuilder()

public Duration.Builder getDagTimeoutBuilder()

Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration).

.google.protobuf.Duration dag_timeout = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getDagTimeoutOrBuilder()

public DurationOrBuilder getDagTimeoutOrBuilder()

Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration).

.google.protobuf.Duration dag_timeout = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DurationOrBuilder

getDefaultInstanceForType()

public WorkflowMetadata getDefaultInstanceForType()
Returns
TypeDescription
WorkflowMetadata

getDeleteCluster()

public ClusterOperation getDeleteCluster()

Output only. The delete cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ClusterOperation

The deleteCluster.

getDeleteClusterBuilder()

public ClusterOperation.Builder getDeleteClusterBuilder()

Output only. The delete cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ClusterOperation.Builder

getDeleteClusterOrBuilder()

public ClusterOperationOrBuilder getDeleteClusterOrBuilder()

Output only. The delete cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ClusterOperationOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Output only. Workflow end time.

.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. Workflow end time.

.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. Workflow end time.

.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getGraph()

public WorkflowGraph getGraph()

Output only. The workflow graph.

.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowGraph

The graph.

getGraphBuilder()

public WorkflowGraph.Builder getGraphBuilder()

Output only. The workflow graph.

.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowGraph.Builder

getGraphOrBuilder()

public WorkflowGraphOrBuilder getGraphOrBuilder()

Output only. The workflow graph.

.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowGraphOrBuilder

getMutableParameters() (deprecated)

public Map<String,String> getMutableParameters()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getParameters() (deprecated)

public Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
TypeDescription
Map<String,String>

getParametersCount()

public int getParametersCount()

Map from parameter names to values that were used for those parameters.

map<string, string> parameters = 8;

Returns
TypeDescription
int

getParametersMap()

public Map<String,String> getParametersMap()

Map from parameter names to values that were used for those parameters.

map<string, string> parameters = 8;

Returns
TypeDescription
Map<String,String>

getParametersOrDefault(String key, String defaultValue)

public String getParametersOrDefault(String key, String defaultValue)

Map from parameter names to values that were used for those parameters.

map<string, string> parameters = 8;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getParametersOrThrow(String key)

public String getParametersOrThrow(String key)

Map from parameter names to values that were used for those parameters.

map<string, string> parameters = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getStartTime()

public Timestamp getStartTime()

Output only. Workflow start time.

.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. Workflow start time.

.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Workflow start time.

.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getState()

public WorkflowMetadata.State getState()

Output only. The workflow state.

.google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkflowMetadata.State

The state.

getStateValue()

public int getStateValue()

Output only. The workflow state.

.google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTemplate()

public String getTemplate()

Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names.

  • For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}

  • For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}

string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The template.

getTemplateBytes()

public ByteString getTemplateBytes()

Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names.

  • For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}

  • For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}

string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for template.

getVersion()

public int getVersion()

Output only. The version of template at the time of workflow instantiation.

int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The version.

hasCreateCluster()

public boolean hasCreateCluster()

Output only. The create cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createCluster field is set.

hasDagEndTime()

public boolean hasDagEndTime()

Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.

.google.protobuf.Timestamp dag_end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the dagEndTime field is set.

hasDagStartTime()

public boolean hasDagStartTime()

Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.

.google.protobuf.Timestamp dag_start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the dagStartTime field is set.

hasDagTimeout()

public boolean hasDagTimeout()

Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration).

.google.protobuf.Duration dag_timeout = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the dagTimeout field is set.

hasDeleteCluster()

public boolean hasDeleteCluster()

Output only. The delete cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the deleteCluster field is set.

hasEndTime()

public boolean hasEndTime()

Output only. Workflow end time.

.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasGraph()

public boolean hasGraph()

Output only. The workflow graph.

.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the graph field is set.

hasStartTime()

public boolean hasStartTime()

Output only. Workflow start time.

.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateCluster(ClusterOperation value)

public WorkflowMetadata.Builder mergeCreateCluster(ClusterOperation value)

Output only. The create cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueClusterOperation
Returns
TypeDescription
WorkflowMetadata.Builder

mergeDagEndTime(Timestamp value)

public WorkflowMetadata.Builder mergeDagEndTime(Timestamp value)

Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.

.google.protobuf.Timestamp dag_end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkflowMetadata.Builder

mergeDagStartTime(Timestamp value)

public WorkflowMetadata.Builder mergeDagStartTime(Timestamp value)

Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.

.google.protobuf.Timestamp dag_start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkflowMetadata.Builder

mergeDagTimeout(Duration value)

public WorkflowMetadata.Builder mergeDagTimeout(Duration value)

Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration).

.google.protobuf.Duration dag_timeout = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueDuration
Returns
TypeDescription
WorkflowMetadata.Builder

mergeDeleteCluster(ClusterOperation value)

public WorkflowMetadata.Builder mergeDeleteCluster(ClusterOperation value)

Output only. The delete cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueClusterOperation
Returns
TypeDescription
WorkflowMetadata.Builder

mergeEndTime(Timestamp value)

public WorkflowMetadata.Builder mergeEndTime(Timestamp value)

Output only. Workflow end time.

.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkflowMetadata.Builder

mergeFrom(WorkflowMetadata other)

public WorkflowMetadata.Builder mergeFrom(WorkflowMetadata other)
Parameter
NameDescription
otherWorkflowMetadata
Returns
TypeDescription
WorkflowMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkflowMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkflowMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public WorkflowMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WorkflowMetadata.Builder
Overrides

mergeGraph(WorkflowGraph value)

public WorkflowMetadata.Builder mergeGraph(WorkflowGraph value)

Output only. The workflow graph.

.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueWorkflowGraph
Returns
TypeDescription
WorkflowMetadata.Builder

mergeStartTime(Timestamp value)

public WorkflowMetadata.Builder mergeStartTime(Timestamp value)

Output only. Workflow start time.

.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkflowMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WorkflowMetadata.Builder
Overrides

putAllParameters(Map<String,String> values)

public WorkflowMetadata.Builder putAllParameters(Map<String,String> values)

Map from parameter names to values that were used for those parameters.

map<string, string> parameters = 8;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
WorkflowMetadata.Builder

putParameters(String key, String value)

public WorkflowMetadata.Builder putParameters(String key, String value)

Map from parameter names to values that were used for those parameters.

map<string, string> parameters = 8;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
WorkflowMetadata.Builder

removeParameters(String key)

public WorkflowMetadata.Builder removeParameters(String key)

Map from parameter names to values that were used for those parameters.

map<string, string> parameters = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
WorkflowMetadata.Builder

setClusterName(String value)

public WorkflowMetadata.Builder setClusterName(String value)

Output only. The name of the target cluster.

string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The clusterName to set.

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

setClusterNameBytes(ByteString value)

public WorkflowMetadata.Builder setClusterNameBytes(ByteString value)

Output only. The name of the target cluster.

string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for clusterName to set.

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

setClusterUuid(String value)

public WorkflowMetadata.Builder setClusterUuid(String value)

Output only. The UUID of target cluster.

string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The clusterUuid to set.

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

setClusterUuidBytes(ByteString value)

public WorkflowMetadata.Builder setClusterUuidBytes(ByteString value)

Output only. The UUID of target cluster.

string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for clusterUuid to set.

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

setCreateCluster(ClusterOperation value)

public WorkflowMetadata.Builder setCreateCluster(ClusterOperation value)

Output only. The create cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueClusterOperation
Returns
TypeDescription
WorkflowMetadata.Builder

setCreateCluster(ClusterOperation.Builder builderForValue)

public WorkflowMetadata.Builder setCreateCluster(ClusterOperation.Builder builderForValue)

Output only. The create cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation create_cluster = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueClusterOperation.Builder
Returns
TypeDescription
WorkflowMetadata.Builder

setDagEndTime(Timestamp value)

public WorkflowMetadata.Builder setDagEndTime(Timestamp value)

Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.

.google.protobuf.Timestamp dag_end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkflowMetadata.Builder

setDagEndTime(Timestamp.Builder builderForValue)

public WorkflowMetadata.Builder setDagEndTime(Timestamp.Builder builderForValue)

Output only. DAG end time, only set for workflows with dag_timeout when DAG ends.

.google.protobuf.Timestamp dag_end_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
WorkflowMetadata.Builder

setDagStartTime(Timestamp value)

public WorkflowMetadata.Builder setDagStartTime(Timestamp value)

Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.

.google.protobuf.Timestamp dag_start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkflowMetadata.Builder

setDagStartTime(Timestamp.Builder builderForValue)

public WorkflowMetadata.Builder setDagStartTime(Timestamp.Builder builderForValue)

Output only. DAG start time, only set for workflows with dag_timeout when DAG begins.

.google.protobuf.Timestamp dag_start_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
WorkflowMetadata.Builder

setDagTimeout(Duration value)

public WorkflowMetadata.Builder setDagTimeout(Duration value)

Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration).

.google.protobuf.Duration dag_timeout = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueDuration
Returns
TypeDescription
WorkflowMetadata.Builder

setDagTimeout(Duration.Builder builderForValue)

public WorkflowMetadata.Builder setDagTimeout(Duration.Builder builderForValue)

Output only. The timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration).

.google.protobuf.Duration dag_timeout = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
WorkflowMetadata.Builder

setDeleteCluster(ClusterOperation value)

public WorkflowMetadata.Builder setDeleteCluster(ClusterOperation value)

Output only. The delete cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueClusterOperation
Returns
TypeDescription
WorkflowMetadata.Builder

setDeleteCluster(ClusterOperation.Builder builderForValue)

public WorkflowMetadata.Builder setDeleteCluster(ClusterOperation.Builder builderForValue)

Output only. The delete cluster operation metadata.

.google.cloud.dataproc.v1.ClusterOperation delete_cluster = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueClusterOperation.Builder
Returns
TypeDescription
WorkflowMetadata.Builder

setEndTime(Timestamp value)

public WorkflowMetadata.Builder setEndTime(Timestamp value)

Output only. Workflow end time.

.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkflowMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public WorkflowMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. Workflow end time.

.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
WorkflowMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public WorkflowMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WorkflowMetadata.Builder
Overrides

setGraph(WorkflowGraph value)

public WorkflowMetadata.Builder setGraph(WorkflowGraph value)

Output only. The workflow graph.

.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueWorkflowGraph
Returns
TypeDescription
WorkflowMetadata.Builder

setGraph(WorkflowGraph.Builder builderForValue)

public WorkflowMetadata.Builder setGraph(WorkflowGraph.Builder builderForValue)

Output only. The workflow graph.

.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueWorkflowGraph.Builder
Returns
TypeDescription
WorkflowMetadata.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WorkflowMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WorkflowMetadata.Builder
Overrides

setStartTime(Timestamp value)

public WorkflowMetadata.Builder setStartTime(Timestamp value)

Output only. Workflow start time.

.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkflowMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public WorkflowMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. Workflow start time.

.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
WorkflowMetadata.Builder

setState(WorkflowMetadata.State value)

public WorkflowMetadata.Builder setState(WorkflowMetadata.State value)

Output only. The workflow state.

.google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueWorkflowMetadata.State

The state to set.

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

setStateValue(int value)

public WorkflowMetadata.Builder setStateValue(int value)

Output only. The workflow state.

.google.cloud.dataproc.v1.WorkflowMetadata.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

setTemplate(String value)

public WorkflowMetadata.Builder setTemplate(String value)

Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names.

  • For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}

  • For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}

string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The template to set.

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

setTemplateBytes(ByteString value)

public WorkflowMetadata.Builder setTemplateBytes(ByteString value)

Output only. The resource name of the workflow template as described in https://cloud.google.com/apis/design/resource_names.

  • For projects.regions.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/regions/{region}/workflowTemplates/{template_id}

  • For projects.locations.workflowTemplates, the resource name of the template has the following format: projects/{project_id}/locations/{location}/workflowTemplates/{template_id}

string template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for template to set.

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkflowMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WorkflowMetadata.Builder
Overrides

setVersion(int value)

public WorkflowMetadata.Builder setVersion(int value)

Output only. The version of template at the time of workflow instantiation.

int32 version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The version to set.

Returns
TypeDescription
WorkflowMetadata.Builder

This builder for chaining.