Class MoveFileRequest.Builder (0.84.0)

public static final class MoveFileRequest.Builder extends GeneratedMessage.Builder<MoveFileRequest.Builder> implements MoveFileRequestOrBuilder

MoveFile request message.

Protobuf type google.cloud.dataform.v1beta1.MoveFileRequest

Static Methods

getDescriptor()

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

Methods

build()

public MoveFileRequest build()
Returns
Type Description
MoveFileRequest

buildPartial()

public MoveFileRequest buildPartial()
Returns
Type Description
MoveFileRequest

clear()

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

clearNewPath()

public MoveFileRequest.Builder clearNewPath()

Required. The file's new path including filename, relative to the workspace root.

string new_path = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MoveFileRequest.Builder

This builder for chaining.

clearPath()

public MoveFileRequest.Builder clearPath()

Required. The file's full path including filename, relative to the workspace root.

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MoveFileRequest.Builder

This builder for chaining.

clearWorkspace()

public MoveFileRequest.Builder clearWorkspace()

Required. The workspace's name.

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

Returns
Type Description
MoveFileRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public MoveFileRequest getDefaultInstanceForType()
Returns
Type Description
MoveFileRequest

getDescriptorForType()

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

getNewPath()

public String getNewPath()

Required. The file's new path including filename, relative to the workspace root.

string new_path = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The newPath.

getNewPathBytes()

public ByteString getNewPathBytes()

Required. The file's new path including filename, relative to the workspace root.

string new_path = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for newPath.

getPath()

public String getPath()

Required. The file's full path including filename, relative to the workspace root.

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Required. The file's full path including filename, relative to the workspace root.

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for path.

getWorkspace()

public String getWorkspace()

Required. The workspace's name.

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

Returns
Type Description
String

The workspace.

getWorkspaceBytes()

public ByteString getWorkspaceBytes()

Required. The workspace's name.

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

Returns
Type Description
ByteString

The bytes for workspace.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MoveFileRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setNewPath(String value)

public MoveFileRequest.Builder setNewPath(String value)

Required. The file's new path including filename, relative to the workspace root.

string new_path = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The newPath to set.

Returns
Type Description
MoveFileRequest.Builder

This builder for chaining.

setNewPathBytes(ByteString value)

public MoveFileRequest.Builder setNewPathBytes(ByteString value)

Required. The file's new path including filename, relative to the workspace root.

string new_path = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for newPath to set.

Returns
Type Description
MoveFileRequest.Builder

This builder for chaining.

setPath(String value)

public MoveFileRequest.Builder setPath(String value)

Required. The file's full path including filename, relative to the workspace root.

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The path to set.

Returns
Type Description
MoveFileRequest.Builder

This builder for chaining.

setPathBytes(ByteString value)

public MoveFileRequest.Builder setPathBytes(ByteString value)

Required. The file's full path including filename, relative to the workspace root.

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
MoveFileRequest.Builder

This builder for chaining.

setWorkspace(String value)

public MoveFileRequest.Builder setWorkspace(String value)

Required. The workspace's name.

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

Parameter
Name Description
value String

The workspace to set.

Returns
Type Description
MoveFileRequest.Builder

This builder for chaining.

setWorkspaceBytes(ByteString value)

public MoveFileRequest.Builder setWorkspaceBytes(ByteString value)

Required. The workspace's name.

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

Parameter
Name Description
value ByteString

The bytes for workspace to set.

Returns
Type Description
MoveFileRequest.Builder

This builder for chaining.