Class ListOrdersRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListOrdersRequest.Builder>
com.google.cloud.commerce.consumer.procurement.v1alpha1.ListOrdersRequest.Builder
All Implemented Interfaces:
ListOrdersRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListOrdersRequest

public static final class ListOrdersRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListOrdersRequest.Builder> implements ListOrdersRequestOrBuilder
 Request message for
 [ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.ListOrders].
 
Protobuf type google.cloud.commerce.consumer.procurement.v1alpha1.ListOrdersRequest
  • 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<ListOrdersRequest.Builder>
    • clear

      public ListOrdersRequest.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<ListOrdersRequest.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<ListOrdersRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ListOrdersRequest.Builder mergeFrom(ListOrdersRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListOrdersRequest.Builder>
    • mergeFrom

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

      public String getParent()
       Required. The parent resource to query for orders.
       This field has the form `billingAccounts/{billing-account-id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParent in interface ListOrdersRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource to query for orders.
       This field has the form `billingAccounts/{billing-account-id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParentBytes in interface ListOrdersRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListOrdersRequest.Builder setParent(String value)
       Required. The parent resource to query for orders.
       This field has the form `billingAccounts/{billing-account-id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ListOrdersRequest.Builder clearParent()
       Required. The parent resource to query for orders.
       This field has the form `billingAccounts/{billing-account-id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListOrdersRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource to query for orders.
       This field has the form `billingAccounts/{billing-account-id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The maximum number of entries requested.
       The default page size is 25 and the maximum page size is 200.
       
      int32 page_size = 2;
      Specified by:
      getPageSize in interface ListOrdersRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListOrdersRequest.Builder setPageSize(int value)
       The maximum number of entries requested.
       The default page size is 25 and the maximum page size is 200.
       
      int32 page_size = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListOrdersRequest.Builder clearPageSize()
       The maximum number of entries requested.
       The default page size is 25 and the maximum page size is 200.
       
      int32 page_size = 2;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       The token for fetching the next page.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface ListOrdersRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       The token for fetching the next page.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface ListOrdersRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListOrdersRequest.Builder setPageToken(String value)
       The token for fetching the next page.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListOrdersRequest.Builder clearPageToken()
       The token for fetching the next page.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListOrdersRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       The token for fetching the next page.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       Filter that you can use to limit the list request.
      
       A query string that can match a selected set of attributes
       with string values. For example, `display_name=abc`.
       Supported query attributes are
      
       * `display_name`
      
       If the query contains special characters other than letters,
       underscore, or digits, the phrase must be quoted with double quotes. For
       example, `display_name="foo:bar"`, where the display name needs to be
       quoted because it contains special character colon.
      
       Queries can be combined with `OR`, and `NOT` to form more complex queries.
       You can also group them to force a desired evaluation order.
       For example, `display_name=abc OR display_name=def`.
       
      string filter = 4;
      Specified by:
      getFilter in interface ListOrdersRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Filter that you can use to limit the list request.
      
       A query string that can match a selected set of attributes
       with string values. For example, `display_name=abc`.
       Supported query attributes are
      
       * `display_name`
      
       If the query contains special characters other than letters,
       underscore, or digits, the phrase must be quoted with double quotes. For
       example, `display_name="foo:bar"`, where the display name needs to be
       quoted because it contains special character colon.
      
       Queries can be combined with `OR`, and `NOT` to form more complex queries.
       You can also group them to force a desired evaluation order.
       For example, `display_name=abc OR display_name=def`.
       
      string filter = 4;
      Specified by:
      getFilterBytes in interface ListOrdersRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListOrdersRequest.Builder setFilter(String value)
       Filter that you can use to limit the list request.
      
       A query string that can match a selected set of attributes
       with string values. For example, `display_name=abc`.
       Supported query attributes are
      
       * `display_name`
      
       If the query contains special characters other than letters,
       underscore, or digits, the phrase must be quoted with double quotes. For
       example, `display_name="foo:bar"`, where the display name needs to be
       quoted because it contains special character colon.
      
       Queries can be combined with `OR`, and `NOT` to form more complex queries.
       You can also group them to force a desired evaluation order.
       For example, `display_name=abc OR display_name=def`.
       
      string filter = 4;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListOrdersRequest.Builder clearFilter()
       Filter that you can use to limit the list request.
      
       A query string that can match a selected set of attributes
       with string values. For example, `display_name=abc`.
       Supported query attributes are
      
       * `display_name`
      
       If the query contains special characters other than letters,
       underscore, or digits, the phrase must be quoted with double quotes. For
       example, `display_name="foo:bar"`, where the display name needs to be
       quoted because it contains special character colon.
      
       Queries can be combined with `OR`, and `NOT` to form more complex queries.
       You can also group them to force a desired evaluation order.
       For example, `display_name=abc OR display_name=def`.
       
      string filter = 4;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListOrdersRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Filter that you can use to limit the list request.
      
       A query string that can match a selected set of attributes
       with string values. For example, `display_name=abc`.
       Supported query attributes are
      
       * `display_name`
      
       If the query contains special characters other than letters,
       underscore, or digits, the phrase must be quoted with double quotes. For
       example, `display_name="foo:bar"`, where the display name needs to be
       quoted because it contains special character colon.
      
       Queries can be combined with `OR`, and `NOT` to form more complex queries.
       You can also group them to force a desired evaluation order.
       For example, `display_name=abc OR display_name=def`.
       
      string filter = 4;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.