Class IngestConversationsRequest.ConversationConfig.Builder (2.15.0)

public static final class IngestConversationsRequest.ConversationConfig.Builder extends GeneratedMessageV3.Builder<IngestConversationsRequest.ConversationConfig.Builder> implements IngestConversationsRequest.ConversationConfigOrBuilder

Configuration that applies to all conversations.

Protobuf type google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IngestConversationsRequest.ConversationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

build()

public IngestConversationsRequest.ConversationConfig build()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig

buildPartial()

public IngestConversationsRequest.ConversationConfig buildPartial()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig

clear()

public IngestConversationsRequest.ConversationConfig.Builder clear()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

clearAgentId()

public IngestConversationsRequest.ConversationConfig.Builder clearAgentId()

An opaque, user-specified string representing the human agent who handled the conversations.

string agent_id = 1;

Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IngestConversationsRequest.ConversationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestConversationsRequest.ConversationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

clone()

public IngestConversationsRequest.ConversationConfig.Builder clone()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

getAgentId()

public String getAgentId()

An opaque, user-specified string representing the human agent who handled the conversations.

string agent_id = 1;

Returns
TypeDescription
String

The agentId.

getAgentIdBytes()

public ByteString getAgentIdBytes()

An opaque, user-specified string representing the human agent who handled the conversations.

string agent_id = 1;

Returns
TypeDescription
ByteString

The bytes for agentId.

getDefaultInstanceForType()

public IngestConversationsRequest.ConversationConfig getDefaultInstanceForType()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IngestConversationsRequest.ConversationConfig other)

public IngestConversationsRequest.ConversationConfig.Builder mergeFrom(IngestConversationsRequest.ConversationConfig other)
Parameter
NameDescription
otherIngestConversationsRequest.ConversationConfig
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IngestConversationsRequest.ConversationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public IngestConversationsRequest.ConversationConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsRequest.ConversationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

setAgentId(String value)

public IngestConversationsRequest.ConversationConfig.Builder setAgentId(String value)

An opaque, user-specified string representing the human agent who handled the conversations.

string agent_id = 1;

Parameter
NameDescription
valueString

The agentId to set.

Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

setAgentIdBytes(ByteString value)

public IngestConversationsRequest.ConversationConfig.Builder setAgentIdBytes(ByteString value)

An opaque, user-specified string representing the human agent who handled the conversations.

string agent_id = 1;

Parameter
NameDescription
valueByteString

The bytes for agentId to set.

Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IngestConversationsRequest.ConversationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IngestConversationsRequest.ConversationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsRequest.ConversationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides