Class ExportInsightsDataRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
- com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder
-
- All Implemented Interfaces:
ExportInsightsDataRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExportInsightsDataRequest
public static final class ExportInsightsDataRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder> implements ExportInsightsDataRequestOrBuilder
The request to export insights.
Protobuf typegoogle.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportInsightsDataRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExportInsightsDataRequestbuild()ExportInsightsDataRequestbuildPartial()ExportInsightsDataRequest.Builderclear()ExportInsightsDataRequest.BuilderclearBigQueryDestination()Specified if sink is a BigQuery table.ExportInsightsDataRequest.BuilderclearDestination()ExportInsightsDataRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ExportInsightsDataRequest.BuilderclearFilter()A filter to reduce results to a specific subset.ExportInsightsDataRequest.BuilderclearKmsKey()A fully qualified KMS key name for BigQuery tables protected by CMEK.ExportInsightsDataRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ExportInsightsDataRequest.BuilderclearParent()Required.ExportInsightsDataRequest.BuilderclearWriteDisposition()Options for what to do if the destination table already exists.ExportInsightsDataRequest.Builderclone()ExportInsightsDataRequest.BigQueryDestinationgetBigQueryDestination()Specified if sink is a BigQuery table.ExportInsightsDataRequest.BigQueryDestination.BuildergetBigQueryDestinationBuilder()Specified if sink is a BigQuery table.ExportInsightsDataRequest.BigQueryDestinationOrBuildergetBigQueryDestinationOrBuilder()Specified if sink is a BigQuery table.ExportInsightsDataRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ExportInsightsDataRequest.DestinationCasegetDestinationCase()StringgetFilter()A filter to reduce results to a specific subset.com.google.protobuf.ByteStringgetFilterBytes()A filter to reduce results to a specific subset.StringgetKmsKey()A fully qualified KMS key name for BigQuery tables protected by CMEK.com.google.protobuf.ByteStringgetKmsKeyBytes()A fully qualified KMS key name for BigQuery tables protected by CMEK.StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.ExportInsightsDataRequest.WriteDispositiongetWriteDisposition()Options for what to do if the destination table already exists.intgetWriteDispositionValue()Options for what to do if the destination table already exists.booleanhasBigQueryDestination()Specified if sink is a BigQuery table.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ExportInsightsDataRequest.BuildermergeBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination value)Specified if sink is a BigQuery table.ExportInsightsDataRequest.BuildermergeFrom(ExportInsightsDataRequest other)ExportInsightsDataRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ExportInsightsDataRequest.BuildermergeFrom(com.google.protobuf.Message other)ExportInsightsDataRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExportInsightsDataRequest.BuildersetBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination value)Specified if sink is a BigQuery table.ExportInsightsDataRequest.BuildersetBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination.Builder builderForValue)Specified if sink is a BigQuery table.ExportInsightsDataRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExportInsightsDataRequest.BuildersetFilter(String value)A filter to reduce results to a specific subset.ExportInsightsDataRequest.BuildersetFilterBytes(com.google.protobuf.ByteString value)A filter to reduce results to a specific subset.ExportInsightsDataRequest.BuildersetKmsKey(String value)A fully qualified KMS key name for BigQuery tables protected by CMEK.ExportInsightsDataRequest.BuildersetKmsKeyBytes(com.google.protobuf.ByteString value)A fully qualified KMS key name for BigQuery tables protected by CMEK.ExportInsightsDataRequest.BuildersetParent(String value)Required.ExportInsightsDataRequest.BuildersetParentBytes(com.google.protobuf.ByteString value)Required.ExportInsightsDataRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ExportInsightsDataRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExportInsightsDataRequest.BuildersetWriteDisposition(ExportInsightsDataRequest.WriteDisposition value)Options for what to do if the destination table already exists.ExportInsightsDataRequest.BuildersetWriteDispositionValue(int value)Options for what to do if the destination table already exists.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
clear
public ExportInsightsDataRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
getDefaultInstanceForType
public ExportInsightsDataRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExportInsightsDataRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExportInsightsDataRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExportInsightsDataRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
setField
public ExportInsightsDataRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
clearField
public ExportInsightsDataRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
clearOneof
public ExportInsightsDataRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
setRepeatedField
public ExportInsightsDataRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
addRepeatedField
public ExportInsightsDataRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
mergeFrom
public ExportInsightsDataRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportInsightsDataRequest.Builder>
-
mergeFrom
public ExportInsightsDataRequest.Builder mergeFrom(ExportInsightsDataRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
mergeFrom
public ExportInsightsDataRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportInsightsDataRequest.Builder>- Throws:
IOException
-
getDestinationCase
public ExportInsightsDataRequest.DestinationCase getDestinationCase()
- Specified by:
getDestinationCasein interfaceExportInsightsDataRequestOrBuilder
-
clearDestination
public ExportInsightsDataRequest.Builder clearDestination()
-
hasBigQueryDestination
public boolean hasBigQueryDestination()
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;- Specified by:
hasBigQueryDestinationin interfaceExportInsightsDataRequestOrBuilder- Returns:
- Whether the bigQueryDestination field is set.
-
getBigQueryDestination
public ExportInsightsDataRequest.BigQueryDestination getBigQueryDestination()
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;- Specified by:
getBigQueryDestinationin interfaceExportInsightsDataRequestOrBuilder- Returns:
- The bigQueryDestination.
-
setBigQueryDestination
public ExportInsightsDataRequest.Builder setBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination value)
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
-
setBigQueryDestination
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;
-
mergeBigQueryDestination
public ExportInsightsDataRequest.Builder mergeBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination value)
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
-
clearBigQueryDestination
public ExportInsightsDataRequest.Builder clearBigQueryDestination()
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
-
getBigQueryDestinationBuilder
public ExportInsightsDataRequest.BigQueryDestination.Builder getBigQueryDestinationBuilder()
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
-
getBigQueryDestinationOrBuilder
public ExportInsightsDataRequest.BigQueryDestinationOrBuilder getBigQueryDestinationOrBuilder()
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;- Specified by:
getBigQueryDestinationOrBuilderin interfaceExportInsightsDataRequestOrBuilder
-
getParent
public String getParent()
Required. The parent resource to export data from.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentin interfaceExportInsightsDataRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Required. The parent resource to export data from.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getParentBytesin interfaceExportInsightsDataRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
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) = { ... }- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setParentBytes
public ExportInsightsDataRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent resource to export data from.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getFilter
public String getFilter()
A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.
string filter = 3;- Specified by:
getFilterin interfaceExportInsightsDataRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.
string filter = 3;- Specified by:
getFilterBytesin interfaceExportInsightsDataRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
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;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setFilterBytes
public ExportInsightsDataRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.
string filter = 3;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getKmsKeyin interfaceExportInsightsDataRequestOrBuilder- Returns:
- The kmsKey.
-
getKmsKeyBytes
public com.google.protobuf.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;- Specified by:
getKmsKeyBytesin interfaceExportInsightsDataRequestOrBuilder- Returns:
- The bytes for kmsKey.
-
setKmsKey
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;- Parameters:
value- The kmsKey to set.- Returns:
- 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:
- This builder for chaining.
-
setKmsKeyBytes
public ExportInsightsDataRequest.Builder setKmsKeyBytes(com.google.protobuf.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;- Parameters:
value- The bytes for kmsKey to set.- Returns:
- This builder for chaining.
-
getWriteDispositionValue
public int getWriteDispositionValue()
Options for what to do if the destination table already exists.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5;- Specified by:
getWriteDispositionValuein interfaceExportInsightsDataRequestOrBuilder- Returns:
- The enum numeric value on the wire for writeDisposition.
-
setWriteDispositionValue
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;- Parameters:
value- The enum numeric value on the wire for writeDisposition to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getWriteDispositionin interfaceExportInsightsDataRequestOrBuilder- Returns:
- The writeDisposition.
-
setWriteDisposition
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;- Parameters:
value- The writeDisposition to set.- Returns:
- 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:
- This builder for chaining.
-
setUnknownFields
public final ExportInsightsDataRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
mergeUnknownFields
public final ExportInsightsDataRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
-