Class GenerativeInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GenerativeInfo.Builder>
com.google.cloud.dialogflow.cx.v3beta1.GenerativeInfo.Builder
All Implemented Interfaces:
GenerativeInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GenerativeInfo

public static final class GenerativeInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<GenerativeInfo.Builder> implements GenerativeInfoOrBuilder
 Represents the information of a query if handled by generative agent
 resources.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.GenerativeInfo
  • Method Summary

    Modifier and Type
    Method
    Description
    The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
    The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
    addCurrentPlaybooksBytes(com.google.protobuf.ByteString value)
    The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
     
     
     
    The actions performed by the generative playbook for the current agent response.
    The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
    The actions performed by the generative playbook for the current agent response.
    The actions performed by the generative playbook for the current agent response.
    The actions performed by the generative playbook for the current agent response.
    The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
    com.google.protobuf.ByteString
    The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
    int
    The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
    com.google.protobuf.ProtocolStringList
    The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    boolean
    The actions performed by the generative playbook for the current agent response.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    The actions performed by the generative playbook for the current agent response.
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    The actions performed by the generative playbook for the current agent response.
    The actions performed by the generative playbook for the current agent response.
    setCurrentPlaybooks(int index, String value)
    The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that the conversation has currently entered, with the most recent one on the top.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GenerativeInfo.Builder>
    • clear

      public GenerativeInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<GenerativeInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GenerativeInfo.Builder>
    • getDefaultInstanceForType

      public GenerativeInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public GenerativeInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GenerativeInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GenerativeInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerativeInfo.Builder>
    • mergeFrom

      public GenerativeInfo.Builder mergeFrom(GenerativeInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GenerativeInfo.Builder>
    • mergeFrom

      public GenerativeInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerativeInfo.Builder>
      Throws:
      IOException
    • getCurrentPlaybooksList

      public com.google.protobuf.ProtocolStringList getCurrentPlaybooksList()
       The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that
       the conversation has currently entered, with the most recent one on the
       top.
       
      repeated string current_playbooks = 1;
      Specified by:
      getCurrentPlaybooksList in interface GenerativeInfoOrBuilder
      Returns:
      A list containing the currentPlaybooks.
    • getCurrentPlaybooksCount

      public int getCurrentPlaybooksCount()
       The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that
       the conversation has currently entered, with the most recent one on the
       top.
       
      repeated string current_playbooks = 1;
      Specified by:
      getCurrentPlaybooksCount in interface GenerativeInfoOrBuilder
      Returns:
      The count of currentPlaybooks.
    • getCurrentPlaybooks

      public String getCurrentPlaybooks(int index)
       The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that
       the conversation has currently entered, with the most recent one on the
       top.
       
      repeated string current_playbooks = 1;
      Specified by:
      getCurrentPlaybooks in interface GenerativeInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The currentPlaybooks at the given index.
    • getCurrentPlaybooksBytes

      public com.google.protobuf.ByteString getCurrentPlaybooksBytes(int index)
       The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that
       the conversation has currently entered, with the most recent one on the
       top.
       
      repeated string current_playbooks = 1;
      Specified by:
      getCurrentPlaybooksBytes in interface GenerativeInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the currentPlaybooks at the given index.
    • setCurrentPlaybooks

      public GenerativeInfo.Builder setCurrentPlaybooks(int index, String value)
       The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that
       the conversation has currently entered, with the most recent one on the
       top.
       
      repeated string current_playbooks = 1;
      Parameters:
      index - The index to set the value at.
      value - The currentPlaybooks to set.
      Returns:
      This builder for chaining.
    • addCurrentPlaybooks

      public GenerativeInfo.Builder addCurrentPlaybooks(String value)
       The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that
       the conversation has currently entered, with the most recent one on the
       top.
       
      repeated string current_playbooks = 1;
      Parameters:
      value - The currentPlaybooks to add.
      Returns:
      This builder for chaining.
    • addAllCurrentPlaybooks

      public GenerativeInfo.Builder addAllCurrentPlaybooks(Iterable<String> values)
       The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that
       the conversation has currently entered, with the most recent one on the
       top.
       
      repeated string current_playbooks = 1;
      Parameters:
      values - The currentPlaybooks to add.
      Returns:
      This builder for chaining.
    • clearCurrentPlaybooks

      public GenerativeInfo.Builder clearCurrentPlaybooks()
       The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that
       the conversation has currently entered, with the most recent one on the
       top.
       
      repeated string current_playbooks = 1;
      Returns:
      This builder for chaining.
    • addCurrentPlaybooksBytes

      public GenerativeInfo.Builder addCurrentPlaybooksBytes(com.google.protobuf.ByteString value)
       The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that
       the conversation has currently entered, with the most recent one on the
       top.
       
      repeated string current_playbooks = 1;
      Parameters:
      value - The bytes of the currentPlaybooks to add.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      hasActionTracingInfo in interface GenerativeInfoOrBuilder
      Returns:
      Whether the actionTracingInfo field is set.
    • 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;
      Specified by:
      getActionTracingInfo in interface GenerativeInfoOrBuilder
      Returns:
      The actionTracingInfo.
    • setActionTracingInfo

      public GenerativeInfo.Builder setActionTracingInfo(Example value)
       The actions performed by the generative playbook for the current agent
       response.
       
      .google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
    • setActionTracingInfo

      public GenerativeInfo.Builder setActionTracingInfo(Example.Builder builderForValue)
       The actions performed by the generative playbook for the current agent
       response.
       
      .google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
    • mergeActionTracingInfo

      public GenerativeInfo.Builder mergeActionTracingInfo(Example value)
       The actions performed by the generative playbook for the current agent
       response.
       
      .google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
    • clearActionTracingInfo

      public GenerativeInfo.Builder clearActionTracingInfo()
       The actions performed by the generative playbook for the current agent
       response.
       
      .google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
    • getActionTracingInfoBuilder

      public Example.Builder getActionTracingInfoBuilder()
       The actions performed by the generative playbook for the current agent
       response.
       
      .google.cloud.dialogflow.cx.v3beta1.Example action_tracing_info = 2;
    • 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;
      Specified by:
      getActionTracingInfoOrBuilder in interface GenerativeInfoOrBuilder