Class TriggerEventData.Builder (0.16.0)

public static final class TriggerEventData.Builder extends GeneratedMessageV3.Builder<TriggerEventData.Builder> implements TriggerEventDataOrBuilder

The data within all Trigger events.

Protobuf type google.events.cloud.eventarc.v1.TriggerEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TriggerEventData build()
Returns
Type Description
TriggerEventData

buildPartial()

public TriggerEventData buildPartial()
Returns
Type Description
TriggerEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public TriggerEventData.Builder clearPayload()

The Trigger event payload.

.google.events.cloud.eventarc.v1.Trigger payload = 1;

Returns
Type Description
TriggerEventData.Builder

clone()

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

getDefaultInstanceForType()

public TriggerEventData getDefaultInstanceForType()
Returns
Type Description
TriggerEventData

getDescriptorForType()

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

getPayload()

public Trigger getPayload()

The Trigger event payload.

.google.events.cloud.eventarc.v1.Trigger payload = 1;

Returns
Type Description
Trigger

The payload.

getPayloadBuilder()

public Trigger.Builder getPayloadBuilder()

The Trigger event payload.

.google.events.cloud.eventarc.v1.Trigger payload = 1;

Returns
Type Description
Trigger.Builder

getPayloadOrBuilder()

public TriggerOrBuilder getPayloadOrBuilder()

The Trigger event payload.

.google.events.cloud.eventarc.v1.Trigger payload = 1;

Returns
Type Description
TriggerOrBuilder

hasPayload()

public boolean hasPayload()

The Trigger event payload.

.google.events.cloud.eventarc.v1.Trigger 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(TriggerEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Trigger value)

public TriggerEventData.Builder mergePayload(Trigger value)

The Trigger event payload.

.google.events.cloud.eventarc.v1.Trigger payload = 1;

Parameter
Name Description
value Trigger
Returns
Type Description
TriggerEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Trigger value)

public TriggerEventData.Builder setPayload(Trigger value)

The Trigger event payload.

.google.events.cloud.eventarc.v1.Trigger payload = 1;

Parameter
Name Description
value Trigger
Returns
Type Description
TriggerEventData.Builder

setPayload(Trigger.Builder builderForValue)

public TriggerEventData.Builder setPayload(Trigger.Builder builderForValue)

The Trigger event payload.

.google.events.cloud.eventarc.v1.Trigger payload = 1;

Parameter
Name Description
builderForValue Trigger.Builder
Returns
Type Description
TriggerEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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