Class MoveRepositoryRequest.Builder (0.84.0)

public static final class MoveRepositoryRequest.Builder extends GeneratedMessage.Builder<MoveRepositoryRequest.Builder> implements MoveRepositoryRequestOrBuilder

MoveRepository request message.

Protobuf type google.cloud.dataform.v1beta1.MoveRepositoryRequest

Static Methods

getDescriptor()

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

Methods

build()

public MoveRepositoryRequest build()
Returns
Type Description
MoveRepositoryRequest

buildPartial()

public MoveRepositoryRequest buildPartial()
Returns
Type Description
MoveRepositoryRequest

clear()

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

clearDestinationContainingFolder()

public MoveRepositoryRequest.Builder clearDestinationContainingFolder()

Optional. The name of the Folder, TeamFolder, or root location to move the repository 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
MoveRepositoryRequest.Builder

This builder for chaining.

clearName()

public MoveRepositoryRequest.Builder clearName()

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

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

Returns
Type Description
MoveRepositoryRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public MoveRepositoryRequest getDefaultInstanceForType()
Returns
Type Description
MoveRepositoryRequest

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 repository 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 repository 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 repository 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 repository 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 repository 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(MoveRepositoryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDestinationContainingFolder(String value)

public MoveRepositoryRequest.Builder setDestinationContainingFolder(String value)

Optional. The name of the Folder, TeamFolder, or root location to move the repository 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
MoveRepositoryRequest.Builder

This builder for chaining.

setDestinationContainingFolderBytes(ByteString value)

public MoveRepositoryRequest.Builder setDestinationContainingFolderBytes(ByteString value)

Optional. The name of the Folder, TeamFolder, or root location to move the repository 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
MoveRepositoryRequest.Builder

This builder for chaining.

setName(String value)

public MoveRepositoryRequest.Builder setName(String value)

Required. The full resource name of the repository 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
MoveRepositoryRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public MoveRepositoryRequest.Builder setNameBytes(ByteString value)

Required. The full resource name of the repository 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
MoveRepositoryRequest.Builder

This builder for chaining.