public static final class DeleteFolderTreeRequest.Builder extends GeneratedMessage.Builder<DeleteFolderTreeRequest.Builder> implements DeleteFolderTreeRequestOrBuilder DeleteFolderTree request message.
Protobuf type google.cloud.dataform.v1.DeleteFolderTreeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteFolderTreeRequest.BuilderImplements
DeleteFolderTreeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteFolderTreeRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteFolderTreeRequest |
|
buildPartial()
public DeleteFolderTreeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteFolderTreeRequest |
|
clear()
public DeleteFolderTreeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteFolderTreeRequest.Builder |
|
clearForce()
public DeleteFolderTreeRequest.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 |
DeleteFolderTreeRequest.Builder |
This builder for chaining. |
clearName()
public DeleteFolderTreeRequest.Builder clearName()Required. The Folder's name. Format: projects/{project}/locations/{location}/folders/{folder}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteFolderTreeRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteFolderTreeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteFolderTreeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 Folder's name. Format: projects/{project}/locations/{location}/folders/{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 Folder's name. Format: projects/{project}/locations/{location}/folders/{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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteFolderTreeRequest other)
public DeleteFolderTreeRequest.Builder mergeFrom(DeleteFolderTreeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteFolderTreeRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteFolderTreeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteFolderTreeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteFolderTreeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteFolderTreeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteFolderTreeRequest.Builder |
|
setForce(boolean value)
public DeleteFolderTreeRequest.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 |
booleanThe force to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteFolderTreeRequest.Builder |
This builder for chaining. |
setName(String value)
public DeleteFolderTreeRequest.Builder setName(String value)Required. The Folder's name. Format: projects/{project}/locations/{location}/folders/{folder}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteFolderTreeRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteFolderTreeRequest.Builder setNameBytes(ByteString value)Required. The Folder's name. Format: projects/{project}/locations/{location}/folders/{folder}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteFolderTreeRequest.Builder |
This builder for chaining. |