Class ChannelConnectionEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ChannelConnectionEventData build()
Returns
TypeDescription
ChannelConnectionEventData

buildPartial()

public ChannelConnectionEventData buildPartial()
Returns
TypeDescription
ChannelConnectionEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ChannelConnectionEventData.Builder clearPayload()

The ChannelConnection event payload.

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

Returns
TypeDescription
ChannelConnectionEventData.Builder

clone()

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

getDefaultInstanceForType()

public ChannelConnectionEventData getDefaultInstanceForType()
Returns
TypeDescription
ChannelConnectionEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public ChannelConnection getPayload()

The ChannelConnection event payload.

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

Returns
TypeDescription
ChannelConnection

The payload.

getPayloadBuilder()

public ChannelConnection.Builder getPayloadBuilder()

The ChannelConnection event payload.

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

Returns
TypeDescription
ChannelConnection.Builder

getPayloadOrBuilder()

public ChannelConnectionOrBuilder getPayloadOrBuilder()

The ChannelConnection event payload.

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

Returns
TypeDescription
ChannelConnectionOrBuilder

hasPayload()

public boolean hasPayload()

The ChannelConnection event payload.

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

public ChannelConnectionEventData.Builder mergeFrom(ChannelConnectionEventData other)
Parameter
NameDescription
otherChannelConnectionEventData
Returns
TypeDescription
ChannelConnectionEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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