Class CreateLineageEventRequest.Builder (0.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateLineageEventRequest build()
Returns
TypeDescription
CreateLineageEventRequest

buildPartial()

public CreateLineageEventRequest buildPartial()
Returns
TypeDescription
CreateLineageEventRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateLineageEventRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CreateLineageEventRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateLineageEventRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateLineageEventRequest

getDescriptorForType()

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

Whether the lineageEvent field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateLineageEventRequest other)

public CreateLineageEventRequest.Builder mergeFrom(CreateLineageEventRequest other)
Parameter
NameDescription
otherCreateLineageEventRequest
Returns
TypeDescription
CreateLineageEventRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public CreateLineageEventRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueLineageEvent
Returns
TypeDescription
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
NameDescription
builderForValueLineageEvent.Builder
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
CreateLineageEventRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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