Class QueryIssuesRequest.Builder (0.6.0)

public static final class QueryIssuesRequest.Builder extends GeneratedMessage.Builder<QueryIssuesRequest.Builder> implements QueryIssuesRequestOrBuilder

QueryIssuesRequest is the request to get a list of issues.

Protobuf type google.cloud.databasecenter.v1beta.QueryIssuesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSignalProductsFilters(Iterable<? extends SignalProductsFilters> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.databasecenter.v1beta.SignalProductsFilters>
Returns
Type Description
QueryIssuesRequest.Builder

addSignalProductsFilters(SignalProductsFilters value)

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];

Parameter
Name Description
value SignalProductsFilters
Returns
Type Description
QueryIssuesRequest.Builder

addSignalProductsFilters(SignalProductsFilters.Builder builderForValue)

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];

Parameter
Name Description
builderForValue SignalProductsFilters.Builder
Returns
Type Description
QueryIssuesRequest.Builder

addSignalProductsFilters(int index, SignalProductsFilters value)

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];

Parameters
Name Description
index int
value SignalProductsFilters
Returns
Type Description
QueryIssuesRequest.Builder

addSignalProductsFilters(int index, SignalProductsFilters.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue SignalProductsFilters.Builder
Returns
Type Description
QueryIssuesRequest.Builder

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];

Returns
Type Description
SignalProductsFilters.Builder

addSignalProductsFiltersBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
SignalProductsFilters.Builder

build()

public QueryIssuesRequest build()
Returns
Type Description
QueryIssuesRequest

buildPartial()

public QueryIssuesRequest buildPartial()
Returns
Type Description
QueryIssuesRequest

clear()

public QueryIssuesRequest.Builder clear()
Returns
Type Description
QueryIssuesRequest.Builder
Overrides

clearFilter()

public QueryIssuesRequest.Builder clearFilter()

Optional. Supported fields are: 'product', location, issue_severity, 'tags', 'labels',

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
QueryIssuesRequest.Builder

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
Type Description
QueryIssuesRequest.Builder

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
Type Description
QueryIssuesRequest.Builder

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
Type Description
QueryIssuesRequest.Builder

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
Type Description
QueryIssuesRequest.Builder

This builder for chaining.

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];

Returns
Type Description
QueryIssuesRequest.Builder

getDefaultInstanceForType()

public QueryIssuesRequest getDefaultInstanceForType()
Returns
Type Description
QueryIssuesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

Optional. Supported fields are: 'product', location, issue_severity, 'tags', 'labels',

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Supported fields are: 'product', location, issue_severity, 'tags', 'labels',

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

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];

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public 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];

Returns
Type Description
ByteString

The bytes for orderBy.

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];

Returns
Type Description
int

The pageSize.

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];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public 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];

Returns
Type Description
ByteString

The bytes for pageToken.

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];

Returns
Type Description
String

The parent.

getParentBytes()

public 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];

Returns
Type Description
ByteString

The bytes for parent.

getSignalProductsFilters(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
SignalProductsFilters

getSignalProductsFiltersBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
SignalProductsFilters.Builder

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];

Returns
Type Description
List<Builder>

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];

Returns
Type Description
int

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];

Returns
Type Description
List<SignalProductsFilters>

getSignalProductsFiltersOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
SignalProductsFiltersOrBuilder

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];

Returns
Type Description
List<? extends com.google.cloud.databasecenter.v1beta.SignalProductsFiltersOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryIssuesRequest other)

public QueryIssuesRequest.Builder mergeFrom(QueryIssuesRequest other)
Parameter
Name Description
other QueryIssuesRequest
Returns
Type Description
QueryIssuesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryIssuesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryIssuesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QueryIssuesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueryIssuesRequest.Builder
Overrides

removeSignalProductsFilters(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
QueryIssuesRequest.Builder

setFilter(String value)

public QueryIssuesRequest.Builder setFilter(String value)

Optional. Supported fields are: 'product', location, issue_severity, 'tags', 'labels',

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
QueryIssuesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public QueryIssuesRequest.Builder setFilterBytes(ByteString value)

Optional. Supported fields are: 'product', location, issue_severity, 'tags', 'labels',

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
QueryIssuesRequest.Builder

This builder for chaining.

setOrderBy(String value)

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];

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
QueryIssuesRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public QueryIssuesRequest.Builder setOrderByBytes(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];

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
QueryIssuesRequest.Builder

This builder for chaining.

setPageSize(int value)

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];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
QueryIssuesRequest.Builder

This builder for chaining.

setPageToken(String value)

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];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
QueryIssuesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public QueryIssuesRequest.Builder setPageTokenBytes(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];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
QueryIssuesRequest.Builder

This builder for chaining.

setParent(String value)

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];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
QueryIssuesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public QueryIssuesRequest.Builder setParentBytes(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];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
QueryIssuesRequest.Builder

This builder for chaining.

setSignalProductsFilters(int index, SignalProductsFilters value)

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];

Parameters
Name Description
index int
value SignalProductsFilters
Returns
Type Description
QueryIssuesRequest.Builder

setSignalProductsFilters(int index, SignalProductsFilters.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue SignalProductsFilters.Builder
Returns
Type Description
QueryIssuesRequest.Builder