Class TelephonyDtmfEvents (4.6.0)

public final class TelephonyDtmfEvents extends GeneratedMessageV3 implements TelephonyDtmfEventsOrBuilder

A wrapper of repeated TelephonyDtmf digits.

Protobuf type google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents

Static Fields

DTMF_EVENTS_FIELD_NUMBER

public static final int DTMF_EVENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TelephonyDtmfEvents getDefaultInstance()
Returns
TypeDescription
TelephonyDtmfEvents

getDescriptor()

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

newBuilder()

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

newBuilder(TelephonyDtmfEvents prototype)

public static TelephonyDtmfEvents.Builder newBuilder(TelephonyDtmfEvents prototype)
Parameter
NameDescription
prototypeTelephonyDtmfEvents
Returns
TypeDescription
TelephonyDtmfEvents.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TelephonyDtmfEvents getDefaultInstanceForType()
Returns
TypeDescription
TelephonyDtmfEvents

getDtmfEvents(int index)

public TelephonyDtmf getDtmfEvents(int index)

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2beta1.TelephonyDtmf dtmf_events = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
TelephonyDtmf

The dtmfEvents at the given index.

getDtmfEventsCount()

public int getDtmfEventsCount()

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2beta1.TelephonyDtmf dtmf_events = 1;

Returns
TypeDescription
int

The count of dtmfEvents.

getDtmfEventsList()

public List<TelephonyDtmf> getDtmfEventsList()

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2beta1.TelephonyDtmf dtmf_events = 1;

Returns
TypeDescription
List<TelephonyDtmf>

A list containing the dtmfEvents.

getDtmfEventsValue(int index)

public int getDtmfEventsValue(int index)

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2beta1.TelephonyDtmf dtmf_events = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of dtmfEvents at the given index.

getDtmfEventsValueList()

public List<Integer> getDtmfEventsValueList()

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2beta1.TelephonyDtmf dtmf_events = 1;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for dtmfEvents.

getParserForType()

public Parser<TelephonyDtmfEvents> getParserForType()
Returns
TypeDescription
Parser<TelephonyDtmfEvents>
Overrides

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 TelephonyDtmfEvents.Builder newBuilderForType()
Returns
TypeDescription
TelephonyDtmfEvents.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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