Class UpdateWorkflowTemplateRequest.Builder (4.50.0)

public static final class UpdateWorkflowTemplateRequest.Builder extends GeneratedMessageV3.Builder<UpdateWorkflowTemplateRequest.Builder> implements UpdateWorkflowTemplateRequestOrBuilder

A request to update a workflow template.

Protobuf type google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateWorkflowTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder
Overrides

build()

public UpdateWorkflowTemplateRequest build()
Returns
Type Description
UpdateWorkflowTemplateRequest

buildPartial()

public UpdateWorkflowTemplateRequest buildPartial()
Returns
Type Description
UpdateWorkflowTemplateRequest

clear()

public UpdateWorkflowTemplateRequest.Builder clear()
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateWorkflowTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateWorkflowTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder
Overrides

clearTemplate()

public UpdateWorkflowTemplateRequest.Builder clearTemplate()

Required. The updated workflow template.

The template.version field must match the current version.

.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateWorkflowTemplateRequest.Builder

clone()

public UpdateWorkflowTemplateRequest.Builder clone()
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateWorkflowTemplateRequest getDefaultInstanceForType()
Returns
Type Description
UpdateWorkflowTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTemplate()

public WorkflowTemplate getTemplate()

Required. The updated workflow template.

The template.version field must match the current version.

.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkflowTemplate

The template.

getTemplateBuilder()

public WorkflowTemplate.Builder getTemplateBuilder()

Required. The updated workflow template.

The template.version field must match the current version.

.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkflowTemplate.Builder

getTemplateOrBuilder()

public WorkflowTemplateOrBuilder getTemplateOrBuilder()

Required. The updated workflow template.

The template.version field must match the current version.

.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkflowTemplateOrBuilder

hasTemplate()

public boolean hasTemplate()

Required. The updated workflow template.

The template.version field must match the current version.

.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the template field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateWorkflowTemplateRequest other)

public UpdateWorkflowTemplateRequest.Builder mergeFrom(UpdateWorkflowTemplateRequest other)
Parameter
Name Description
other UpdateWorkflowTemplateRequest
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateWorkflowTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateWorkflowTemplateRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder
Overrides

mergeTemplate(WorkflowTemplate value)

public UpdateWorkflowTemplateRequest.Builder mergeTemplate(WorkflowTemplate value)

Required. The updated workflow template.

The template.version field must match the current version.

.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value WorkflowTemplate
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateWorkflowTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateWorkflowTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder
Overrides

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

public UpdateWorkflowTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder
Overrides

setTemplate(WorkflowTemplate value)

public UpdateWorkflowTemplateRequest.Builder setTemplate(WorkflowTemplate value)

Required. The updated workflow template.

The template.version field must match the current version.

.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value WorkflowTemplate
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder

setTemplate(WorkflowTemplate.Builder builderForValue)

public UpdateWorkflowTemplateRequest.Builder setTemplate(WorkflowTemplate.Builder builderForValue)

Required. The updated workflow template.

The template.version field must match the current version.

.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue WorkflowTemplate.Builder
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateWorkflowTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateWorkflowTemplateRequest.Builder
Overrides