Class TaskEventData.Builder (0.14.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TaskEventData build()
Returns
TypeDescription
TaskEventData

buildPartial()

public TaskEventData buildPartial()
Returns
TypeDescription
TaskEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TaskEventData getDefaultInstanceForType()
Returns
TypeDescription
TaskEventData

getDescriptorForType()

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

hasPayload()

public boolean hasPayload()

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

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

public TaskEventData.Builder mergeFrom(TaskEventData other)
Parameter
NameDescription
otherTaskEventData
Returns
TypeDescription
TaskEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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