Class RemoveFileRequest.Builder (0.2.1)

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

RemoveFile request message.

Protobuf type google.cloud.dataform.v1beta1.RemoveFileRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RemoveFileRequest build()
Returns
TypeDescription
RemoveFileRequest

buildPartial()

public RemoveFileRequest buildPartial()
Returns
TypeDescription
RemoveFileRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public RemoveFileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RemoveFileRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RemoveFileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RemoveFileRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RemoveFileRequest getDefaultInstanceForType()
Returns
TypeDescription
RemoveFileRequest

getDescriptorForType()

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

public RemoveFileRequest.Builder mergeFrom(RemoveFileRequest other)
Parameter
NameDescription
otherRemoveFileRequest
Returns
TypeDescription
RemoveFileRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The path to set.

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

The bytes for path to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RemoveFileRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RemoveFileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The workspace to set.

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

The bytes for workspace to set.

Returns
TypeDescription
RemoveFileRequest.Builder

This builder for chaining.