Class CreateLineageEventRequest.Builder (0.40.0)

public static final class CreateLineageEventRequest.Builder extends GeneratedMessageV3.Builder<CreateLineageEventRequest.Builder> implements CreateLineageEventRequestOrBuilder

Request message for CreateLineageEvent.

Protobuf type google.cloud.datacatalog.lineage.v1.CreateLineageEventRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateLineageEventRequest build()
Returns
Type Description
CreateLineageEventRequest

buildPartial()

public CreateLineageEventRequest buildPartial()
Returns
Type Description
CreateLineageEventRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLineageEvent()

public CreateLineageEventRequest.Builder clearLineageEvent()

Required. The lineage event to create.

.google.cloud.datacatalog.lineage.v1.LineageEvent lineage_event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateLineageEventRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateLineageEventRequest.Builder clearParent()

Required. The name of the run that should own the lineage event.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateLineageEventRequest.Builder

This builder for chaining.

clearRequestId()

public CreateLineageEventRequest.Builder clearRequestId()

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a request_id is provided.

string request_id = 3;

Returns
Type Description
CreateLineageEventRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateLineageEventRequest getDefaultInstanceForType()
Returns
Type Description
CreateLineageEventRequest

getDescriptorForType()

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

getLineageEvent()

public LineageEvent getLineageEvent()

Required. The lineage event to create.

.google.cloud.datacatalog.lineage.v1.LineageEvent lineage_event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LineageEvent

The lineageEvent.

getLineageEventBuilder()

public LineageEvent.Builder getLineageEventBuilder()

Required. The lineage event to create.

.google.cloud.datacatalog.lineage.v1.LineageEvent lineage_event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LineageEvent.Builder

getLineageEventOrBuilder()

public LineageEventOrBuilder getLineageEventOrBuilder()

Required. The lineage event to create.

.google.cloud.datacatalog.lineage.v1.LineageEvent lineage_event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LineageEventOrBuilder

getParent()

public String getParent()

Required. The name of the run that should own the lineage event.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the run that should own the lineage event.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a request_id is provided.

string request_id = 3;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a request_id is provided.

string request_id = 3;

Returns
Type Description
ByteString

The bytes for requestId.

hasLineageEvent()

public boolean hasLineageEvent()

Required. The lineage event to create.

.google.cloud.datacatalog.lineage.v1.LineageEvent lineage_event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the lineageEvent field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateLineageEventRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLineageEvent(LineageEvent value)

public CreateLineageEventRequest.Builder mergeLineageEvent(LineageEvent value)

Required. The lineage event to create.

.google.cloud.datacatalog.lineage.v1.LineageEvent lineage_event = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value LineageEvent
Returns
Type Description
CreateLineageEventRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLineageEvent(LineageEvent value)

public CreateLineageEventRequest.Builder setLineageEvent(LineageEvent value)

Required. The lineage event to create.

.google.cloud.datacatalog.lineage.v1.LineageEvent lineage_event = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value LineageEvent
Returns
Type Description
CreateLineageEventRequest.Builder

setLineageEvent(LineageEvent.Builder builderForValue)

public CreateLineageEventRequest.Builder setLineageEvent(LineageEvent.Builder builderForValue)

Required. The lineage event to create.

.google.cloud.datacatalog.lineage.v1.LineageEvent lineage_event = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue LineageEvent.Builder
Returns
Type Description
CreateLineageEventRequest.Builder

setParent(String value)

public CreateLineageEventRequest.Builder setParent(String value)

Required. The name of the run that should own the lineage event.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateLineageEventRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateLineageEventRequest.Builder setParentBytes(ByteString value)

Required. The name of the run that should own the lineage event.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateLineageEventRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

public CreateLineageEventRequest.Builder setRequestId(String value)

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a request_id is provided.

string request_id = 3;

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
CreateLineageEventRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateLineageEventRequest.Builder setRequestIdBytes(ByteString value)

A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a request_id is provided.

string request_id = 3;

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
CreateLineageEventRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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