Class RemoveDirectoryRequest.Builder (0.41.0)

public static final class RemoveDirectoryRequest.Builder extends GeneratedMessageV3.Builder<RemoveDirectoryRequest.Builder> implements RemoveDirectoryRequestOrBuilder

RemoveDirectory request message.

Protobuf type google.cloud.dataform.v1alpha2.RemoveDirectoryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RemoveDirectoryRequest build()
Returns
Type Description
RemoveDirectoryRequest

buildPartial()

public RemoveDirectoryRequest buildPartial()
Returns
Type Description
RemoveDirectoryRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

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

This builder for chaining.

clearWorkspace()

public RemoveDirectoryRequest.Builder clearWorkspace()

Required. The workspace's name.

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

Returns
Type Description
RemoveDirectoryRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RemoveDirectoryRequest getDefaultInstanceForType()
Returns
Type Description
RemoveDirectoryRequest

getDescriptorForType()

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

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(RemoveDirectoryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPath(String value)

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

This builder for chaining.

setPathBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWorkspace(String value)

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

This builder for chaining.

setWorkspaceBytes(ByteString value)

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

This builder for chaining.