Class ResponseMessage.TelephonyTransferCall (4.53.0)

public static final class ResponseMessage.TelephonyTransferCall extends GeneratedMessageV3 implements ResponseMessage.TelephonyTransferCallOrBuilder

Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.TelephonyTransferCall

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ResponseMessage.TelephonyTransferCall

Static Fields

PHONE_NUMBER_FIELD_NUMBER

public static final int PHONE_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

SIP_URI_FIELD_NUMBER

public static final int SIP_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ResponseMessage.TelephonyTransferCall getDefaultInstance()
Returns
Type Description
ResponseMessage.TelephonyTransferCall

getDescriptor()

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

newBuilder()

public static ResponseMessage.TelephonyTransferCall.Builder newBuilder()
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder

newBuilder(ResponseMessage.TelephonyTransferCall prototype)

public static ResponseMessage.TelephonyTransferCall.Builder newBuilder(ResponseMessage.TelephonyTransferCall prototype)
Parameter
Name Description
prototype ResponseMessage.TelephonyTransferCall
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder

parseDelimitedFrom(InputStream input)

public static ResponseMessage.TelephonyTransferCall parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResponseMessage.TelephonyTransferCall
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ResponseMessage.TelephonyTransferCall parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ResponseMessage.TelephonyTransferCall
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ResponseMessage.TelephonyTransferCall parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ResponseMessage.TelephonyTransferCall
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ResponseMessage.TelephonyTransferCall parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResponseMessage.TelephonyTransferCall
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ResponseMessage.TelephonyTransferCall parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ResponseMessage.TelephonyTransferCall
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ResponseMessage.TelephonyTransferCall> parser()
Returns
Type Description
Parser<TelephonyTransferCall>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ResponseMessage.TelephonyTransferCall getDefaultInstanceForType()
Returns
Type Description
ResponseMessage.TelephonyTransferCall

getEndpointCase()

public ResponseMessage.TelephonyTransferCall.EndpointCase getEndpointCase()
Returns
Type Description
ResponseMessage.TelephonyTransferCall.EndpointCase

getParserForType()

public Parser<ResponseMessage.TelephonyTransferCall> getParserForType()
Returns
Type Description
Parser<TelephonyTransferCall>
Overrides

getPhoneNumber()

public String getPhoneNumber()

Transfer the call to a phone number in E.164 format.

string phone_number = 1;

Returns
Type Description
String

The phoneNumber.

getPhoneNumberBytes()

public ByteString getPhoneNumberBytes()

Transfer the call to a phone number in E.164 format.

string phone_number = 1;

Returns
Type Description
ByteString

The bytes for phoneNumber.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSipUri()

public String getSipUri()

Transfer the call to a SIP endpoint.

string sip_uri = 2;

Returns
Type Description
String

The sipUri.

getSipUriBytes()

public ByteString getSipUriBytes()

Transfer the call to a SIP endpoint.

string sip_uri = 2;

Returns
Type Description
ByteString

The bytes for sipUri.

hasPhoneNumber()

public boolean hasPhoneNumber()

Transfer the call to a phone number in E.164 format.

string phone_number = 1;

Returns
Type Description
boolean

Whether the phoneNumber field is set.

hasSipUri()

public boolean hasSipUri()

Transfer the call to a SIP endpoint.

string sip_uri = 2;

Returns
Type Description
boolean

Whether the sipUri field is set.

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 ResponseMessage.TelephonyTransferCall.Builder newBuilderForType()
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResponseMessage.TelephonyTransferCall.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ResponseMessage.TelephonyTransferCall.Builder toBuilder()
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder

writeTo(CodedOutputStream output)

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