Class ChannelEventData.Builder (0.14.1)

public static final class ChannelEventData.Builder extends GeneratedMessageV3.Builder<ChannelEventData.Builder> implements ChannelEventDataOrBuilder

The data within all Channel events.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ChannelEventData build()
Returns
TypeDescription
ChannelEventData

buildPartial()

public ChannelEventData buildPartial()
Returns
TypeDescription
ChannelEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ChannelEventData.Builder clearPayload()

The Channel event payload.

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

Returns
TypeDescription
ChannelEventData.Builder

clone()

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

getDefaultInstanceForType()

public ChannelEventData getDefaultInstanceForType()
Returns
TypeDescription
ChannelEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public Channel getPayload()

The Channel event payload.

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

Returns
TypeDescription
Channel

The payload.

getPayloadBuilder()

public Channel.Builder getPayloadBuilder()

The Channel event payload.

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

Returns
TypeDescription
Channel.Builder

getPayloadOrBuilder()

public ChannelOrBuilder getPayloadOrBuilder()

The Channel event payload.

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

Returns
TypeDescription
ChannelOrBuilder

hasPayload()

public boolean hasPayload()

The Channel event payload.

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

public ChannelEventData.Builder mergeFrom(ChannelEventData other)
Parameter
NameDescription
otherChannelEventData
Returns
TypeDescription
ChannelEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ChannelEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ChannelEventData.Builder
Overrides

mergePayload(Channel value)

public ChannelEventData.Builder mergePayload(Channel value)

The Channel event payload.

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

Parameter
NameDescription
valueChannel
Returns
TypeDescription
ChannelEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Channel value)

public ChannelEventData.Builder setPayload(Channel value)

The Channel event payload.

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

Parameter
NameDescription
valueChannel
Returns
TypeDescription
ChannelEventData.Builder

setPayload(Channel.Builder builderForValue)

public ChannelEventData.Builder setPayload(Channel.Builder builderForValue)

The Channel event payload.

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

Parameter
NameDescription
builderForValueChannel.Builder
Returns
TypeDescription
ChannelEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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