Class DtmfParameters.Builder (4.54.0)

public static final class DtmfParameters.Builder extends GeneratedMessageV3.Builder<DtmfParameters.Builder> implements DtmfParametersOrBuilder

The message in the response that indicates the parameters of DTMF.

Protobuf type google.cloud.dialogflow.v2.DtmfParameters

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DtmfParameters build()
Returns
Type Description
DtmfParameters

buildPartial()

public DtmfParameters buildPartial()
Returns
Type Description
DtmfParameters

clear()

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

clearAcceptsDtmfInput()

public DtmfParameters.Builder clearAcceptsDtmfInput()

Indicates whether DTMF input can be handled in the next request.

bool accepts_dtmf_input = 1;

Returns
Type Description
DtmfParameters.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAcceptsDtmfInput()

public boolean getAcceptsDtmfInput()

Indicates whether DTMF input can be handled in the next request.

bool accepts_dtmf_input = 1;

Returns
Type Description
boolean

The acceptsDtmfInput.

getDefaultInstanceForType()

public DtmfParameters getDefaultInstanceForType()
Returns
Type Description
DtmfParameters

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DtmfParameters other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAcceptsDtmfInput(boolean value)

public DtmfParameters.Builder setAcceptsDtmfInput(boolean value)

Indicates whether DTMF input can be handled in the next request.

bool accepts_dtmf_input = 1;

Parameter
Name Description
value boolean

The acceptsDtmfInput to set.

Returns
Type Description
DtmfParameters.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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