Class InstallNpmPackagesRequest.Builder (0.48.0)

public static final class InstallNpmPackagesRequest.Builder extends GeneratedMessageV3.Builder<InstallNpmPackagesRequest.Builder> implements InstallNpmPackagesRequestOrBuilder

InstallNpmPackages request message.

Protobuf type google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstallNpmPackagesRequest build()
Returns
Type Description
InstallNpmPackagesRequest

buildPartial()

public InstallNpmPackagesRequest buildPartial()
Returns
Type Description
InstallNpmPackagesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWorkspace()

public InstallNpmPackagesRequest.Builder clearWorkspace()

Required. The workspace's name.

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

Returns
Type Description
InstallNpmPackagesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public InstallNpmPackagesRequest getDefaultInstanceForType()
Returns
Type Description
InstallNpmPackagesRequest

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstallNpmPackagesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWorkspace(String value)

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

This builder for chaining.

setWorkspaceBytes(ByteString value)

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

This builder for chaining.