Class ProcessOpenLineageRunEventResponse.Builder (0.22.0)

See more code actions.
public static final class ProcessOpenLineageRunEventResponse.Builder extends GeneratedMessageV3.Builder<ProcessOpenLineageRunEventResponse.Builder> implements ProcessOpenLineageRunEventResponseOrBuilder

Response message for ProcessOpenLineageRunEvent.

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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllLineageEvents(Iterable<String> values)

public ProcessOpenLineageRunEventResponse.Builder addAllLineageEvents(Iterable<String> values)

Created lineage event names. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}.

repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valuesIterable<String>

The lineageEvents to add.

Returns
TypeDescription
ProcessOpenLineageRunEventResponse.Builder

This builder for chaining.

addLineageEvents(String value)

public ProcessOpenLineageRunEventResponse.Builder addLineageEvents(String value)

Created lineage event names. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}.

repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The lineageEvents to add.

Returns
TypeDescription
ProcessOpenLineageRunEventResponse.Builder

This builder for chaining.

addLineageEventsBytes(ByteString value)

public ProcessOpenLineageRunEventResponse.Builder addLineageEventsBytes(ByteString value)

Created lineage event names. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}.

repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes of the lineageEvents to add.

Returns
TypeDescription
ProcessOpenLineageRunEventResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProcessOpenLineageRunEventResponse build()

buildPartial()

public ProcessOpenLineageRunEventResponse buildPartial()

clear()

public ProcessOpenLineageRunEventResponse.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public ProcessOpenLineageRunEventResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearLineageEvents()

public ProcessOpenLineageRunEventResponse.Builder clearLineageEvents()

Created lineage event names. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}.

repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProcessOpenLineageRunEventResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ProcessOpenLineageRunEventResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Overrides

clearProcess()

public ProcessOpenLineageRunEventResponse.Builder clearProcess()

Created process name. Format: projects/{project}/locations/{location}/processes/{process}.

string process = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProcessOpenLineageRunEventResponse.Builder

This builder for chaining.

clearRun()

public ProcessOpenLineageRunEventResponse.Builder clearRun()

Created run name. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}.

string run = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProcessOpenLineageRunEventResponse.Builder

This builder for chaining.

clone()

public ProcessOpenLineageRunEventResponse.Builder clone()
Overrides

getDefaultInstanceForType()

public ProcessOpenLineageRunEventResponse getDefaultInstanceForType()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLineageEvents(int index)

public String getLineageEvents(int index)

Created lineage event names. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}.

repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The lineageEvents at the given index.

getLineageEventsBytes(int index)

public ByteString getLineageEventsBytes(int index)

Created lineage event names. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}.

repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the lineageEvents at the given index.

getLineageEventsCount()

public int getLineageEventsCount()

Created lineage event names. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}.

repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of lineageEvents.

getLineageEventsList()

public ProtocolStringList getLineageEventsList()

Created lineage event names. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}.

repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProtocolStringList

A list containing the lineageEvents.

getProcess()

public String getProcess()

Created process name. Format: projects/{project}/locations/{location}/processes/{process}.

string process = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The process.

getProcessBytes()

public ByteString getProcessBytes()

Created process name. Format: projects/{project}/locations/{location}/processes/{process}.

string process = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for process.

getRun()

public String getRun()

Created run name. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}.

string run = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The run.

getRunBytes()

public ByteString getRunBytes()

Created run name. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}.

string run = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for run.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProcessOpenLineageRunEventResponse other)

public ProcessOpenLineageRunEventResponse.Builder mergeFrom(ProcessOpenLineageRunEventResponse other)
Parameter
NameDescription
otherProcessOpenLineageRunEventResponse

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ProcessOpenLineageRunEventResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProcessOpenLineageRunEventResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ProcessOpenLineageRunEventResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

setLineageEvents(int index, String value)

public ProcessOpenLineageRunEventResponse.Builder setLineageEvents(int index, String value)

Created lineage event names. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}.

repeated string lineage_events = 3 [(.google.api.resource_reference) = { ... }

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The lineageEvents to set.

Returns
TypeDescription
ProcessOpenLineageRunEventResponse.Builder

This builder for chaining.

setProcess(String value)

public ProcessOpenLineageRunEventResponse.Builder setProcess(String value)

Created process name. Format: projects/{project}/locations/{location}/processes/{process}.

string process = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The process to set.

Returns
TypeDescription
ProcessOpenLineageRunEventResponse.Builder

This builder for chaining.

setProcessBytes(ByteString value)

public ProcessOpenLineageRunEventResponse.Builder setProcessBytes(ByteString value)

Created process name. Format: projects/{project}/locations/{location}/processes/{process}.

string process = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for process to set.

Returns
TypeDescription
ProcessOpenLineageRunEventResponse.Builder

This builder for chaining.

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

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

setRun(String value)

public ProcessOpenLineageRunEventResponse.Builder setRun(String value)

Created run name. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}.

string run = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The run to set.

Returns
TypeDescription
ProcessOpenLineageRunEventResponse.Builder

This builder for chaining.

setRunBytes(ByteString value)

public ProcessOpenLineageRunEventResponse.Builder setRunBytes(ByteString value)

Created run name. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}.

string run = 2 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for run to set.

Returns
TypeDescription
ProcessOpenLineageRunEventResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProcessOpenLineageRunEventResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides