Class UpdateWorkflowRequest.Builder (2.47.0)

public static final class UpdateWorkflowRequest.Builder extends GeneratedMessageV3.Builder<UpdateWorkflowRequest.Builder> implements UpdateWorkflowRequestOrBuilder

Request for the UpdateWorkflow method.

Protobuf type google.cloud.workflows.v1.UpdateWorkflowRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateWorkflowRequest build()
Returns
Type Description
UpdateWorkflowRequest

buildPartial()

public UpdateWorkflowRequest buildPartial()
Returns
Type Description
UpdateWorkflowRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateWorkflowRequest.Builder clearUpdateMask()

List of fields to be updated. If not present, the entire workflow will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateWorkflowRequest.Builder

clearWorkflow()

public UpdateWorkflowRequest.Builder clearWorkflow()

Required. Workflow to be updated.

.google.cloud.workflows.v1.Workflow workflow = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateWorkflowRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateWorkflowRequest getDefaultInstanceForType()
Returns
Type Description
UpdateWorkflowRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

List of fields to be updated. If not present, the entire workflow will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

List of fields to be updated. If not present, the entire workflow will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

List of fields to be updated. If not present, the entire workflow will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

getWorkflow()

public Workflow getWorkflow()

Required. Workflow to be updated.

.google.cloud.workflows.v1.Workflow workflow = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Workflow

The workflow.

getWorkflowBuilder()

public Workflow.Builder getWorkflowBuilder()

Required. Workflow to be updated.

.google.cloud.workflows.v1.Workflow workflow = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Workflow.Builder

getWorkflowOrBuilder()

public WorkflowOrBuilder getWorkflowOrBuilder()

Required. Workflow to be updated.

.google.cloud.workflows.v1.Workflow workflow = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkflowOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

List of fields to be updated. If not present, the entire workflow will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

hasWorkflow()

public boolean hasWorkflow()

Required. Workflow to be updated.

.google.cloud.workflows.v1.Workflow workflow = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the workflow field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateWorkflowRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateWorkflowRequest.Builder mergeUpdateMask(FieldMask value)

List of fields to be updated. If not present, the entire workflow will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateWorkflowRequest.Builder

mergeWorkflow(Workflow value)

public UpdateWorkflowRequest.Builder mergeWorkflow(Workflow value)

Required. Workflow to be updated.

.google.cloud.workflows.v1.Workflow workflow = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Workflow
Returns
Type Description
UpdateWorkflowRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateWorkflowRequest.Builder setUpdateMask(FieldMask value)

List of fields to be updated. If not present, the entire workflow will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateWorkflowRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateWorkflowRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

List of fields to be updated. If not present, the entire workflow will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateWorkflowRequest.Builder

setWorkflow(Workflow value)

public UpdateWorkflowRequest.Builder setWorkflow(Workflow value)

Required. Workflow to be updated.

.google.cloud.workflows.v1.Workflow workflow = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Workflow
Returns
Type Description
UpdateWorkflowRequest.Builder

setWorkflow(Workflow.Builder builderForValue)

public UpdateWorkflowRequest.Builder setWorkflow(Workflow.Builder builderForValue)

Required. Workflow to be updated.

.google.cloud.workflows.v1.Workflow workflow = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Workflow.Builder
Returns
Type Description
UpdateWorkflowRequest.Builder