Class DtmfInput (0.65.0)

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
Type Description
int

FINISH_DIGIT_FIELD_NUMBER

public static final int FINISH_DIGIT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DtmfInput getDefaultInstance()
Returns
Type Description
DtmfInput

getDescriptor()

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

newBuilder()

public static DtmfInput.Builder newBuilder()
Returns
Type Description
DtmfInput.Builder

newBuilder(DtmfInput prototype)

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

parseDelimitedFrom(InputStream input)

public static DtmfInput parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DtmfInput
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DtmfInput parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DtmfInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DtmfInput parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DtmfInput
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DtmfInput parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DtmfInput
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DtmfInput parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DtmfInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DtmfInput> parser()
Returns
Type Description
Parser<DtmfInput>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DtmfInput getDefaultInstanceForType()
Returns
Type Description
DtmfInput

getDigits()

public String getDigits()

The dtmf digits.

string digits = 1;

Returns
Type Description
String

The digits.

getDigitsBytes()

public ByteString getDigitsBytes()

The dtmf digits.

string digits = 1;

Returns
Type Description
ByteString

The bytes for digits.

getFinishDigit()

public String getFinishDigit()

The finish digit (if any).

string finish_digit = 2;

Returns
Type Description
String

The finishDigit.

getFinishDigitBytes()

public ByteString getFinishDigitBytes()

The finish digit (if any).

string finish_digit = 2;

Returns
Type Description
ByteString

The bytes for finishDigit.

getParserForType()

public Parser<DtmfInput> getParserForType()
Returns
Type Description
Parser<DtmfInput>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 DtmfInput.Builder newBuilderForType()
Returns
Type Description
DtmfInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DtmfInput.Builder toBuilder()
Returns
Type Description
DtmfInput.Builder

writeTo(CodedOutputStream output)

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