Class WorkflowEventData.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkflowEventData build()
Returns
TypeDescription
WorkflowEventData

buildPartial()

public WorkflowEventData buildPartial()
Returns
TypeDescription
WorkflowEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public WorkflowEventData getDefaultInstanceForType()
Returns
TypeDescription
WorkflowEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

Returns
TypeDescription
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WorkflowEventData other)

public WorkflowEventData.Builder mergeFrom(WorkflowEventData other)
Parameter
NameDescription
otherWorkflowEventData
Returns
TypeDescription
WorkflowEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public WorkflowEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueWorkflow
Returns
TypeDescription
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
NameDescription
builderForValueWorkflow.Builder
Returns
TypeDescription
WorkflowEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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