Class CreateRunRequest.Builder (0.7.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateRunRequest build()
Returns
TypeDescription
CreateRunRequest

buildPartial()

public CreateRunRequest buildPartial()
Returns
TypeDescription
CreateRunRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateRunRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateRunRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CreateRunRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateRunRequest

getDescriptorForType()

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

getRun()

public Run getRun()

Required. The run to create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RunOrBuilder

hasRun()

public boolean hasRun()

Required. The run to create.

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

Returns
TypeDescription
boolean

Whether the run field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateRunRequest other)

public CreateRunRequest.Builder mergeFrom(CreateRunRequest other)
Parameter
NameDescription
otherCreateRunRequest
Returns
TypeDescription
CreateRunRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

The requestId to set.

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

The bytes for requestId to set.

Returns
TypeDescription
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
NameDescription
valueRun
Returns
TypeDescription
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
NameDescription
builderForValueRun.Builder
Returns
TypeDescription
CreateRunRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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