Class UpdateWorkflowRequest.Builder (2.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateWorkflowRequest build()
Returns
TypeDescription
UpdateWorkflowRequest

buildPartial()

public UpdateWorkflowRequest buildPartial()
Returns
TypeDescription
UpdateWorkflowRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateWorkflowRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateWorkflowRequest

getDescriptorForType()

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

getWorkflow()

public Workflow getWorkflow()

Required. Workflow to be updated.

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

Returns
TypeDescription
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
TypeDescription
Workflow.Builder

getWorkflowOrBuilder()

public WorkflowOrBuilder getWorkflowOrBuilder()

Required. Workflow to be updated.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the workflow field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateWorkflowRequest other)

public UpdateWorkflowRequest.Builder mergeFrom(UpdateWorkflowRequest other)
Parameter
NameDescription
otherUpdateWorkflowRequest
Returns
TypeDescription
UpdateWorkflowRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateWorkflowRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateWorkflowRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateWorkflowRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueWorkflow
Returns
TypeDescription
UpdateWorkflowRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateWorkflowRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateWorkflowRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateWorkflowRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueWorkflow
Returns
TypeDescription
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
NameDescription
builderForValueWorkflow.Builder
Returns
TypeDescription
UpdateWorkflowRequest.Builder