Class DiscoveryBigQueryConditions.OrConditions.Builder (3.39.0)

public static final class DiscoveryBigQueryConditions.OrConditions.Builder extends GeneratedMessageV3.Builder<DiscoveryBigQueryConditions.OrConditions.Builder> implements DiscoveryBigQueryConditions.OrConditionsOrBuilder

There is an OR relationship between these attributes. They are used to determine if a table should be scanned or not in Discovery.

Protobuf type google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiscoveryBigQueryConditions.OrConditions build()
Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions

buildPartial()

public DiscoveryBigQueryConditions.OrConditions buildPartial()
Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions

clear()

public DiscoveryBigQueryConditions.OrConditions.Builder clear()
Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMinAge()

public DiscoveryBigQueryConditions.OrConditions.Builder clearMinAge()

Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.

.google.protobuf.Duration min_age = 2;

Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions.Builder

clearMinRowCount()

public DiscoveryBigQueryConditions.OrConditions.Builder clearMinRowCount()

Minimum number of rows that should be present before Cloud DLP profiles a table

int32 min_row_count = 1;

Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DiscoveryBigQueryConditions.OrConditions.Builder clone()
Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions.Builder
Overrides

getDefaultInstanceForType()

public DiscoveryBigQueryConditions.OrConditions getDefaultInstanceForType()
Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMinAge()

public Duration getMinAge()

Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.

.google.protobuf.Duration min_age = 2;

Returns
TypeDescription
Duration

The minAge.

getMinAgeBuilder()

public Duration.Builder getMinAgeBuilder()

Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.

.google.protobuf.Duration min_age = 2;

Returns
TypeDescription
Builder

getMinAgeOrBuilder()

public DurationOrBuilder getMinAgeOrBuilder()

Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.

.google.protobuf.Duration min_age = 2;

Returns
TypeDescription
DurationOrBuilder

getMinRowCount()

public int getMinRowCount()

Minimum number of rows that should be present before Cloud DLP profiles a table

int32 min_row_count = 1;

Returns
TypeDescription
int

The minRowCount.

hasMinAge()

public boolean hasMinAge()

Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.

.google.protobuf.Duration min_age = 2;

Returns
TypeDescription
boolean

Whether the minAge field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DiscoveryBigQueryConditions.OrConditions other)

public DiscoveryBigQueryConditions.OrConditions.Builder mergeFrom(DiscoveryBigQueryConditions.OrConditions other)
Parameter
NameDescription
otherDiscoveryBigQueryConditions.OrConditions
Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMinAge(Duration value)

public DiscoveryBigQueryConditions.OrConditions.Builder mergeMinAge(Duration value)

Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.

.google.protobuf.Duration min_age = 2;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMinAge(Duration value)

public DiscoveryBigQueryConditions.OrConditions.Builder setMinAge(Duration value)

Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.

.google.protobuf.Duration min_age = 2;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions.Builder

setMinAge(Duration.Builder builderForValue)

public DiscoveryBigQueryConditions.OrConditions.Builder setMinAge(Duration.Builder builderForValue)

Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.

.google.protobuf.Duration min_age = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions.Builder

setMinRowCount(int value)

public DiscoveryBigQueryConditions.OrConditions.Builder setMinRowCount(int value)

Minimum number of rows that should be present before Cloud DLP profiles a table

int32 min_row_count = 1;

Parameter
NameDescription
valueint

The minRowCount to set.

Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions.Builder

This builder for chaining.

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

public DiscoveryBigQueryConditions.OrConditions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DiscoveryBigQueryConditions.OrConditions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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