Class AssetEventData.Builder (0.15.0)

public static final class AssetEventData.Builder extends GeneratedMessageV3.Builder<AssetEventData.Builder> implements AssetEventDataOrBuilder

The data within all Asset events.

Protobuf type google.events.cloud.dataplex.v1.AssetEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AssetEventData build()
Returns
Type Description
AssetEventData

buildPartial()

public AssetEventData buildPartial()
Returns
Type Description
AssetEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public AssetEventData.Builder clearPayload()

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

optional .google.events.cloud.dataplex.v1.Asset payload = 1;

Returns
Type Description
AssetEventData.Builder

clone()

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

getDefaultInstanceForType()

public AssetEventData getDefaultInstanceForType()
Returns
Type Description
AssetEventData

getDescriptorForType()

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

getPayload()

public Asset getPayload()

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

optional .google.events.cloud.dataplex.v1.Asset payload = 1;

Returns
Type Description
Asset

The payload.

getPayloadBuilder()

public Asset.Builder getPayloadBuilder()

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

optional .google.events.cloud.dataplex.v1.Asset payload = 1;

Returns
Type Description
Asset.Builder

getPayloadOrBuilder()

public AssetOrBuilder getPayloadOrBuilder()

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

optional .google.events.cloud.dataplex.v1.Asset payload = 1;

Returns
Type Description
AssetOrBuilder

hasPayload()

public boolean hasPayload()

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

optional .google.events.cloud.dataplex.v1.Asset 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(AssetEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Asset value)

public AssetEventData.Builder mergePayload(Asset value)

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

optional .google.events.cloud.dataplex.v1.Asset payload = 1;

Parameter
Name Description
value Asset
Returns
Type Description
AssetEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Asset value)

public AssetEventData.Builder setPayload(Asset value)

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

optional .google.events.cloud.dataplex.v1.Asset payload = 1;

Parameter
Name Description
value Asset
Returns
Type Description
AssetEventData.Builder

setPayload(Asset.Builder builderForValue)

public AssetEventData.Builder setPayload(Asset.Builder builderForValue)

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

optional .google.events.cloud.dataplex.v1.Asset payload = 1;

Parameter
Name Description
builderForValue Asset.Builder
Returns
Type Description
AssetEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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