Class MoveDirectoryRequest (0.33.0)

public final class MoveDirectoryRequest extends GeneratedMessageV3 implements MoveDirectoryRequestOrBuilder

MoveDirectory request message.

Protobuf type google.cloud.dataform.v1alpha2.MoveDirectoryRequest

Static Fields

NEW_PATH_FIELD_NUMBER

public static final int NEW_PATH_FIELD_NUMBER
Field Value
Type Description
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

WORKSPACE_FIELD_NUMBER

public static final int WORKSPACE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MoveDirectoryRequest getDefaultInstance()
Returns
Type Description
MoveDirectoryRequest

getDescriptor()

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

newBuilder()

public static MoveDirectoryRequest.Builder newBuilder()
Returns
Type Description
MoveDirectoryRequest.Builder

newBuilder(MoveDirectoryRequest prototype)

public static MoveDirectoryRequest.Builder newBuilder(MoveDirectoryRequest prototype)
Parameter
Name Description
prototype MoveDirectoryRequest
Returns
Type Description
MoveDirectoryRequest.Builder

parseDelimitedFrom(InputStream input)

public static MoveDirectoryRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MoveDirectoryRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveDirectoryRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveDirectoryRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MoveDirectoryRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MoveDirectoryRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MoveDirectoryRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveDirectoryRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MoveDirectoryRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MoveDirectoryRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MoveDirectoryRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveDirectoryRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MoveDirectoryRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MoveDirectoryRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveDirectoryRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveDirectoryRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MoveDirectoryRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MoveDirectoryRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveDirectoryRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveDirectoryRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MoveDirectoryRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MoveDirectoryRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MoveDirectoryRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveDirectoryRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MoveDirectoryRequest> parser()
Returns
Type Description
Parser<MoveDirectoryRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public MoveDirectoryRequest getDefaultInstanceForType()
Returns
Type Description
MoveDirectoryRequest

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.

getParserForType()

public Parser<MoveDirectoryRequest> getParserForType()
Returns
Type Description
Parser<MoveDirectoryRequest>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MoveDirectoryRequest.Builder newBuilderForType()
Returns
Type Description
MoveDirectoryRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MoveDirectoryRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MoveDirectoryRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MoveDirectoryRequest.Builder toBuilder()
Returns
Type Description
MoveDirectoryRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException