Class ResponseMessage.TelephonyTransferCall.Builder (0.66.0)

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.cx.v3beta1.ResponseMessage.TelephonyTransferCall

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResponseMessage.TelephonyTransferCall.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ResponseMessage.TelephonyTransferCall.Builder clear()
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder
Overrides

clearEndpoint()

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

clearField(Descriptors.FieldDescriptor field)

public ResponseMessage.TelephonyTransferCall.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResponseMessage.TelephonyTransferCall.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
ResponseMessage.TelephonyTransferCall.Builder

This builder for chaining.

clone()

public ResponseMessage.TelephonyTransferCall.Builder clone()
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndpointCase()

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

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResponseMessage.TelephonyTransferCall other)

public ResponseMessage.TelephonyTransferCall.Builder mergeFrom(ResponseMessage.TelephonyTransferCall other)
Parameter
Name Description
other ResponseMessage.TelephonyTransferCall
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResponseMessage.TelephonyTransferCall.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ResponseMessage.TelephonyTransferCall.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResponseMessage.TelephonyTransferCall.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResponseMessage.TelephonyTransferCall.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The phoneNumber to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for phoneNumber to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResponseMessage.TelephonyTransferCall.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResponseMessage.TelephonyTransferCall.Builder
Overrides