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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.TelephonyTransferCall.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Intent.Message.TelephonyTransferCall build()
Returns
buildPartial()
public Intent.Message.TelephonyTransferCall buildPartial()
Returns
clear()
public Intent.Message.TelephonyTransferCall.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.TelephonyTransferCall.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.TelephonyTransferCall.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public Intent.Message.TelephonyTransferCall.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.TelephonyTransferCall getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Intent.Message.TelephonyTransferCall other)
public Intent.Message.TelephonyTransferCall.Builder mergeFrom(Intent.Message.TelephonyTransferCall other)
Parameter
Returns
public Intent.Message.TelephonyTransferCall.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Intent.Message.TelephonyTransferCall.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.TelephonyTransferCall.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.TelephonyTransferCall.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.TelephonyTransferCall.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.TelephonyTransferCall.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides