Class ProcessOpenLineageRunEventRequest.Builder (0.75.0)

public static final class ProcessOpenLineageRunEventRequest.Builder extends GeneratedMessage.Builder<ProcessOpenLineageRunEventRequest.Builder> implements ProcessOpenLineageRunEventRequestOrBuilder

Request message for ProcessOpenLineageRunEvent.

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

Static Methods

getDescriptor()

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

Methods

build()

public ProcessOpenLineageRunEventRequest build()
Returns
Type Description
ProcessOpenLineageRunEventRequest

buildPartial()

public ProcessOpenLineageRunEventRequest buildPartial()
Returns
Type Description
ProcessOpenLineageRunEventRequest

clear()

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

clearOpenLineage()

public ProcessOpenLineageRunEventRequest.Builder clearOpenLineage()

Required. OpenLineage message following OpenLineage format: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json

.google.protobuf.Struct open_lineage = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProcessOpenLineageRunEventRequest.Builder

clearParent()

public ProcessOpenLineageRunEventRequest.Builder clearParent()

Required. The name of the project and its location that should own the process, run, and lineage event.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProcessOpenLineageRunEventRequest.Builder

This builder for chaining.

clearRequestId()

public ProcessOpenLineageRunEventRequest.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
ProcessOpenLineageRunEventRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ProcessOpenLineageRunEventRequest getDefaultInstanceForType()
Returns
Type Description
ProcessOpenLineageRunEventRequest

getDescriptorForType()

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

getOpenLineage()

public Struct getOpenLineage()

Required. OpenLineage message following OpenLineage format: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json

.google.protobuf.Struct open_lineage = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Struct

The openLineage.

getOpenLineageBuilder()

public Struct.Builder getOpenLineageBuilder()

Required. OpenLineage message following OpenLineage format: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json

.google.protobuf.Struct open_lineage = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getOpenLineageOrBuilder()

public StructOrBuilder getOpenLineageOrBuilder()

Required. OpenLineage message following OpenLineage format: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json

.google.protobuf.Struct open_lineage = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StructOrBuilder

getParent()

public String getParent()

Required. The name of the project and its location that should own the process, run, and lineage event.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the project and its location that should own the process, run, and lineage event.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

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.

hasOpenLineage()

public boolean hasOpenLineage()

Required. OpenLineage message following OpenLineage format: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json

.google.protobuf.Struct open_lineage = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the openLineage field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProcessOpenLineageRunEventRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOpenLineage(Struct value)

public ProcessOpenLineageRunEventRequest.Builder mergeOpenLineage(Struct value)

Required. OpenLineage message following OpenLineage format: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json

.google.protobuf.Struct open_lineage = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Struct
Returns
Type Description
ProcessOpenLineageRunEventRequest.Builder

setOpenLineage(Struct value)

public ProcessOpenLineageRunEventRequest.Builder setOpenLineage(Struct value)

Required. OpenLineage message following OpenLineage format: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json

.google.protobuf.Struct open_lineage = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Struct
Returns
Type Description
ProcessOpenLineageRunEventRequest.Builder

setOpenLineage(Struct.Builder builderForValue)

public ProcessOpenLineageRunEventRequest.Builder setOpenLineage(Struct.Builder builderForValue)

Required. OpenLineage message following OpenLineage format: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json

.google.protobuf.Struct open_lineage = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ProcessOpenLineageRunEventRequest.Builder

setParent(String value)

public ProcessOpenLineageRunEventRequest.Builder setParent(String value)

Required. The name of the project and its location that should own the process, run, and lineage event.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ProcessOpenLineageRunEventRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ProcessOpenLineageRunEventRequest.Builder setParentBytes(ByteString value)

Required. The name of the project and its location that should own the process, run, and lineage event.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ProcessOpenLineageRunEventRequest.Builder

This builder for chaining.

setRequestId(String value)

public ProcessOpenLineageRunEventRequest.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
ProcessOpenLineageRunEventRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public ProcessOpenLineageRunEventRequest.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
ProcessOpenLineageRunEventRequest.Builder

This builder for chaining.