Class ExportInsightsDataRequest.Builder (2.42.0)

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

The request to export insights.

Protobuf type google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportInsightsDataRequest build()
Returns
Type Description
ExportInsightsDataRequest

buildPartial()

public ExportInsightsDataRequest buildPartial()
Returns
Type Description
ExportInsightsDataRequest

clear()

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

clearBigQueryDestination()

public ExportInsightsDataRequest.Builder clearBigQueryDestination()

Specified if sink is a BigQuery table.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;

Returns
Type Description
ExportInsightsDataRequest.Builder

clearDestination()

public ExportInsightsDataRequest.Builder clearDestination()
Returns
Type Description
ExportInsightsDataRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ExportInsightsDataRequest.Builder clearFilter()

A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.

string filter = 3;

Returns
Type Description
ExportInsightsDataRequest.Builder

This builder for chaining.

clearKmsKey()

public ExportInsightsDataRequest.Builder clearKmsKey()

A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}

string kms_key = 4;

Returns
Type Description
ExportInsightsDataRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ExportInsightsDataRequest.Builder clearParent()

Required. The parent resource to export data from.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ExportInsightsDataRequest.Builder

This builder for chaining.

clearWriteDisposition()

public ExportInsightsDataRequest.Builder clearWriteDisposition()

Options for what to do if the destination table already exists.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5;

Returns
Type Description
ExportInsightsDataRequest.Builder

This builder for chaining.

clone()

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

getBigQueryDestination()

public ExportInsightsDataRequest.BigQueryDestination getBigQueryDestination()

Specified if sink is a BigQuery table.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;

Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination

The bigQueryDestination.

getBigQueryDestinationBuilder()

public ExportInsightsDataRequest.BigQueryDestination.Builder getBigQueryDestinationBuilder()

Specified if sink is a BigQuery table.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;

Returns
Type Description
ExportInsightsDataRequest.BigQueryDestination.Builder

getBigQueryDestinationOrBuilder()

public ExportInsightsDataRequest.BigQueryDestinationOrBuilder getBigQueryDestinationOrBuilder()

Specified if sink is a BigQuery table.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;

Returns
Type Description
ExportInsightsDataRequest.BigQueryDestinationOrBuilder

getDefaultInstanceForType()

public ExportInsightsDataRequest getDefaultInstanceForType()
Returns
Type Description
ExportInsightsDataRequest

getDescriptorForType()

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

getDestinationCase()

public ExportInsightsDataRequest.DestinationCase getDestinationCase()
Returns
Type Description
ExportInsightsDataRequest.DestinationCase

getFilter()

public String getFilter()

A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.

string filter = 3;

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.

string filter = 3;

Returns
Type Description
ByteString

The bytes for filter.

getKmsKey()

public String getKmsKey()

A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}

string kms_key = 4;

Returns
Type Description
String

The kmsKey.

getKmsKeyBytes()

public ByteString getKmsKeyBytes()

A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}

string kms_key = 4;

Returns
Type Description
ByteString

The bytes for kmsKey.

getParent()

public String getParent()

Required. The parent resource to export data from.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource to export data from.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getWriteDisposition()

public ExportInsightsDataRequest.WriteDisposition getWriteDisposition()

Options for what to do if the destination table already exists.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5;

Returns
Type Description
ExportInsightsDataRequest.WriteDisposition

The writeDisposition.

getWriteDispositionValue()

public int getWriteDispositionValue()

Options for what to do if the destination table already exists.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5;

Returns
Type Description
int

The enum numeric value on the wire for writeDisposition.

hasBigQueryDestination()

public boolean hasBigQueryDestination()

Specified if sink is a BigQuery table.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;

Returns
Type Description
boolean

Whether the bigQueryDestination field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination value)

public ExportInsightsDataRequest.Builder mergeBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination value)

Specified if sink is a BigQuery table.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;

Parameter
Name Description
value ExportInsightsDataRequest.BigQueryDestination
Returns
Type Description
ExportInsightsDataRequest.Builder

mergeFrom(ExportInsightsDataRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination value)

public ExportInsightsDataRequest.Builder setBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination value)

Specified if sink is a BigQuery table.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;

Parameter
Name Description
value ExportInsightsDataRequest.BigQueryDestination
Returns
Type Description
ExportInsightsDataRequest.Builder

setBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination.Builder builderForValue)

public ExportInsightsDataRequest.Builder setBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination.Builder builderForValue)

Specified if sink is a BigQuery table.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;

Parameter
Name Description
builderForValue ExportInsightsDataRequest.BigQueryDestination.Builder
Returns
Type Description
ExportInsightsDataRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ExportInsightsDataRequest.Builder setFilter(String value)

A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.

string filter = 3;

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ExportInsightsDataRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ExportInsightsDataRequest.Builder setFilterBytes(ByteString value)

A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.

string filter = 3;

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ExportInsightsDataRequest.Builder

This builder for chaining.

setKmsKey(String value)

public ExportInsightsDataRequest.Builder setKmsKey(String value)

A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}

string kms_key = 4;

Parameter
Name Description
value String

The kmsKey to set.

Returns
Type Description
ExportInsightsDataRequest.Builder

This builder for chaining.

setKmsKeyBytes(ByteString value)

public ExportInsightsDataRequest.Builder setKmsKeyBytes(ByteString value)

A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}

string kms_key = 4;

Parameter
Name Description
value ByteString

The bytes for kmsKey to set.

Returns
Type Description
ExportInsightsDataRequest.Builder

This builder for chaining.

setParent(String value)

public ExportInsightsDataRequest.Builder setParent(String value)

Required. The parent resource to export data from.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ExportInsightsDataRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ExportInsightsDataRequest.Builder setParentBytes(ByteString value)

Required. The parent resource to export data from.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ExportInsightsDataRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWriteDisposition(ExportInsightsDataRequest.WriteDisposition value)

public ExportInsightsDataRequest.Builder setWriteDisposition(ExportInsightsDataRequest.WriteDisposition value)

Options for what to do if the destination table already exists.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5;

Parameter
Name Description
value ExportInsightsDataRequest.WriteDisposition

The writeDisposition to set.

Returns
Type Description
ExportInsightsDataRequest.Builder

This builder for chaining.

setWriteDispositionValue(int value)

public ExportInsightsDataRequest.Builder setWriteDispositionValue(int value)

Options for what to do if the destination table already exists.

.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5;

Parameter
Name Description
value int

The enum numeric value on the wire for writeDisposition to set.

Returns
Type Description
ExportInsightsDataRequest.Builder

This builder for chaining.