Class RemoveFileRequest.Builder (0.14.0)

public static final class RemoveFileRequest.Builder extends GeneratedMessageV3.Builder<RemoveFileRequest.Builder> implements RemoveFileRequestOrBuilder

RemoveFile request message.

Protobuf type google.cloud.dataform.v1alpha2.RemoveFileRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RemoveFileRequest build()
Returns
Type Description
RemoveFileRequest

buildPartial()

public RemoveFileRequest buildPartial()
Returns
Type Description
RemoveFileRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public RemoveFileRequest.Builder clearPath()

Required. The file's full path including filename, relative to the workspace root.

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

Returns
Type Description
RemoveFileRequest.Builder

This builder for chaining.

clearWorkspace()

public RemoveFileRequest.Builder clearWorkspace()

Required. The workspace's name.

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

Returns
Type Description
RemoveFileRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RemoveFileRequest getDefaultInstanceForType()
Returns
Type Description
RemoveFileRequest

getDescriptorForType()

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

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
Type Description
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
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(RemoveFileRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPath(String value)

public RemoveFileRequest.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
Name Description
value String

The path to set.

Returns
Type Description
RemoveFileRequest.Builder

This builder for chaining.

setPathBytes(ByteString value)

public RemoveFileRequest.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
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
RemoveFileRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWorkspace(String value)

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

This builder for chaining.

setWorkspaceBytes(ByteString value)

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

This builder for chaining.