Class WorkflowEventData.Builder (0.15.0)

public static final class WorkflowEventData.Builder extends GeneratedMessageV3.Builder<WorkflowEventData.Builder> implements WorkflowEventDataOrBuilder

The data within all Workflow events.

Protobuf type google.events.cloud.workflows.v1.WorkflowEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkflowEventData build()
Returns
Type Description
WorkflowEventData

buildPartial()

public WorkflowEventData buildPartial()
Returns
Type Description
WorkflowEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public WorkflowEventData.Builder clearPayload()

Optional. The Workflow event payload. Unset for deletion events.

optional .google.events.cloud.workflows.v1.Workflow payload = 1;

Returns
Type Description
WorkflowEventData.Builder

clone()

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

getDefaultInstanceForType()

public WorkflowEventData getDefaultInstanceForType()
Returns
Type Description
WorkflowEventData

getDescriptorForType()

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

getPayload()

public Workflow getPayload()

Optional. The Workflow event payload. Unset for deletion events.

optional .google.events.cloud.workflows.v1.Workflow payload = 1;

Returns
Type Description
Workflow

The payload.

getPayloadBuilder()

public Workflow.Builder getPayloadBuilder()

Optional. The Workflow event payload. Unset for deletion events.

optional .google.events.cloud.workflows.v1.Workflow payload = 1;

Returns
Type Description
Workflow.Builder

getPayloadOrBuilder()

public WorkflowOrBuilder getPayloadOrBuilder()

Optional. The Workflow event payload. Unset for deletion events.

optional .google.events.cloud.workflows.v1.Workflow payload = 1;

Returns
Type Description
WorkflowOrBuilder

hasPayload()

public boolean hasPayload()

Optional. The Workflow event payload. Unset for deletion events.

optional .google.events.cloud.workflows.v1.Workflow payload = 1;

Returns
Type Description
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkflowEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Workflow value)

public WorkflowEventData.Builder mergePayload(Workflow value)

Optional. The Workflow event payload. Unset for deletion events.

optional .google.events.cloud.workflows.v1.Workflow payload = 1;

Parameter
Name Description
value Workflow
Returns
Type Description
WorkflowEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Workflow value)

public WorkflowEventData.Builder setPayload(Workflow value)

Optional. The Workflow event payload. Unset for deletion events.

optional .google.events.cloud.workflows.v1.Workflow payload = 1;

Parameter
Name Description
value Workflow
Returns
Type Description
WorkflowEventData.Builder

setPayload(Workflow.Builder builderForValue)

public WorkflowEventData.Builder setPayload(Workflow.Builder builderForValue)

Optional. The Workflow event payload. Unset for deletion events.

optional .google.events.cloud.workflows.v1.Workflow payload = 1;

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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