public static final class IngestConversationsRequest.GcsSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder> implements IngestConversationsRequest.GcsSourceOrBuilder
Configuration for Cloud Storage bucket sources.Protobuf type
google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSourcegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder>public IngestConversationsRequest.GcsSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder>public IngestConversationsRequest.GcsSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic IngestConversationsRequest.GcsSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic IngestConversationsRequest.GcsSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic IngestConversationsRequest.GcsSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder>public IngestConversationsRequest.GcsSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder>public IngestConversationsRequest.GcsSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder>public IngestConversationsRequest.GcsSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder>public IngestConversationsRequest.GcsSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder>public IngestConversationsRequest.GcsSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder>public IngestConversationsRequest.GcsSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IngestConversationsRequest.GcsSource.Builder>public IngestConversationsRequest.GcsSource.Builder mergeFrom(IngestConversationsRequest.GcsSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder>public IngestConversationsRequest.GcsSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IngestConversationsRequest.GcsSource.Builder>IOExceptionpublic String getBucketUri()
Required. The Cloud Storage bucket containing source objects.
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];getBucketUri in interface IngestConversationsRequest.GcsSourceOrBuilderpublic com.google.protobuf.ByteString getBucketUriBytes()
Required. The Cloud Storage bucket containing source objects.
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];getBucketUriBytes in interface IngestConversationsRequest.GcsSourceOrBuilderpublic IngestConversationsRequest.GcsSource.Builder setBucketUri(String value)
Required. The Cloud Storage bucket containing source objects.
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];value - The bucketUri to set.public IngestConversationsRequest.GcsSource.Builder clearBucketUri()
Required. The Cloud Storage bucket containing source objects.
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];public IngestConversationsRequest.GcsSource.Builder setBucketUriBytes(com.google.protobuf.ByteString value)
Required. The Cloud Storage bucket containing source objects.
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for bucketUri to set.public 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];
getBucketObjectTypeValue in interface IngestConversationsRequest.GcsSourceOrBuilderpublic IngestConversationsRequest.GcsSource.Builder setBucketObjectTypeValue(int value)
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];
value - The enum numeric value on the wire for bucketObjectType to set.public 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];
getBucketObjectType in interface IngestConversationsRequest.GcsSourceOrBuilderpublic IngestConversationsRequest.GcsSource.Builder setBucketObjectType(IngestConversationsRequest.GcsSource.BucketObjectType value)
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];
value - The bucketObjectType to set.public IngestConversationsRequest.GcsSource.Builder clearBucketObjectType()
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];
public 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];
hasMetadataBucketUri in interface IngestConversationsRequest.GcsSourceOrBuilderpublic 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];
getMetadataBucketUri in interface IngestConversationsRequest.GcsSourceOrBuilderpublic 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];
getMetadataBucketUriBytes in interface IngestConversationsRequest.GcsSourceOrBuilderpublic IngestConversationsRequest.GcsSource.Builder setMetadataBucketUri(String value)
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];
value - The metadataBucketUri to set.public IngestConversationsRequest.GcsSource.Builder clearMetadataBucketUri()
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];
public IngestConversationsRequest.GcsSource.Builder setMetadataBucketUriBytes(com.google.protobuf.ByteString value)
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];
value - The bytes for metadataBucketUri to set.public com.google.protobuf.ProtocolStringList 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];
getCustomMetadataKeysList in interface IngestConversationsRequest.GcsSourceOrBuilderpublic 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];
getCustomMetadataKeysCount in interface IngestConversationsRequest.GcsSourceOrBuilderpublic 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];
getCustomMetadataKeys in interface IngestConversationsRequest.GcsSourceOrBuilderindex - The index of the element to return.public 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];
getCustomMetadataKeysBytes in interface IngestConversationsRequest.GcsSourceOrBuilderindex - The index of the value to return.public IngestConversationsRequest.GcsSource.Builder setCustomMetadataKeys(int index, String value)
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];
index - The index to set the value at.value - The customMetadataKeys to set.public IngestConversationsRequest.GcsSource.Builder addCustomMetadataKeys(String value)
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];
value - The customMetadataKeys to add.public IngestConversationsRequest.GcsSource.Builder addAllCustomMetadataKeys(Iterable<String> values)
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];
values - The customMetadataKeys to add.public IngestConversationsRequest.GcsSource.Builder clearCustomMetadataKeys()
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];
public IngestConversationsRequest.GcsSource.Builder addCustomMetadataKeysBytes(com.google.protobuf.ByteString value)
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];
value - The bytes of the customMetadataKeys to add.public final IngestConversationsRequest.GcsSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder>public final IngestConversationsRequest.GcsSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder>Copyright © 2025 Google LLC. All rights reserved.