Class UpdateWorkflowTemplateRequest.Builder (4.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateWorkflowTemplateRequest build()
Returns
TypeDescription
UpdateWorkflowTemplateRequest

buildPartial()

public UpdateWorkflowTemplateRequest buildPartial()
Returns
TypeDescription
UpdateWorkflowTemplateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateWorkflowTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateWorkflowTemplateRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateWorkflowTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateWorkflowTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the template field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateWorkflowTemplateRequest other)

public UpdateWorkflowTemplateRequest.Builder mergeFrom(UpdateWorkflowTemplateRequest other)
Parameter
NameDescription
otherUpdateWorkflowTemplateRequest
Returns
TypeDescription
UpdateWorkflowTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateWorkflowTemplateRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueWorkflowTemplate
Returns
TypeDescription
UpdateWorkflowTemplateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateWorkflowTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueWorkflowTemplate
Returns
TypeDescription
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
NameDescription
builderForValueWorkflowTemplate.Builder
Returns
TypeDescription
UpdateWorkflowTemplateRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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