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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationPhoneNumber.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConversationPhoneNumber build()
buildPartial()
public ConversationPhoneNumber buildPartial()
clear()
public ConversationPhoneNumber.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConversationPhoneNumber.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationPhoneNumber.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public ConversationPhoneNumber.Builder clone()
Overrides
getDefaultInstanceForType()
public ConversationPhoneNumber getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ConversationPhoneNumber other)
public ConversationPhoneNumber.Builder mergeFrom(ConversationPhoneNumber other)
public ConversationPhoneNumber.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConversationPhoneNumber.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationPhoneNumber.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationPhoneNumber.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationPhoneNumber.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationPhoneNumber.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides