Class CreateRunRequest.Builder (0.47.0)

public static final class CreateRunRequest.Builder extends GeneratedMessageV3.Builder<CreateRunRequest.Builder> implements CreateRunRequestOrBuilder

Request message for CreateRun.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateRunRequest build()
Returns
Type Description
CreateRunRequest

buildPartial()

public CreateRunRequest buildPartial()
Returns
Type Description
CreateRunRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateRunRequest.Builder clearParent()

Required. The name of the process that should own the run.

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

Returns
Type Description
CreateRunRequest.Builder

This builder for chaining.

clearRequestId()

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

This builder for chaining.

clearRun()

public CreateRunRequest.Builder clearRun()

Required. The run to create.

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

Returns
Type Description
CreateRunRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateRunRequest getDefaultInstanceForType()
Returns
Type Description
CreateRunRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The name of the process that should own the run.

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 process that should own the run.

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.

getRun()

public Run getRun()

Required. The run to create.

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

Returns
Type Description
Run

The run.

getRunBuilder()

public Run.Builder getRunBuilder()

Required. The run to create.

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

Returns
Type Description
Run.Builder

getRunOrBuilder()

public RunOrBuilder getRunOrBuilder()

Required. The run to create.

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

Returns
Type Description
RunOrBuilder

hasRun()

public boolean hasRun()

Required. The run to create.

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

Returns
Type Description
boolean

Whether the run field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateRunRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRun(Run value)

public CreateRunRequest.Builder mergeRun(Run value)

Required. The run to create.

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

Parameter
Name Description
value Run
Returns
Type Description
CreateRunRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateRunRequest.Builder setParent(String value)

Required. The name of the process that should own the run.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateRunRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateRunRequest.Builder setParentBytes(ByteString value)

Required. The name of the process that should own the run.

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
CreateRunRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

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

This builder for chaining.

setRequestIdBytes(ByteString value)

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

This builder for chaining.

setRun(Run value)

public CreateRunRequest.Builder setRun(Run value)

Required. The run to create.

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

Parameter
Name Description
value Run
Returns
Type Description
CreateRunRequest.Builder

setRun(Run.Builder builderForValue)

public CreateRunRequest.Builder setRun(Run.Builder builderForValue)

Required. The run to create.

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

Parameter
Name Description
builderForValue Run.Builder
Returns
Type Description
CreateRunRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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