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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportInsightsDataRequest build()
Returns
TypeDescription
ExportInsightsDataRequest

buildPartial()

public ExportInsightsDataRequest buildPartial()
Returns
TypeDescription
ExportInsightsDataRequest

clear()

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

clearDestination()

public ExportInsightsDataRequest.Builder clearDestination()
Returns
TypeDescription
ExportInsightsDataRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ExportInsightsDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ExportInsightsDataRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ExportInsightsDataRequest getDefaultInstanceForType()
Returns
TypeDescription
ExportInsightsDataRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

public ExportInsightsDataRequest.DestinationCase getDestinationCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the bigQueryDestination field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueExportInsightsDataRequest.BigQueryDestination
Returns
TypeDescription
ExportInsightsDataRequest.Builder

mergeFrom(ExportInsightsDataRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The filter to set.

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

The bytes for filter to set.

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

The kmsKey to set.

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

The bytes for kmsKey to set.

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExportInsightsDataRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportInsightsDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueExportInsightsDataRequest.WriteDisposition

The writeDisposition to set.

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

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

Returns
TypeDescription
ExportInsightsDataRequest.Builder

This builder for chaining.