Class HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder (4.7.5)

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.v2.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig build()
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig

buildPartial()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig buildPartial()
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig

clear()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

clone()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder clone()
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder
Overrides

getButtonId()

public String getButtonId()

Required. Live Agent chat button ID.

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

Returns
TypeDescription
String

The buttonId.

getButtonIdBytes()

public ByteString getButtonIdBytes()

Required. Live Agent chat button ID.

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

Returns
TypeDescription
ByteString

The bytes for buttonId.

getDefaultInstanceForType()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig getDefaultInstanceForType()
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig

getDeploymentId()

public String getDeploymentId()

Required. Live Agent deployment ID.

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

Returns
TypeDescription
String

The deploymentId.

getDeploymentIdBytes()

public ByteString getDeploymentIdBytes()

Required. Live Agent deployment ID.

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

Returns
TypeDescription
ByteString

The bytes for deploymentId.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for organizationId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HumanAgentHandoffConfig.SalesforceLiveAgentConfig other)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder mergeFrom(HumanAgentHandoffConfig.SalesforceLiveAgentConfig other)
Parameter
NameDescription
otherHumanAgentHandoffConfig.SalesforceLiveAgentConfig
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The buttonId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for buttonId to set.

Returns
TypeDescription
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
NameDescription
valueString

The deploymentId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for deploymentId to set.

Returns
TypeDescription
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
NameDescription
valueString

The endpointDomain to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for endpointDomain to set.

Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The organizationId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for organizationId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder
Overrides