Class ResponseMessage.TelephonyTransferCall.Builder (4.7.5)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResponseMessage.TelephonyTransferCall.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ResponseMessage.TelephonyTransferCall.Builder clear()
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder
Overrides

clearEndpoint()

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

clearField(Descriptors.FieldDescriptor field)

public ResponseMessage.TelephonyTransferCall.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResponseMessage.TelephonyTransferCall.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder
Overrides

clearPhoneNumber()

public ResponseMessage.TelephonyTransferCall.Builder clearPhoneNumber()

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

string phone_number = 1;

Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder

This builder for chaining.

clearSipUri()

public ResponseMessage.TelephonyTransferCall.Builder clearSipUri()

Transfer the call to a SIP endpoint.

string sip_uri = 2;

Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder

This builder for chaining.

clone()

public ResponseMessage.TelephonyTransferCall.Builder clone()
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndpointCase()

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

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.

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResponseMessage.TelephonyTransferCall other)

public ResponseMessage.TelephonyTransferCall.Builder mergeFrom(ResponseMessage.TelephonyTransferCall other)
Parameter
NameDescription
otherResponseMessage.TelephonyTransferCall
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResponseMessage.TelephonyTransferCall.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ResponseMessage.TelephonyTransferCall.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResponseMessage.TelephonyTransferCall.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResponseMessage.TelephonyTransferCall.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder
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
NameDescription
valueString

The phoneNumber to set.

Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for phoneNumber to set.

Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ResponseMessage.TelephonyTransferCall.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder
Overrides

setSipUri(String value)

public ResponseMessage.TelephonyTransferCall.Builder setSipUri(String value)

Transfer the call to a SIP endpoint.

string sip_uri = 2;

Parameter
NameDescription
valueString

The sipUri to set.

Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder

This builder for chaining.

setSipUriBytes(ByteString value)

public ResponseMessage.TelephonyTransferCall.Builder setSipUriBytes(ByteString value)

Transfer the call to a SIP endpoint.

string sip_uri = 2;

Parameter
NameDescription
valueByteString

The bytes for sipUri to set.

Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ResponseMessage.TelephonyTransferCall.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResponseMessage.TelephonyTransferCall.Builder
Overrides