Class IngestConversationsRequest.GcsSource
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
- All Implemented Interfaces:
IngestConversationsRequest.GcsSourceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- IngestConversationsRequest
public static final class IngestConversationsRequest.GcsSource
extends com.google.protobuf.GeneratedMessage
implements IngestConversationsRequest.GcsSourceOrBuilder
Configuration for Cloud Storage bucket sources.Protobuf type
google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumProtobuf enumgoogle.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.BucketObjectTypestatic final classConfiguration for Cloud Storage bucket sources.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.intOptional.Required.com.google.protobuf.ByteStringRequired.getCustomMetadataKeys(int index) Optional.com.google.protobuf.ByteStringgetCustomMetadataKeysBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.static final com.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.com.google.protobuf.Parser<IngestConversationsRequest.GcsSource>intinthashCode()booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(IngestConversationsRequest.GcsSource prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<IngestConversationsRequest.GcsSource>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
BUCKET_URI_FIELD_NUMBER
public static final int BUCKET_URI_FIELD_NUMBER- See Also:
-
BUCKET_OBJECT_TYPE_FIELD_NUMBER
public static final int BUCKET_OBJECT_TYPE_FIELD_NUMBER- See Also:
-
METADATA_BUCKET_URI_FIELD_NUMBER
public static final int METADATA_BUCKET_URI_FIELD_NUMBER- See Also:
-
CUSTOM_METADATA_KEYS_FIELD_NUMBER
public static final int CUSTOM_METADATA_KEYS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getBucketUri
Required. The Cloud Storage bucket containing source objects.
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBucketUriin interfaceIngestConversationsRequest.GcsSourceOrBuilder- Returns:
- The bucketUri.
-
getBucketUriBytes
public com.google.protobuf.ByteString getBucketUriBytes()Required. The Cloud Storage bucket containing source objects.
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBucketUriBytesin interfaceIngestConversationsRequest.GcsSourceOrBuilder- Returns:
- The bytes for bucketUri.
-
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];- Specified by:
getBucketObjectTypeValuein interfaceIngestConversationsRequest.GcsSourceOrBuilder- 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];- Specified by:
getBucketObjectTypein interfaceIngestConversationsRequest.GcsSourceOrBuilder- Returns:
- The bucketObjectType.
-
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];- Specified by:
hasMetadataBucketUriin interfaceIngestConversationsRequest.GcsSourceOrBuilder- Returns:
- Whether the metadataBucketUri field is set.
-
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];- Specified by:
getMetadataBucketUriin interfaceIngestConversationsRequest.GcsSourceOrBuilder- Returns:
- The metadataBucketUri.
-
getMetadataBucketUriBytes
public 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];- Specified by:
getMetadataBucketUriBytesin interfaceIngestConversationsRequest.GcsSourceOrBuilder- Returns:
- The bytes for metadataBucketUri.
-
getCustomMetadataKeysList
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];- Specified by:
getCustomMetadataKeysListin interfaceIngestConversationsRequest.GcsSourceOrBuilder- Returns:
- A list containing the customMetadataKeys.
-
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];- Specified by:
getCustomMetadataKeysCountin interfaceIngestConversationsRequest.GcsSourceOrBuilder- Returns:
- The count of customMetadataKeys.
-
getCustomMetadataKeys
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];- Specified by:
getCustomMetadataKeysin interfaceIngestConversationsRequest.GcsSourceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The customMetadataKeys at the given index.
-
getCustomMetadataKeysBytes
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];- Specified by:
getCustomMetadataKeysBytesin interfaceIngestConversationsRequest.GcsSourceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the customMetadataKeys at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static IngestConversationsRequest.GcsSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestConversationsRequest.GcsSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestConversationsRequest.GcsSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestConversationsRequest.GcsSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestConversationsRequest.GcsSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static IngestConversationsRequest.GcsSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static IngestConversationsRequest.GcsSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static IngestConversationsRequest.GcsSource parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static IngestConversationsRequest.GcsSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static IngestConversationsRequest.GcsSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static IngestConversationsRequest.GcsSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static IngestConversationsRequest.GcsSource.Builder newBuilder(IngestConversationsRequest.GcsSource prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected IngestConversationsRequest.GcsSource.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-