Class MoveDirectoryRequest.Builder (0.45.0)

public static final class MoveDirectoryRequest.Builder extends GeneratedMessageV3.Builder<MoveDirectoryRequest.Builder> implements MoveDirectoryRequestOrBuilder

MoveDirectory request message.

Protobuf type google.cloud.dataform.v1alpha2.MoveDirectoryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MoveDirectoryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MoveDirectoryRequest.Builder
Overrides

build()

public MoveDirectoryRequest build()
Returns
Type Description
MoveDirectoryRequest

buildPartial()

public MoveDirectoryRequest buildPartial()
Returns
Type Description
MoveDirectoryRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public MoveDirectoryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MoveDirectoryRequest.Builder
Overrides

clearNewPath()

public MoveDirectoryRequest.Builder clearNewPath()

Required. The new path for the directory including directory name, rooted at workspace root.

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

Returns
Type Description
MoveDirectoryRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MoveDirectoryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MoveDirectoryRequest.Builder
Overrides

clearPath()

public MoveDirectoryRequest.Builder clearPath()

Required. The directory's full path including directory name, relative to the workspace root.

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

Returns
Type Description
MoveDirectoryRequest.Builder

This builder for chaining.

clearWorkspace()

public MoveDirectoryRequest.Builder clearWorkspace()

Required. The workspace's name.

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

Returns
Type Description
MoveDirectoryRequest.Builder

This builder for chaining.

clone()

public MoveDirectoryRequest.Builder clone()
Returns
Type Description
MoveDirectoryRequest.Builder
Overrides

getDefaultInstanceForType()

public MoveDirectoryRequest getDefaultInstanceForType()
Returns
Type Description
MoveDirectoryRequest

getDescriptorForType()

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

getNewPath()

public String getNewPath()

Required. The new path for the directory including directory name, rooted at workspace root.

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

Returns
Type Description
String

The newPath.

getNewPathBytes()

public ByteString getNewPathBytes()

Required. The new path for the directory including directory name, rooted at 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 directory's full path including directory name, 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 directory's full path including directory name, 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MoveDirectoryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MoveDirectoryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MoveDirectoryRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MoveDirectoryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MoveDirectoryRequest.Builder
Overrides

setNewPath(String value)

public MoveDirectoryRequest.Builder setNewPath(String value)

Required. The new path for the directory including directory name, rooted at workspace root.

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

Parameter
Name Description
value String

The newPath to set.

Returns
Type Description
MoveDirectoryRequest.Builder

This builder for chaining.

setNewPathBytes(ByteString value)

public MoveDirectoryRequest.Builder setNewPathBytes(ByteString value)

Required. The new path for the directory including directory name, rooted at 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
MoveDirectoryRequest.Builder

This builder for chaining.

setPath(String value)

public MoveDirectoryRequest.Builder setPath(String value)

Required. The directory's full path including directory name, 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
MoveDirectoryRequest.Builder

This builder for chaining.

setPathBytes(ByteString value)

public MoveDirectoryRequest.Builder setPathBytes(ByteString value)

Required. The directory's full path including directory name, 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
MoveDirectoryRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MoveDirectoryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MoveDirectoryRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MoveDirectoryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MoveDirectoryRequest.Builder
Overrides

setWorkspace(String value)

public MoveDirectoryRequest.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
MoveDirectoryRequest.Builder

This builder for chaining.

setWorkspaceBytes(ByteString value)

public MoveDirectoryRequest.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
MoveDirectoryRequest.Builder

This builder for chaining.