Class MigrationJobEventData.Builder (0.16.0)

public static final class MigrationJobEventData.Builder extends GeneratedMessageV3.Builder<MigrationJobEventData.Builder> implements MigrationJobEventDataOrBuilder

The data within all MigrationJob events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigrationJobEventData build()
Returns
Type Description
MigrationJobEventData

buildPartial()

public MigrationJobEventData buildPartial()
Returns
Type Description
MigrationJobEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public MigrationJobEventData.Builder clearPayload()

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

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

Returns
Type Description
MigrationJobEventData.Builder

clone()

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

getDefaultInstanceForType()

public MigrationJobEventData getDefaultInstanceForType()
Returns
Type Description
MigrationJobEventData

getDescriptorForType()

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

getPayload()

public MigrationJob getPayload()

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

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

Returns
Type Description
MigrationJob

The payload.

getPayloadBuilder()

public MigrationJob.Builder getPayloadBuilder()

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

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

Returns
Type Description
MigrationJob.Builder

getPayloadOrBuilder()

public MigrationJobOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
MigrationJobOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(MigrationJob value)

public MigrationJobEventData.Builder mergePayload(MigrationJob value)

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

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

Parameter
Name Description
value MigrationJob
Returns
Type Description
MigrationJobEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(MigrationJob value)

public MigrationJobEventData.Builder setPayload(MigrationJob value)

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

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

Parameter
Name Description
value MigrationJob
Returns
Type Description
MigrationJobEventData.Builder

setPayload(MigrationJob.Builder builderForValue)

public MigrationJobEventData.Builder setPayload(MigrationJob.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue MigrationJob.Builder
Returns
Type Description
MigrationJobEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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