Class BigQueryRoutineSpec.Builder (1.53.0)

public static final class BigQueryRoutineSpec.Builder extends GeneratedMessageV3.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public BigQueryRoutineSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BigQueryRoutineSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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