Class Intent.Message.TelephonyTransferCall.Builder (4.7.5)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Intent.Message.TelephonyTransferCall build()
Returns
TypeDescription
Intent.Message.TelephonyTransferCall

buildPartial()

public Intent.Message.TelephonyTransferCall buildPartial()
Returns
TypeDescription
Intent.Message.TelephonyTransferCall

clear()

public Intent.Message.TelephonyTransferCall.Builder clear()
Returns
TypeDescription
Intent.Message.TelephonyTransferCall.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Intent.Message.TelephonyTransferCall.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Intent.Message.TelephonyTransferCall.Builder

This builder for chaining.

clone()

public Intent.Message.TelephonyTransferCall.Builder clone()
Returns
TypeDescription
Intent.Message.TelephonyTransferCall.Builder
Overrides

getDefaultInstanceForType()

public Intent.Message.TelephonyTransferCall getDefaultInstanceForType()
Returns
TypeDescription
Intent.Message.TelephonyTransferCall

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for phoneNumber.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Intent.Message.TelephonyTransferCall other)

public Intent.Message.TelephonyTransferCall.Builder mergeFrom(Intent.Message.TelephonyTransferCall other)
Parameter
NameDescription
otherIntent.Message.TelephonyTransferCall
Returns
TypeDescription
Intent.Message.TelephonyTransferCall.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The phoneNumber to set.

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

The bytes for phoneNumber to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Intent.Message.TelephonyTransferCall.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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