Class BigQueryTableTypes.Builder (3.43.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.BigQueryTableType>

The types to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<Integer>

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

Returns
TypeDescription
BigQueryTableTypes.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The types to add.

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

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

Returns
TypeDescription
BigQueryTableTypes.Builder

This builder for chaining.

build()

public BigQueryTableTypes build()
Returns
TypeDescription
BigQueryTableTypes

buildPartial()

public BigQueryTableTypes buildPartial()
Returns
TypeDescription
BigQueryTableTypes

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTypes()

public BigQueryTableTypes.Builder clearTypes()

A set of BigQuery table types.

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

Returns
TypeDescription
BigQueryTableTypes.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BigQueryTableTypes getDefaultInstanceForType()
Returns
TypeDescription
BigQueryTableTypes

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
List<Integer>

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BigQueryTableTypes other)

public BigQueryTableTypes.Builder mergeFrom(BigQueryTableTypes other)
Parameter
NameDescription
otherBigQueryTableTypes
Returns
TypeDescription
BigQueryTableTypes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

The index to set the value at.

valueBigQueryTableType

The types to set.

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

The index to set the value at.

valueint

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

Returns
TypeDescription
BigQueryTableTypes.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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