Class ContentPolicy.LoggingConfig.Builder (3.103.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public ContentPolicy.LoggingConfig build()
buildPartial()
public ContentPolicy.LoggingConfig buildPartial()
clear()
public ContentPolicy.LoggingConfig.Builder clear()
Overrides
clearDestination()
public ContentPolicy.LoggingConfig.Builder clearDestination()
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];
getDefaultInstanceForType()
public ContentPolicy.LoggingConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDestinationCase()
public ContentPolicy.LoggingConfig.DestinationCase getDestinationCase()
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ContentPolicy.LoggingConfig other)
public ContentPolicy.LoggingConfig.Builder mergeFrom(ContentPolicy.LoggingConfig other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContentPolicy.LoggingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ContentPolicy.LoggingConfig.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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];
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];
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];
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-06 UTC.
[null,null,["Last updated 2026-10-06 UTC."],[],[]]