Class TriggerEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TriggerEventData build()
Returns
TypeDescription
TriggerEventData

buildPartial()

public TriggerEventData buildPartial()
Returns
TypeDescription
TriggerEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TriggerEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TriggerEventData.Builder
Overrides

clearPayload()

public TriggerEventData.Builder clearPayload()

The Trigger event payload.

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

Returns
TypeDescription
TriggerEventData.Builder

clone()

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

getDefaultInstanceForType()

public TriggerEventData getDefaultInstanceForType()
Returns
TypeDescription
TriggerEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public Trigger getPayload()

The Trigger event payload.

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

Returns
TypeDescription
Trigger

The payload.

getPayloadBuilder()

public Trigger.Builder getPayloadBuilder()

The Trigger event payload.

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

Returns
TypeDescription
Trigger.Builder

getPayloadOrBuilder()

public TriggerOrBuilder getPayloadOrBuilder()

The Trigger event payload.

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

Returns
TypeDescription
TriggerOrBuilder

hasPayload()

public boolean hasPayload()

The Trigger event payload.

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

public TriggerEventData.Builder mergeFrom(TriggerEventData other)
Parameter
NameDescription
otherTriggerEventData
Returns
TypeDescription
TriggerEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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