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
Static Fields
PHONE_NUMBER_FIELD_NUMBER
public static final int PHONE_NUMBER_FIELD_NUMBER
Field Value
SIP_URI_FIELD_NUMBER
public static final int SIP_URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ResponseMessage.TelephonyTransferCall getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ResponseMessage.TelephonyTransferCall.Builder newBuilder()
Returns
newBuilder(ResponseMessage.TelephonyTransferCall prototype)
public static ResponseMessage.TelephonyTransferCall.Builder newBuilder(ResponseMessage.TelephonyTransferCall prototype)
Parameter
Returns
public static ResponseMessage.TelephonyTransferCall parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResponseMessage.TelephonyTransferCall parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ResponseMessage.TelephonyTransferCall parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.TelephonyTransferCall parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ResponseMessage.TelephonyTransferCall parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.TelephonyTransferCall parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResponseMessage.TelephonyTransferCall parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ResponseMessage.TelephonyTransferCall parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResponseMessage.TelephonyTransferCall parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResponseMessage.TelephonyTransferCall parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ResponseMessage.TelephonyTransferCall parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.TelephonyTransferCall parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ResponseMessage.TelephonyTransferCall> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ResponseMessage.TelephonyTransferCall getDefaultInstanceForType()
Returns
getEndpointCase()
public ResponseMessage.TelephonyTransferCall.EndpointCase getEndpointCase()
Returns
getParserForType()
public Parser<ResponseMessage.TelephonyTransferCall> getParserForType()
Returns
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
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ResponseMessage.TelephonyTransferCall.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResponseMessage.TelephonyTransferCall.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ResponseMessage.TelephonyTransferCall.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions