Class ConnectionProfileEventData.Builder (0.15.0)

public static final class ConnectionProfileEventData.Builder extends GeneratedMessageV3.Builder<ConnectionProfileEventData.Builder> implements ConnectionProfileEventDataOrBuilder

The data within all ConnectionProfile events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConnectionProfileEventData build()
Returns
Type Description
ConnectionProfileEventData

buildPartial()

public ConnectionProfileEventData buildPartial()
Returns
Type Description
ConnectionProfileEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ConnectionProfileEventData.Builder clearPayload()

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

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

Returns
Type Description
ConnectionProfileEventData.Builder

clone()

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

getDefaultInstanceForType()

public ConnectionProfileEventData getDefaultInstanceForType()
Returns
Type Description
ConnectionProfileEventData

getDescriptorForType()

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

getPayload()

public ConnectionProfile getPayload()

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

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

Returns
Type Description
ConnectionProfile

The payload.

getPayloadBuilder()

public ConnectionProfile.Builder getPayloadBuilder()

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

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

Returns
Type Description
ConnectionProfile.Builder

getPayloadOrBuilder()

public ConnectionProfileOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
ConnectionProfileOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(ConnectionProfile value)

public ConnectionProfileEventData.Builder mergePayload(ConnectionProfile value)

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

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

Parameter
Name Description
value ConnectionProfile
Returns
Type Description
ConnectionProfileEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(ConnectionProfile value)

public ConnectionProfileEventData.Builder setPayload(ConnectionProfile value)

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

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

Parameter
Name Description
value ConnectionProfile
Returns
Type Description
ConnectionProfileEventData.Builder

setPayload(ConnectionProfile.Builder builderForValue)

public ConnectionProfileEventData.Builder setPayload(ConnectionProfile.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ConnectionProfile.Builder
Returns
Type Description
ConnectionProfileEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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