Class ExportInsightsDataRequest.BigQueryDestination.Builder (2.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportInsightsDataRequest.BigQueryDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides

build()

public ExportInsightsDataRequest.BigQueryDestination build()
Returns
TypeDescription
ExportInsightsDataRequest.BigQueryDestination

buildPartial()

public ExportInsightsDataRequest.BigQueryDestination buildPartial()
Returns
TypeDescription
ExportInsightsDataRequest.BigQueryDestination

clear()

public ExportInsightsDataRequest.BigQueryDestination.Builder clear()
Returns
TypeDescription
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
TypeDescription
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExportInsightsDataRequest.BigQueryDestination.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportInsightsDataRequest.BigQueryDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

clone()

public ExportInsightsDataRequest.BigQueryDestination.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public ExportInsightsDataRequest.BigQueryDestination getDefaultInstanceForType()
Returns
TypeDescription
ExportInsightsDataRequest.BigQueryDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for table.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportInsightsDataRequest.BigQueryDestination other)

public ExportInsightsDataRequest.BigQueryDestination.Builder mergeFrom(ExportInsightsDataRequest.BigQueryDestination other)
Parameter
NameDescription
otherExportInsightsDataRequest.BigQueryDestination
Returns
TypeDescription
ExportInsightsDataRequest.BigQueryDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportInsightsDataRequest.BigQueryDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExportInsightsDataRequest.BigQueryDestination.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportInsightsDataRequest.BigQueryDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The dataset to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dataset to set.

Returns
TypeDescription
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportInsightsDataRequest.BigQueryDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The table to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for table to set.

Returns
TypeDescription
ExportInsightsDataRequest.BigQueryDestination.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportInsightsDataRequest.BigQueryDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportInsightsDataRequest.BigQueryDestination.Builder
Overrides