- 4.50.0 (latest)
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WorkflowMetadata.BuilderImplements
WorkflowMetadataOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WorkflowMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
WorkflowMetadata.Builder |
build()
public WorkflowMetadata build()
Type | Description |
WorkflowMetadata |
buildPartial()
public WorkflowMetadata buildPartial()
Type | Description |
WorkflowMetadata |
clear()
public WorkflowMetadata.Builder clear()
Type | Description |
WorkflowMetadata.Builder |
clearClusterName()
public WorkflowMetadata.Builder clearClusterName()
Output only. The name of the target cluster.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
WorkflowMetadata.Builder |
clearEndTime()
public WorkflowMetadata.Builder clearEndTime()
Output only. Workflow end time.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
WorkflowMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public WorkflowMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
WorkflowMetadata.Builder |
clearGraph()
public WorkflowMetadata.Builder clearGraph()
Output only. The workflow graph.
.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
WorkflowMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkflowMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
WorkflowMetadata.Builder |
clearParameters()
public WorkflowMetadata.Builder clearParameters()
Type | Description |
WorkflowMetadata.Builder |
clearStartTime()
public WorkflowMetadata.Builder clearStartTime()
Output only. Workflow start time.
.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
WorkflowMetadata.Builder | This builder for chaining. |
clone()
public WorkflowMetadata.Builder clone()
Type | Description |
WorkflowMetadata.Builder |
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;
Name | Description |
key | String |
Type | Description |
boolean |
getClusterName()
public String getClusterName()
Output only. The name of the target cluster.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
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];
Type | Description |
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];
Type | Description |
String | The clusterUuid. |
getClusterUuidBytes()
public ByteString getClusterUuidBytes()
Output only. The UUID of target cluster.
string cluster_uuid = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
DurationOrBuilder |
getDefaultInstanceForType()
public WorkflowMetadata getDefaultInstanceForType()
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
ClusterOperationOrBuilder |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
Output only. Workflow end time.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
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];
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. Workflow end time.
.google.protobuf.Timestamp end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getGraph()
public WorkflowGraph getGraph()
Output only. The workflow graph.
.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
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];
Type | Description |
WorkflowGraph.Builder |
getGraphOrBuilder()
public WorkflowGraphOrBuilder getGraphOrBuilder()
Output only. The workflow graph.
.google.cloud.dataproc.v1.WorkflowGraph graph = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
WorkflowGraphOrBuilder |
getMutableParameters()
public Map<String,String> getMutableParameters()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getParameters()
public Map<String,String> getParameters()
Use #getParametersMap() instead.
Type | Description |
Map<String,String> |
getParametersCount()
public int getParametersCount()
Map from parameter names to values that were used for those parameters.
map<string, string> parameters = 8;
Type | Description |
int |
getParametersMap()
public Map<String,String> getParametersMap()
Map from parameter names to values that were used for those parameters.
map<string, string> parameters = 8;
Type | Description |
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;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
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;
Name | Description |
key | String |
Type | Description |
String |
getStartTime()
public Timestamp getStartTime()
Output only. Workflow start time.
.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
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];
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. Workflow start time.
.google.protobuf.Timestamp start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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];
Name | Description |
value | ClusterOperation |
Type | Description |
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];
Name | Description |
value | Timestamp |
Type | Description |
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];
Name | Description |
value | Timestamp |
Type | Description |
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];
Name | Description |
value | Duration |
Type | Description |
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];
Name | Description |
value | ClusterOperation |
Type | Description |
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];
Name | Description |
value | Timestamp |
Type | Description |
WorkflowMetadata.Builder |
mergeFrom(WorkflowMetadata other)
public WorkflowMetadata.Builder mergeFrom(WorkflowMetadata other)
Name | Description |
other | WorkflowMetadata |
Type | Description |
WorkflowMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WorkflowMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WorkflowMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public WorkflowMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
WorkflowMetadata.Builder |
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];
Name | Description |
value | WorkflowGraph |
Type | Description |
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];
Name | Description |
value | Timestamp |
Type | Description |
WorkflowMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkflowMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
WorkflowMetadata.Builder |
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;
Name | Description |
values | Map<String,String> |
Type | Description |
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;
Name | Description |
key | String |
value | String |
Type | Description |
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;
Name | Description |
key | String |
Type | Description |
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];
Name | Description |
value | String The clusterName to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for clusterName to set. |
Type | Description |
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];
Name | Description |
value | String The clusterUuid to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for clusterUuid to set. |
Type | Description |
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];
Name | Description |
value | ClusterOperation |
Type | Description |
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];
Name | Description |
builderForValue | ClusterOperation.Builder |
Type | Description |
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];
Name | Description |
value | Timestamp |
Type | Description |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
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];
Name | Description |
value | Timestamp |
Type | Description |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
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];
Name | Description |
value | Duration |
Type | Description |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
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];
Name | Description |
value | ClusterOperation |
Type | Description |
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];
Name | Description |
builderForValue | ClusterOperation.Builder |
Type | Description |
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];
Name | Description |
value | Timestamp |
Type | Description |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
WorkflowMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public WorkflowMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
WorkflowMetadata.Builder |
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];
Name | Description |
value | WorkflowGraph |
Type | Description |
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];
Name | Description |
builderForValue | WorkflowGraph.Builder |
Type | Description |
WorkflowMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkflowMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
WorkflowMetadata.Builder |
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];
Name | Description |
value | Timestamp |
Type | Description |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
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];
Name | Description |
value | WorkflowMetadata.State The state to set. |
Type | Description |
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];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
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];
Name | Description |
value | String The template to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for template to set. |
Type | Description |
WorkflowMetadata.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkflowMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
WorkflowMetadata.Builder |
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];
Name | Description |
value | int The version to set. |
Type | Description |
WorkflowMetadata.Builder | This builder for chaining. |