Class Intent.Message.TelephonyTransferCall.Builder (4.54.0)

public static final class Intent.Message.TelephonyTransferCall.Builder extends GeneratedMessageV3.Builder<Intent.Message.TelephonyTransferCall.Builder> implements Intent.Message.TelephonyTransferCallOrBuilder

Transfers the call in Telephony Gateway.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Intent.Message.TelephonyTransferCall build()
Returns
Type Description
Intent.Message.TelephonyTransferCall

buildPartial()

public Intent.Message.TelephonyTransferCall buildPartial()
Returns
Type Description
Intent.Message.TelephonyTransferCall

clear()

public Intent.Message.TelephonyTransferCall.Builder clear()
Returns
Type Description
Intent.Message.TelephonyTransferCall.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.Message.TelephonyTransferCall.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Intent.Message.TelephonyTransferCall.Builder
Overrides

clearPhoneNumber()

public Intent.Message.TelephonyTransferCall.Builder clearPhoneNumber()

Required. The phone number to transfer the call to in E.164 format.

We currently only allow transferring to US numbers (+1xxxyyyzzzz).

string phone_number = 1;

Returns
Type Description
Intent.Message.TelephonyTransferCall.Builder

This builder for chaining.

clone()

public Intent.Message.TelephonyTransferCall.Builder clone()
Returns
Type Description
Intent.Message.TelephonyTransferCall.Builder
Overrides

getDefaultInstanceForType()

public Intent.Message.TelephonyTransferCall getDefaultInstanceForType()
Returns
Type Description
Intent.Message.TelephonyTransferCall

getDescriptorForType()

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

getPhoneNumber()

public String getPhoneNumber()

Required. The phone number to transfer the call to in E.164 format.

We currently only allow transferring to US numbers (+1xxxyyyzzzz).

string phone_number = 1;

Returns
Type Description
String

The phoneNumber.

getPhoneNumberBytes()

public ByteString getPhoneNumberBytes()

Required. The phone number to transfer the call to in E.164 format.

We currently only allow transferring to US numbers (+1xxxyyyzzzz).

string phone_number = 1;

Returns
Type Description
ByteString

The bytes for phoneNumber.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Intent.Message.TelephonyTransferCall other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Intent.Message.TelephonyTransferCall.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Intent.Message.TelephonyTransferCall.Builder
Overrides

setPhoneNumber(String value)

public Intent.Message.TelephonyTransferCall.Builder setPhoneNumber(String value)

Required. The phone number to transfer the call to in E.164 format.

We currently only allow transferring to US numbers (+1xxxyyyzzzz).

string phone_number = 1;

Parameter
Name Description
value String

The phoneNumber to set.

Returns
Type Description
Intent.Message.TelephonyTransferCall.Builder

This builder for chaining.

setPhoneNumberBytes(ByteString value)

public Intent.Message.TelephonyTransferCall.Builder setPhoneNumberBytes(ByteString value)

Required. The phone number to transfer the call to in E.164 format.

We currently only allow transferring to US numbers (+1xxxyyyzzzz).

string phone_number = 1;

Parameter
Name Description
value ByteString

The bytes for phoneNumber to set.

Returns
Type Description
Intent.Message.TelephonyTransferCall.Builder

This builder for chaining.

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

public Intent.Message.TelephonyTransferCall.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Intent.Message.TelephonyTransferCall.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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