Class ExportInsightsDataRequest.BigQueryDestination.Builder (2.47.0)

public static final class ExportInsightsDataRequest.BigQueryDestination.Builder extends GeneratedMessageV3.Builder<ExportInsightsDataRequest.BigQueryDestination.Builder> implements ExportInsightsDataRequest.BigQueryDestinationOrBuilder

A BigQuery Table Reference.

Protobuf type google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportInsightsDataRequest.BigQueryDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides

build()

public ExportInsightsDataRequest.BigQueryDestination build()
Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination

buildPartial()

public ExportInsightsDataRequest.BigQueryDestination buildPartial()
Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination

clear()

public ExportInsightsDataRequest.BigQueryDestination.Builder clear()
Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides

clearDataset()

public ExportInsightsDataRequest.BigQueryDestination.Builder clearDataset()

Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.

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

Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExportInsightsDataRequest.BigQueryDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportInsightsDataRequest.BigQueryDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides

clearProjectId()

public ExportInsightsDataRequest.BigQueryDestination.Builder clearProjectId()

A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.

string project_id = 3;

Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

clearTable()

public ExportInsightsDataRequest.BigQueryDestination.Builder clearTable()

The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.

string table = 2;

Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

clone()

public ExportInsightsDataRequest.BigQueryDestination.Builder clone()
Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides

getDataset()

public String getDataset()

Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.

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

Returns
Type Description
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.

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

Returns
Type Description
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public ExportInsightsDataRequest.BigQueryDestination getDefaultInstanceForType()
Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination

getDescriptorForType()

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

getProjectId()

public String getProjectId()

A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.

string project_id = 3;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.

string project_id = 3;

Returns
Type Description
ByteString

The bytes for projectId.

getTable()

public String getTable()

The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.

string table = 2;

Returns
Type Description
String

The table.

getTableBytes()

public ByteString getTableBytes()

The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.

string table = 2;

Returns
Type Description
ByteString

The bytes for table.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportInsightsDataRequest.BigQueryDestination other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportInsightsDataRequest.BigQueryDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides

setDataset(String value)

public ExportInsightsDataRequest.BigQueryDestination.Builder setDataset(String value)

Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.

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

Parameter
Name Description
value String

The dataset to set.

Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public ExportInsightsDataRequest.BigQueryDestination.Builder setDatasetBytes(ByteString value)

Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.

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

Parameter
Name Description
value ByteString

The bytes for dataset to set.

Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportInsightsDataRequest.BigQueryDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides

setProjectId(String value)

public ExportInsightsDataRequest.BigQueryDestination.Builder setProjectId(String value)

A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.

string project_id = 3;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public ExportInsightsDataRequest.BigQueryDestination.Builder setProjectIdBytes(ByteString value)

A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.

string project_id = 3;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

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

public ExportInsightsDataRequest.BigQueryDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides

setTable(String value)

public ExportInsightsDataRequest.BigQueryDestination.Builder setTable(String value)

The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.

string table = 2;

Parameter
Name Description
value String

The table to set.

Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

setTableBytes(ByteString value)

public ExportInsightsDataRequest.BigQueryDestination.Builder setTableBytes(ByteString value)

The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.

string table = 2;

Parameter
Name Description
value ByteString

The bytes for table to set.

Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportInsightsDataRequest.BigQueryDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides