public static final class IngestConversationsRequest.GcsSource extends GeneratedMessageV3 implements IngestConversationsRequest.GcsSourceOrBuilder
Configuration for Cloud Storage bucket sources.
Protobuf type
google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int BUCKET_OBJECT_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int BUCKET_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int CUSTOM_METADATA_KEYS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int METADATA_BUCKET_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static IngestConversationsRequest.GcsSource getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static IngestConversationsRequest.GcsSource.Builder newBuilder()
public static IngestConversationsRequest.GcsSource.Builder newBuilder(IngestConversationsRequest.GcsSource prototype)
public static IngestConversationsRequest.GcsSource parseDelimitedFrom(InputStream input)
public static IngestConversationsRequest.GcsSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestConversationsRequest.GcsSource parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static IngestConversationsRequest.GcsSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestConversationsRequest.GcsSource parseFrom(ByteString data)
public static IngestConversationsRequest.GcsSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestConversationsRequest.GcsSource parseFrom(CodedInputStream input)
public static IngestConversationsRequest.GcsSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestConversationsRequest.GcsSource parseFrom(InputStream input)
public static IngestConversationsRequest.GcsSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestConversationsRequest.GcsSource parseFrom(ByteBuffer data)
public static IngestConversationsRequest.GcsSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<IngestConversationsRequest.GcsSource> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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];
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.
|
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.
|
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.
|
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 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.
|
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 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.
|
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 20 labels per conversation.
repeated string custom_metadata_keys = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of customMetadataKeys.
|
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 20 labels per conversation.
repeated string custom_metadata_keys = 12 [(.google.api.field_behavior) = OPTIONAL];
public IngestConversationsRequest.GcsSource getDefaultInstanceForType()
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.
|
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.
|
public Parser<IngestConversationsRequest.GcsSource> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public IngestConversationsRequest.GcsSource.Builder newBuilderForType()
protected IngestConversationsRequest.GcsSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public IngestConversationsRequest.GcsSource.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides