Class SourceEventData.Builder (0.14.1)

public static final class SourceEventData.Builder extends GeneratedMessageV3.Builder<SourceEventData.Builder> implements SourceEventDataOrBuilder

The data within all Source events.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SourceEventData build()
Returns
TypeDescription
SourceEventData

buildPartial()

public SourceEventData buildPartial()
Returns
TypeDescription
SourceEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SourceEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SourceEventData.Builder
Overrides

clearPayload()

public SourceEventData.Builder clearPayload()

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

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

Returns
TypeDescription
SourceEventData.Builder

clone()

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

getDefaultInstanceForType()

public SourceEventData getDefaultInstanceForType()
Returns
TypeDescription
SourceEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public Source getPayload()

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

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

Returns
TypeDescription
Source

The payload.

getPayloadBuilder()

public Source.Builder getPayloadBuilder()

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

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

Returns
TypeDescription
Source.Builder

getPayloadOrBuilder()

public SourceOrBuilder getPayloadOrBuilder()

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

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

Returns
TypeDescription
SourceOrBuilder

hasPayload()

public boolean hasPayload()

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

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

public SourceEventData.Builder mergeFrom(SourceEventData other)
Parameter
NameDescription
otherSourceEventData
Returns
TypeDescription
SourceEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SourceEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SourceEventData.Builder
Overrides

mergePayload(Source value)

public SourceEventData.Builder mergePayload(Source value)

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

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

Parameter
NameDescription
valueSource
Returns
TypeDescription
SourceEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Source value)

public SourceEventData.Builder setPayload(Source value)

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

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

Parameter
NameDescription
valueSource
Returns
TypeDescription
SourceEventData.Builder

setPayload(Source.Builder builderForValue)

public SourceEventData.Builder setPayload(Source.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueSource.Builder
Returns
TypeDescription
SourceEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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