Class DtmfInput.Builder (0.54.0)

public static final class DtmfInput.Builder extends GeneratedMessageV3.Builder<DtmfInput.Builder> implements DtmfInputOrBuilder

Represents the input for dtmf event.

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

Implements

DtmfInputOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DtmfInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DtmfInput.Builder
Overrides

build()

public DtmfInput build()
Returns
Type Description
DtmfInput

buildPartial()

public DtmfInput buildPartial()
Returns
Type Description
DtmfInput

clear()

public DtmfInput.Builder clear()
Returns
Type Description
DtmfInput.Builder
Overrides

clearDigits()

public DtmfInput.Builder clearDigits()

The dtmf digits.

string digits = 1;

Returns
Type Description
DtmfInput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DtmfInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DtmfInput.Builder
Overrides

clearFinishDigit()

public DtmfInput.Builder clearFinishDigit()

The finish digit (if any).

string finish_digit = 2;

Returns
Type Description
DtmfInput.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DtmfInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DtmfInput.Builder
Overrides

clone()

public DtmfInput.Builder clone()
Returns
Type Description
DtmfInput.Builder
Overrides

getDefaultInstanceForType()

public DtmfInput getDefaultInstanceForType()
Returns
Type Description
DtmfInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DtmfInput other)

public DtmfInput.Builder mergeFrom(DtmfInput other)
Parameter
Name Description
other DtmfInput
Returns
Type Description
DtmfInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DtmfInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DtmfInput.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DtmfInput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DtmfInput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DtmfInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DtmfInput.Builder
Overrides

setDigits(String value)

public DtmfInput.Builder setDigits(String value)

The dtmf digits.

string digits = 1;

Parameter
Name Description
value String

The digits to set.

Returns
Type Description
DtmfInput.Builder

This builder for chaining.

setDigitsBytes(ByteString value)

public DtmfInput.Builder setDigitsBytes(ByteString value)

The dtmf digits.

string digits = 1;

Parameter
Name Description
value ByteString

The bytes for digits to set.

Returns
Type Description
DtmfInput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DtmfInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DtmfInput.Builder
Overrides

setFinishDigit(String value)

public DtmfInput.Builder setFinishDigit(String value)

The finish digit (if any).

string finish_digit = 2;

Parameter
Name Description
value String

The finishDigit to set.

Returns
Type Description
DtmfInput.Builder

This builder for chaining.

setFinishDigitBytes(ByteString value)

public DtmfInput.Builder setFinishDigitBytes(ByteString value)

The finish digit (if any).

string finish_digit = 2;

Parameter
Name Description
value ByteString

The bytes for finishDigit to set.

Returns
Type Description
DtmfInput.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DtmfInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DtmfInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DtmfInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DtmfInput.Builder
Overrides