Class MigratingVmEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigratingVmEventData build()
Returns
TypeDescription
MigratingVmEventData

buildPartial()

public MigratingVmEventData buildPartial()
Returns
TypeDescription
MigratingVmEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MigratingVmEventData getDefaultInstanceForType()
Returns
TypeDescription
MigratingVmEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public MigratingVmEventData.Builder mergeFrom(MigratingVmEventData other)
Parameter
NameDescription
otherMigratingVmEventData
Returns
TypeDescription
MigratingVmEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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