Class WebhookRequest.IntentInfo.IntentParameterValue (0.52.0)

public static final class WebhookRequest.IntentInfo.IntentParameterValue extends GeneratedMessageV3 implements WebhookRequest.IntentInfo.IntentParameterValueOrBuilder

Represents a value for an intent parameter.

Protobuf type google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo.IntentParameterValue

Inheritance

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

Static Fields

ORIGINAL_VALUE_FIELD_NUMBER

public static final int ORIGINAL_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOLVED_VALUE_FIELD_NUMBER

public static final int RESOLVED_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WebhookRequest.IntentInfo.IntentParameterValue getDefaultInstance()
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WebhookRequest.IntentInfo.IntentParameterValue.Builder newBuilder()
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder

newBuilder(WebhookRequest.IntentInfo.IntentParameterValue prototype)

public static WebhookRequest.IntentInfo.IntentParameterValue.Builder newBuilder(WebhookRequest.IntentInfo.IntentParameterValue prototype)
Parameter
NameDescription
prototypeWebhookRequest.IntentInfo.IntentParameterValue
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder

parseDelimitedFrom(InputStream input)

public static WebhookRequest.IntentInfo.IntentParameterValue parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WebhookRequest.IntentInfo.IntentParameterValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WebhookRequest.IntentInfo.IntentParameterValue parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WebhookRequest.IntentInfo.IntentParameterValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WebhookRequest.IntentInfo.IntentParameterValue parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WebhookRequest.IntentInfo.IntentParameterValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WebhookRequest.IntentInfo.IntentParameterValue parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static WebhookRequest.IntentInfo.IntentParameterValue parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WebhookRequest.IntentInfo.IntentParameterValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WebhookRequest.IntentInfo.IntentParameterValue parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WebhookRequest.IntentInfo.IntentParameterValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WebhookRequest.IntentInfo.IntentParameterValue> parser()
Returns
TypeDescription
Parser<IntentParameterValue>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<WebhookRequest.IntentInfo.IntentParameterValue> getParserForType()
Returns
TypeDescription
Parser<IntentParameterValue>
Overrides

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.

getResolvedValueOrBuilder()

public ValueOrBuilder getResolvedValueOrBuilder()

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

.google.protobuf.Value resolved_value = 2;

Returns
TypeDescription
ValueOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WebhookRequest.IntentInfo.IntentParameterValue.Builder newBuilderForType()
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WebhookRequest.IntentInfo.IntentParameterValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WebhookRequest.IntentInfo.IntentParameterValue.Builder toBuilder()
Returns
TypeDescription
WebhookRequest.IntentInfo.IntentParameterValue.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException