Class MigratingVmEventData.Builder (0.15.0)

public static final class MigratingVmEventData.Builder extends GeneratedMessageV3.Builder<MigratingVmEventData.Builder> implements MigratingVmEventDataOrBuilder

The data within all MigratingVm events.

Protobuf type google.events.cloud.vmmigration.v1.MigratingVmEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigratingVmEventData build()
Returns
Type Description
MigratingVmEventData

buildPartial()

public MigratingVmEventData buildPartial()
Returns
Type Description
MigratingVmEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public MigratingVmEventData.Builder clearPayload()

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

optional .google.events.cloud.vmmigration.v1.MigratingVm payload = 1;

Returns
Type Description
MigratingVmEventData.Builder

clone()

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

getDefaultInstanceForType()

public MigratingVmEventData getDefaultInstanceForType()
Returns
Type Description
MigratingVmEventData

getDescriptorForType()

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

getPayload()

public MigratingVm getPayload()

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

optional .google.events.cloud.vmmigration.v1.MigratingVm payload = 1;

Returns
Type Description
MigratingVm

The payload.

getPayloadBuilder()

public MigratingVm.Builder getPayloadBuilder()

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

optional .google.events.cloud.vmmigration.v1.MigratingVm payload = 1;

Returns
Type Description
MigratingVm.Builder

getPayloadOrBuilder()

public MigratingVmOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.vmmigration.v1.MigratingVm payload = 1;

Returns
Type Description
MigratingVmOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.vmmigration.v1.MigratingVm 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(MigratingVmEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(MigratingVm value)

public MigratingVmEventData.Builder mergePayload(MigratingVm value)

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

optional .google.events.cloud.vmmigration.v1.MigratingVm payload = 1;

Parameter
Name Description
value MigratingVm
Returns
Type Description
MigratingVmEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(MigratingVm value)

public MigratingVmEventData.Builder setPayload(MigratingVm value)

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

optional .google.events.cloud.vmmigration.v1.MigratingVm payload = 1;

Parameter
Name Description
value MigratingVm
Returns
Type Description
MigratingVmEventData.Builder

setPayload(MigratingVm.Builder builderForValue)

public MigratingVmEventData.Builder setPayload(MigratingVm.Builder builderForValue)

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

optional .google.events.cloud.vmmigration.v1.MigratingVm payload = 1;

Parameter
Name Description
builderForValue MigratingVm.Builder
Returns
Type Description
MigratingVmEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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