Interface SearchProductsRequestOrBuilder

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

    public interface SearchProductsRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getPageSize()
      The maximum number of entries that are requested.
      String getPageToken()
      A pagination token returned from a previous call to SearchProducts that indicates where this listing should continue from.
      com.google.protobuf.ByteString getPageTokenBytes()
      A pagination token returned from a previous call to SearchProducts that indicates where this listing should continue from.
      String getQuery()
      The query to filter the products.
      com.google.protobuf.ByteString getQueryBytes()
      The query to filter the products.
      String getResource()
      Required.
      com.google.protobuf.ByteString getResourceBytes()
      Required.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getResource

        String getResource()
         Required. The name of the resource context. See [SearchCatalogsRequest.resource][google.cloud.privatecatalog.v1beta1.SearchCatalogsRequest.resource]
         for details.
         
        string resource = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The resource.
      • getResourceBytes

        com.google.protobuf.ByteString getResourceBytes()
         Required. The name of the resource context. See [SearchCatalogsRequest.resource][google.cloud.privatecatalog.v1beta1.SearchCatalogsRequest.resource]
         for details.
         
        string resource = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for resource.
      • getQuery

        String getQuery()
         The query to filter the products.
        
         The supported queries are:
         * List products of all catalogs: empty
         * List products under a catalog: `parent=catalogs/{catalog}`
         * Get a product by name:
         `name=catalogs/{catalog}/products/{product}`
         
        string query = 2;
        Returns:
        The query.
      • getQueryBytes

        com.google.protobuf.ByteString getQueryBytes()
         The query to filter the products.
        
         The supported queries are:
         * List products of all catalogs: empty
         * List products under a catalog: `parent=catalogs/{catalog}`
         * Get a product by name:
         `name=catalogs/{catalog}/products/{product}`
         
        string query = 2;
        Returns:
        The bytes for query.
      • getPageSize

        int getPageSize()
         The maximum number of entries that are requested.
         
        int32 page_size = 3;
        Returns:
        The pageSize.
      • getPageToken

        String getPageToken()
         A pagination token returned from a previous call to SearchProducts that
         indicates where this listing should continue from.
         
        string page_token = 4;
        Returns:
        The pageToken.
      • getPageTokenBytes

        com.google.protobuf.ByteString getPageTokenBytes()
         A pagination token returned from a previous call to SearchProducts that
         indicates where this listing should continue from.
         
        string page_token = 4;
        Returns:
        The bytes for pageToken.