Class UpdateRunRequest.Builder (0.33.0)

public static final class UpdateRunRequest.Builder extends GeneratedMessageV3.Builder<UpdateRunRequest.Builder> implements UpdateRunRequestOrBuilder

Request message for UpdateRun.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateRunRequest build()
Returns
TypeDescription
UpdateRunRequest

buildPartial()

public UpdateRunRequest buildPartial()
Returns
TypeDescription
UpdateRunRequest

clear()

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

clearAllowMissing()

public UpdateRunRequest.Builder clearAllowMissing()

If set to true and the run is not found, the request creates it.

bool allow_missing = 3;

Returns
TypeDescription
UpdateRunRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateRunRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateRunRequest.Builder
Overrides

clearRun()

public UpdateRunRequest.Builder clearRun()

Required. The lineage run to update.

The run's name field is used to identify the run to update.

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

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

Returns
TypeDescription
UpdateRunRequest.Builder

clearUpdateMask()

public UpdateRunRequest.Builder clearUpdateMask()

The list of fields to update. Currently not used. The whole message is updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
UpdateRunRequest.Builder

clone()

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

getAllowMissing()

public boolean getAllowMissing()

If set to true and the run is not found, the request creates it.

bool allow_missing = 3;

Returns
TypeDescription
boolean

The allowMissing.

getDefaultInstanceForType()

public UpdateRunRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateRunRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRun()

public Run getRun()

Required. The lineage run to update.

The run's name field is used to identify the run to update.

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

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

Returns
TypeDescription
Run

The run.

getRunBuilder()

public Run.Builder getRunBuilder()

Required. The lineage run to update.

The run's name field is used to identify the run to update.

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

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

Returns
TypeDescription
Run.Builder

getRunOrBuilder()

public RunOrBuilder getRunOrBuilder()

Required. The lineage run to update.

The run's name field is used to identify the run to update.

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

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

Returns
TypeDescription
RunOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The list of fields to update. Currently not used. The whole message is updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to update. Currently not used. The whole message is updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to update. Currently not used. The whole message is updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasRun()

public boolean hasRun()

Required. The lineage run to update.

The run's name field is used to identify the run to update.

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

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

Returns
TypeDescription
boolean

Whether the run field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to update. Currently not used. The whole message is updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateRunRequest other)

public UpdateRunRequest.Builder mergeFrom(UpdateRunRequest other)
Parameter
NameDescription
otherUpdateRunRequest
Returns
TypeDescription
UpdateRunRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateRunRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateRunRequest.Builder
Overrides

mergeRun(Run value)

public UpdateRunRequest.Builder mergeRun(Run value)

Required. The lineage run to update.

The run's name field is used to identify the run to update.

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

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

Parameter
NameDescription
valueRun
Returns
TypeDescription
UpdateRunRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateRunRequest.Builder mergeUpdateMask(FieldMask value)

The list of fields to update. Currently not used. The whole message is updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateRunRequest.Builder

setAllowMissing(boolean value)

public UpdateRunRequest.Builder setAllowMissing(boolean value)

If set to true and the run is not found, the request creates it.

bool allow_missing = 3;

Parameter
NameDescription
valueboolean

The allowMissing to set.

Returns
TypeDescription
UpdateRunRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRun(Run value)

public UpdateRunRequest.Builder setRun(Run value)

Required. The lineage run to update.

The run's name field is used to identify the run to update.

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

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

Parameter
NameDescription
valueRun
Returns
TypeDescription
UpdateRunRequest.Builder

setRun(Run.Builder builderForValue)

public UpdateRunRequest.Builder setRun(Run.Builder builderForValue)

Required. The lineage run to update.

The run's name field is used to identify the run to update.

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

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

Parameter
NameDescription
builderForValueRun.Builder
Returns
TypeDescription
UpdateRunRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateRunRequest.Builder setUpdateMask(FieldMask value)

The list of fields to update. Currently not used. The whole message is updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateRunRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateRunRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of fields to update. Currently not used. The whole message is updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateRunRequest.Builder