Class DtmfParameters.Builder (4.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DtmfParameters build()
Returns
TypeDescription
DtmfParameters

buildPartial()

public DtmfParameters buildPartial()
Returns
TypeDescription
DtmfParameters

clear()

public DtmfParameters.Builder clear()
Returns
TypeDescription
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
TypeDescription
DtmfParameters.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAcceptsDtmfInput()

public boolean getAcceptsDtmfInput()

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

bool accepts_dtmf_input = 1;

Returns
TypeDescription
boolean

The acceptsDtmfInput.

getDefaultInstanceForType()

public DtmfParameters getDefaultInstanceForType()
Returns
TypeDescription
DtmfParameters

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DtmfParameters other)

public DtmfParameters.Builder mergeFrom(DtmfParameters other)
Parameter
NameDescription
otherDtmfParameters
Returns
TypeDescription
DtmfParameters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DtmfParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The acceptsDtmfInput to set.

Returns
TypeDescription
DtmfParameters.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DtmfParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DtmfParameters.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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