Class GenerateStatelessSummaryRequest.MinimalConversation.Builder

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

public static final class GenerateStatelessSummaryRequest.MinimalConversation.Builder extends com.google.protobuf.GeneratedMessage.Builder<GenerateStatelessSummaryRequest.MinimalConversation.Builder> implements GenerateStatelessSummaryRequest.MinimalConversationOrBuilder
 The minimum amount of information required to generate a Summary without
 having a Conversation resource created.
 
Protobuf type google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation
  • 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<GenerateStatelessSummaryRequest.MinimalConversation.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<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.GeneratedMessage.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
    • build

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

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

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

      public GenerateStatelessSummaryRequest.MinimalConversation.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<GenerateStatelessSummaryRequest.MinimalConversation.Builder>
      Throws:
      IOException
    • 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

       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

       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

       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

       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

       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

       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

       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

       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

       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.