Class AssetEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AssetEventData build()
Returns
TypeDescription
AssetEventData

buildPartial()

public AssetEventData buildPartial()
Returns
TypeDescription
AssetEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AssetEventData getDefaultInstanceForType()
Returns
TypeDescription
AssetEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public AssetEventData.Builder mergeFrom(AssetEventData other)
Parameter
NameDescription
otherAssetEventData
Returns
TypeDescription
AssetEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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