Class WebhookRequest.IntentInfo.IntentParameterValue.Builder (0.48.0)

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WebhookRequest.IntentInfo.IntentParameterValue.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WebhookRequest.IntentInfo.IntentParameterValue build()
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue

buildPartial()

public WebhookRequest.IntentInfo.IntentParameterValue buildPartial()
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue

clear()

public WebhookRequest.IntentInfo.IntentParameterValue.Builder clear()
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WebhookRequest.IntentInfo.IntentParameterValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WebhookRequest.IntentInfo.IntentParameterValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder
Overrides

clearOriginalValue()

public WebhookRequest.IntentInfo.IntentParameterValue.Builder clearOriginalValue()

Always present. Original text value extracted from user utterance.

string original_value = 1;

Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder

This builder for chaining.

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
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder

clone()

public WebhookRequest.IntentInfo.IntentParameterValue.Builder clone()
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder
Overrides

getDefaultInstanceForType()

public WebhookRequest.IntentInfo.IntentParameterValue getDefaultInstanceForType()
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
Builder

getResolvedValueOrBuilder()

public ValueOrBuilder getResolvedValueOrBuilder()

Always present. Structured value for the parameter extracted from user utterance.

.google.protobuf.Value resolved_value = 2;

Returns
Type Description
ValueOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WebhookRequest.IntentInfo.IntentParameterValue other)

public WebhookRequest.IntentInfo.IntentParameterValue.Builder mergeFrom(WebhookRequest.IntentInfo.IntentParameterValue other)
Parameter
Name Description
other WebhookRequest.IntentInfo.IntentParameterValue
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WebhookRequest.IntentInfo.IntentParameterValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder
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
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WebhookRequest.IntentInfo.IntentParameterValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WebhookRequest.IntentInfo.IntentParameterValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder
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
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder

This builder for chaining.

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
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder

This builder for chaining.

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

public WebhookRequest.IntentInfo.IntentParameterValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder
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
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder

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
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final WebhookRequest.IntentInfo.IntentParameterValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WebhookRequest.IntentInfo.IntentParameterValue.Builder
Overrides