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
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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