Class HumanAgentHandoffConfig.SalesforceLiveAgentConfig (4.46.0)

public static final class HumanAgentHandoffConfig.SalesforceLiveAgentConfig extends GeneratedMessageV3 implements HumanAgentHandoffConfig.SalesforceLiveAgentConfigOrBuilder

Configuration specific to Salesforce Live Agent.

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

Inheritance

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

Static Fields

BUTTON_ID_FIELD_NUMBER

public static final int BUTTON_ID_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_ID_FIELD_NUMBER

public static final int DEPLOYMENT_ID_FIELD_NUMBER
Field Value
Type Description
int

ENDPOINT_DOMAIN_FIELD_NUMBER

public static final int ENDPOINT_DOMAIN_FIELD_NUMBER
Field Value
Type Description
int

ORGANIZATION_ID_FIELD_NUMBER

public static final int ORGANIZATION_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig getDefaultInstance()
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig

getDescriptor()

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

newBuilder()

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder newBuilder()
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

newBuilder(HumanAgentHandoffConfig.SalesforceLiveAgentConfig prototype)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder newBuilder(HumanAgentHandoffConfig.SalesforceLiveAgentConfig prototype)
Parameter
Name Description
prototype HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

parseDelimitedFrom(InputStream input)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HumanAgentHandoffConfig.SalesforceLiveAgentConfig> parser()
Returns
Type Description
Parser<SalesforceLiveAgentConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

getParserForType()

public Parser<HumanAgentHandoffConfig.SalesforceLiveAgentConfig> getParserForType()
Returns
Type Description
Parser<SalesforceLiveAgentConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder newBuilderForType()
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder toBuilder()
Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException