public static final class WebhookRequest.IntentInfo.IntentParameterValue.Builder extends GeneratedMessageV3.Builder<WebhookRequest.IntentInfo.IntentParameterValue.Builder> implements WebhookRequest.IntentInfo.IntentParameterValueOrBuilder
Represents a value for an intent parameter.
Protobuf type
google.cloud.dialogflow.cx.v3beta1.WebhookRequest.IntentInfo.IntentParameterValue
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WebhookRequest.IntentInfo.IntentParameterValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WebhookRequest.IntentInfo.IntentParameterValue build()
Returns
buildPartial()
public WebhookRequest.IntentInfo.IntentParameterValue buildPartial()
Returns
clear()
public WebhookRequest.IntentInfo.IntentParameterValue.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WebhookRequest.IntentInfo.IntentParameterValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WebhookRequest.IntentInfo.IntentParameterValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOriginalValue()
public WebhookRequest.IntentInfo.IntentParameterValue.Builder clearOriginalValue()
Always present. Original text value extracted from user utterance.
string original_value = 1;
Returns
clearResolvedValue()
public WebhookRequest.IntentInfo.IntentParameterValue.Builder clearResolvedValue()
Always present. Structured value for the parameter extracted from user
utterance.
.google.protobuf.Value resolved_value = 2;
Returns
clone()
public WebhookRequest.IntentInfo.IntentParameterValue.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WebhookRequest.IntentInfo.IntentParameterValue getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getOriginalValue()
public String getOriginalValue()
Always present. Original text value extracted from user utterance.
string original_value = 1;
Returns
Type |
Description |
String |
The originalValue.
|
getOriginalValueBytes()
public ByteString getOriginalValueBytes()
Always present. Original text value extracted from user utterance.
string original_value = 1;
Returns
Type |
Description |
ByteString |
The bytes for originalValue.
|
getResolvedValue()
public Value getResolvedValue()
Always present. Structured value for the parameter extracted from user
utterance.
.google.protobuf.Value resolved_value = 2;
Returns
Type |
Description |
Value |
The resolvedValue.
|
getResolvedValueBuilder()
public Value.Builder getResolvedValueBuilder()
Always present. Structured value for the parameter extracted from user
utterance.
.google.protobuf.Value resolved_value = 2;
Returns
getResolvedValueOrBuilder()
public ValueOrBuilder getResolvedValueOrBuilder()
Always present. Structured value for the parameter extracted from user
utterance.
.google.protobuf.Value resolved_value = 2;
Returns
hasResolvedValue()
public boolean hasResolvedValue()
Always present. Structured value for the parameter extracted from user
utterance.
.google.protobuf.Value resolved_value = 2;
Returns
Type |
Description |
boolean |
Whether the resolvedValue field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WebhookRequest.IntentInfo.IntentParameterValue other)
public WebhookRequest.IntentInfo.IntentParameterValue.Builder mergeFrom(WebhookRequest.IntentInfo.IntentParameterValue other)
Parameter
Returns
public WebhookRequest.IntentInfo.IntentParameterValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WebhookRequest.IntentInfo.IntentParameterValue.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeResolvedValue(Value value)
public WebhookRequest.IntentInfo.IntentParameterValue.Builder mergeResolvedValue(Value value)
Always present. Structured value for the parameter extracted from user
utterance.
.google.protobuf.Value resolved_value = 2;
Parameter
Name |
Description |
value |
Value
|
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WebhookRequest.IntentInfo.IntentParameterValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WebhookRequest.IntentInfo.IntentParameterValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setOriginalValue(String value)
public WebhookRequest.IntentInfo.IntentParameterValue.Builder setOriginalValue(String value)
Always present. Original text value extracted from user utterance.
string original_value = 1;
Parameter
Name |
Description |
value |
String
The originalValue to set.
|
Returns
setOriginalValueBytes(ByteString value)
public WebhookRequest.IntentInfo.IntentParameterValue.Builder setOriginalValueBytes(ByteString value)
Always present. Original text value extracted from user utterance.
string original_value = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for originalValue to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WebhookRequest.IntentInfo.IntentParameterValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResolvedValue(Value value)
public WebhookRequest.IntentInfo.IntentParameterValue.Builder setResolvedValue(Value value)
Always present. Structured value for the parameter extracted from user
utterance.
.google.protobuf.Value resolved_value = 2;
Parameter
Name |
Description |
value |
Value
|
Returns
setResolvedValue(Value.Builder builderForValue)
public WebhookRequest.IntentInfo.IntentParameterValue.Builder setResolvedValue(Value.Builder builderForValue)
Always present. Structured value for the parameter extracted from user
utterance.
.google.protobuf.Value resolved_value = 2;
Parameter
Name |
Description |
builderForValue |
Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final WebhookRequest.IntentInfo.IntentParameterValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides