Class GenerativeInfo (0.50.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
TypeDescription
int

CURRENT_PLAYBOOKS_FIELD_NUMBER

public static final int CURRENT_PLAYBOOKS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerativeInfo getDefaultInstance()
Returns
TypeDescription
GenerativeInfo

getDescriptor()

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

newBuilder()

public static GenerativeInfo.Builder newBuilder()
Returns
TypeDescription
GenerativeInfo.Builder

newBuilder(GenerativeInfo prototype)

public static GenerativeInfo.Builder newBuilder(GenerativeInfo prototype)
Parameter
NameDescription
prototypeGenerativeInfo
Returns
TypeDescription
GenerativeInfo.Builder

parseDelimitedFrom(InputStream input)

public static GenerativeInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerativeInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerativeInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerativeInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GenerativeInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GenerativeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static GenerativeInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GenerativeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerativeInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerativeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerativeInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GenerativeInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerativeInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerativeInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GenerativeInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerativeInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerativeInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerativeInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GenerativeInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GenerativeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerativeInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerativeInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GenerativeInfo> parser()
Returns
TypeDescription
Parser<GenerativeInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

A list containing the currentPlaybooks.

getDefaultInstanceForType()

public GenerativeInfo getDefaultInstanceForType()
Returns
TypeDescription
GenerativeInfo

getParserForType()

public Parser<GenerativeInfo> getParserForType()
Returns
TypeDescription
Parser<GenerativeInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the actionTracingInfo 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 GenerativeInfo.Builder newBuilderForType()
Returns
TypeDescription
GenerativeInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerativeInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GenerativeInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public GenerativeInfo.Builder toBuilder()
Returns
TypeDescription
GenerativeInfo.Builder

writeTo(CodedOutputStream output)

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