Class HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder (4.26.0)

public static final class HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder extends GeneratedMessageV3.Builder<HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder> implements HumanAgentHandoffConfig.SalesforceLiveAgentConfigOrBuilder

Configuration specific to Salesforce Live Agent.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearButtonId()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder clearButtonId()

Required. Live Agent chat button ID.

string button_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

clearDeploymentId()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder clearDeploymentId()

Required. Live Agent deployment ID.

string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

clearEndpointDomain()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder clearEndpointDomain()

Required. Domain of the Live Agent endpoint for this agent. You can find the endpoint URL in the Live Agent settings page. For example if URL has the form https://d.la4-c2-phx.salesforceliveagent.com/..., you should fill in d.la4-c2-phx.salesforceliveagent.com.

string endpoint_domain = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrganizationId()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder clearOrganizationId()

Required. The organization ID of the Salesforce account.

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

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

clone()

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

getButtonId()

public String getButtonId()

Required. Live Agent chat button ID.

string button_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The buttonId.

getButtonIdBytes()

public ByteString getButtonIdBytes()

Required. Live Agent chat button ID.

string button_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for buttonId.

getDefaultInstanceForType()

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

getDeploymentId()

public String getDeploymentId()

Required. Live Agent deployment ID.

string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The deploymentId.

getDeploymentIdBytes()

public ByteString getDeploymentIdBytes()

Required. Live Agent deployment ID.

string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for deploymentId.

getDescriptorForType()

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

getEndpointDomain()

public String getEndpointDomain()

Required. Domain of the Live Agent endpoint for this agent. You can find the endpoint URL in the Live Agent settings page. For example if URL has the form https://d.la4-c2-phx.salesforceliveagent.com/..., you should fill in d.la4-c2-phx.salesforceliveagent.com.

string endpoint_domain = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The endpointDomain.

getEndpointDomainBytes()

public ByteString getEndpointDomainBytes()

Required. Domain of the Live Agent endpoint for this agent. You can find the endpoint URL in the Live Agent settings page. For example if URL has the form https://d.la4-c2-phx.salesforceliveagent.com/..., you should fill in d.la4-c2-phx.salesforceliveagent.com.

string endpoint_domain = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for endpointDomain.

getOrganizationId()

public String getOrganizationId()

Required. The organization ID of the Salesforce account.

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

Returns
Type Description
String

The organizationId.

getOrganizationIdBytes()

public ByteString getOrganizationIdBytes()

Required. The organization ID of the Salesforce account.

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

Returns
Type Description
ByteString

The bytes for organizationId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HumanAgentHandoffConfig.SalesforceLiveAgentConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setButtonId(String value)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder setButtonId(String value)

Required. Live Agent chat button ID.

string button_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The buttonId to set.

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

setButtonIdBytes(ByteString value)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder setButtonIdBytes(ByteString value)

Required. Live Agent chat button ID.

string button_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for buttonId to set.

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

setDeploymentId(String value)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder setDeploymentId(String value)

Required. Live Agent deployment ID.

string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The deploymentId to set.

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

setDeploymentIdBytes(ByteString value)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder setDeploymentIdBytes(ByteString value)

Required. Live Agent deployment ID.

string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for deploymentId to set.

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

setEndpointDomain(String value)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder setEndpointDomain(String value)

Required. Domain of the Live Agent endpoint for this agent. You can find the endpoint URL in the Live Agent settings page. For example if URL has the form https://d.la4-c2-phx.salesforceliveagent.com/..., you should fill in d.la4-c2-phx.salesforceliveagent.com.

string endpoint_domain = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The endpointDomain to set.

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

setEndpointDomainBytes(ByteString value)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder setEndpointDomainBytes(ByteString value)

Required. Domain of the Live Agent endpoint for this agent. You can find the endpoint URL in the Live Agent settings page. For example if URL has the form https://d.la4-c2-phx.salesforceliveagent.com/..., you should fill in d.la4-c2-phx.salesforceliveagent.com.

string endpoint_domain = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for endpointDomain to set.

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setOrganizationId(String value)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder setOrganizationId(String value)

Required. The organization ID of the Salesforce account.

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

Parameter
Name Description
value String

The organizationId to set.

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

setOrganizationIdBytes(ByteString value)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder setOrganizationIdBytes(ByteString value)

Required. The organization ID of the Salesforce account.

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

Parameter
Name Description
value ByteString

The bytes for organizationId to set.

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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