public static final class ResponseMessage.TelephonyTransferCall.Builder extends GeneratedMessageV3.Builder<ResponseMessage.TelephonyTransferCall.Builder> 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 Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage.TelephonyTransferCall.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResponseMessage.TelephonyTransferCall build()
Returns
buildPartial()
public ResponseMessage.TelephonyTransferCall buildPartial()
Returns
clear()
public ResponseMessage.TelephonyTransferCall.Builder clear()
Returns
Overrides
clearEndpoint()
public ResponseMessage.TelephonyTransferCall.Builder clearEndpoint()
Returns
clearField(Descriptors.FieldDescriptor field)
public ResponseMessage.TelephonyTransferCall.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMessage.TelephonyTransferCall.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPhoneNumber()
public ResponseMessage.TelephonyTransferCall.Builder clearPhoneNumber()
Transfer the call to a phone number
in E.164 format.
string phone_number = 1;
Returns
clearSipUri()
public ResponseMessage.TelephonyTransferCall.Builder clearSipUri()
Transfer the call to a SIP endpoint.
string sip_uri = 2;
Returns
clone()
public ResponseMessage.TelephonyTransferCall.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ResponseMessage.TelephonyTransferCall getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEndpointCase()
public ResponseMessage.TelephonyTransferCall.EndpointCase getEndpointCase()
Returns
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.
|
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
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ResponseMessage.TelephonyTransferCall other)
public ResponseMessage.TelephonyTransferCall.Builder mergeFrom(ResponseMessage.TelephonyTransferCall other)
Parameter
Returns
public ResponseMessage.TelephonyTransferCall.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResponseMessage.TelephonyTransferCall.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage.TelephonyTransferCall.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage.TelephonyTransferCall.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPhoneNumber(String value)
public ResponseMessage.TelephonyTransferCall.Builder setPhoneNumber(String value)
Transfer the call to a phone number
in E.164 format.
string phone_number = 1;
Parameter
Name |
Description |
value |
String
The phoneNumber to set.
|
Returns
setPhoneNumberBytes(ByteString value)
public ResponseMessage.TelephonyTransferCall.Builder setPhoneNumberBytes(ByteString value)
Transfer the call to a phone number
in E.164 format.
string phone_number = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for phoneNumber to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseMessage.TelephonyTransferCall.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSipUri(String value)
public ResponseMessage.TelephonyTransferCall.Builder setSipUri(String value)
Transfer the call to a SIP endpoint.
string sip_uri = 2;
Parameter
Name |
Description |
value |
String
The sipUri to set.
|
Returns
setSipUriBytes(ByteString value)
public ResponseMessage.TelephonyTransferCall.Builder setSipUriBytes(ByteString value)
Transfer the call to a SIP endpoint.
string sip_uri = 2;
Parameter
Name |
Description |
value |
ByteString
The bytes for sipUri to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage.TelephonyTransferCall.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides