Class MoveFolderRequest.Builder (0.84.0)

public static final class MoveFolderRequest.Builder extends GeneratedMessage.Builder<MoveFolderRequest.Builder> implements MoveFolderRequestOrBuilder

MoveFolder request message.

Protobuf type google.cloud.dataform.v1beta1.MoveFolderRequest

Static Methods

getDescriptor()

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

Methods

build()

public MoveFolderRequest build()
Returns
Type Description
MoveFolderRequest

buildPartial()

public MoveFolderRequest buildPartial()
Returns
Type Description
MoveFolderRequest

clear()

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

clearDestinationContainingFolder()

public MoveFolderRequest.Builder clearDestinationContainingFolder()

Optional. The name of the Folder, TeamFolder, or root location to move the Folder to. Can be in the format of: "" to move into the root User folder, projects/*/locations/*/folders/*, projects/*/locations/*/teamFolders/*

optional string destination_containing_folder = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MoveFolderRequest.Builder

This builder for chaining.

clearName()

public MoveFolderRequest.Builder clearName()

Required. The full resource name of the Folder to move.

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

Returns
Type Description
MoveFolderRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public MoveFolderRequest getDefaultInstanceForType()
Returns
Type Description
MoveFolderRequest

getDescriptorForType()

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

getDestinationContainingFolder()

public String getDestinationContainingFolder()

Optional. The name of the Folder, TeamFolder, or root location to move the Folder to. Can be in the format of: "" to move into the root User folder, projects/*/locations/*/folders/*, projects/*/locations/*/teamFolders/*

optional string destination_containing_folder = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The destinationContainingFolder.

getDestinationContainingFolderBytes()

public ByteString getDestinationContainingFolderBytes()

Optional. The name of the Folder, TeamFolder, or root location to move the Folder to. Can be in the format of: "" to move into the root User folder, projects/*/locations/*/folders/*, projects/*/locations/*/teamFolders/*

optional string destination_containing_folder = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for destinationContainingFolder.

getName()

public String getName()

Required. The full resource name of the Folder to move.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The full resource name of the Folder to move.

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

Returns
Type Description
ByteString

The bytes for name.

hasDestinationContainingFolder()

public boolean hasDestinationContainingFolder()

Optional. The name of the Folder, TeamFolder, or root location to move the Folder to. Can be in the format of: "" to move into the root User folder, projects/*/locations/*/folders/*, projects/*/locations/*/teamFolders/*

optional string destination_containing_folder = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the destinationContainingFolder field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MoveFolderRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDestinationContainingFolder(String value)

public MoveFolderRequest.Builder setDestinationContainingFolder(String value)

Optional. The name of the Folder, TeamFolder, or root location to move the Folder to. Can be in the format of: "" to move into the root User folder, projects/*/locations/*/folders/*, projects/*/locations/*/teamFolders/*

optional string destination_containing_folder = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The destinationContainingFolder to set.

Returns
Type Description
MoveFolderRequest.Builder

This builder for chaining.

setDestinationContainingFolderBytes(ByteString value)

public MoveFolderRequest.Builder setDestinationContainingFolderBytes(ByteString value)

Optional. The name of the Folder, TeamFolder, or root location to move the Folder to. Can be in the format of: "" to move into the root User folder, projects/*/locations/*/folders/*, projects/*/locations/*/teamFolders/*

optional string destination_containing_folder = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for destinationContainingFolder to set.

Returns
Type Description
MoveFolderRequest.Builder

This builder for chaining.

setName(String value)

public MoveFolderRequest.Builder setName(String value)

Required. The full resource name of the Folder to move.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
MoveFolderRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public MoveFolderRequest.Builder setNameBytes(ByteString value)

Required. The full resource name of the Folder to move.

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

This builder for chaining.