Class BigQueryTableTypes.Builder (3.46.0)

public static final class BigQueryTableTypes.Builder extends GeneratedMessageV3.Builder<BigQueryTableTypes.Builder> implements BigQueryTableTypesOrBuilder

The types of BigQuery tables supported by Cloud DLP.

Protobuf type google.privacy.dlp.v2.BigQueryTableTypes

Static Methods

getDescriptor()

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

Methods

addAllTypes(Iterable<? extends BigQueryTableType> values)

public BigQueryTableTypes.Builder addAllTypes(Iterable<? extends BigQueryTableType> values)

A set of BigQuery table types.

repeated .google.privacy.dlp.v2.BigQueryTableType types = 1;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.BigQueryTableType>

The types to add.

Returns
Type Description
BigQueryTableTypes.Builder

This builder for chaining.

addAllTypesValue(Iterable<Integer> values)

public BigQueryTableTypes.Builder addAllTypesValue(Iterable<Integer> values)

A set of BigQuery table types.

repeated .google.privacy.dlp.v2.BigQueryTableType types = 1;

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for types to add.

Returns
Type Description
BigQueryTableTypes.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTypes(BigQueryTableType value)

public BigQueryTableTypes.Builder addTypes(BigQueryTableType value)

A set of BigQuery table types.

repeated .google.privacy.dlp.v2.BigQueryTableType types = 1;

Parameter
Name Description
value BigQueryTableType

The types to add.

Returns
Type Description
BigQueryTableTypes.Builder

This builder for chaining.

addTypesValue(int value)

public BigQueryTableTypes.Builder addTypesValue(int value)

A set of BigQuery table types.

repeated .google.privacy.dlp.v2.BigQueryTableType types = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for types to add.

Returns
Type Description
BigQueryTableTypes.Builder

This builder for chaining.

build()

public BigQueryTableTypes build()
Returns
Type Description
BigQueryTableTypes

buildPartial()

public BigQueryTableTypes buildPartial()
Returns
Type Description
BigQueryTableTypes

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTypes()

public BigQueryTableTypes.Builder clearTypes()

A set of BigQuery table types.

repeated .google.privacy.dlp.v2.BigQueryTableType types = 1;

Returns
Type Description
BigQueryTableTypes.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BigQueryTableTypes getDefaultInstanceForType()
Returns
Type Description
BigQueryTableTypes

getDescriptorForType()

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

getTypes(int index)

public BigQueryTableType getTypes(int index)

A set of BigQuery table types.

repeated .google.privacy.dlp.v2.BigQueryTableType types = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
BigQueryTableType

The types at the given index.

getTypesCount()

public int getTypesCount()

A set of BigQuery table types.

repeated .google.privacy.dlp.v2.BigQueryTableType types = 1;

Returns
Type Description
int

The count of types.

getTypesList()

public List<BigQueryTableType> getTypesList()

A set of BigQuery table types.

repeated .google.privacy.dlp.v2.BigQueryTableType types = 1;

Returns
Type Description
List<BigQueryTableType>

A list containing the types.

getTypesValue(int index)

public int getTypesValue(int index)

A set of BigQuery table types.

repeated .google.privacy.dlp.v2.BigQueryTableType types = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of types at the given index.

getTypesValueList()

public List<Integer> getTypesValueList()

A set of BigQuery table types.

repeated .google.privacy.dlp.v2.BigQueryTableType types = 1;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for types.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigQueryTableTypes other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTypes(int index, BigQueryTableType value)

public BigQueryTableTypes.Builder setTypes(int index, BigQueryTableType value)

A set of BigQuery table types.

repeated .google.privacy.dlp.v2.BigQueryTableType types = 1;

Parameters
Name Description
index int

The index to set the value at.

value BigQueryTableType

The types to set.

Returns
Type Description
BigQueryTableTypes.Builder

This builder for chaining.

setTypesValue(int index, int value)

public BigQueryTableTypes.Builder setTypesValue(int index, int value)

A set of BigQuery table types.

repeated .google.privacy.dlp.v2.BigQueryTableType types = 1;

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for types to set.

Returns
Type Description
BigQueryTableTypes.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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