Class Conversation.TelephonyConnectionInfo (4.64.0)

public static final class Conversation.TelephonyConnectionInfo extends GeneratedMessageV3 implements Conversation.TelephonyConnectionInfoOrBuilder

The information about phone calls connected via phone gateway to the conversation.

Protobuf type google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Conversation.TelephonyConnectionInfo

Static Fields

DIALED_NUMBER_FIELD_NUMBER

public static final int DIALED_NUMBER_FIELD_NUMBER
Field Value
Type Description
int

EXTRA_MIME_CONTENTS_FIELD_NUMBER

public static final int EXTRA_MIME_CONTENTS_FIELD_NUMBER
Field Value
Type Description
int

SDP_FIELD_NUMBER

public static final int SDP_FIELD_NUMBER
Field Value
Type Description
int

SIP_HEADERS_FIELD_NUMBER

public static final int SIP_HEADERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Conversation.TelephonyConnectionInfo getDefaultInstance()
Returns
Type Description
Conversation.TelephonyConnectionInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Conversation.TelephonyConnectionInfo.Builder newBuilder()
Returns
Type Description
Conversation.TelephonyConnectionInfo.Builder

newBuilder(Conversation.TelephonyConnectionInfo prototype)

public static Conversation.TelephonyConnectionInfo.Builder newBuilder(Conversation.TelephonyConnectionInfo prototype)
Parameter
Name Description
prototype Conversation.TelephonyConnectionInfo
Returns
Type Description
Conversation.TelephonyConnectionInfo.Builder

parseDelimitedFrom(InputStream input)

public static Conversation.TelephonyConnectionInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Conversation.TelephonyConnectionInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Conversation.TelephonyConnectionInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.TelephonyConnectionInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Conversation.TelephonyConnectionInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Conversation.TelephonyConnectionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Conversation.TelephonyConnectionInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.TelephonyConnectionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Conversation.TelephonyConnectionInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Conversation.TelephonyConnectionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Conversation.TelephonyConnectionInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.TelephonyConnectionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Conversation.TelephonyConnectionInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Conversation.TelephonyConnectionInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Conversation.TelephonyConnectionInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.TelephonyConnectionInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Conversation.TelephonyConnectionInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Conversation.TelephonyConnectionInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Conversation.TelephonyConnectionInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.TelephonyConnectionInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Conversation.TelephonyConnectionInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Conversation.TelephonyConnectionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Conversation.TelephonyConnectionInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Conversation.TelephonyConnectionInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Conversation.TelephonyConnectionInfo> parser()
Returns
Type Description
Parser<TelephonyConnectionInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Conversation.TelephonyConnectionInfo getDefaultInstanceForType()
Returns
Type Description
Conversation.TelephonyConnectionInfo

getDialedNumber()

public String getDialedNumber()

Output only. The number dialed to connect this call in E.164 format.

string dialed_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dialedNumber.

getDialedNumberBytes()

public ByteString getDialedNumberBytes()

Output only. The number dialed to connect this call in E.164 format.

string dialed_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for dialedNumber.

getExtraMimeContents(int index)

public Conversation.TelephonyConnectionInfo.MimeContent getExtraMimeContents(int index)

Output only. The mime content from the initial SIP INVITE.

repeated .google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.MimeContent extra_mime_contents = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContent

getExtraMimeContentsCount()

public int getExtraMimeContentsCount()

Output only. The mime content from the initial SIP INVITE.

repeated .google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.MimeContent extra_mime_contents = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getExtraMimeContentsList()

public List<Conversation.TelephonyConnectionInfo.MimeContent> getExtraMimeContentsList()

Output only. The mime content from the initial SIP INVITE.

repeated .google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.MimeContent extra_mime_contents = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<MimeContent>

getExtraMimeContentsOrBuilder(int index)

public Conversation.TelephonyConnectionInfo.MimeContentOrBuilder getExtraMimeContentsOrBuilder(int index)

Output only. The mime content from the initial SIP INVITE.

repeated .google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.MimeContent extra_mime_contents = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Conversation.TelephonyConnectionInfo.MimeContentOrBuilder

getExtraMimeContentsOrBuilderList()

public List<? extends Conversation.TelephonyConnectionInfo.MimeContentOrBuilder> getExtraMimeContentsOrBuilderList()

Output only. The mime content from the initial SIP INVITE.

repeated .google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.MimeContent extra_mime_contents = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.MimeContentOrBuilder>

getParserForType()

public Parser<Conversation.TelephonyConnectionInfo> getParserForType()
Returns
Type Description
Parser<TelephonyConnectionInfo>
Overrides

getSdp()

public String getSdp()

Optional. SDP of the call. It's initially the SDP answer to the endpoint, but maybe later updated for the purpose of making the link active, etc.

string sdp = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sdp.

getSdpBytes()

public ByteString getSdpBytes()

Optional. SDP of the call. It's initially the SDP answer to the endpoint, but maybe later updated for the purpose of making the link active, etc.

string sdp = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sdp.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSipHeaders(int index)

public Conversation.TelephonyConnectionInfo.SipHeader getSipHeaders(int index)

Output only. The SIP headers from the initial SIP INVITE.

repeated .google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.SipHeader sip_headers = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Conversation.TelephonyConnectionInfo.SipHeader

getSipHeadersCount()

public int getSipHeadersCount()

Output only. The SIP headers from the initial SIP INVITE.

repeated .google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.SipHeader sip_headers = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getSipHeadersList()

public List<Conversation.TelephonyConnectionInfo.SipHeader> getSipHeadersList()

Output only. The SIP headers from the initial SIP INVITE.

repeated .google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.SipHeader sip_headers = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<SipHeader>

getSipHeadersOrBuilder(int index)

public Conversation.TelephonyConnectionInfo.SipHeaderOrBuilder getSipHeadersOrBuilder(int index)

Output only. The SIP headers from the initial SIP INVITE.

repeated .google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.SipHeader sip_headers = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Conversation.TelephonyConnectionInfo.SipHeaderOrBuilder

getSipHeadersOrBuilderList()

public List<? extends Conversation.TelephonyConnectionInfo.SipHeaderOrBuilder> getSipHeadersOrBuilderList()

Output only. The SIP headers from the initial SIP INVITE.

repeated .google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.SipHeader sip_headers = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.Conversation.TelephonyConnectionInfo.SipHeaderOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Conversation.TelephonyConnectionInfo.Builder newBuilderForType()
Returns
Type Description
Conversation.TelephonyConnectionInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Conversation.TelephonyConnectionInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Conversation.TelephonyConnectionInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Conversation.TelephonyConnectionInfo.Builder toBuilder()
Returns
Type Description
Conversation.TelephonyConnectionInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException