Class TargetProjectEventData.Builder (0.15.0)

public static final class TargetProjectEventData.Builder extends GeneratedMessageV3.Builder<TargetProjectEventData.Builder> implements TargetProjectEventDataOrBuilder

The data within all TargetProject events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TargetProjectEventData build()
Returns
Type Description
TargetProjectEventData

buildPartial()

public TargetProjectEventData buildPartial()
Returns
Type Description
TargetProjectEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public TargetProjectEventData.Builder clearPayload()

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

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

Returns
Type Description
TargetProjectEventData.Builder

clone()

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

getDefaultInstanceForType()

public TargetProjectEventData getDefaultInstanceForType()
Returns
Type Description
TargetProjectEventData

getDescriptorForType()

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

getPayload()

public TargetProject getPayload()

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

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

Returns
Type Description
TargetProject

The payload.

getPayloadBuilder()

public TargetProject.Builder getPayloadBuilder()

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

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

Returns
Type Description
TargetProject.Builder

getPayloadOrBuilder()

public TargetProjectOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
TargetProjectOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(TargetProject value)

public TargetProjectEventData.Builder mergePayload(TargetProject value)

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

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

Parameter
Name Description
value TargetProject
Returns
Type Description
TargetProjectEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(TargetProject value)

public TargetProjectEventData.Builder setPayload(TargetProject value)

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

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

Parameter
Name Description
value TargetProject
Returns
Type Description
TargetProjectEventData.Builder

setPayload(TargetProject.Builder builderForValue)

public TargetProjectEventData.Builder setPayload(TargetProject.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue TargetProject.Builder
Returns
Type Description
TargetProjectEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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