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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WorkflowEventData.BuilderImplements
WorkflowEventDataOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public WorkflowEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
WorkflowEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkflowEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
WorkflowEventData.Builder |
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 |
getDefaultInstanceForType()
public WorkflowEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
WorkflowEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public WorkflowEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
WorkflowEventData.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkflowEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
WorkflowEventData.Builder |