Class MoveFileRequest.Builder (0.2.1)

public static final class MoveFileRequest.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MoveFileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MoveFileRequest.Builder
Overrides

build()

public MoveFileRequest build()
Returns
TypeDescription
MoveFileRequest

buildPartial()

public MoveFileRequest buildPartial()
Returns
TypeDescription
MoveFileRequest

clear()

public MoveFileRequest.Builder clear()
Returns
TypeDescription
MoveFileRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MoveFileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
MoveFileRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MoveFileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MoveFileRequest.Builder
Overrides

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
TypeDescription
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
TypeDescription
MoveFileRequest.Builder

This builder for chaining.

clone()

public MoveFileRequest.Builder clone()
Returns
TypeDescription
MoveFileRequest.Builder
Overrides

getDefaultInstanceForType()

public MoveFileRequest getDefaultInstanceForType()
Returns
TypeDescription
MoveFileRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for workspace.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MoveFileRequest other)

public MoveFileRequest.Builder mergeFrom(MoveFileRequest other)
Parameter
NameDescription
otherMoveFileRequest
Returns
TypeDescription
MoveFileRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MoveFileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveFileRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MoveFileRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MoveFileRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MoveFileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MoveFileRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MoveFileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The newPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for newPath to set.

Returns
TypeDescription
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
NameDescription
valueString

The path to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for path to set.

Returns
TypeDescription
MoveFileRequest.Builder

This builder for chaining.

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

public MoveFileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MoveFileRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MoveFileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MoveFileRequest.Builder
Overrides

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
NameDescription
valueString

The workspace to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for workspace to set.

Returns
TypeDescription
MoveFileRequest.Builder

This builder for chaining.