Class TelephonyDtmfEvents.Builder (4.58.0)

public static final class TelephonyDtmfEvents.Builder extends GeneratedMessageV3.Builder<TelephonyDtmfEvents.Builder> implements TelephonyDtmfEventsOrBuilder

A wrapper of repeated TelephonyDtmf digits.

Protobuf type google.cloud.dialogflow.v2.TelephonyDtmfEvents

Static Methods

getDescriptor()

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

Methods

addAllDtmfEvents(Iterable<? extends TelephonyDtmf> values)

public TelephonyDtmfEvents.Builder addAllDtmfEvents(Iterable<? extends TelephonyDtmf> values)

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2.TelephonyDtmf dtmf_events = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2.TelephonyDtmf>

The dtmfEvents to add.

Returns
Type Description
TelephonyDtmfEvents.Builder

This builder for chaining.

addAllDtmfEventsValue(Iterable<Integer> values)

public TelephonyDtmfEvents.Builder addAllDtmfEventsValue(Iterable<Integer> values)

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2.TelephonyDtmf dtmf_events = 1;

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for dtmfEvents to add.

Returns
Type Description
TelephonyDtmfEvents.Builder

This builder for chaining.

addDtmfEvents(TelephonyDtmf value)

public TelephonyDtmfEvents.Builder addDtmfEvents(TelephonyDtmf value)

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2.TelephonyDtmf dtmf_events = 1;

Parameter
Name Description
value TelephonyDtmf

The dtmfEvents to add.

Returns
Type Description
TelephonyDtmfEvents.Builder

This builder for chaining.

addDtmfEventsValue(int value)

public TelephonyDtmfEvents.Builder addDtmfEventsValue(int value)

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2.TelephonyDtmf dtmf_events = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for dtmfEvents to add.

Returns
Type Description
TelephonyDtmfEvents.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TelephonyDtmfEvents build()
Returns
Type Description
TelephonyDtmfEvents

buildPartial()

public TelephonyDtmfEvents buildPartial()
Returns
Type Description
TelephonyDtmfEvents

clear()

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

clearDtmfEvents()

public TelephonyDtmfEvents.Builder clearDtmfEvents()

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2.TelephonyDtmf dtmf_events = 1;

Returns
Type Description
TelephonyDtmfEvents.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TelephonyDtmfEvents getDefaultInstanceForType()
Returns
Type Description
TelephonyDtmfEvents

getDescriptorForType()

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

getDtmfEvents(int index)

public TelephonyDtmf getDtmfEvents(int index)

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2.TelephonyDtmf dtmf_events = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
TelephonyDtmf

The dtmfEvents at the given index.

getDtmfEventsCount()

public int getDtmfEventsCount()

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2.TelephonyDtmf dtmf_events = 1;

Returns
Type Description
int

The count of dtmfEvents.

getDtmfEventsList()

public List<TelephonyDtmf> getDtmfEventsList()

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2.TelephonyDtmf dtmf_events = 1;

Returns
Type Description
List<TelephonyDtmf>

A list containing the dtmfEvents.

getDtmfEventsValue(int index)

public int getDtmfEventsValue(int index)

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2.TelephonyDtmf dtmf_events = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of dtmfEvents at the given index.

getDtmfEventsValueList()

public List<Integer> getDtmfEventsValueList()

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2.TelephonyDtmf dtmf_events = 1;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for dtmfEvents.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TelephonyDtmfEvents other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDtmfEvents(int index, TelephonyDtmf value)

public TelephonyDtmfEvents.Builder setDtmfEvents(int index, TelephonyDtmf value)

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2.TelephonyDtmf dtmf_events = 1;

Parameters
Name Description
index int

The index to set the value at.

value TelephonyDtmf

The dtmfEvents to set.

Returns
Type Description
TelephonyDtmfEvents.Builder

This builder for chaining.

setDtmfEventsValue(int index, int value)

public TelephonyDtmfEvents.Builder setDtmfEventsValue(int index, int value)

A sequence of TelephonyDtmf digits.

repeated .google.cloud.dialogflow.v2.TelephonyDtmf dtmf_events = 1;

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for dtmfEvents to set.

Returns
Type Description
TelephonyDtmfEvents.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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