Class ContentPolicy.LoggingConfig.LogToBigQuery.Builder (3.103.0)

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

Configuration for logging content policy actions to BigQuery.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearDatasetId()

public ContentPolicy.LoggingConfig.LogToBigQuery.Builder clearDatasetId()

Required. The ID of the dataset containing the BigQuery table to write to.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ContentPolicy.LoggingConfig.LogToBigQuery.Builder

This builder for chaining.

clearProjectId()

public ContentPolicy.LoggingConfig.LogToBigQuery.Builder clearProjectId()

Required. The ID of the project containing the BigQuery table to write to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ContentPolicy.LoggingConfig.LogToBigQuery.Builder

This builder for chaining.

clearTableId()

public ContentPolicy.LoggingConfig.LogToBigQuery.Builder clearTableId()

Required. The ID of the BigQuery table to write to.

string table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ContentPolicy.LoggingConfig.LogToBigQuery.Builder

This builder for chaining.

getDatasetId()

public String getDatasetId()

Required. The ID of the dataset containing the BigQuery table to write to.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

Required. The ID of the dataset containing the BigQuery table to write to.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getProjectId()

public String getProjectId()

Required. The ID of the project containing the BigQuery table to write to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Required. The ID of the project containing the BigQuery table to write to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.

getTableId()

public String getTableId()

Required. The ID of the BigQuery table to write to.

string table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

Required. The ID of the BigQuery table to write to.

string table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tableId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ContentPolicy.LoggingConfig.LogToBigQuery other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDatasetId(String value)

public ContentPolicy.LoggingConfig.LogToBigQuery.Builder setDatasetId(String value)

Required. The ID of the dataset containing the BigQuery table to write to.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The datasetId to set.

Returns
Type Description
ContentPolicy.LoggingConfig.LogToBigQuery.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public ContentPolicy.LoggingConfig.LogToBigQuery.Builder setDatasetIdBytes(ByteString value)

Required. The ID of the dataset containing the BigQuery table to write to.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for datasetId to set.

Returns
Type Description
ContentPolicy.LoggingConfig.LogToBigQuery.Builder

This builder for chaining.

setProjectId(String value)

public ContentPolicy.LoggingConfig.LogToBigQuery.Builder setProjectId(String value)

Required. The ID of the project containing the BigQuery table to write to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
ContentPolicy.LoggingConfig.LogToBigQuery.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public ContentPolicy.LoggingConfig.LogToBigQuery.Builder setProjectIdBytes(ByteString value)

Required. The ID of the project containing the BigQuery table to write to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
ContentPolicy.LoggingConfig.LogToBigQuery.Builder

This builder for chaining.

setTableId(String value)

public ContentPolicy.LoggingConfig.LogToBigQuery.Builder setTableId(String value)

Required. The ID of the BigQuery table to write to.

string table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The tableId to set.

Returns
Type Description
ContentPolicy.LoggingConfig.LogToBigQuery.Builder

This builder for chaining.

setTableIdBytes(ByteString value)

public ContentPolicy.LoggingConfig.LogToBigQuery.Builder setTableIdBytes(ByteString value)

Required. The ID of the BigQuery table to write to.

string table_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for tableId to set.

Returns
Type Description
ContentPolicy.LoggingConfig.LogToBigQuery.Builder

This builder for chaining.