Class ExportInsightsDataRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<ExportInsightsDataRequest.Builder> implements ExportInsightsDataRequestOrBuilder
 The request to export insights.
 
Protobuf type google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ExportInsightsDataRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ExportInsightsDataRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ExportInsightsDataRequest.Builder>
    • getDefaultInstanceForType

      public ExportInsightsDataRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ExportInsightsDataRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ExportInsightsDataRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExportInsightsDataRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportInsightsDataRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ExportInsightsDataRequest.Builder>
    • mergeFrom

      public ExportInsightsDataRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportInsightsDataRequest.Builder>
      Throws:
      IOException
    • getDestinationCase

      public ExportInsightsDataRequest.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface ExportInsightsDataRequestOrBuilder
    • 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:
      hasBigQueryDestination in interface ExportInsightsDataRequestOrBuilder
      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:
      getBigQueryDestination in interface ExportInsightsDataRequestOrBuilder
      Returns:
      The bigQueryDestination.
    • setBigQueryDestination

       Specified if sink is a BigQuery table.
       
      .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
    • setBigQueryDestination

       Specified if sink is a BigQuery table.
       
      .google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
    • mergeBigQueryDestination

       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:
      getBigQueryDestinationOrBuilder in interface ExportInsightsDataRequestOrBuilder
    • 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:
      getParent in interface ExportInsightsDataRequestOrBuilder
      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:
      getParentBytes in interface ExportInsightsDataRequestOrBuilder
      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:
      getFilter in interface ExportInsightsDataRequestOrBuilder
      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:
      getFilterBytes in interface ExportInsightsDataRequestOrBuilder
      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:
      getKmsKey in interface ExportInsightsDataRequestOrBuilder
      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:
      getKmsKeyBytes in interface ExportInsightsDataRequestOrBuilder
      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:
      getWriteDispositionValue in interface ExportInsightsDataRequestOrBuilder
      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:
      getWriteDisposition in interface ExportInsightsDataRequestOrBuilder
      Returns:
      The writeDisposition.
    • setWriteDisposition

       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.