Class QueryIssuesRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QueryIssuesRequest.Builder>
com.google.cloud.databasecenter.v1beta.QueryIssuesRequest.Builder
All Implemented Interfaces:
QueryIssuesRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
QueryIssuesRequest

public static final class QueryIssuesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<QueryIssuesRequest.Builder> implements QueryIssuesRequestOrBuilder
 QueryIssuesRequest is the request to get a list of issues.
 
Protobuf type google.cloud.databasecenter.v1beta.QueryIssuesRequest
  • 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<QueryIssuesRequest.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<QueryIssuesRequest.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<QueryIssuesRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. Parent can be a project, a folder, or an organization. The list
       is limited to the one attached to resources within the `scope` that a user
       has access to.
      
       The allowed values are:
      
       * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
       * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
       * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
       * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParent in interface QueryIssuesRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. Parent can be a project, a folder, or an organization. The list
       is limited to the one attached to resources within the `scope` that a user
       has access to.
      
       The allowed values are:
      
       * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
       * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
       * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
       * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParentBytes in interface QueryIssuesRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public QueryIssuesRequest.Builder setParent(String value)
       Required. Parent can be a project, a folder, or an organization. The list
       is limited to the one attached to resources within the `scope` that a user
       has access to.
      
       The allowed values are:
      
       * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
       * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
       * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
       * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public QueryIssuesRequest.Builder clearParent()
       Required. Parent can be a project, a folder, or an organization. The list
       is limited to the one attached to resources within the `scope` that a user
       has access to.
      
       The allowed values are:
      
       * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
       * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
       * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
       * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setParentBytes

      public QueryIssuesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. Parent can be a project, a folder, or an organization. The list
       is limited to the one attached to resources within the `scope` that a user
       has access to.
      
       The allowed values are:
      
       * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
       * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
       * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
       * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       Optional.
       Supported fields are:
       'product',
       `location`,
       `issue_severity`,
       'tags',
       'labels',
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilter in interface QueryIssuesRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Optional.
       Supported fields are:
       'product',
       `location`,
       `issue_severity`,
       'tags',
       'labels',
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterBytes in interface QueryIssuesRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public QueryIssuesRequest.Builder setFilter(String value)
       Optional.
       Supported fields are:
       'product',
       `location`,
       `issue_severity`,
       'tags',
       'labels',
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public QueryIssuesRequest.Builder clearFilter()
       Optional.
       Supported fields are:
       'product',
       `location`,
       `issue_severity`,
       'tags',
       'labels',
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public QueryIssuesRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Optional.
       Supported fields are:
       'product',
       `location`,
       `issue_severity`,
       'tags',
       'labels',
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getSignalProductsFiltersList

      public List<SignalProductsFilters> getSignalProductsFiltersList()
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalProductsFiltersList in interface QueryIssuesRequestOrBuilder
    • getSignalProductsFiltersCount

      public int getSignalProductsFiltersCount()
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalProductsFiltersCount in interface QueryIssuesRequestOrBuilder
    • getSignalProductsFilters

      public SignalProductsFilters getSignalProductsFilters(int index)
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalProductsFilters in interface QueryIssuesRequestOrBuilder
    • setSignalProductsFilters

      public QueryIssuesRequest.Builder setSignalProductsFilters(int index, SignalProductsFilters value)
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setSignalProductsFilters

      public QueryIssuesRequest.Builder setSignalProductsFilters(int index, SignalProductsFilters.Builder builderForValue)
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSignalProductsFilters

      public QueryIssuesRequest.Builder addSignalProductsFilters(SignalProductsFilters value)
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSignalProductsFilters

      public QueryIssuesRequest.Builder addSignalProductsFilters(int index, SignalProductsFilters value)
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSignalProductsFilters

      public QueryIssuesRequest.Builder addSignalProductsFilters(SignalProductsFilters.Builder builderForValue)
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSignalProductsFilters

      public QueryIssuesRequest.Builder addSignalProductsFilters(int index, SignalProductsFilters.Builder builderForValue)
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAllSignalProductsFilters

      public QueryIssuesRequest.Builder addAllSignalProductsFilters(Iterable<? extends SignalProductsFilters> values)
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearSignalProductsFilters

      public QueryIssuesRequest.Builder clearSignalProductsFilters()
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • removeSignalProductsFilters

      public QueryIssuesRequest.Builder removeSignalProductsFilters(int index)
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSignalProductsFiltersBuilder

      public SignalProductsFilters.Builder getSignalProductsFiltersBuilder(int index)
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSignalProductsFiltersOrBuilder

      public SignalProductsFiltersOrBuilder getSignalProductsFiltersOrBuilder(int index)
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalProductsFiltersOrBuilder in interface QueryIssuesRequestOrBuilder
    • getSignalProductsFiltersOrBuilderList

      public List<? extends SignalProductsFiltersOrBuilder> getSignalProductsFiltersOrBuilderList()
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalProductsFiltersOrBuilderList in interface QueryIssuesRequestOrBuilder
    • addSignalProductsFiltersBuilder

      public SignalProductsFilters.Builder addSignalProductsFiltersBuilder()
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSignalProductsFiltersBuilder

      public SignalProductsFilters.Builder addSignalProductsFiltersBuilder(int index)
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSignalProductsFiltersBuilderList

      public List<SignalProductsFilters.Builder> getSignalProductsFiltersBuilderList()
       Optional. Filters based on signal and product. The filter list will be ORed
       across pairs and ANDed within a signal and products pair.
       
      repeated .google.cloud.databasecenter.v1beta.SignalProductsFilters signal_products_filters = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getOrderBy

      public String getOrderBy()
       Optional. Following fields are sortable:
       SignalType
       Product
       Location
       IssueSeverity
      
       The default order is ascending. Add "DESC" after the field name to indicate
       descending order. Add "ASC" after the field name to indicate ascending
       order. It only supports a single field at a time.
       
      string order_by = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderBy in interface QueryIssuesRequestOrBuilder
      Returns:
      The orderBy.
    • getOrderByBytes

      public com.google.protobuf.ByteString getOrderByBytes()
       Optional. Following fields are sortable:
       SignalType
       Product
       Location
       IssueSeverity
      
       The default order is ascending. Add "DESC" after the field name to indicate
       descending order. Add "ASC" after the field name to indicate ascending
       order. It only supports a single field at a time.
       
      string order_by = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderByBytes in interface QueryIssuesRequestOrBuilder
      Returns:
      The bytes for orderBy.
    • setOrderBy

      public QueryIssuesRequest.Builder setOrderBy(String value)
       Optional. Following fields are sortable:
       SignalType
       Product
       Location
       IssueSeverity
      
       The default order is ascending. Add "DESC" after the field name to indicate
       descending order. Add "ASC" after the field name to indicate ascending
       order. It only supports a single field at a time.
       
      string order_by = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The orderBy to set.
      Returns:
      This builder for chaining.
    • clearOrderBy

      public QueryIssuesRequest.Builder clearOrderBy()
       Optional. Following fields are sortable:
       SignalType
       Product
       Location
       IssueSeverity
      
       The default order is ascending. Add "DESC" after the field name to indicate
       descending order. Add "ASC" after the field name to indicate ascending
       order. It only supports a single field at a time.
       
      string order_by = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setOrderByBytes

      public QueryIssuesRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
       Optional. Following fields are sortable:
       SignalType
       Product
       Location
       IssueSeverity
      
       The default order is ascending. Add "DESC" after the field name to indicate
       descending order. Add "ASC" after the field name to indicate ascending
       order. It only supports a single field at a time.
       
      string order_by = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for orderBy to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Optional. If unspecified, at most 50 issues will be returned.
       The maximum value is 1000; values above 1000 will be coerced to 1000.
       
      int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageSize in interface QueryIssuesRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public QueryIssuesRequest.Builder setPageSize(int value)
       Optional. If unspecified, at most 50 issues will be returned.
       The maximum value is 1000; values above 1000 will be coerced to 1000.
       
      int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public QueryIssuesRequest.Builder clearPageSize()
       Optional. If unspecified, at most 50 issues will be returned.
       The maximum value is 1000; values above 1000 will be coerced to 1000.
       
      int32 page_size = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       Optional. A page token, received from a previous `QueryIssues` call.
       Provide this to retrieve the subsequent page.
       All parameters except page size should match the parameters used in the
       call that provided the page token.
       
      string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageToken in interface QueryIssuesRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Optional. A page token, received from a previous `QueryIssues` call.
       Provide this to retrieve the subsequent page.
       All parameters except page size should match the parameters used in the
       call that provided the page token.
       
      string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageTokenBytes in interface QueryIssuesRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public QueryIssuesRequest.Builder setPageToken(String value)
       Optional. A page token, received from a previous `QueryIssues` call.
       Provide this to retrieve the subsequent page.
       All parameters except page size should match the parameters used in the
       call that provided the page token.
       
      string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public QueryIssuesRequest.Builder clearPageToken()
       Optional. A page token, received from a previous `QueryIssues` call.
       Provide this to retrieve the subsequent page.
       All parameters except page size should match the parameters used in the
       call that provided the page token.
       
      string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public QueryIssuesRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Optional. A page token, received from a previous `QueryIssues` call.
       Provide this to retrieve the subsequent page.
       All parameters except page size should match the parameters used in the
       call that provided the page token.
       
      string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.