Class GenerateStatelessSummaryRequest.Builder

    • Method Detail

      • getDescriptor

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

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

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateStatelessSummaryRequest.Builder>
      • hasStatelessConversation

        public boolean hasStatelessConversation()
         Required. The conversation to suggest a summary for.
         
        .google.cloud.dialogflow.v2beta1.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasStatelessConversation in interface GenerateStatelessSummaryRequestOrBuilder
        Returns:
        Whether the statelessConversation field is set.
      • clearStatelessConversation

        public GenerateStatelessSummaryRequest.Builder clearStatelessConversation()
         Required. The conversation to suggest a summary for.
         
        .google.cloud.dialogflow.v2beta1.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];
      • getStatelessConversationBuilder

        public GenerateStatelessSummaryRequest.MinimalConversation.Builder getStatelessConversationBuilder()
         Required. The conversation to suggest a summary for.
         
        .google.cloud.dialogflow.v2beta1.GenerateStatelessSummaryRequest.MinimalConversation stateless_conversation = 1 [(.google.api.field_behavior) = REQUIRED];
      • hasConversationProfile

        public boolean hasConversationProfile()
         Required. A ConversationProfile containing information required for Summary
         generation.
         Required fields: {language_code, security_settings}
         Optional fields: {agent_assistant_config}
         
        .google.cloud.dialogflow.v2beta1.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasConversationProfile in interface GenerateStatelessSummaryRequestOrBuilder
        Returns:
        Whether the conversationProfile field is set.
      • getConversationProfile

        public ConversationProfile getConversationProfile()
         Required. A ConversationProfile containing information required for Summary
         generation.
         Required fields: {language_code, security_settings}
         Optional fields: {agent_assistant_config}
         
        .google.cloud.dialogflow.v2beta1.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getConversationProfile in interface GenerateStatelessSummaryRequestOrBuilder
        Returns:
        The conversationProfile.
      • setConversationProfile

        public GenerateStatelessSummaryRequest.Builder setConversationProfile​(ConversationProfile value)
         Required. A ConversationProfile containing information required for Summary
         generation.
         Required fields: {language_code, security_settings}
         Optional fields: {agent_assistant_config}
         
        .google.cloud.dialogflow.v2beta1.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
      • setConversationProfile

        public GenerateStatelessSummaryRequest.Builder setConversationProfile​(ConversationProfile.Builder builderForValue)
         Required. A ConversationProfile containing information required for Summary
         generation.
         Required fields: {language_code, security_settings}
         Optional fields: {agent_assistant_config}
         
        .google.cloud.dialogflow.v2beta1.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeConversationProfile

        public GenerateStatelessSummaryRequest.Builder mergeConversationProfile​(ConversationProfile value)
         Required. A ConversationProfile containing information required for Summary
         generation.
         Required fields: {language_code, security_settings}
         Optional fields: {agent_assistant_config}
         
        .google.cloud.dialogflow.v2beta1.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearConversationProfile

        public GenerateStatelessSummaryRequest.Builder clearConversationProfile()
         Required. A ConversationProfile containing information required for Summary
         generation.
         Required fields: {language_code, security_settings}
         Optional fields: {agent_assistant_config}
         
        .google.cloud.dialogflow.v2beta1.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
      • getConversationProfileBuilder

        public ConversationProfile.Builder getConversationProfileBuilder()
         Required. A ConversationProfile containing information required for Summary
         generation.
         Required fields: {language_code, security_settings}
         Optional fields: {agent_assistant_config}
         
        .google.cloud.dialogflow.v2beta1.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
      • getConversationProfileOrBuilder

        public ConversationProfileOrBuilder getConversationProfileOrBuilder()
         Required. A ConversationProfile containing information required for Summary
         generation.
         Required fields: {language_code, security_settings}
         Optional fields: {agent_assistant_config}
         
        .google.cloud.dialogflow.v2beta1.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getConversationProfileOrBuilder in interface GenerateStatelessSummaryRequestOrBuilder
      • getLatestMessage

        public String getLatestMessage()
         The name of the latest conversation message used as context for
         generating a Summary. If empty, the latest message of the conversation will
         be used. The format is specific to the user and the names of the messages
         provided.
         
        string latest_message = 3 [(.google.api.resource_reference) = { ... }
        Specified by:
        getLatestMessage in interface GenerateStatelessSummaryRequestOrBuilder
        Returns:
        The latestMessage.
      • getLatestMessageBytes

        public com.google.protobuf.ByteString getLatestMessageBytes()
         The name of the latest conversation message used as context for
         generating a Summary. If empty, the latest message of the conversation will
         be used. The format is specific to the user and the names of the messages
         provided.
         
        string latest_message = 3 [(.google.api.resource_reference) = { ... }
        Specified by:
        getLatestMessageBytes in interface GenerateStatelessSummaryRequestOrBuilder
        Returns:
        The bytes for latestMessage.
      • setLatestMessage

        public GenerateStatelessSummaryRequest.Builder setLatestMessage​(String value)
         The name of the latest conversation message used as context for
         generating a Summary. If empty, the latest message of the conversation will
         be used. The format is specific to the user and the names of the messages
         provided.
         
        string latest_message = 3 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The latestMessage to set.
        Returns:
        This builder for chaining.
      • clearLatestMessage

        public GenerateStatelessSummaryRequest.Builder clearLatestMessage()
         The name of the latest conversation message used as context for
         generating a Summary. If empty, the latest message of the conversation will
         be used. The format is specific to the user and the names of the messages
         provided.
         
        string latest_message = 3 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setLatestMessageBytes

        public GenerateStatelessSummaryRequest.Builder setLatestMessageBytes​(com.google.protobuf.ByteString value)
         The name of the latest conversation message used as context for
         generating a Summary. If empty, the latest message of the conversation will
         be used. The format is specific to the user and the names of the messages
         provided.
         
        string latest_message = 3 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for latestMessage to set.
        Returns:
        This builder for chaining.
      • getMaxContextSize

        public int getMaxContextSize()
         Max number of messages prior to and including
         [latest_message] to use as context when compiling the
         suggestion. By default 500 and at most 1000.
         
        int32 max_context_size = 4;
        Specified by:
        getMaxContextSize in interface GenerateStatelessSummaryRequestOrBuilder
        Returns:
        The maxContextSize.
      • setMaxContextSize

        public GenerateStatelessSummaryRequest.Builder setMaxContextSize​(int value)
         Max number of messages prior to and including
         [latest_message] to use as context when compiling the
         suggestion. By default 500 and at most 1000.
         
        int32 max_context_size = 4;
        Parameters:
        value - The maxContextSize to set.
        Returns:
        This builder for chaining.
      • clearMaxContextSize

        public GenerateStatelessSummaryRequest.Builder clearMaxContextSize()
         Max number of messages prior to and including
         [latest_message] to use as context when compiling the
         suggestion. By default 500 and at most 1000.
         
        int32 max_context_size = 4;
        Returns:
        This builder for chaining.