Class DeleteRunRequest.Builder (0.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteRunRequest build()
Returns
TypeDescription
DeleteRunRequest

buildPartial()

public DeleteRunRequest buildPartial()
Returns
TypeDescription
DeleteRunRequest

clear()

public DeleteRunRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
DeleteRunRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeleteRunRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteRunRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DeleteRunRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
boolean

The allowMissing.

getDefaultInstanceForType()

public DeleteRunRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteRunRequest

getDescriptorForType()

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

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteRunRequest other)

public DeleteRunRequest.Builder mergeFrom(DeleteRunRequest other)
Parameter
NameDescription
otherDeleteRunRequest
Returns
TypeDescription
DeleteRunRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteRunRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The allowMissing to set.

Returns
TypeDescription
DeleteRunRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteRunRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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