Class MigrationJobEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigrationJobEventData build()
Returns
TypeDescription
MigrationJobEventData

buildPartial()

public MigrationJobEventData buildPartial()
Returns
TypeDescription
MigrationJobEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public MigrationJobEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
MigrationJobEventData.Builder

clone()

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

getDefaultInstanceForType()

public MigrationJobEventData getDefaultInstanceForType()
Returns
TypeDescription
MigrationJobEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
MigrationJobOrBuilder

hasPayload()

public boolean hasPayload()

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

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

public MigrationJobEventData.Builder mergeFrom(MigrationJobEventData other)
Parameter
NameDescription
otherMigrationJobEventData
Returns
TypeDescription
MigrationJobEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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