Class ResponseMessage.TelephonyTransferCall (4.7.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
TypeDescription
int

SIP_URI_FIELD_NUMBER

public static final int SIP_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResponseMessage.TelephonyTransferCall getDefaultInstance()
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall

getDescriptor()

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

newBuilder()

public static ResponseMessage.TelephonyTransferCall.Builder newBuilder()
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder

newBuilder(ResponseMessage.TelephonyTransferCall prototype)

public static ResponseMessage.TelephonyTransferCall.Builder newBuilder(ResponseMessage.TelephonyTransferCall prototype)
Parameter
NameDescription
prototypeResponseMessage.TelephonyTransferCall
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder

parseDelimitedFrom(InputStream input)

public static ResponseMessage.TelephonyTransferCall parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ResponseMessage.TelephonyTransferCall parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ResponseMessage.TelephonyTransferCall parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ResponseMessage.TelephonyTransferCall parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ResponseMessage.TelephonyTransferCall parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ResponseMessage.TelephonyTransferCall getDefaultInstanceForType()
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall

getEndpointCase()

public ResponseMessage.TelephonyTransferCall.EndpointCase getEndpointCase()
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.EndpointCase

getParserForType()

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

getPhoneNumber()

public String getPhoneNumber()

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

string phone_number = 1;

Returns
TypeDescription
String

The phoneNumber.

getPhoneNumberBytes()

public ByteString getPhoneNumberBytes()

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

string phone_number = 1;

Returns
TypeDescription
ByteString

The bytes for phoneNumber.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSipUri()

public String getSipUri()

Transfer the call to a SIP endpoint.

string sip_uri = 2;

Returns
TypeDescription
String

The sipUri.

getSipUriBytes()

public ByteString getSipUriBytes()

Transfer the call to a SIP endpoint.

string sip_uri = 2;

Returns
TypeDescription
ByteString

The bytes for sipUri.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasPhoneNumber()

public boolean hasPhoneNumber()

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

string phone_number = 1;

Returns
TypeDescription
boolean

Whether the phoneNumber field is set.

hasSipUri()

public boolean hasSipUri()

Transfer the call to a SIP endpoint.

string sip_uri = 2;

Returns
TypeDescription
boolean

Whether the sipUri field is set.

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

newBuilderForType()

public ResponseMessage.TelephonyTransferCall.Builder newBuilderForType()
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResponseMessage.TelephonyTransferCall.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ResponseMessage.TelephonyTransferCall.Builder toBuilder()
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder

writeTo(CodedOutputStream output)

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