Class TargetProjectEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TargetProjectEventData build()
Returns
TypeDescription
TargetProjectEventData

buildPartial()

public TargetProjectEventData buildPartial()
Returns
TypeDescription
TargetProjectEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TargetProjectEventData getDefaultInstanceForType()
Returns
TypeDescription
TargetProjectEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public TargetProjectEventData.Builder mergeFrom(TargetProjectEventData other)
Parameter
NameDescription
otherTargetProjectEventData
Returns
TypeDescription
TargetProjectEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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