Class ChannelConnectionEventData.Builder (0.15.0)

public static final class ChannelConnectionEventData.Builder extends GeneratedMessageV3.Builder<ChannelConnectionEventData.Builder> implements ChannelConnectionEventDataOrBuilder

The data within all ChannelConnection events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ChannelConnectionEventData build()
Returns
Type Description
ChannelConnectionEventData

buildPartial()

public ChannelConnectionEventData buildPartial()
Returns
Type Description
ChannelConnectionEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ChannelConnectionEventData.Builder clearPayload()

The ChannelConnection event payload.

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

Returns
Type Description
ChannelConnectionEventData.Builder

clone()

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

getDefaultInstanceForType()

public ChannelConnectionEventData getDefaultInstanceForType()
Returns
Type Description
ChannelConnectionEventData

getDescriptorForType()

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

getPayload()

public ChannelConnection getPayload()

The ChannelConnection event payload.

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

Returns
Type Description
ChannelConnection

The payload.

getPayloadBuilder()

public ChannelConnection.Builder getPayloadBuilder()

The ChannelConnection event payload.

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

Returns
Type Description
ChannelConnection.Builder

getPayloadOrBuilder()

public ChannelConnectionOrBuilder getPayloadOrBuilder()

The ChannelConnection event payload.

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

Returns
Type Description
ChannelConnectionOrBuilder

hasPayload()

public boolean hasPayload()

The ChannelConnection event payload.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(ChannelConnection value)

public ChannelConnectionEventData.Builder mergePayload(ChannelConnection value)

The ChannelConnection event payload.

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

Parameter
Name Description
value ChannelConnection
Returns
Type Description
ChannelConnectionEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(ChannelConnection value)

public ChannelConnectionEventData.Builder setPayload(ChannelConnection value)

The ChannelConnection event payload.

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

Parameter
Name Description
value ChannelConnection
Returns
Type Description
ChannelConnectionEventData.Builder

setPayload(ChannelConnection.Builder builderForValue)

public ChannelConnectionEventData.Builder setPayload(ChannelConnection.Builder builderForValue)

The ChannelConnection event payload.

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

Parameter
Name Description
builderForValue ChannelConnection.Builder
Returns
Type Description
ChannelConnectionEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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