Class BigQueryRoutineSpec.Builder (1.21.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
TypeDescription
Descriptor

Methods

addAllImportedLibraries(Iterable<String> values)

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

Paths of the imported libraries.

repeated string imported_libraries = 1;

Parameter
NameDescription
valuesIterable<String>

The importedLibraries to add.

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

The importedLibraries to add.

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

The bytes of the importedLibraries to add.

Returns
TypeDescription
BigQueryRoutineSpec.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryRoutineSpec build()
Returns
TypeDescription
BigQueryRoutineSpec

buildPartial()

public BigQueryRoutineSpec buildPartial()
Returns
TypeDescription
BigQueryRoutineSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearImportedLibraries()

public BigQueryRoutineSpec.Builder clearImportedLibraries()

Paths of the imported libraries.

repeated string imported_libraries = 1;

Returns
TypeDescription
BigQueryRoutineSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BigQueryRoutineSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BigQueryRoutineSpec.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public BigQueryRoutineSpec getDefaultInstanceForType()
Returns
TypeDescription
BigQueryRoutineSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImportedLibraries(int index)

public String getImportedLibraries(int index)

Paths of the imported libraries.

repeated string imported_libraries = 1;

Parameter
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of importedLibraries.

getImportedLibrariesList()

public ProtocolStringList getImportedLibrariesList()

Paths of the imported libraries.

repeated string imported_libraries = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the importedLibraries.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BigQueryRoutineSpec other)

public BigQueryRoutineSpec.Builder mergeFrom(BigQueryRoutineSpec other)
Parameter
NameDescription
otherBigQueryRoutineSpec
Returns
TypeDescription
BigQueryRoutineSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The index to set the value at.

valueString

The importedLibraries to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryRoutineSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BigQueryRoutineSpec.Builder
Overrides