Class HumanAgentHandoffConfig.SalesforceLiveAgentConfig (4.4.0)

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

Configuration specific to Salesforce Live Agent.

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

Inheritance

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

Fields

BUTTON_ID_FIELD_NUMBER

public static final int BUTTON_ID_FIELD_NUMBER
Field Value
TypeDescription
int

DEPLOYMENT_ID_FIELD_NUMBER

public static final int DEPLOYMENT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

ENDPOINT_DOMAIN_FIELD_NUMBER

public static final int ENDPOINT_DOMAIN_FIELD_NUMBER
Field Value
TypeDescription
int

ORGANIZATION_ID_FIELD_NUMBER

public static final int ORGANIZATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

getDefaultInstance()

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig getDefaultInstance()
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig

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.

getDescriptor()

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder newBuilder()
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

newBuilder(HumanAgentHandoffConfig.SalesforceLiveAgentConfig prototype)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder newBuilder(HumanAgentHandoffConfig.SalesforceLiveAgentConfig prototype)
Parameter
NameDescription
prototypeHumanAgentHandoffConfig.SalesforceLiveAgentConfig
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

newBuilderForType()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder newBuilderForType()
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig.SalesforceLiveAgentConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

toBuilder()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder toBuilder()
Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException