Class TelephonyDtmfEvents.Builder (4.7.4)

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

A wrapper of repeated TelephonyDtmf digits.

Protobuf type google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents

Static Methods

getDescriptor()

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

Methods

addAllDtmfEvents(Iterable<? extends TelephonyDtmf> values)

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

A sequence of TelephonyDtmf digits.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2beta1.TelephonyDtmf>

The dtmfEvents to add.

Returns
TypeDescription
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.v2beta1.TelephonyDtmf dtmf_events = 1;

Parameter
NameDescription
valuesIterable<Integer>

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

Returns
TypeDescription
TelephonyDtmfEvents.Builder

This builder for chaining.

addDtmfEvents(TelephonyDtmf value)

public TelephonyDtmfEvents.Builder addDtmfEvents(TelephonyDtmf value)

A sequence of TelephonyDtmf digits.

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

Parameter
NameDescription
valueTelephonyDtmf

The dtmfEvents to add.

Returns
TypeDescription
TelephonyDtmfEvents.Builder

This builder for chaining.

addDtmfEventsValue(int value)

public TelephonyDtmfEvents.Builder addDtmfEventsValue(int value)

A sequence of TelephonyDtmf digits.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
TelephonyDtmfEvents.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TelephonyDtmfEvents build()
Returns
TypeDescription
TelephonyDtmfEvents

buildPartial()

public TelephonyDtmfEvents buildPartial()
Returns
TypeDescription
TelephonyDtmfEvents

clear()

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

clearDtmfEvents()

public TelephonyDtmfEvents.Builder clearDtmfEvents()

A sequence of TelephonyDtmf digits.

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

Returns
TypeDescription
TelephonyDtmfEvents.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TelephonyDtmfEvents getDefaultInstanceForType()
Returns
TypeDescription
TelephonyDtmfEvents

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDtmfEvents(int index)

public TelephonyDtmf getDtmfEvents(int index)

A sequence of TelephonyDtmf digits.

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
TelephonyDtmf

The dtmfEvents at the given index.

getDtmfEventsCount()

public int getDtmfEventsCount()

A sequence of TelephonyDtmf digits.

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

Returns
TypeDescription
int

The count of dtmfEvents.

getDtmfEventsList()

public List<TelephonyDtmf> getDtmfEventsList()

A sequence of TelephonyDtmf digits.

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

Returns
TypeDescription
List<TelephonyDtmf>

A list containing the dtmfEvents.

getDtmfEventsValue(int index)

public int getDtmfEventsValue(int index)

A sequence of TelephonyDtmf digits.

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

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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.v2beta1.TelephonyDtmf dtmf_events = 1;

Returns
TypeDescription
List<Integer>

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TelephonyDtmfEvents other)

public TelephonyDtmfEvents.Builder mergeFrom(TelephonyDtmfEvents other)
Parameter
NameDescription
otherTelephonyDtmfEvents
Returns
TypeDescription
TelephonyDtmfEvents.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TelephonyDtmfEvents.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v2beta1.TelephonyDtmf dtmf_events = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueTelephonyDtmf

The dtmfEvents to set.

Returns
TypeDescription
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.v2beta1.TelephonyDtmf dtmf_events = 1;

Parameters
NameDescription
indexint

The index of the value to return.

valueint
Returns
TypeDescription
TelephonyDtmfEvents.Builder

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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