Class DeleteTeamFolderTreeRequest.Builder (0.90.0)

public static final class DeleteTeamFolderTreeRequest.Builder extends GeneratedMessage.Builder<DeleteTeamFolderTreeRequest.Builder> implements DeleteTeamFolderTreeRequestOrBuilder

DeleteTeamFolderTree request message.

Protobuf type google.cloud.dataform.v1.DeleteTeamFolderTreeRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteTeamFolderTreeRequest build()
Returns
Type Description
DeleteTeamFolderTreeRequest

buildPartial()

public DeleteTeamFolderTreeRequest buildPartial()
Returns
Type Description
DeleteTeamFolderTreeRequest

clear()

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

clearForce()

public DeleteTeamFolderTreeRequest.Builder clearForce()

Optional. If false (default): The operation will fail if any Repository within the folder hierarchy has associated Release Configs or Workflow Configs.

If true: The operation will attempt to delete everything, including any Release Configs and Workflow Configs linked to Repositories within the folder hierarchy. This permanently removes schedules and resources.

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

Returns
Type Description
DeleteTeamFolderTreeRequest.Builder

This builder for chaining.

clearName()

public DeleteTeamFolderTreeRequest.Builder clearName()

Required. The TeamFolder's name. Format: projects/{project}/locations/{location}/teamFolders/{team_folder}

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

Returns
Type Description
DeleteTeamFolderTreeRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteTeamFolderTreeRequest getDefaultInstanceForType()
Returns
Type Description
DeleteTeamFolderTreeRequest

getDescriptorForType()

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

getForce()

public boolean getForce()

Optional. If false (default): The operation will fail if any Repository within the folder hierarchy has associated Release Configs or Workflow Configs.

If true: The operation will attempt to delete everything, including any Release Configs and Workflow Configs linked to Repositories within the folder hierarchy. This permanently removes schedules and resources.

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

Returns
Type Description
boolean

The force.

getName()

public String getName()

Required. The TeamFolder's name. Format: projects/{project}/locations/{location}/teamFolders/{team_folder}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The TeamFolder's name. Format: projects/{project}/locations/{location}/teamFolders/{team_folder}

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(DeleteTeamFolderTreeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setForce(boolean value)

public DeleteTeamFolderTreeRequest.Builder setForce(boolean value)

Optional. If false (default): The operation will fail if any Repository within the folder hierarchy has associated Release Configs or Workflow Configs.

If true: The operation will attempt to delete everything, including any Release Configs and Workflow Configs linked to Repositories within the folder hierarchy. This permanently removes schedules and resources.

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

Parameter
Name Description
value boolean

The force to set.

Returns
Type Description
DeleteTeamFolderTreeRequest.Builder

This builder for chaining.

setName(String value)

public DeleteTeamFolderTreeRequest.Builder setName(String value)

Required. The TeamFolder's name. Format: projects/{project}/locations/{location}/teamFolders/{team_folder}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteTeamFolderTreeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteTeamFolderTreeRequest.Builder setNameBytes(ByteString value)

Required. The TeamFolder's name. Format: projects/{project}/locations/{location}/teamFolders/{team_folder}

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

This builder for chaining.