Send feedback
Class ConversationPhoneNumber.Builder (4.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.0 keyboard_arrow_down
public static final class ConversationPhoneNumber . Builder extends GeneratedMessageV3 . Builder<ConversationPhoneNumber . Builder > implements ConversationPhoneNumberOrBuilder
Represents a phone number for telephony integration. It allows for connecting
a particular conversation over telephony.
Protobuf type google.cloud.dialogflow.v2beta1.ConversationPhoneNumber
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationPhoneNumber . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ConversationPhoneNumber build ()
Returns
buildPartial()
public ConversationPhoneNumber buildPartial ()
Returns
clear()
public ConversationPhoneNumber . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConversationPhoneNumber . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationPhoneNumber . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearPhoneNumber()
public ConversationPhoneNumber . Builder clearPhoneNumber ()
Output only. The phone number to connect to this conversation.
string phone_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clone()
public ConversationPhoneNumber . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ConversationPhoneNumber getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getPhoneNumber()
public String getPhoneNumber ()
Output only. The phone number to connect to this conversation.
string phone_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type Description String The phoneNumber.
getPhoneNumberBytes()
public ByteString getPhoneNumberBytes ()
Output only. The phone number to connect to this conversation.
string phone_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type Description ByteString The bytes for phoneNumber.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ConversationPhoneNumber other)
public ConversationPhoneNumber . Builder mergeFrom ( ConversationPhoneNumber other )
Parameter
Returns
public ConversationPhoneNumber . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ConversationPhoneNumber . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationPhoneNumber . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationPhoneNumber . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setPhoneNumber(String value)
public ConversationPhoneNumber . Builder setPhoneNumber ( String value )
Output only. The phone number to connect to this conversation.
string phone_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name Description value String
The phoneNumber to set.
Returns
setPhoneNumberBytes(ByteString value)
public ConversationPhoneNumber . Builder setPhoneNumberBytes ( ByteString value )
Output only. The phone number to connect to this conversation.
string phone_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name Description value ByteString
The bytes for phoneNumber to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationPhoneNumber . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationPhoneNumber . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]