Class IngestConversationsRequest (2.23.0)

public final class IngestConversationsRequest extends GeneratedMessageV3 implements IngestConversationsRequestOrBuilder

The request to ingest conversations.

Protobuf type google.cloud.contactcenterinsights.v1.IngestConversationsRequest

Static Fields

CONVERSATION_CONFIG_FIELD_NUMBER

public static final int CONVERSATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

GCS_SOURCE_FIELD_NUMBER

public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSCRIPT_OBJECT_CONFIG_FIELD_NUMBER

public static final int TRANSCRIPT_OBJECT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IngestConversationsRequest getDefaultInstance()
Returns
TypeDescription
IngestConversationsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static IngestConversationsRequest.Builder newBuilder()
Returns
TypeDescription
IngestConversationsRequest.Builder

newBuilder(IngestConversationsRequest prototype)

public static IngestConversationsRequest.Builder newBuilder(IngestConversationsRequest prototype)
Parameter
NameDescription
prototypeIngestConversationsRequest
Returns
TypeDescription
IngestConversationsRequest.Builder

parseDelimitedFrom(InputStream input)

public static IngestConversationsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IngestConversationsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IngestConversationsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IngestConversationsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IngestConversationsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IngestConversationsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IngestConversationsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IngestConversationsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IngestConversationsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IngestConversationsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IngestConversationsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IngestConversationsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<IngestConversationsRequest> parser()
Returns
TypeDescription
Parser<IngestConversationsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConversationConfig()

public IngestConversationsRequest.ConversationConfig getConversationConfig()

Configuration that applies to all conversations.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;

Returns
TypeDescription
IngestConversationsRequest.ConversationConfig

The conversationConfig.

getConversationConfigOrBuilder()

public IngestConversationsRequest.ConversationConfigOrBuilder getConversationConfigOrBuilder()

Configuration that applies to all conversations.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;

Returns
TypeDescription
IngestConversationsRequest.ConversationConfigOrBuilder

getDefaultInstanceForType()

public IngestConversationsRequest getDefaultInstanceForType()
Returns
TypeDescription
IngestConversationsRequest

getGcsSource()

public IngestConversationsRequest.GcsSource getGcsSource()

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;

Returns
TypeDescription
IngestConversationsRequest.GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public IngestConversationsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder()

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;

Returns
TypeDescription
IngestConversationsRequest.GcsSourceOrBuilder

getObjectConfigCase()

public IngestConversationsRequest.ObjectConfigCase getObjectConfigCase()
Returns
TypeDescription
IngestConversationsRequest.ObjectConfigCase

getParent()

public String getParent()

Required. The parent resource for new conversations.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource for new conversations.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<IngestConversationsRequest> getParserForType()
Returns
TypeDescription
Parser<IngestConversationsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

public IngestConversationsRequest.SourceCase getSourceCase()
Returns
TypeDescription
IngestConversationsRequest.SourceCase

getTranscriptObjectConfig()

public IngestConversationsRequest.TranscriptObjectConfig getTranscriptObjectConfig()

Configuration for when source contains conversation transcripts.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;

Returns
TypeDescription
IngestConversationsRequest.TranscriptObjectConfig

The transcriptObjectConfig.

getTranscriptObjectConfigOrBuilder()

public IngestConversationsRequest.TranscriptObjectConfigOrBuilder getTranscriptObjectConfigOrBuilder()

Configuration for when source contains conversation transcripts.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;

Returns
TypeDescription
IngestConversationsRequest.TranscriptObjectConfigOrBuilder

hasConversationConfig()

public boolean hasConversationConfig()

Configuration that applies to all conversations.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;

Returns
TypeDescription
boolean

Whether the conversationConfig field is set.

hasGcsSource()

public boolean hasGcsSource()

A cloud storage bucket source.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

hasTranscriptObjectConfig()

public boolean hasTranscriptObjectConfig()

Configuration for when source contains conversation transcripts.

.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;

Returns
TypeDescription
boolean

Whether the transcriptObjectConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public IngestConversationsRequest.Builder newBuilderForType()
Returns
TypeDescription
IngestConversationsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IngestConversationsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IngestConversationsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public IngestConversationsRequest.Builder toBuilder()
Returns
TypeDescription
IngestConversationsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException