Class MakeDirectoryRequest.Builder (0.20.0)

public static final class MakeDirectoryRequest.Builder extends GeneratedMessageV3.Builder<MakeDirectoryRequest.Builder> implements MakeDirectoryRequestOrBuilder

MakeDirectory request message.

Protobuf type google.cloud.dataform.v1alpha2.MakeDirectoryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MakeDirectoryRequest build()
Returns
Type Description
MakeDirectoryRequest

buildPartial()

public MakeDirectoryRequest buildPartial()
Returns
Type Description
MakeDirectoryRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

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

This builder for chaining.

clearWorkspace()

public MakeDirectoryRequest.Builder clearWorkspace()

Required. The workspace's name.

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

Returns
Type Description
MakeDirectoryRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public MakeDirectoryRequest getDefaultInstanceForType()
Returns
Type Description
MakeDirectoryRequest

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPath(String value)

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

This builder for chaining.

setPathBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWorkspace(String value)

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

This builder for chaining.

setWorkspaceBytes(ByteString value)

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

This builder for chaining.