Class SearchCaseClassificationsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchCaseClassificationsRequest.Builder>
com.google.cloud.support.v2beta.SearchCaseClassificationsRequest.Builder
All Implemented Interfaces:
SearchCaseClassificationsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SearchCaseClassificationsRequest

public static final class SearchCaseClassificationsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchCaseClassificationsRequest.Builder> implements SearchCaseClassificationsRequestOrBuilder
 The request message for the SearchCaseClassifications endpoint.
 
Protobuf type google.cloud.support.v2beta.SearchCaseClassificationsRequest
  • 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<SearchCaseClassificationsRequest.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<SearchCaseClassificationsRequest.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<SearchCaseClassificationsRequest.Builder>
    • getDefaultInstanceForType

      public SearchCaseClassificationsRequest 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

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

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

      public SearchCaseClassificationsRequest.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<SearchCaseClassificationsRequest.Builder>
      Throws:
      IOException
    • getQuery

      public String getQuery()
       An expression used to filter case classifications.
      
       If it's an empty string, then no filtering happens. Otherwise, case
       classifications will be returned that match the filter.
       
      string query = 1;
      Specified by:
      getQuery in interface SearchCaseClassificationsRequestOrBuilder
      Returns:
      The query.
    • getQueryBytes

      public com.google.protobuf.ByteString getQueryBytes()
       An expression used to filter case classifications.
      
       If it's an empty string, then no filtering happens. Otherwise, case
       classifications will be returned that match the filter.
       
      string query = 1;
      Specified by:
      getQueryBytes in interface SearchCaseClassificationsRequestOrBuilder
      Returns:
      The bytes for query.
    • setQuery

       An expression used to filter case classifications.
      
       If it's an empty string, then no filtering happens. Otherwise, case
       classifications will be returned that match the filter.
       
      string query = 1;
      Parameters:
      value - The query to set.
      Returns:
      This builder for chaining.
    • clearQuery

       An expression used to filter case classifications.
      
       If it's an empty string, then no filtering happens. Otherwise, case
       classifications will be returned that match the filter.
       
      string query = 1;
      Returns:
      This builder for chaining.
    • setQueryBytes

      public SearchCaseClassificationsRequest.Builder setQueryBytes(com.google.protobuf.ByteString value)
       An expression used to filter case classifications.
      
       If it's an empty string, then no filtering happens. Otherwise, case
       classifications will be returned that match the filter.
       
      string query = 1;
      Parameters:
      value - The bytes for query to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The maximum number of classifications fetched with each request.
       
      int32 page_size = 2;
      Specified by:
      getPageSize in interface SearchCaseClassificationsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public SearchCaseClassificationsRequest.Builder setPageSize(int value)
       The maximum number of classifications fetched with each request.
       
      int32 page_size = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

       The maximum number of classifications fetched with each request.
       
      int32 page_size = 2;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       A token identifying the page of results to return. If unspecified, the
       first page is retrieved.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface SearchCaseClassificationsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       A token identifying the page of results to return. If unspecified, the
       first page is retrieved.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface SearchCaseClassificationsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public SearchCaseClassificationsRequest.Builder setPageToken(String value)
       A token identifying the page of results to return. If unspecified, the
       first page is retrieved.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

       A token identifying the page of results to return. If unspecified, the
       first page is retrieved.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public SearchCaseClassificationsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       A token identifying the page of results to return. If unspecified, the
       first page is retrieved.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • hasProduct

      public boolean hasProduct()
       Optional. The product to return case classifications for.
       
      .google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasProduct in interface SearchCaseClassificationsRequestOrBuilder
      Returns:
      Whether the product field is set.
    • getProduct

      public Product getProduct()
       Optional. The product to return case classifications for.
       
      .google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProduct in interface SearchCaseClassificationsRequestOrBuilder
      Returns:
      The product.
    • setProduct

       Optional. The product to return case classifications for.
       
      .google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];
    • setProduct

      public SearchCaseClassificationsRequest.Builder setProduct(Product.Builder builderForValue)
       Optional. The product to return case classifications for.
       
      .google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];
    • mergeProduct

       Optional. The product to return case classifications for.
       
      .google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];
    • clearProduct

       Optional. The product to return case classifications for.
       
      .google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getProductBuilder

      public Product.Builder getProductBuilder()
       Optional. The product to return case classifications for.
       
      .google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getProductOrBuilder

      public ProductOrBuilder getProductOrBuilder()
       Optional. The product to return case classifications for.
       
      .google.cloud.support.v2beta.Product product = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProductOrBuilder in interface SearchCaseClassificationsRequestOrBuilder