Class GenerateStatelessSuggestionRequest.Builder

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

public static final class GenerateStatelessSuggestionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GenerateStatelessSuggestionRequest.Builder> implements GenerateStatelessSuggestionRequestOrBuilder
 The request message for
 [Conversations.GenerateStatelessSuggestion][google.cloud.dialogflow.v2.Conversations.GenerateStatelessSuggestion].
 
Protobuf type google.cloud.dialogflow.v2.GenerateStatelessSuggestionRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<GenerateStatelessSuggestionRequest.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<GenerateStatelessSuggestionRequest.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GenerateStatelessSuggestionRequest.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<GenerateStatelessSuggestionRequest.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<GenerateStatelessSuggestionRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public GenerateStatelessSuggestionRequest.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<GenerateStatelessSuggestionRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public GenerateStatelessSuggestionRequest.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<GenerateStatelessSuggestionRequest.Builder>
      Throws:
      IOException
    • getGeneratorResourceCase

      Specified by:
      getGeneratorResourceCase in interface GenerateStatelessSuggestionRequestOrBuilder
    • clearGeneratorResource

      public GenerateStatelessSuggestionRequest.Builder clearGeneratorResource()
    • getParent

      public String getParent()
       Required. The parent resource to charge for the Suggestion's generation.
       Format: `projects/<Project ID>/locations/<Location ID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource to charge for the Suggestion's generation.
       Format: `projects/<Project ID>/locations/<Location ID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The parent resource to charge for the Suggestion's generation.
       Format: `projects/<Project ID>/locations/<Location ID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The parent resource to charge for the Suggestion's generation.
       Format: `projects/<Project ID>/locations/<Location ID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public GenerateStatelessSuggestionRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource to charge for the Suggestion's generation.
       Format: `projects/<Project ID>/locations/<Location ID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasGenerator

      public boolean hasGenerator()
       Uncreated generator. It should be a complete generator that includes all
       information about the generator.
       
      .google.cloud.dialogflow.v2.Generator generator = 2;
      Specified by:
      hasGenerator in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      Whether the generator field is set.
    • getGenerator

      public Generator getGenerator()
       Uncreated generator. It should be a complete generator that includes all
       information about the generator.
       
      .google.cloud.dialogflow.v2.Generator generator = 2;
      Specified by:
      getGenerator in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      The generator.
    • setGenerator

       Uncreated generator. It should be a complete generator that includes all
       information about the generator.
       
      .google.cloud.dialogflow.v2.Generator generator = 2;
    • setGenerator

      public GenerateStatelessSuggestionRequest.Builder setGenerator(Generator.Builder builderForValue)
       Uncreated generator. It should be a complete generator that includes all
       information about the generator.
       
      .google.cloud.dialogflow.v2.Generator generator = 2;
    • mergeGenerator

       Uncreated generator. It should be a complete generator that includes all
       information about the generator.
       
      .google.cloud.dialogflow.v2.Generator generator = 2;
    • clearGenerator

       Uncreated generator. It should be a complete generator that includes all
       information about the generator.
       
      .google.cloud.dialogflow.v2.Generator generator = 2;
    • getGeneratorBuilder

      public Generator.Builder getGeneratorBuilder()
       Uncreated generator. It should be a complete generator that includes all
       information about the generator.
       
      .google.cloud.dialogflow.v2.Generator generator = 2;
    • getGeneratorOrBuilder

      public GeneratorOrBuilder getGeneratorOrBuilder()
       Uncreated generator. It should be a complete generator that includes all
       information about the generator.
       
      .google.cloud.dialogflow.v2.Generator generator = 2;
      Specified by:
      getGeneratorOrBuilder in interface GenerateStatelessSuggestionRequestOrBuilder
    • hasGeneratorName

      public boolean hasGeneratorName()
       The resource name of the existing created generator. Format:
       `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
       
      string generator_name = 3;
      Specified by:
      hasGeneratorName in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      Whether the generatorName field is set.
    • getGeneratorName

      public String getGeneratorName()
       The resource name of the existing created generator. Format:
       `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
       
      string generator_name = 3;
      Specified by:
      getGeneratorName in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      The generatorName.
    • getGeneratorNameBytes

      public com.google.protobuf.ByteString getGeneratorNameBytes()
       The resource name of the existing created generator. Format:
       `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
       
      string generator_name = 3;
      Specified by:
      getGeneratorNameBytes in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      The bytes for generatorName.
    • setGeneratorName

      public GenerateStatelessSuggestionRequest.Builder setGeneratorName(String value)
       The resource name of the existing created generator. Format:
       `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
       
      string generator_name = 3;
      Parameters:
      value - The generatorName to set.
      Returns:
      This builder for chaining.
    • clearGeneratorName

      public GenerateStatelessSuggestionRequest.Builder clearGeneratorName()
       The resource name of the existing created generator. Format:
       `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
       
      string generator_name = 3;
      Returns:
      This builder for chaining.
    • setGeneratorNameBytes

      public GenerateStatelessSuggestionRequest.Builder setGeneratorNameBytes(com.google.protobuf.ByteString value)
       The resource name of the existing created generator. Format:
       `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
       
      string generator_name = 3;
      Parameters:
      value - The bytes for generatorName to set.
      Returns:
      This builder for chaining.
    • getContextReferencesCount

      public int getContextReferencesCount()
      Description copied from interface: GenerateStatelessSuggestionRequestOrBuilder
       Optional. A section of ingested context information. The key is the name of
       the context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getContextReferencesCount in interface GenerateStatelessSuggestionRequestOrBuilder
    • containsContextReferences

      public boolean containsContextReferences(String key)
       Optional. A section of ingested context information. The key is the name of
       the context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsContextReferences in interface GenerateStatelessSuggestionRequestOrBuilder
    • getContextReferences

      @Deprecated public Map<String,Conversation.ContextReference> getContextReferences()
      Deprecated.
      Specified by:
      getContextReferences in interface GenerateStatelessSuggestionRequestOrBuilder
    • getContextReferencesMap

      public Map<String,Conversation.ContextReference> getContextReferencesMap()
       Optional. A section of ingested context information. The key is the name of
       the context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getContextReferencesMap in interface GenerateStatelessSuggestionRequestOrBuilder
    • getContextReferencesOrDefault

      public Conversation.ContextReference getContextReferencesOrDefault(String key, Conversation.ContextReference defaultValue)
       Optional. A section of ingested context information. The key is the name of
       the context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getContextReferencesOrDefault in interface GenerateStatelessSuggestionRequestOrBuilder
    • getContextReferencesOrThrow

      public Conversation.ContextReference getContextReferencesOrThrow(String key)
       Optional. A section of ingested context information. The key is the name of
       the context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getContextReferencesOrThrow in interface GenerateStatelessSuggestionRequestOrBuilder
    • clearContextReferences

      public GenerateStatelessSuggestionRequest.Builder clearContextReferences()
    • removeContextReferences

      public GenerateStatelessSuggestionRequest.Builder removeContextReferences(String key)
       Optional. A section of ingested context information. The key is the name of
       the context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableContextReferences

      @Deprecated public Map<String,Conversation.ContextReference> getMutableContextReferences()
      Deprecated.
      Use alternate mutation accessors instead.
    • putContextReferences

       Optional. A section of ingested context information. The key is the name of
       the context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 4 [(.google.api.field_behavior) = OPTIONAL];
    • putAllContextReferences

       Optional. A section of ingested context information. The key is the name of
       the context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 4 [(.google.api.field_behavior) = OPTIONAL];
    • putContextReferencesBuilderIfAbsent

      public Conversation.ContextReference.Builder putContextReferencesBuilderIfAbsent(String key)
       Optional. A section of ingested context information. The key is the name of
       the context reference and the value contains the contents of the context
       reference. The key is used to incorporate ingested context references to
       enhance the generator.
       
      map<string, .google.cloud.dialogflow.v2.Conversation.ContextReference> context_references = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasConversationContext

      public boolean hasConversationContext()
       Optional. Context of the conversation, including transcripts.
       
      .google.cloud.dialogflow.v2.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasConversationContext in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      Whether the conversationContext field is set.
    • getConversationContext

      public ConversationContext getConversationContext()
       Optional. Context of the conversation, including transcripts.
       
      .google.cloud.dialogflow.v2.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConversationContext in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      The conversationContext.
    • setConversationContext

      public GenerateStatelessSuggestionRequest.Builder setConversationContext(ConversationContext value)
       Optional. Context of the conversation, including transcripts.
       
      .google.cloud.dialogflow.v2.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
    • setConversationContext

      public GenerateStatelessSuggestionRequest.Builder setConversationContext(ConversationContext.Builder builderForValue)
       Optional. Context of the conversation, including transcripts.
       
      .google.cloud.dialogflow.v2.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
    • mergeConversationContext

      public GenerateStatelessSuggestionRequest.Builder mergeConversationContext(ConversationContext value)
       Optional. Context of the conversation, including transcripts.
       
      .google.cloud.dialogflow.v2.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
    • clearConversationContext

      public GenerateStatelessSuggestionRequest.Builder clearConversationContext()
       Optional. Context of the conversation, including transcripts.
       
      .google.cloud.dialogflow.v2.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getConversationContextBuilder

      public ConversationContext.Builder getConversationContextBuilder()
       Optional. Context of the conversation, including transcripts.
       
      .google.cloud.dialogflow.v2.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getConversationContextOrBuilder

      public ConversationContextOrBuilder getConversationContextOrBuilder()
       Optional. Context of the conversation, including transcripts.
       
      .google.cloud.dialogflow.v2.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConversationContextOrBuilder in interface GenerateStatelessSuggestionRequestOrBuilder
    • getTriggerEventsList

      public List<TriggerEvent> getTriggerEventsList()
       Optional. A list of trigger events. Generator will be triggered only if
       it's trigger event is included here.
       
      repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTriggerEventsList in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      A list containing the triggerEvents.
    • getTriggerEventsCount

      public int getTriggerEventsCount()
       Optional. A list of trigger events. Generator will be triggered only if
       it's trigger event is included here.
       
      repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTriggerEventsCount in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      The count of triggerEvents.
    • getTriggerEvents

      public TriggerEvent getTriggerEvents(int index)
       Optional. A list of trigger events. Generator will be triggered only if
       it's trigger event is included here.
       
      repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTriggerEvents in interface GenerateStatelessSuggestionRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The triggerEvents at the given index.
    • setTriggerEvents

      public GenerateStatelessSuggestionRequest.Builder setTriggerEvents(int index, TriggerEvent value)
       Optional. A list of trigger events. Generator will be triggered only if
       it's trigger event is included here.
       
      repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The triggerEvents to set.
      Returns:
      This builder for chaining.
    • addTriggerEvents

       Optional. A list of trigger events. Generator will be triggered only if
       it's trigger event is included here.
       
      repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The triggerEvents to add.
      Returns:
      This builder for chaining.
    • addAllTriggerEvents

      public GenerateStatelessSuggestionRequest.Builder addAllTriggerEvents(Iterable<? extends TriggerEvent> values)
       Optional. A list of trigger events. Generator will be triggered only if
       it's trigger event is included here.
       
      repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The triggerEvents to add.
      Returns:
      This builder for chaining.
    • clearTriggerEvents

      public GenerateStatelessSuggestionRequest.Builder clearTriggerEvents()
       Optional. A list of trigger events. Generator will be triggered only if
       it's trigger event is included here.
       
      repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getTriggerEventsValueList

      public List<Integer> getTriggerEventsValueList()
       Optional. A list of trigger events. Generator will be triggered only if
       it's trigger event is included here.
       
      repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTriggerEventsValueList in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for triggerEvents.
    • getTriggerEventsValue

      public int getTriggerEventsValue(int index)
       Optional. A list of trigger events. Generator will be triggered only if
       it's trigger event is included here.
       
      repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTriggerEventsValue in interface GenerateStatelessSuggestionRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of triggerEvents at the given index.
    • setTriggerEventsValue

      public GenerateStatelessSuggestionRequest.Builder setTriggerEventsValue(int index, int value)
       Optional. A list of trigger events. Generator will be triggered only if
       it's trigger event is included here.
       
      repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for triggerEvents to set.
      Returns:
      This builder for chaining.
    • addTriggerEventsValue

      public GenerateStatelessSuggestionRequest.Builder addTriggerEventsValue(int value)
       Optional. A list of trigger events. Generator will be triggered only if
       it's trigger event is included here.
       
      repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for triggerEvents to add.
      Returns:
      This builder for chaining.
    • addAllTriggerEventsValue

      public GenerateStatelessSuggestionRequest.Builder addAllTriggerEventsValue(Iterable<Integer> values)
       Optional. A list of trigger events. Generator will be triggered only if
       it's trigger event is included here.
       
      repeated .google.cloud.dialogflow.v2.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The enum numeric values on the wire for triggerEvents to add.
      Returns:
      This builder for chaining.
    • getSecuritySettings

      public String getSecuritySettings()
       Optional. Name of the CX SecuritySettings which is used to redact generated
       response. If this field is empty, try to fetch v2 security_settings, which
       is a project level setting. If this field is empty and no v2
       security_settings set up in this project, no redaction will be done.
      
       Format:
       `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security
       Settings ID>`.
       
      string security_settings = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSecuritySettings in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      The securitySettings.
    • getSecuritySettingsBytes

      public com.google.protobuf.ByteString getSecuritySettingsBytes()
       Optional. Name of the CX SecuritySettings which is used to redact generated
       response. If this field is empty, try to fetch v2 security_settings, which
       is a project level setting. If this field is empty and no v2
       security_settings set up in this project, no redaction will be done.
      
       Format:
       `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security
       Settings ID>`.
       
      string security_settings = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSecuritySettingsBytes in interface GenerateStatelessSuggestionRequestOrBuilder
      Returns:
      The bytes for securitySettings.
    • setSecuritySettings

      public GenerateStatelessSuggestionRequest.Builder setSecuritySettings(String value)
       Optional. Name of the CX SecuritySettings which is used to redact generated
       response. If this field is empty, try to fetch v2 security_settings, which
       is a project level setting. If this field is empty and no v2
       security_settings set up in this project, no redaction will be done.
      
       Format:
       `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security
       Settings ID>`.
       
      string security_settings = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The securitySettings to set.
      Returns:
      This builder for chaining.
    • clearSecuritySettings

      public GenerateStatelessSuggestionRequest.Builder clearSecuritySettings()
       Optional. Name of the CX SecuritySettings which is used to redact generated
       response. If this field is empty, try to fetch v2 security_settings, which
       is a project level setting. If this field is empty and no v2
       security_settings set up in this project, no redaction will be done.
      
       Format:
       `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security
       Settings ID>`.
       
      string security_settings = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setSecuritySettingsBytes

      public GenerateStatelessSuggestionRequest.Builder setSecuritySettingsBytes(com.google.protobuf.ByteString value)
       Optional. Name of the CX SecuritySettings which is used to redact generated
       response. If this field is empty, try to fetch v2 security_settings, which
       is a project level setting. If this field is empty and no v2
       security_settings set up in this project, no redaction will be done.
      
       Format:
       `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security
       Settings ID>`.
       
      string security_settings = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for securitySettings to set.
      Returns:
      This builder for chaining.