Class DtmfInput.Builder (0.14.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.v3.DtmfInput

Implements

DtmfInputOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DtmfInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DtmfInput.Builder
Overrides

build()

public DtmfInput build()
Returns
TypeDescription
DtmfInput

buildPartial()

public DtmfInput buildPartial()
Returns
TypeDescription
DtmfInput

clear()

public DtmfInput.Builder clear()
Returns
TypeDescription
DtmfInput.Builder
Overrides

clearDigits()

public DtmfInput.Builder clearDigits()

The dtmf digits.

string digits = 1;

Returns
TypeDescription
DtmfInput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DtmfInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DtmfInput.Builder
Overrides

clearFinishDigit()

public DtmfInput.Builder clearFinishDigit()

The finish digit (if any).

string finish_digit = 2;

Returns
TypeDescription
DtmfInput.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DtmfInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DtmfInput.Builder
Overrides

clone()

public DtmfInput.Builder clone()
Returns
TypeDescription
DtmfInput.Builder
Overrides

getDefaultInstanceForType()

public DtmfInput getDefaultInstanceForType()
Returns
TypeDescription
DtmfInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DtmfInput other)

public DtmfInput.Builder mergeFrom(DtmfInput other)
Parameter
NameDescription
otherDtmfInput
Returns
TypeDescription
DtmfInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DtmfInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DtmfInput.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DtmfInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DtmfInput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DtmfInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DtmfInput.Builder
Overrides

setDigits(String value)

public DtmfInput.Builder setDigits(String value)

The dtmf digits.

string digits = 1;

Parameter
NameDescription
valueString

The digits to set.

Returns
TypeDescription
DtmfInput.Builder

This builder for chaining.

setDigitsBytes(ByteString value)

public DtmfInput.Builder setDigitsBytes(ByteString value)

The dtmf digits.

string digits = 1;

Parameter
NameDescription
valueByteString

The bytes for digits to set.

Returns
TypeDescription
DtmfInput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DtmfInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DtmfInput.Builder
Overrides

setFinishDigit(String value)

public DtmfInput.Builder setFinishDigit(String value)

The finish digit (if any).

string finish_digit = 2;

Parameter
NameDescription
valueString

The finishDigit to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for finishDigit to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DtmfInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DtmfInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DtmfInput.Builder
Overrides