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
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
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.TelephonyDtmf>
The dtmfEvents to add.
|
Returns
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
Name | Description |
values | Iterable<Integer>
The enum numeric values on the wire for dtmfEvents to add.
|
Returns
addDtmfEvents(TelephonyDtmf value)
public TelephonyDtmfEvents.Builder addDtmfEvents(TelephonyDtmf value)
A sequence of TelephonyDtmf digits.
repeated .google.cloud.dialogflow.v2beta1.TelephonyDtmf dtmf_events = 1;
Parameter
Returns
addDtmfEventsValue(int value)
public TelephonyDtmfEvents.Builder addDtmfEventsValue(int value)
A sequence of TelephonyDtmf digits.
repeated .google.cloud.dialogflow.v2beta1.TelephonyDtmf dtmf_events = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for dtmfEvents to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TelephonyDtmfEvents.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TelephonyDtmfEvents build()
Returns
buildPartial()
public TelephonyDtmfEvents buildPartial()
Returns
clear()
public TelephonyDtmfEvents.Builder clear()
Returns
Overrides
clearDtmfEvents()
public TelephonyDtmfEvents.Builder clearDtmfEvents()
A sequence of TelephonyDtmf digits.
repeated .google.cloud.dialogflow.v2beta1.TelephonyDtmf dtmf_events = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public TelephonyDtmfEvents.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TelephonyDtmfEvents.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public TelephonyDtmfEvents.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TelephonyDtmfEvents getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDtmfEvents(int index)
public TelephonyDtmf getDtmfEvents(int index)
A sequence of TelephonyDtmf digits.
repeated .google.cloud.dialogflow.v2beta1.TelephonyDtmf dtmf_events = 1;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
getDtmfEventsCount()
public int getDtmfEventsCount()
A sequence of TelephonyDtmf digits.
repeated .google.cloud.dialogflow.v2beta1.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.v2beta1.TelephonyDtmf dtmf_events = 1;
Returns
getDtmfEventsValue(int index)
public int getDtmfEventsValue(int index)
A sequence of TelephonyDtmf digits.
repeated .google.cloud.dialogflow.v2beta1.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.v2beta1.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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TelephonyDtmfEvents other)
public TelephonyDtmfEvents.Builder mergeFrom(TelephonyDtmfEvents other)
Parameter
Returns
public TelephonyDtmfEvents.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TelephonyDtmfEvents.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TelephonyDtmfEvents.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Name | Description |
index | int
The index to set the value at.
|
value | TelephonyDtmf
The dtmfEvents to set.
|
Returns
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
Name | Description |
index | int
The index of the value to return.
|
value | int
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TelephonyDtmfEvents.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TelephonyDtmfEvents.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TelephonyDtmfEvents.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides