Class WebhookRequest.IntentInfo.IntentParameterValue.Builder (0.13.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.v3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WebhookRequest.IntentInfo.IntentParameterValue build()
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue

buildPartial()

public WebhookRequest.IntentInfo.IntentParameterValue buildPartial()
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue

clear()

public WebhookRequest.IntentInfo.IntentParameterValue.Builder clear()
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WebhookRequest.IntentInfo.IntentParameterValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WebhookRequest.IntentInfo.IntentParameterValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder

clone()

public WebhookRequest.IntentInfo.IntentParameterValue.Builder clone()
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder
Overrides

getDefaultInstanceForType()

public WebhookRequest.IntentInfo.IntentParameterValue getDefaultInstanceForType()
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOriginalValue()

public String getOriginalValue()

Always present. Original text value extracted from user utterance.

string original_value = 1;

Returns
TypeDescription
String

The originalValue.

getOriginalValueBytes()

public ByteString getOriginalValueBytes()

Always present. Original text value extracted from user utterance.

string original_value = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getResolvedValueOrBuilder()

public ValueOrBuilder getResolvedValueOrBuilder()

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

.google.protobuf.Value resolved_value = 2;

Returns
TypeDescription
ValueOrBuilder

hasResolvedValue()

public boolean hasResolvedValue()

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

.google.protobuf.Value resolved_value = 2;

Returns
TypeDescription
boolean

Whether the resolvedValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WebhookRequest.IntentInfo.IntentParameterValue other)

public WebhookRequest.IntentInfo.IntentParameterValue.Builder mergeFrom(WebhookRequest.IntentInfo.IntentParameterValue other)
Parameter
NameDescription
otherWebhookRequest.IntentInfo.IntentParameterValue
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WebhookRequest.IntentInfo.IntentParameterValue.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueValue
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WebhookRequest.IntentInfo.IntentParameterValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WebhookRequest.IntentInfo.IntentParameterValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The originalValue to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for originalValue to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueValue
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final WebhookRequest.IntentInfo.IntentParameterValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder
Overrides