Class DeleteRepositoryLongRunningRequest.Builder (0.94.0)

public static final class DeleteRepositoryLongRunningRequest.Builder extends GeneratedMessage.Builder<DeleteRepositoryLongRunningRequest.Builder> implements DeleteRepositoryLongRunningRequestOrBuilder

DeleteRepositoryLongRunning request message.

Protobuf type google.cloud.dataform.v1beta1.DeleteRepositoryLongRunningRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteRepositoryLongRunningRequest build()
Returns
Type Description
DeleteRepositoryLongRunningRequest

buildPartial()

public DeleteRepositoryLongRunningRequest buildPartial()
Returns
Type Description
DeleteRepositoryLongRunningRequest

clear()

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

clearForce()

public DeleteRepositoryLongRunningRequest.Builder clearForce()

Optional. If set to true, child resources of this repository (compilation results and workflow invocations) will also be deleted. Otherwise, the request will only succeed if the repository has no child resources.

Note: This flag doesn't support deletion of workspaces, release configs or workflow configs. If any of such resources exists in the repository, the request will fail.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeleteRepositoryLongRunningRequest.Builder

This builder for chaining.

clearName()

public DeleteRepositoryLongRunningRequest.Builder clearName()

Required. The repository's name.

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

Returns
Type Description
DeleteRepositoryLongRunningRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteRepositoryLongRunningRequest getDefaultInstanceForType()
Returns
Type Description
DeleteRepositoryLongRunningRequest

getDescriptorForType()

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

getForce()

public boolean getForce()

Optional. If set to true, child resources of this repository (compilation results and workflow invocations) will also be deleted. Otherwise, the request will only succeed if the repository has no child resources.

Note: This flag doesn't support deletion of workspaces, release configs or workflow configs. If any of such resources exists in the repository, the request will fail.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The force.

getName()

public String getName()

Required. The repository's name.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The repository's name.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteRepositoryLongRunningRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setForce(boolean value)

public DeleteRepositoryLongRunningRequest.Builder setForce(boolean value)

Optional. If set to true, child resources of this repository (compilation results and workflow invocations) will also be deleted. Otherwise, the request will only succeed if the repository has no child resources.

Note: This flag doesn't support deletion of workspaces, release configs or workflow configs. If any of such resources exists in the repository, the request will fail.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The force to set.

Returns
Type Description
DeleteRepositoryLongRunningRequest.Builder

This builder for chaining.

setName(String value)

public DeleteRepositoryLongRunningRequest.Builder setName(String value)

Required. The repository's name.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteRepositoryLongRunningRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteRepositoryLongRunningRequest.Builder setNameBytes(ByteString value)

Required. The repository's name.

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

This builder for chaining.