public static final class IngestConversationsRequest.Builder extends GeneratedMessageV3.Builder<IngestConversationsRequest.Builder> implements IngestConversationsRequestOrBuilder
The request to ingest conversations.
Protobuf type google.cloud.contactcenterinsights.v1.IngestConversationsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public IngestConversationsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public IngestConversationsRequest build()
Returns
public IngestConversationsRequest buildPartial()
Returns
public IngestConversationsRequest.Builder clear()
Returns
Overrides
public IngestConversationsRequest.Builder clearConversationConfig()
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;
Returns
public IngestConversationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public IngestConversationsRequest.Builder clearGcsSource()
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;
Returns
public IngestConversationsRequest.Builder clearObjectConfig()
Returns
public IngestConversationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public IngestConversationsRequest.Builder clearParent()
Required. The parent resource for new conversations.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public IngestConversationsRequest.Builder clearSource()
Returns
public IngestConversationsRequest.Builder clearTranscriptObjectConfig()
Configuration for when source
contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;
Returns
public IngestConversationsRequest.Builder clone()
Returns
Overrides
public IngestConversationsRequest.ConversationConfig getConversationConfig()
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;
Returns
public IngestConversationsRequest.ConversationConfig.Builder getConversationConfigBuilder()
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;
Returns
public IngestConversationsRequest.ConversationConfigOrBuilder getConversationConfigOrBuilder()
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;
Returns
public IngestConversationsRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public IngestConversationsRequest.GcsSource getGcsSource()
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;
Returns
public IngestConversationsRequest.GcsSource.Builder getGcsSourceBuilder()
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;
Returns
public IngestConversationsRequest.GcsSourceOrBuilder getGcsSourceOrBuilder()
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;
Returns
public IngestConversationsRequest.ObjectConfigCase getObjectConfigCase()
Returns
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
public IngestConversationsRequest.SourceCase getSourceCase()
Returns
public IngestConversationsRequest.TranscriptObjectConfig getTranscriptObjectConfig()
Configuration for when source
contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;
Returns
public IngestConversationsRequest.TranscriptObjectConfig.Builder getTranscriptObjectConfigBuilder()
Configuration for when source
contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;
Returns
public IngestConversationsRequest.TranscriptObjectConfigOrBuilder getTranscriptObjectConfigOrBuilder()
Configuration for when source
contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;
Returns
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.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;
Returns
Type | Description |
boolean | Whether the gcsSource 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public IngestConversationsRequest.Builder mergeConversationConfig(IngestConversationsRequest.ConversationConfig value)
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;
Parameter
Returns
public IngestConversationsRequest.Builder mergeFrom(IngestConversationsRequest other)
Parameter
Returns
public IngestConversationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public IngestConversationsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public IngestConversationsRequest.Builder mergeGcsSource(IngestConversationsRequest.GcsSource value)
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;
Parameter
Returns
public IngestConversationsRequest.Builder mergeTranscriptObjectConfig(IngestConversationsRequest.TranscriptObjectConfig value)
Configuration for when source
contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;
Parameter
Returns
public final IngestConversationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public IngestConversationsRequest.Builder setConversationConfig(IngestConversationsRequest.ConversationConfig value)
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;
Parameter
Returns
public IngestConversationsRequest.Builder setConversationConfig(IngestConversationsRequest.ConversationConfig.Builder builderForValue)
Configuration that applies to all conversations.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig conversation_config = 4;
Parameter
Returns
public IngestConversationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public IngestConversationsRequest.Builder setGcsSource(IngestConversationsRequest.GcsSource value)
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;
Parameter
Returns
public IngestConversationsRequest.Builder setGcsSource(IngestConversationsRequest.GcsSource.Builder builderForValue)
A cloud storage bucket source.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource gcs_source = 2;
Parameter
Returns
public IngestConversationsRequest.Builder setParent(String value)
Required. The parent resource for new conversations.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
public IngestConversationsRequest.Builder setParentBytes(ByteString value)
Required. The parent resource for new conversations.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
public IngestConversationsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public IngestConversationsRequest.Builder setTranscriptObjectConfig(IngestConversationsRequest.TranscriptObjectConfig value)
Configuration for when source
contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;
Parameter
Returns
public IngestConversationsRequest.Builder setTranscriptObjectConfig(IngestConversationsRequest.TranscriptObjectConfig.Builder builderForValue)
Configuration for when source
contains conversation transcripts.
.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig transcript_object_config = 3;
Parameter
Returns
public final IngestConversationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides