Class ConversationPhoneNumber (4.7.2)

public final class ConversationPhoneNumber extends GeneratedMessageV3 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 Fields

PHONE_NUMBER_FIELD_NUMBER

public static final int PHONE_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConversationPhoneNumber getDefaultInstance()
Returns
TypeDescription
ConversationPhoneNumber

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ConversationPhoneNumber.Builder newBuilder()
Returns
TypeDescription
ConversationPhoneNumber.Builder

newBuilder(ConversationPhoneNumber prototype)

public static ConversationPhoneNumber.Builder newBuilder(ConversationPhoneNumber prototype)
Parameter
NameDescription
prototypeConversationPhoneNumber
Returns
TypeDescription
ConversationPhoneNumber.Builder

parseDelimitedFrom(InputStream input)

public static ConversationPhoneNumber parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConversationPhoneNumber
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationPhoneNumber parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationPhoneNumber
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ConversationPhoneNumber parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ConversationPhoneNumber
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConversationPhoneNumber parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationPhoneNumber
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConversationPhoneNumber parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ConversationPhoneNumber
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConversationPhoneNumber parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationPhoneNumber
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConversationPhoneNumber parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ConversationPhoneNumber
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationPhoneNumber parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationPhoneNumber
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ConversationPhoneNumber parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConversationPhoneNumber
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationPhoneNumber parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationPhoneNumber
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ConversationPhoneNumber parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ConversationPhoneNumber
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConversationPhoneNumber parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationPhoneNumber
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ConversationPhoneNumber> parser()
Returns
TypeDescription
Parser<ConversationPhoneNumber>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ConversationPhoneNumber getDefaultInstanceForType()
Returns
TypeDescription
ConversationPhoneNumber

getParserForType()

public Parser<ConversationPhoneNumber> getParserForType()
Returns
TypeDescription
Parser<ConversationPhoneNumber>
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
TypeDescription
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
TypeDescription
ByteString

The bytes for phoneNumber.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ConversationPhoneNumber.Builder newBuilderForType()
Returns
TypeDescription
ConversationPhoneNumber.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConversationPhoneNumber.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ConversationPhoneNumber.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ConversationPhoneNumber.Builder toBuilder()
Returns
TypeDescription
ConversationPhoneNumber.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException