Interface IngestConversationsRequest.GcsSourceOrBuilder (2.52.0)

public static interface IngestConversationsRequest.GcsSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucketObjectType()

public abstract IngestConversationsRequest.GcsSource.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
Type Description
IngestConversationsRequest.GcsSource.BucketObjectType

The bucketObjectType.

getBucketObjectTypeValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for bucketObjectType.

getBucketUri()

public abstract String getBucketUri()

Required. The Cloud Storage bucket containing source objects.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The bucketUri.

getBucketUriBytes()

public abstract ByteString getBucketUriBytes()

Required. The Cloud Storage bucket containing source objects.

string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for bucketUri.

getCustomMetadataKeys(int index)

public abstract 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 20 labels per conversation.

repeated string custom_metadata_keys = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The customMetadataKeys at the given index.

getCustomMetadataKeysBytes(int index)

public abstract 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 20 labels per conversation.

repeated string custom_metadata_keys = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the customMetadataKeys at the given index.

getCustomMetadataKeysCount()

public abstract 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 20 labels per conversation.

repeated string custom_metadata_keys = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of customMetadataKeys.

getCustomMetadataKeysList()

public abstract 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 20 labels per conversation.

repeated string custom_metadata_keys = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the customMetadataKeys.

getMetadataBucketUri()

public abstract 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
Type Description
String

The metadataBucketUri.

getMetadataBucketUriBytes()

public abstract 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
Type Description
ByteString

The bytes for metadataBucketUri.

hasMetadataBucketUri()

public abstract 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
Type Description
boolean

Whether the metadataBucketUri field is set.