Class BigQueryRoutineSpec.Builder (1.89.0)

public static final class BigQueryRoutineSpec.Builder extends GeneratedMessage.Builder<BigQueryRoutineSpec.Builder> implements BigQueryRoutineSpecOrBuilder

Fields specific for BigQuery routines.

Protobuf type google.cloud.datacatalog.v1.BigQueryRoutineSpec

Static Methods

getDescriptor()

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

Methods

addAllImportedLibraries(Iterable<String> values)

public BigQueryRoutineSpec.Builder addAllImportedLibraries(Iterable<String> values)

Paths of the imported libraries.

repeated string imported_libraries = 1;

Parameter
Name Description
values Iterable<String>

The importedLibraries to add.

Returns
Type Description
BigQueryRoutineSpec.Builder

This builder for chaining.

addImportedLibraries(String value)

public BigQueryRoutineSpec.Builder addImportedLibraries(String value)

Paths of the imported libraries.

repeated string imported_libraries = 1;

Parameter
Name Description
value String

The importedLibraries to add.

Returns
Type Description
BigQueryRoutineSpec.Builder

This builder for chaining.

addImportedLibrariesBytes(ByteString value)

public BigQueryRoutineSpec.Builder addImportedLibrariesBytes(ByteString value)

Paths of the imported libraries.

repeated string imported_libraries = 1;

Parameter
Name Description
value ByteString

The bytes of the importedLibraries to add.

Returns
Type Description
BigQueryRoutineSpec.Builder

This builder for chaining.

build()

public BigQueryRoutineSpec build()
Returns
Type Description
BigQueryRoutineSpec

buildPartial()

public BigQueryRoutineSpec buildPartial()
Returns
Type Description
BigQueryRoutineSpec

clear()

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

clearImportedLibraries()

public BigQueryRoutineSpec.Builder clearImportedLibraries()

Paths of the imported libraries.

repeated string imported_libraries = 1;

Returns
Type Description
BigQueryRoutineSpec.Builder

This builder for chaining.

getDefaultInstanceForType()

public BigQueryRoutineSpec getDefaultInstanceForType()
Returns
Type Description
BigQueryRoutineSpec

getDescriptorForType()

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

getImportedLibraries(int index)

public String getImportedLibraries(int index)

Paths of the imported libraries.

repeated string imported_libraries = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The importedLibraries at the given index.

getImportedLibrariesBytes(int index)

public ByteString getImportedLibrariesBytes(int index)

Paths of the imported libraries.

repeated string imported_libraries = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the importedLibraries at the given index.

getImportedLibrariesCount()

public int getImportedLibrariesCount()

Paths of the imported libraries.

repeated string imported_libraries = 1;

Returns
Type Description
int

The count of importedLibraries.

getImportedLibrariesList()

public ProtocolStringList getImportedLibrariesList()

Paths of the imported libraries.

repeated string imported_libraries = 1;

Returns
Type Description
ProtocolStringList

A list containing the importedLibraries.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigQueryRoutineSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setImportedLibraries(int index, String value)

public BigQueryRoutineSpec.Builder setImportedLibraries(int index, String value)

Paths of the imported libraries.

repeated string imported_libraries = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The importedLibraries to set.

Returns
Type Description
BigQueryRoutineSpec.Builder

This builder for chaining.