Class PrivateConnectionEventData.Builder (0.14.1)

public static final class PrivateConnectionEventData.Builder extends GeneratedMessageV3.Builder<PrivateConnectionEventData.Builder> implements PrivateConnectionEventDataOrBuilder

The data within all PrivateConnection events.

Protobuf type google.events.cloud.datastream.v1.PrivateConnectionEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PrivateConnectionEventData build()
Returns
TypeDescription
PrivateConnectionEventData

buildPartial()

public PrivateConnectionEventData buildPartial()
Returns
TypeDescription
PrivateConnectionEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public PrivateConnectionEventData.Builder clearPayload()

Optional. The PrivateConnection event payload. Unset for deletion events.

optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;

Returns
TypeDescription
PrivateConnectionEventData.Builder

clone()

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

getDefaultInstanceForType()

public PrivateConnectionEventData getDefaultInstanceForType()
Returns
TypeDescription
PrivateConnectionEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public PrivateConnection getPayload()

Optional. The PrivateConnection event payload. Unset for deletion events.

optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;

Returns
TypeDescription
PrivateConnection

The payload.

getPayloadBuilder()

public PrivateConnection.Builder getPayloadBuilder()

Optional. The PrivateConnection event payload. Unset for deletion events.

optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;

Returns
TypeDescription
PrivateConnection.Builder

getPayloadOrBuilder()

public PrivateConnectionOrBuilder getPayloadOrBuilder()

Optional. The PrivateConnection event payload. Unset for deletion events.

optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;

Returns
TypeDescription
PrivateConnectionOrBuilder

hasPayload()

public boolean hasPayload()

Optional. The PrivateConnection event payload. Unset for deletion events.

optional .google.events.cloud.datastream.v1.PrivateConnection 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(PrivateConnectionEventData other)

public PrivateConnectionEventData.Builder mergeFrom(PrivateConnectionEventData other)
Parameter
NameDescription
otherPrivateConnectionEventData
Returns
TypeDescription
PrivateConnectionEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(PrivateConnection value)

public PrivateConnectionEventData.Builder mergePayload(PrivateConnection value)

Optional. The PrivateConnection event payload. Unset for deletion events.

optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;

Parameter
NameDescription
valuePrivateConnection
Returns
TypeDescription
PrivateConnectionEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(PrivateConnection value)

public PrivateConnectionEventData.Builder setPayload(PrivateConnection value)

Optional. The PrivateConnection event payload. Unset for deletion events.

optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;

Parameter
NameDescription
valuePrivateConnection
Returns
TypeDescription
PrivateConnectionEventData.Builder

setPayload(PrivateConnection.Builder builderForValue)

public PrivateConnectionEventData.Builder setPayload(PrivateConnection.Builder builderForValue)

Optional. The PrivateConnection event payload. Unset for deletion events.

optional .google.events.cloud.datastream.v1.PrivateConnection payload = 1;

Parameter
NameDescription
builderForValuePrivateConnection.Builder
Returns
TypeDescription
PrivateConnectionEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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