- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class IngestConversationsRequest.GcsSource.Builder extends GeneratedMessageV3.Builder<IngestConversationsRequest.GcsSource.Builder> implements IngestConversationsRequest.GcsSourceOrBuilder
Configuration for Cloud Storage bucket sources.
Protobuf type
google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IngestConversationsRequest.GcsSource.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllCustomMetadataKeys(Iterable<String> values)
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The customMetadataKeys to add. |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
addCustomMetadataKeys(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The customMetadataKeys to add. |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
addCustomMetadataKeysBytes(ByteString value)
public IngestConversationsRequest.GcsSource.Builder addCustomMetadataKeysBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the customMetadataKeys to add. |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IngestConversationsRequest.GcsSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
build()
public IngestConversationsRequest.GcsSource build()
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource |
buildPartial()
public IngestConversationsRequest.GcsSource buildPartial()
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource |
clear()
public IngestConversationsRequest.GcsSource.Builder clear()
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
clearBucketObjectType()
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];
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
clearBucketUri()
public IngestConversationsRequest.GcsSource.Builder clearBucketUri()
Required. The Cloud Storage bucket containing source objects.
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
clearCustomMetadataKeys()
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];
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public IngestConversationsRequest.GcsSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
clearMetadataBucketUri()
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];
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestConversationsRequest.GcsSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
clone()
public IngestConversationsRequest.GcsSource.Builder clone()
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
getBucketObjectType()
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];
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.BucketObjectType |
The bucketObjectType. |
getBucketObjectTypeValue()
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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for bucketObjectType. |
getBucketUri()
public 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 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 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];
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 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];
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 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 | |
---|---|
Type | Description |
int |
The count of customMetadataKeys. |
getCustomMetadataKeysList()
public 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];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the customMetadataKeys. |
getDefaultInstanceForType()
public IngestConversationsRequest.GcsSource getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMetadataBucketUri()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(IngestConversationsRequest.GcsSource other)
public IngestConversationsRequest.GcsSource.Builder mergeFrom(IngestConversationsRequest.GcsSource other)
Parameter | |
---|---|
Name | Description |
other |
IngestConversationsRequest.GcsSource |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IngestConversationsRequest.GcsSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public IngestConversationsRequest.GcsSource.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestConversationsRequest.GcsSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
setBucketObjectType(IngestConversationsRequest.GcsSource.BucketObjectType value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
IngestConversationsRequest.GcsSource.BucketObjectType The bucketObjectType to set. |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
setBucketObjectTypeValue(int value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for bucketObjectType to set. |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
setBucketUri(String value)
public IngestConversationsRequest.GcsSource.Builder setBucketUri(String value)
Required. The Cloud Storage bucket containing source objects.
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The bucketUri to set. |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
setBucketUriBytes(ByteString value)
public IngestConversationsRequest.GcsSource.Builder setBucketUriBytes(ByteString value)
Required. The Cloud Storage bucket containing source objects.
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for bucketUri to set. |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
setCustomMetadataKeys(int index, String value)
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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The customMetadataKeys to set. |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public IngestConversationsRequest.GcsSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
setMetadataBucketUri(String value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
String The metadataBucketUri to set. |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
setMetadataBucketUriBytes(ByteString value)
public IngestConversationsRequest.GcsSource.Builder setMetadataBucketUriBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for metadataBucketUri to set. |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestConversationsRequest.GcsSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestConversationsRequest.GcsSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IngestConversationsRequest.GcsSource.Builder |