Class GenerateStatelessSummaryRequest.MinimalConversation.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.MinimalConversation.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.MinimalConversation.Builder>
      • getDefaultInstanceForType

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

        public List<Message> getMessagesList()
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMessagesList in interface GenerateStatelessSummaryRequest.MinimalConversationOrBuilder
      • getMessagesCount

        public int getMessagesCount()
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMessagesCount in interface GenerateStatelessSummaryRequest.MinimalConversationOrBuilder
      • getMessages

        public Message getMessages​(int index)
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMessages in interface GenerateStatelessSummaryRequest.MinimalConversationOrBuilder
      • setMessages

        public GenerateStatelessSummaryRequest.MinimalConversation.Builder setMessages​(int index,
                                                                                       Message value)
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • setMessages

        public GenerateStatelessSummaryRequest.MinimalConversation.Builder setMessages​(int index,
                                                                                       Message.Builder builderForValue)
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • addMessages

        public GenerateStatelessSummaryRequest.MinimalConversation.Builder addMessages​(Message value)
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • addMessages

        public GenerateStatelessSummaryRequest.MinimalConversation.Builder addMessages​(int index,
                                                                                       Message value)
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • addMessages

        public GenerateStatelessSummaryRequest.MinimalConversation.Builder addMessages​(Message.Builder builderForValue)
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • addMessages

        public GenerateStatelessSummaryRequest.MinimalConversation.Builder addMessages​(int index,
                                                                                       Message.Builder builderForValue)
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • addAllMessages

        public GenerateStatelessSummaryRequest.MinimalConversation.Builder addAllMessages​(Iterable<? extends Message> values)
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearMessages

        public GenerateStatelessSummaryRequest.MinimalConversation.Builder clearMessages()
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • removeMessages

        public GenerateStatelessSummaryRequest.MinimalConversation.Builder removeMessages​(int index)
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • getMessagesBuilder

        public Message.Builder getMessagesBuilder​(int index)
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • getMessagesOrBuilder

        public MessageOrBuilder getMessagesOrBuilder​(int index)
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMessagesOrBuilder in interface GenerateStatelessSummaryRequest.MinimalConversationOrBuilder
      • getMessagesOrBuilderList

        public List<? extends MessageOrBuilder> getMessagesOrBuilderList()
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMessagesOrBuilderList in interface GenerateStatelessSummaryRequest.MinimalConversationOrBuilder
      • addMessagesBuilder

        public Message.Builder addMessagesBuilder()
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • addMessagesBuilder

        public Message.Builder addMessagesBuilder​(int index)
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • getMessagesBuilderList

        public List<Message.Builder> getMessagesBuilderList()
         Required. The messages that the Summary will be generated from. It is
         expected that this message content is already redacted and does not
         contain any PII. Required fields: {content, language_code, participant,
         participant_role} Optional fields: {send_time} If send_time is not
         provided, then the messages must be provided in chronological order.
         
        repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];
      • getParent

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

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

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

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

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