Class ListAnswerRecordsRequest.Builder

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

public static final class ListAnswerRecordsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListAnswerRecordsRequest.Builder> implements ListAnswerRecordsRequestOrBuilder
 Request message for
 [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords].
 
Protobuf type google.cloud.dialogflow.v2.ListAnswerRecordsRequest
  • 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<ListAnswerRecordsRequest.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<ListAnswerRecordsRequest.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<ListAnswerRecordsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListAnswerRecordsRequest.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<ListAnswerRecordsRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The project to list all answer records for in reverse
       chronological order. Format: `projects/<Project ID>/locations/<Location
       ID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListAnswerRecordsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The project to list all answer records for in reverse
       chronological order. Format: `projects/<Project ID>/locations/<Location
       ID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListAnswerRecordsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListAnswerRecordsRequest.Builder setParent(String value)
       Required. The project to list all answer records for in reverse
       chronological order. 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

      public ListAnswerRecordsRequest.Builder clearParent()
       Required. The project to list all answer records for in reverse
       chronological order. 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 ListAnswerRecordsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The project to list all answer records for in reverse
       chronological order. 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.
    • getFilter

      public String getFilter()
       Optional. Filters to restrict results to specific answer records. The
       expression has the following syntax:
      
       <field> <operator> <value> [AND <field> <operator> <value>] ...
      
       The following fields and operators are supported:
       * conversation_id with equals(=) operator
      
       Examples:
      
       * `conversation_id=bar` matches answer records in the
       `projects/foo/locations/global/conversations/bar` conversation
       (assuming the parent is `projects/foo/locations/global`).
      
       For more information about filtering, see
       [API Filtering](https://aip.dev/160).
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilter in interface ListAnswerRecordsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Optional. Filters to restrict results to specific answer records. The
       expression has the following syntax:
      
       <field> <operator> <value> [AND <field> <operator> <value>] ...
      
       The following fields and operators are supported:
       * conversation_id with equals(=) operator
      
       Examples:
      
       * `conversation_id=bar` matches answer records in the
       `projects/foo/locations/global/conversations/bar` conversation
       (assuming the parent is `projects/foo/locations/global`).
      
       For more information about filtering, see
       [API Filtering](https://aip.dev/160).
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterBytes in interface ListAnswerRecordsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListAnswerRecordsRequest.Builder setFilter(String value)
       Optional. Filters to restrict results to specific answer records. The
       expression has the following syntax:
      
       <field> <operator> <value> [AND <field> <operator> <value>] ...
      
       The following fields and operators are supported:
       * conversation_id with equals(=) operator
      
       Examples:
      
       * `conversation_id=bar` matches answer records in the
       `projects/foo/locations/global/conversations/bar` conversation
       (assuming the parent is `projects/foo/locations/global`).
      
       For more information about filtering, see
       [API Filtering](https://aip.dev/160).
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListAnswerRecordsRequest.Builder clearFilter()
       Optional. Filters to restrict results to specific answer records. The
       expression has the following syntax:
      
       <field> <operator> <value> [AND <field> <operator> <value>] ...
      
       The following fields and operators are supported:
       * conversation_id with equals(=) operator
      
       Examples:
      
       * `conversation_id=bar` matches answer records in the
       `projects/foo/locations/global/conversations/bar` conversation
       (assuming the parent is `projects/foo/locations/global`).
      
       For more information about filtering, see
       [API Filtering](https://aip.dev/160).
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListAnswerRecordsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Optional. Filters to restrict results to specific answer records. The
       expression has the following syntax:
      
       <field> <operator> <value> [AND <field> <operator> <value>] ...
      
       The following fields and operators are supported:
       * conversation_id with equals(=) operator
      
       Examples:
      
       * `conversation_id=bar` matches answer records in the
       `projects/foo/locations/global/conversations/bar` conversation
       (assuming the parent is `projects/foo/locations/global`).
      
       For more information about filtering, see
       [API Filtering](https://aip.dev/160).
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Optional. The maximum number of records to return in a single page.
       The server may return fewer records than this. If unspecified, we use 10.
       The maximum is 100.
       
      int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageSize in interface ListAnswerRecordsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListAnswerRecordsRequest.Builder setPageSize(int value)
       Optional. The maximum number of records to return in a single page.
       The server may return fewer records than this. If unspecified, we use 10.
       The maximum is 100.
       
      int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListAnswerRecordsRequest.Builder clearPageSize()
       Optional. The maximum number of records to return in a single page.
       The server may return fewer records than this. If unspecified, we use 10.
       The maximum is 100.
       
      int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       Optional. The
       [ListAnswerRecordsResponse.next_page_token][google.cloud.dialogflow.v2.ListAnswerRecordsResponse.next_page_token]
       value returned from a previous list request used to continue listing on
       the next page.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageToken in interface ListAnswerRecordsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Optional. The
       [ListAnswerRecordsResponse.next_page_token][google.cloud.dialogflow.v2.ListAnswerRecordsResponse.next_page_token]
       value returned from a previous list request used to continue listing on
       the next page.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageTokenBytes in interface ListAnswerRecordsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListAnswerRecordsRequest.Builder setPageToken(String value)
       Optional. The
       [ListAnswerRecordsResponse.next_page_token][google.cloud.dialogflow.v2.ListAnswerRecordsResponse.next_page_token]
       value returned from a previous list request used to continue listing on
       the next page.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListAnswerRecordsRequest.Builder clearPageToken()
       Optional. The
       [ListAnswerRecordsResponse.next_page_token][google.cloud.dialogflow.v2.ListAnswerRecordsResponse.next_page_token]
       value returned from a previous list request used to continue listing on
       the next page.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListAnswerRecordsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Optional. The
       [ListAnswerRecordsResponse.next_page_token][google.cloud.dialogflow.v2.ListAnswerRecordsResponse.next_page_token]
       value returned from a previous list request used to continue listing on
       the next page.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.