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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateWorkflowTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateWorkflowTemplateRequest build()
buildPartial()
public UpdateWorkflowTemplateRequest buildPartial()
clear()
public UpdateWorkflowTemplateRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateWorkflowTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateWorkflowTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateWorkflowTemplateRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateWorkflowTemplateRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateWorkflowTemplateRequest other)
public UpdateWorkflowTemplateRequest.Builder mergeFrom(UpdateWorkflowTemplateRequest other)
public UpdateWorkflowTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateWorkflowTemplateRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWorkflowTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateWorkflowTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateWorkflowTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateWorkflowTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides