Class ConnectionProfileEventData.Builder (0.14.1)

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

The data within all ConnectionProfile events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConnectionProfileEventData build()
Returns
TypeDescription
ConnectionProfileEventData

buildPartial()

public ConnectionProfileEventData buildPartial()
Returns
TypeDescription
ConnectionProfileEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public ConnectionProfileEventData.Builder clearPayload()

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

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

Returns
TypeDescription
ConnectionProfileEventData.Builder

clone()

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

getDefaultInstanceForType()

public ConnectionProfileEventData getDefaultInstanceForType()
Returns
TypeDescription
ConnectionProfileEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public ConnectionProfile getPayload()

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

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

Returns
TypeDescription
ConnectionProfile

The payload.

getPayloadBuilder()

public ConnectionProfile.Builder getPayloadBuilder()

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

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

Returns
TypeDescription
ConnectionProfile.Builder

getPayloadOrBuilder()

public ConnectionProfileOrBuilder getPayloadOrBuilder()

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

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

Returns
TypeDescription
ConnectionProfileOrBuilder

hasPayload()

public boolean hasPayload()

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

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

public ConnectionProfileEventData.Builder mergeFrom(ConnectionProfileEventData other)
Parameter
NameDescription
otherConnectionProfileEventData
Returns
TypeDescription
ConnectionProfileEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ConnectionProfileEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.clouddms.v1.ConnectionProfile payload = 1;

Parameter
NameDescription
valueConnectionProfile
Returns
TypeDescription
ConnectionProfileEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ConnectionProfileEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.clouddms.v1.ConnectionProfile payload = 1;

Parameter
NameDescription
valueConnectionProfile
Returns
TypeDescription
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.clouddms.v1.ConnectionProfile payload = 1;

Parameter
NameDescription
builderForValueConnectionProfile.Builder
Returns
TypeDescription
ConnectionProfileEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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