Class BigQueryExportSettings.Builder (0.1.0)

public static final class BigQueryExportSettings.Builder extends GeneratedMessage.Builder<BigQueryExportSettings.Builder> implements BigQueryExportSettingsOrBuilder

Settings to describe the BigQuery export behaviors for the app.

Protobuf type google.cloud.ces.v1.BigQueryExportSettings

Static Methods

getDescriptor()

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

Methods

build()

public BigQueryExportSettings build()
Returns
Type Description
BigQueryExportSettings

buildPartial()

public BigQueryExportSettings buildPartial()
Returns
Type Description
BigQueryExportSettings

clear()

public BigQueryExportSettings.Builder clear()
Returns
Type Description
BigQueryExportSettings.Builder
Overrides

clearDataset()

public BigQueryExportSettings.Builder clearDataset()

Optional. The BigQuery dataset to export the data to.

string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BigQueryExportSettings.Builder

This builder for chaining.

clearEnabled()

public BigQueryExportSettings.Builder clearEnabled()

Optional. Indicates whether the BigQuery export is enabled.

bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BigQueryExportSettings.Builder

This builder for chaining.

clearProject()

public BigQueryExportSettings.Builder clearProject()

Optional. The project ID of the BigQuery dataset to export the data to.

Note: If the BigQuery dataset is in a different project from the app, you should grant roles/bigquery.admin role to the CES service agent service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com.

string project = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BigQueryExportSettings.Builder

This builder for chaining.

getDataset()

public String getDataset()

Optional. The BigQuery dataset to export the data to.

string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Optional. The BigQuery dataset to export the data to.

string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public BigQueryExportSettings getDefaultInstanceForType()
Returns
Type Description
BigQueryExportSettings

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Optional. Indicates whether the BigQuery export is enabled.

bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enabled.

getProject()

public String getProject()

Optional. The project ID of the BigQuery dataset to export the data to.

Note: If the BigQuery dataset is in a different project from the app, you should grant roles/bigquery.admin role to the CES service agent service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com.

string project = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Optional. The project ID of the BigQuery dataset to export the data to.

Note: If the BigQuery dataset is in a different project from the app, you should grant roles/bigquery.admin role to the CES service agent service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com.

string project = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for project.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigQueryExportSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDataset(String value)

public BigQueryExportSettings.Builder setDataset(String value)

Optional. The BigQuery dataset to export the data to.

string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
BigQueryExportSettings.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public BigQueryExportSettings.Builder setDatasetBytes(ByteString value)

Optional. The BigQuery dataset to export the data to.

string dataset = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
BigQueryExportSettings.Builder

This builder for chaining.

setEnabled(boolean value)

public BigQueryExportSettings.Builder setEnabled(boolean value)

Optional. Indicates whether the BigQuery export is enabled.

bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
BigQueryExportSettings.Builder

This builder for chaining.

setProject(String value)

public BigQueryExportSettings.Builder setProject(String value)

Optional. The project ID of the BigQuery dataset to export the data to.

Note: If the BigQuery dataset is in a different project from the app, you should grant roles/bigquery.admin role to the CES service agent service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com.

string project = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
BigQueryExportSettings.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public BigQueryExportSettings.Builder setProjectBytes(ByteString value)

Optional. The project ID of the BigQuery dataset to export the data to.

Note: If the BigQuery dataset is in a different project from the app, you should grant roles/bigquery.admin role to the CES service agent service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com.

string project = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
BigQueryExportSettings.Builder

This builder for chaining.