Class ExportInsightsDataRequest.Builder (2.5.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public ExportInsightsDataRequest build()
Returns

buildPartial()

public ExportInsightsDataRequest buildPartial()
Returns

clear()

public ExportInsightsDataRequest.Builder clear()
Returns Overrides

clearBigQueryDestination()

public ExportInsightsDataRequest.Builder clearBigQueryDestination()

Specified if sink is a BigQuery table.

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

Returns

clearDestination()

public ExportInsightsDataRequest.Builder clearDestination()
Returns

clearField(Descriptors.FieldDescriptor field)

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

getBigQueryDestinationOrBuilder()

public ExportInsightsDataRequest.BigQueryDestinationOrBuilder getBigQueryDestinationOrBuilder()

Specified if sink is a BigQuery table.

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

Returns

getDefaultInstanceForType()

public ExportInsightsDataRequest getDefaultInstanceForType()
Returns

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

public ExportInsightsDataRequest.DestinationCase getDestinationCase()
Returns

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 Returns

mergeFrom(ExportInsightsDataRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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 Returns

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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