Class DtmfInput (0.14.1)

public final class DtmfInput extends GeneratedMessageV3 implements DtmfInputOrBuilder

Represents the input for dtmf event.

Protobuf type google.cloud.dialogflow.cx.v3beta1.DtmfInput

Implements

DtmfInputOrBuilder

Static Fields

DIGITS_FIELD_NUMBER

public static final int DIGITS_FIELD_NUMBER
Field Value
TypeDescription
int

FINISH_DIGIT_FIELD_NUMBER

public static final int FINISH_DIGIT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DtmfInput getDefaultInstance()
Returns
TypeDescription
DtmfInput

getDescriptor()

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

newBuilder()

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

newBuilder(DtmfInput prototype)

public static DtmfInput.Builder newBuilder(DtmfInput prototype)
Parameter
NameDescription
prototypeDtmfInput
Returns
TypeDescription
DtmfInput.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DtmfInput getDefaultInstanceForType()
Returns
TypeDescription
DtmfInput

getDigits()

public String getDigits()

The dtmf digits.

string digits = 1;

Returns
TypeDescription
String

The digits.

getDigitsBytes()

public ByteString getDigitsBytes()

The dtmf digits.

string digits = 1;

Returns
TypeDescription
ByteString

The bytes for digits.

getFinishDigit()

public String getFinishDigit()

The finish digit (if any).

string finish_digit = 2;

Returns
TypeDescription
String

The finishDigit.

getFinishDigitBytes()

public ByteString getFinishDigitBytes()

The finish digit (if any).

string finish_digit = 2;

Returns
TypeDescription
ByteString

The bytes for finishDigit.

getParserForType()

public Parser<DtmfInput> getParserForType()
Returns
TypeDescription
Parser<DtmfInput>
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 DtmfInput.Builder newBuilderForType()
Returns
TypeDescription
DtmfInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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