Interface BatchCreateMessagesRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BatchCreateMessagesRequest, BatchCreateMessagesRequest.Builder

@Generated public interface BatchCreateMessagesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      String getParent()
       Required. Resource identifier of the conversation to create message.
       Format: `projects/<Project ID>/locations/<Location
       ID>/conversations/<Conversation ID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. Resource identifier of the conversation to create message.
       Format: `projects/<Project ID>/locations/<Location
       ID>/conversations/<Conversation ID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getRequestsList

      List<CreateMessageRequest> getRequestsList()
       Required. A maximum of 300 messages can be created in a batch.
       [CreateMessageRequest.message.send_time][] is required. All created
       messages will have identical
       [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
       
      repeated .google.cloud.dialogflow.v2beta1.CreateMessageRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequests

      CreateMessageRequest getRequests(int index)
       Required. A maximum of 300 messages can be created in a batch.
       [CreateMessageRequest.message.send_time][] is required. All created
       messages will have identical
       [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
       
      repeated .google.cloud.dialogflow.v2beta1.CreateMessageRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsCount

      int getRequestsCount()
       Required. A maximum of 300 messages can be created in a batch.
       [CreateMessageRequest.message.send_time][] is required. All created
       messages will have identical
       [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
       
      repeated .google.cloud.dialogflow.v2beta1.CreateMessageRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilderList

      List<? extends CreateMessageRequestOrBuilder> getRequestsOrBuilderList()
       Required. A maximum of 300 messages can be created in a batch.
       [CreateMessageRequest.message.send_time][] is required. All created
       messages will have identical
       [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
       
      repeated .google.cloud.dialogflow.v2beta1.CreateMessageRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilder

      CreateMessageRequestOrBuilder getRequestsOrBuilder(int index)
       Required. A maximum of 300 messages can be created in a batch.
       [CreateMessageRequest.message.send_time][] is required. All created
       messages will have identical
       [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time].
       
      repeated .google.cloud.dialogflow.v2beta1.CreateMessageRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];