Class TaskEventData.Builder (0.15.0)

public static final class TaskEventData.Builder extends GeneratedMessageV3.Builder<TaskEventData.Builder> implements TaskEventDataOrBuilder

The data within all Task events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TaskEventData build()
Returns
Type Description
TaskEventData

buildPartial()

public TaskEventData buildPartial()
Returns
Type Description
TaskEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public TaskEventData.Builder clearPayload()

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

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

Returns
Type Description
TaskEventData.Builder

clone()

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

getDefaultInstanceForType()

public TaskEventData getDefaultInstanceForType()
Returns
Type Description
TaskEventData

getDescriptorForType()

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

getPayload()

public Task getPayload()

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

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

Returns
Type Description
Task

The payload.

getPayloadBuilder()

public Task.Builder getPayloadBuilder()

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

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

Returns
Type Description
Task.Builder

getPayloadOrBuilder()

public TaskOrBuilder getPayloadOrBuilder()

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

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

Returns
Type Description
TaskOrBuilder

hasPayload()

public boolean hasPayload()

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePayload(Task value)

public TaskEventData.Builder mergePayload(Task value)

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

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

Parameter
Name Description
value Task
Returns
Type Description
TaskEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPayload(Task value)

public TaskEventData.Builder setPayload(Task value)

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

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

Parameter
Name Description
value Task
Returns
Type Description
TaskEventData.Builder

setPayload(Task.Builder builderForValue)

public TaskEventData.Builder setPayload(Task.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Task.Builder
Returns
Type Description
TaskEventData.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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