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 Summary
Modifier and TypeMethodDescriptionaddAllSignalProductsFilters(Iterable<? extends SignalProductsFilters> values) Optional.addSignalProductsFilters(int index, SignalProductsFilters value) Optional.addSignalProductsFilters(int index, SignalProductsFilters.Builder builderForValue) Optional.Optional.addSignalProductsFilters(SignalProductsFilters.Builder builderForValue) Optional.Optional.addSignalProductsFiltersBuilder(int index) Optional.build()clear()Optional.Optional.Optional.Optional.Required.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.intOptional.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.getSignalProductsFilters(int index) Optional.getSignalProductsFiltersBuilder(int index) Optional.Optional.intOptional.Optional.getSignalProductsFiltersOrBuilder(int index) Optional.List<? extends SignalProductsFiltersOrBuilder>Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(QueryIssuesRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSignalProductsFilters(int index) Optional.Optional.setFilterBytes(com.google.protobuf.ByteString value) Optional.setOrderBy(String value) Optional.setOrderByBytes(com.google.protobuf.ByteString value) Optional.setPageSize(int value) Optional.setPageToken(String value) Optional.setPageTokenBytes(com.google.protobuf.ByteString value) Optional.Required.setParentBytes(com.google.protobuf.ByteString value) Required.setSignalProductsFilters(int index, SignalProductsFilters value) Optional.setSignalProductsFilters(int index, SignalProductsFilters.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<QueryIssuesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<QueryIssuesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<QueryIssuesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryIssuesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryIssuesRequest.Builder>- Throws:
IOException
-
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:
getParentin interfaceQueryIssuesRequestOrBuilder- 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:
getParentBytesin interfaceQueryIssuesRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
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
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
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
Optional. Supported fields are: 'product', `location`, `issue_severity`, 'tags', 'labels',
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFilterin interfaceQueryIssuesRequestOrBuilder- 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:
getFilterBytesin interfaceQueryIssuesRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
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
Optional. Supported fields are: 'product', `location`, `issue_severity`, 'tags', 'labels',
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setFilterBytes
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
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:
getSignalProductsFiltersListin interfaceQueryIssuesRequestOrBuilder
-
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:
getSignalProductsFiltersCountin interfaceQueryIssuesRequestOrBuilder
-
getSignalProductsFilters
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:
getSignalProductsFiltersin interfaceQueryIssuesRequestOrBuilder
-
setSignalProductsFilters
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
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
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
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
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
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
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:
getSignalProductsFiltersOrBuilderin interfaceQueryIssuesRequestOrBuilder
-
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:
getSignalProductsFiltersOrBuilderListin interfaceQueryIssuesRequestOrBuilder
-
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
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
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
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:
getOrderByin interfaceQueryIssuesRequestOrBuilder- 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:
getOrderByBytesin interfaceQueryIssuesRequestOrBuilder- Returns:
- The bytes for orderBy.
-
setOrderBy
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
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
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:
getPageSizein interfaceQueryIssuesRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
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
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
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:
getPageTokenin interfaceQueryIssuesRequestOrBuilder- 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:
getPageTokenBytesin interfaceQueryIssuesRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
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
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
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.
-