Interface IngestConversationsRequest.GcsSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
IngestConversationsRequest.GcsSource, IngestConversationsRequest.GcsSource.Builder
Enclosing class:
IngestConversationsRequest

public static interface IngestConversationsRequest.GcsSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getBucketUri

      String getBucketUri()
       Required. The Cloud Storage bucket containing source objects.
       
      string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bucketUri.
    • getBucketUriBytes

      com.google.protobuf.ByteString getBucketUriBytes()
       Required. The Cloud Storage bucket containing source objects.
       
      string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for bucketUri.
    • getBucketObjectTypeValue

      int getBucketObjectTypeValue()
       Optional. Specifies the type of the objects in `bucket_uri`.
       
      .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.BucketObjectType bucket_object_type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for bucketObjectType.
    • getBucketObjectType

       Optional. Specifies the type of the objects in `bucket_uri`.
       
      .google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.BucketObjectType bucket_object_type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bucketObjectType.
    • hasMetadataBucketUri

      boolean hasMetadataBucketUri()
       Optional. The Cloud Storage path to the conversation metadata. Note that:
       [1] Metadata files are expected to be in JSON format.
       [2] Metadata and source files (transcripts or audio) must be in
       separate buckets.
       [3] A source file and its corresponding metadata file must share the same
       name to
       be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and
       `gs://bucket/metadata/conversation1.json`.
       
      optional string metadata_bucket_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the metadataBucketUri field is set.
    • getMetadataBucketUri

      String getMetadataBucketUri()
       Optional. The Cloud Storage path to the conversation metadata. Note that:
       [1] Metadata files are expected to be in JSON format.
       [2] Metadata and source files (transcripts or audio) must be in
       separate buckets.
       [3] A source file and its corresponding metadata file must share the same
       name to
       be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and
       `gs://bucket/metadata/conversation1.json`.
       
      optional string metadata_bucket_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The metadataBucketUri.
    • getMetadataBucketUriBytes

      com.google.protobuf.ByteString getMetadataBucketUriBytes()
       Optional. The Cloud Storage path to the conversation metadata. Note that:
       [1] Metadata files are expected to be in JSON format.
       [2] Metadata and source files (transcripts or audio) must be in
       separate buckets.
       [3] A source file and its corresponding metadata file must share the same
       name to
       be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and
       `gs://bucket/metadata/conversation1.json`.
       
      optional string metadata_bucket_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for metadataBucketUri.
    • getCustomMetadataKeysList

      List<String> getCustomMetadataKeysList()
       Optional. Custom keys to extract as conversation labels from metadata
       files in `metadata_bucket_uri`. Keys not included in this field will be
       ignored. Note that there is a limit of 100 labels per conversation.
       
      repeated string custom_metadata_keys = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the customMetadataKeys.
    • getCustomMetadataKeysCount

      int getCustomMetadataKeysCount()
       Optional. Custom keys to extract as conversation labels from metadata
       files in `metadata_bucket_uri`. Keys not included in this field will be
       ignored. Note that there is a limit of 100 labels per conversation.
       
      repeated string custom_metadata_keys = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of customMetadataKeys.
    • getCustomMetadataKeys

      String getCustomMetadataKeys(int index)
       Optional. Custom keys to extract as conversation labels from metadata
       files in `metadata_bucket_uri`. Keys not included in this field will be
       ignored. Note that there is a limit of 100 labels per conversation.
       
      repeated string custom_metadata_keys = 12 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The customMetadataKeys at the given index.
    • getCustomMetadataKeysBytes

      com.google.protobuf.ByteString getCustomMetadataKeysBytes(int index)
       Optional. Custom keys to extract as conversation labels from metadata
       files in `metadata_bucket_uri`. Keys not included in this field will be
       ignored. Note that there is a limit of 100 labels per conversation.
       
      repeated string custom_metadata_keys = 12 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the customMetadataKeys at the given index.