Class DeleteRunRequest.Builder (0.40.0)

public static final class DeleteRunRequest.Builder extends GeneratedMessageV3.Builder<DeleteRunRequest.Builder> implements DeleteRunRequestOrBuilder

Request message for DeleteRun.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteRunRequest build()
Returns
Type Description
DeleteRunRequest

buildPartial()

public DeleteRunRequest buildPartial()
Returns
Type Description
DeleteRunRequest

clear()

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

clearAllowMissing()

public DeleteRunRequest.Builder clearAllowMissing()

If set to true and the run is not found, the request succeeds but the server doesn't perform any actions.

bool allow_missing = 2;

Returns
Type Description
DeleteRunRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteRunRequest.Builder clearName()

Required. The name of the run to delete.

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

Returns
Type Description
DeleteRunRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAllowMissing()

public boolean getAllowMissing()

If set to true and the run is not found, the request succeeds but the server doesn't perform any actions.

bool allow_missing = 2;

Returns
Type Description
boolean

The allowMissing.

getDefaultInstanceForType()

public DeleteRunRequest getDefaultInstanceForType()
Returns
Type Description
DeleteRunRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the run to delete.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the run to delete.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteRunRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAllowMissing(boolean value)

public DeleteRunRequest.Builder setAllowMissing(boolean value)

If set to true and the run is not found, the request succeeds but the server doesn't perform any actions.

bool allow_missing = 2;

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
DeleteRunRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteRunRequest.Builder setName(String value)

Required. The name of the run to delete.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteRunRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteRunRequest.Builder setNameBytes(ByteString value)

Required. The name of the run to delete.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteRunRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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