Class ExportInsightsDataRequest.BigQueryDestination.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportInsightsDataRequest.BigQueryDestination.Builder>
com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder
All Implemented Interfaces:
ExportInsightsDataRequest.BigQueryDestinationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExportInsightsDataRequest.BigQueryDestination

public static final class ExportInsightsDataRequest.BigQueryDestination.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportInsightsDataRequest.BigQueryDestination.Builder> implements ExportInsightsDataRequest.BigQueryDestinationOrBuilder
 A BigQuery Table Reference.
 
Protobuf type google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination
  • 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.BigQueryDestination.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.BigQueryDestination.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.BigQueryDestination.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExportInsightsDataRequest.BigQueryDestination.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.BigQueryDestination.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.BigQueryDestination.Builder>
    • mergeFrom

      public ExportInsightsDataRequest.BigQueryDestination.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.BigQueryDestination.Builder>
      Throws:
      IOException
    • getProjectId

      public String getProjectId()
       A project ID or number. If specified, then export will attempt to
       write data to this project instead of the resource project. Otherwise,
       the resource project will be used.
       
      string project_id = 3;
      Specified by:
      getProjectId in interface ExportInsightsDataRequest.BigQueryDestinationOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       A project ID or number. If specified, then export will attempt to
       write data to this project instead of the resource project. Otherwise,
       the resource project will be used.
       
      string project_id = 3;
      Specified by:
      getProjectIdBytes in interface ExportInsightsDataRequest.BigQueryDestinationOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

       A project ID or number. If specified, then export will attempt to
       write data to this project instead of the resource project. Otherwise,
       the resource project will be used.
       
      string project_id = 3;
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

       A project ID or number. If specified, then export will attempt to
       write data to this project instead of the resource project. Otherwise,
       the resource project will be used.
       
      string project_id = 3;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public ExportInsightsDataRequest.BigQueryDestination.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       A project ID or number. If specified, then export will attempt to
       write data to this project instead of the resource project. Otherwise,
       the resource project will be used.
       
      string project_id = 3;
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.
    • getDataset

      public String getDataset()
       Required. The name of the BigQuery dataset that the snapshot result
       should be exported to. If this dataset does not exist, the export call
       returns an INVALID_ARGUMENT error.
       
      string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataset in interface ExportInsightsDataRequest.BigQueryDestinationOrBuilder
      Returns:
      The dataset.
    • getDatasetBytes

      public com.google.protobuf.ByteString getDatasetBytes()
       Required. The name of the BigQuery dataset that the snapshot result
       should be exported to. If this dataset does not exist, the export call
       returns an INVALID_ARGUMENT error.
       
      string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDatasetBytes in interface ExportInsightsDataRequest.BigQueryDestinationOrBuilder
      Returns:
      The bytes for dataset.
    • setDataset

       Required. The name of the BigQuery dataset that the snapshot result
       should be exported to. If this dataset does not exist, the export call
       returns an INVALID_ARGUMENT error.
       
      string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The dataset to set.
      Returns:
      This builder for chaining.
    • clearDataset

       Required. The name of the BigQuery dataset that the snapshot result
       should be exported to. If this dataset does not exist, the export call
       returns an INVALID_ARGUMENT error.
       
      string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDatasetBytes

      public ExportInsightsDataRequest.BigQueryDestination.Builder setDatasetBytes(com.google.protobuf.ByteString value)
       Required. The name of the BigQuery dataset that the snapshot result
       should be exported to. If this dataset does not exist, the export call
       returns an INVALID_ARGUMENT error.
       
      string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for dataset to set.
      Returns:
      This builder for chaining.
    • getTable

      public String getTable()
       The BigQuery table name to which the insights data should be written.
       If this table does not exist, the export call returns an INVALID_ARGUMENT
       error.
       
      string table = 2;
      Specified by:
      getTable in interface ExportInsightsDataRequest.BigQueryDestinationOrBuilder
      Returns:
      The table.
    • getTableBytes

      public com.google.protobuf.ByteString getTableBytes()
       The BigQuery table name to which the insights data should be written.
       If this table does not exist, the export call returns an INVALID_ARGUMENT
       error.
       
      string table = 2;
      Specified by:
      getTableBytes in interface ExportInsightsDataRequest.BigQueryDestinationOrBuilder
      Returns:
      The bytes for table.
    • setTable

       The BigQuery table name to which the insights data should be written.
       If this table does not exist, the export call returns an INVALID_ARGUMENT
       error.
       
      string table = 2;
      Parameters:
      value - The table to set.
      Returns:
      This builder for chaining.
    • clearTable

       The BigQuery table name to which the insights data should be written.
       If this table does not exist, the export call returns an INVALID_ARGUMENT
       error.
       
      string table = 2;
      Returns:
      This builder for chaining.
    • setTableBytes

      public ExportInsightsDataRequest.BigQueryDestination.Builder setTableBytes(com.google.protobuf.ByteString value)
       The BigQuery table name to which the insights data should be written.
       If this table does not exist, the export call returns an INVALID_ARGUMENT
       error.
       
      string table = 2;
      Parameters:
      value - The bytes for table to set.
      Returns:
      This builder for chaining.