Class ContentPolicy.LoggingConfig.Builder (3.103.0)

public static final class ContentPolicy.LoggingConfig.Builder extends GeneratedMessage.Builder<ContentPolicy.LoggingConfig.Builder> implements ContentPolicy.LoggingConfigOrBuilder

A single logging configuration.

Protobuf type google.privacy.dlp.v2.ContentPolicy.LoggingConfig

Static Methods

getDescriptor()

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

Methods

build()

public ContentPolicy.LoggingConfig build()
Returns
Type Description
ContentPolicy.LoggingConfig

buildPartial()

public ContentPolicy.LoggingConfig buildPartial()
Returns
Type Description
ContentPolicy.LoggingConfig

clear()

public ContentPolicy.LoggingConfig.Builder clear()
Returns
Type Description
ContentPolicy.LoggingConfig.Builder
Overrides

clearDestination()

public ContentPolicy.LoggingConfig.Builder clearDestination()
Returns
Type Description
ContentPolicy.LoggingConfig.Builder

clearLogToBigQuery()

public ContentPolicy.LoggingConfig.Builder clearLogToBigQuery()

Optional. Log the actions taken to a BigQuery table.

.google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQuery log_to_big_query = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ContentPolicy.LoggingConfig.Builder

getDefaultInstanceForType()

public ContentPolicy.LoggingConfig getDefaultInstanceForType()
Returns
Type Description
ContentPolicy.LoggingConfig

getDescriptorForType()

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

getDestinationCase()

public ContentPolicy.LoggingConfig.DestinationCase getDestinationCase()
Returns
Type Description
ContentPolicy.LoggingConfig.DestinationCase

getLogToBigQuery()

public ContentPolicy.LoggingConfig.LogToBigQuery getLogToBigQuery()

Optional. Log the actions taken to a BigQuery table.

.google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQuery log_to_big_query = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ContentPolicy.LoggingConfig.LogToBigQuery

The logToBigQuery.

getLogToBigQueryBuilder()

public ContentPolicy.LoggingConfig.LogToBigQuery.Builder getLogToBigQueryBuilder()

Optional. Log the actions taken to a BigQuery table.

.google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQuery log_to_big_query = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ContentPolicy.LoggingConfig.LogToBigQuery.Builder

getLogToBigQueryOrBuilder()

public ContentPolicy.LoggingConfig.LogToBigQueryOrBuilder getLogToBigQueryOrBuilder()

Optional. Log the actions taken to a BigQuery table.

.google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQuery log_to_big_query = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ContentPolicy.LoggingConfig.LogToBigQueryOrBuilder

hasLogToBigQuery()

public boolean hasLogToBigQuery()

Optional. Log the actions taken to a BigQuery table.

.google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQuery log_to_big_query = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the logToBigQuery field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ContentPolicy.LoggingConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLogToBigQuery(ContentPolicy.LoggingConfig.LogToBigQuery value)

public ContentPolicy.LoggingConfig.Builder mergeLogToBigQuery(ContentPolicy.LoggingConfig.LogToBigQuery value)

Optional. Log the actions taken to a BigQuery table.

.google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQuery log_to_big_query = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ContentPolicy.LoggingConfig.LogToBigQuery
Returns
Type Description
ContentPolicy.LoggingConfig.Builder

setLogToBigQuery(ContentPolicy.LoggingConfig.LogToBigQuery value)

public ContentPolicy.LoggingConfig.Builder setLogToBigQuery(ContentPolicy.LoggingConfig.LogToBigQuery value)

Optional. Log the actions taken to a BigQuery table.

.google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQuery log_to_big_query = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ContentPolicy.LoggingConfig.LogToBigQuery
Returns
Type Description
ContentPolicy.LoggingConfig.Builder

setLogToBigQuery(ContentPolicy.LoggingConfig.LogToBigQuery.Builder builderForValue)

public ContentPolicy.LoggingConfig.Builder setLogToBigQuery(ContentPolicy.LoggingConfig.LogToBigQuery.Builder builderForValue)

Optional. Log the actions taken to a BigQuery table.

.google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQuery log_to_big_query = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ContentPolicy.LoggingConfig.LogToBigQuery.Builder
Returns
Type Description
ContentPolicy.LoggingConfig.Builder