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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AssetEventData.BuilderImplements
AssetEventDataOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public AssetEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AssetEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AssetEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AssetEventData.Builder |
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 |
getDefaultInstanceForType()
public AssetEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AssetEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AssetEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AssetEventData.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final AssetEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AssetEventData.Builder |