public static final class DtmfInput.Builder extends GeneratedMessageV3.Builder<DtmfInput.Builder> implements DtmfInputOrBuilder
Represents the input for dtmf event.
Protobuf type google.cloud.dialogflow.cx.v3.DtmfInput
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public DtmfInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
Returns
public DtmfInput buildPartial()
Returns
public DtmfInput.Builder clear()
Returns
Overrides
public DtmfInput.Builder clearDigits()
The dtmf digits.
string digits = 1;
Returns
public DtmfInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DtmfInput.Builder clearFinishDigit()
The finish digit (if any).
string finish_digit = 2;
Returns
public DtmfInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DtmfInput.Builder clone()
Returns
Overrides
public DtmfInput getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getDigits()
The dtmf digits.
string digits = 1;
Returns
Type |
Description |
String |
The digits.
|
public ByteString getDigitsBytes()
The dtmf digits.
string digits = 1;
Returns
public String getFinishDigit()
The finish digit (if any).
string finish_digit = 2;
Returns
Type |
Description |
String |
The finishDigit.
|
public ByteString getFinishDigitBytes()
The finish digit (if any).
string finish_digit = 2;
Returns
Type |
Description |
ByteString |
The bytes for finishDigit.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DtmfInput.Builder mergeFrom(DtmfInput other)
Parameter
Returns
public DtmfInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DtmfInput.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final DtmfInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public DtmfInput.Builder setDigits(String value)
The dtmf digits.
string digits = 1;
Parameter
Name |
Description |
value |
String
The digits to set.
|
Returns
public DtmfInput.Builder setDigitsBytes(ByteString value)
The dtmf digits.
string digits = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for digits to set.
|
Returns
public DtmfInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DtmfInput.Builder setFinishDigit(String value)
The finish digit (if any).
string finish_digit = 2;
Parameter
Name |
Description |
value |
String
The finishDigit to set.
|
Returns
public DtmfInput.Builder setFinishDigitBytes(ByteString value)
The finish digit (if any).
string finish_digit = 2;
Parameter
Name |
Description |
value |
ByteString
The bytes for finishDigit to set.
|
Returns
public DtmfInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DtmfInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides