Class GenerativeInfo (0.56.0)

public final class GenerativeInfo extends GeneratedMessageV3 implements GenerativeInfoOrBuilder

Represents the information of a query if handled by generative agent resources.

Protobuf type google.cloud.dialogflow.cx.v3beta1.GenerativeInfo

Static Fields

ACTION_TRACING_INFO_FIELD_NUMBER

public static final int ACTION_TRACING_INFO_FIELD_NUMBER
Field Value
Type Description
int

CURRENT_PLAYBOOKS_FIELD_NUMBER

public static final int CURRENT_PLAYBOOKS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerativeInfo getDefaultInstance()
Returns
Type Description
GenerativeInfo

getDescriptor()

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

newBuilder()

public static GenerativeInfo.Builder newBuilder()
Returns
Type Description
GenerativeInfo.Builder

newBuilder(GenerativeInfo prototype)

public static GenerativeInfo.Builder newBuilder(GenerativeInfo prototype)
Parameter
Name Description
prototype GenerativeInfo
Returns
Type Description
GenerativeInfo.Builder

parseDelimitedFrom(InputStream input)

public static GenerativeInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerativeInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerativeInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerativeInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GenerativeInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GenerativeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerativeInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerativeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerativeInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerativeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerativeInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerativeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerativeInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerativeInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerativeInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerativeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GenerativeInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerativeInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerativeInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerativeInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GenerativeInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerativeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerativeInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerativeInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GenerativeInfo> parser()
Returns
Type Description
Parser<GenerativeInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getActionTracingInfo()

public Example getActionTracingInfo()

The actions performed by the generative playbook for the current agent response.

.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;

Returns
Type Description
Example

The actionTracingInfo.

getActionTracingInfoOrBuilder()

public ExampleOrBuilder getActionTracingInfoOrBuilder()

The actions performed by the generative playbook for the current agent response.

.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;

Returns
Type Description
ExampleOrBuilder

getCurrentPlaybooks(int index)

public String getCurrentPlaybooks(int index)

The stack of playbooks that the conversation has currently entered, with the most recent one on the top.

repeated string current_playbooks = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The currentPlaybooks at the given index.

getCurrentPlaybooksBytes(int index)

public ByteString getCurrentPlaybooksBytes(int index)

The stack of playbooks that the conversation has currently entered, with the most recent one on the top.

repeated string current_playbooks = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the currentPlaybooks at the given index.

getCurrentPlaybooksCount()

public int getCurrentPlaybooksCount()

The stack of playbooks that the conversation has currently entered, with the most recent one on the top.

repeated string current_playbooks = 1;

Returns
Type Description
int

The count of currentPlaybooks.

getCurrentPlaybooksList()

public ProtocolStringList getCurrentPlaybooksList()

The stack of playbooks that the conversation has currently entered, with the most recent one on the top.

repeated string current_playbooks = 1;

Returns
Type Description
ProtocolStringList

A list containing the currentPlaybooks.

getDefaultInstanceForType()

public GenerativeInfo getDefaultInstanceForType()
Returns
Type Description
GenerativeInfo

getParserForType()

public Parser<GenerativeInfo> getParserForType()
Returns
Type Description
Parser<GenerativeInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasActionTracingInfo()

public boolean hasActionTracingInfo()

The actions performed by the generative playbook for the current agent response.

.google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;

Returns
Type Description
boolean

Whether the actionTracingInfo field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GenerativeInfo.Builder newBuilderForType()
Returns
Type Description
GenerativeInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerativeInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerativeInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GenerativeInfo.Builder toBuilder()
Returns
Type Description
GenerativeInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException