public final class IngestConversationsRequest extends GeneratedMessageV3 implements IngestConversationsRequestOrBuilder
The request to ingest conversations.
Protobuf type google.cloud.contactcenterinsights.v1.IngestConversationsRequest
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 CONVERSATION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PARENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int REDACTION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SAMPLE_SIZE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SPEECH_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TRANSCRIPT_OBJECT_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static IngestConversationsRequest getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static IngestConversationsRequest.Builder newBuilder()
public static IngestConversationsRequest.Builder newBuilder(IngestConversationsRequest prototype)
public static IngestConversationsRequest parseDelimitedFrom(InputStream input)
public static IngestConversationsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestConversationsRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static IngestConversationsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestConversationsRequest parseFrom(ByteString data)
public static IngestConversationsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestConversationsRequest parseFrom(CodedInputStream input)
public static IngestConversationsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestConversationsRequest parseFrom(InputStream input)
public static IngestConversationsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestConversationsRequest parseFrom(ByteBuffer data)
public static IngestConversationsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<IngestConversationsRequest> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public IngestConversationsRequest.ConversationConfig getConversationConfig()
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;
public IngestConversationsRequest.ConversationConfigOrBuilder getConversationConfigOrBuilder()
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;
public IngestConversationsRequest getDefaultInstanceForType()
public IngestConversationsRequest.GcsSource getGcsSource()
A cloud storage bucket source. Note that any previously ingested objects
from the source will be skipped to avoid duplication.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;
public IngestConversationsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder()
A cloud storage bucket source. Note that any previously ingested objects
from the source will be skipped to avoid duplication.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;
public IngestConversationsRequest.ObjectConfigCase getObjectConfigCase()
public String getParent()
Required. The parent resource for new conversations.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
public ByteString getParentBytes()
Required. The parent resource for new conversations.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
public Parser<IngestConversationsRequest> getParserForType()
Overrides
public RedactionConfig getRedactionConfig()
Optional. DLP settings for transcript redaction. Optional, will default to
the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 5 [(.google.api.field_behavior) = OPTIONAL];
public RedactionConfigOrBuilder getRedactionConfigOrBuilder()
Optional. DLP settings for transcript redaction. Optional, will default to
the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 5 [(.google.api.field_behavior) = OPTIONAL];
public int getSampleSize()
Optional. If set, this fields indicates the number of objects to ingest
from the Cloud Storage bucket. If empty, the entire bucket will be
ingested. Unless they are first deleted, conversations produced through
sampling won't be ingested by subsequent ingest requests.
optional int32 sample_size = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The sampleSize.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public IngestConversationsRequest.SourceCase getSourceCase()
public SpeechConfig getSpeechConfig()
Optional. Default Speech-to-Text configuration. Optional, will default to
the config specified in Settings.
.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 6 [(.google.api.field_behavior) = OPTIONAL];
public SpeechConfigOrBuilder getSpeechConfigOrBuilder()
Optional. Default Speech-to-Text configuration. Optional, will default to
the config specified in Settings.
.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 6 [(.google.api.field_behavior) = OPTIONAL];
public IngestConversationsRequest.TranscriptObjectConfig getTranscriptObjectConfig()
Configuration for when source
contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;
public IngestConversationsRequest.TranscriptObjectConfigOrBuilder getTranscriptObjectConfigOrBuilder()
Configuration for when source
contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;
public boolean hasConversationConfig()
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;
Returns |
Type |
Description |
boolean |
Whether the conversationConfig field is set.
|
public boolean hasGcsSource()
A cloud storage bucket source. Note that any previously ingested objects
from the source will be skipped to avoid duplication.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;
Returns |
Type |
Description |
boolean |
Whether the gcsSource field is set.
|
public boolean hasRedactionConfig()
Optional. DLP settings for transcript redaction. Optional, will default to
the config specified in Settings.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the redactionConfig field is set.
|
public boolean hasSampleSize()
Optional. If set, this fields indicates the number of objects to ingest
from the Cloud Storage bucket. If empty, the entire bucket will be
ingested. Unless they are first deleted, conversations produced through
sampling won't be ingested by subsequent ingest requests.
optional int32 sample_size = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the sampleSize field is set.
|
public boolean hasSpeechConfig()
Optional. Default Speech-to-Text configuration. Optional, will default to
the config specified in Settings.
.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the speechConfig field is set.
|
public boolean hasTranscriptObjectConfig()
Configuration for when source
contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;
Returns |
Type |
Description |
boolean |
Whether the transcriptObjectConfig field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public IngestConversationsRequest.Builder newBuilderForType()
protected IngestConversationsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public IngestConversationsRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides