Class HumanAgentHandoffConfig.LivePersonConfig.Builder (4.57.0)

public static final class HumanAgentHandoffConfig.LivePersonConfig.Builder extends GeneratedMessageV3.Builder<HumanAgentHandoffConfig.LivePersonConfig.Builder> implements HumanAgentHandoffConfig.LivePersonConfigOrBuilder

Configuration specific to LivePerson.

Protobuf type google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentHandoffConfig.LivePersonConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder
Overrides

build()

public HumanAgentHandoffConfig.LivePersonConfig build()
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig

buildPartial()

public HumanAgentHandoffConfig.LivePersonConfig buildPartial()
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig

clear()

public HumanAgentHandoffConfig.LivePersonConfig.Builder clear()
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder
Overrides

clearAccountNumber()

public HumanAgentHandoffConfig.LivePersonConfig.Builder clearAccountNumber()

Required. Account number of the LivePerson account to connect. This is the account number you input at the login page.

string account_number = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public HumanAgentHandoffConfig.LivePersonConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentHandoffConfig.LivePersonConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder
Overrides

clone()

public HumanAgentHandoffConfig.LivePersonConfig.Builder clone()
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder
Overrides

getAccountNumber()

public String getAccountNumber()

Required. Account number of the LivePerson account to connect. This is the account number you input at the login page.

string account_number = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The accountNumber.

getAccountNumberBytes()

public ByteString getAccountNumberBytes()

Required. Account number of the LivePerson account to connect. This is the account number you input at the login page.

string account_number = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for accountNumber.

getDefaultInstanceForType()

public HumanAgentHandoffConfig.LivePersonConfig getDefaultInstanceForType()
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HumanAgentHandoffConfig.LivePersonConfig other)

public HumanAgentHandoffConfig.LivePersonConfig.Builder mergeFrom(HumanAgentHandoffConfig.LivePersonConfig other)
Parameter
Name Description
other HumanAgentHandoffConfig.LivePersonConfig
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HumanAgentHandoffConfig.LivePersonConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HumanAgentHandoffConfig.LivePersonConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentHandoffConfig.LivePersonConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder
Overrides

setAccountNumber(String value)

public HumanAgentHandoffConfig.LivePersonConfig.Builder setAccountNumber(String value)

Required. Account number of the LivePerson account to connect. This is the account number you input at the login page.

string account_number = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The accountNumber to set.

Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder

This builder for chaining.

setAccountNumberBytes(ByteString value)

public HumanAgentHandoffConfig.LivePersonConfig.Builder setAccountNumberBytes(ByteString value)

Required. Account number of the LivePerson account to connect. This is the account number you input at the login page.

string account_number = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for accountNumber to set.

Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentHandoffConfig.LivePersonConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder
Overrides

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

public HumanAgentHandoffConfig.LivePersonConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentHandoffConfig.LivePersonConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder
Overrides