Class QueryDatabaseResourceGroupsRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsRequest
All Implemented Interfaces:
QueryDatabaseResourceGroupsRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class QueryDatabaseResourceGroupsRequest extends com.google.protobuf.GeneratedMessage implements QueryDatabaseResourceGroupsRequestOrBuilder
 QueryDatabaseResourceGroupsRequest is the request to get a list of database
 groups.
 
Protobuf type google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsRequest
See Also:
  • Field Details

    • PARENT_FIELD_NUMBER

      public static final int PARENT_FIELD_NUMBER
      See Also:
    • FILTER_FIELD_NUMBER

      public static final int FILTER_FIELD_NUMBER
      See Also:
    • SIGNAL_TYPE_GROUPS_FIELD_NUMBER

      public static final int SIGNAL_TYPE_GROUPS_FIELD_NUMBER
      See Also:
    • SIGNAL_FILTERS_FIELD_NUMBER

      public static final int SIGNAL_FILTERS_FIELD_NUMBER
      See Also:
    • ORDER_BY_FIELD_NUMBER

      public static final int ORDER_BY_FIELD_NUMBER
      See Also:
    • PAGE_SIZE_FIELD_NUMBER

      public static final int PAGE_SIZE_FIELD_NUMBER
      See Also:
    • PAGE_TOKEN_FIELD_NUMBER

      public static final int PAGE_TOKEN_FIELD_NUMBER
      See Also:
  • 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
    • getParent

      public String getParent()
       Required. Parent can be a project, a folder, or an organization. The search
       is limited to the resources within the `scope`.
      
       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 QueryDatabaseResourceGroupsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. Parent can be a project, a folder, or an organization. The search
       is limited to the resources within the `scope`.
      
       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 QueryDatabaseResourceGroupsRequestOrBuilder
      Returns:
      The bytes for parent.
    • getFilter

      public String getFilter()
       Optional. The expression to filter resources.
      
       The following fields are filterable:
       * full_resource_name
       * resource_type
       * container
       * product.type
       * product.engine
       * product.version
       * location
       * labels
       * resource_category
       * machine_config.cpu_count
       * machine_config.memory_size_bytes
       * machine_config.shard_count
       * resource_name
       * tags
       * backupdr_config.backupdr_managed
       * edition
      
       The expression is a list of zero or more restrictions combined via logical
       operators `AND` and `OR`. When `AND` and `OR` are both used in the
       expression, parentheses must be appropriately used to group the
       combinations.
      
       Example: `location="us-east1"`
       Example: `container="projects/123" OR container="projects/456"`
       Example: `(container="projects/123" OR
       container="projects/456") AND location="us-east1"`
       Example: `full_resource_name=~"test"`
       Example: `full_resource_name=~"test.*master"`
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilter in interface QueryDatabaseResourceGroupsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Optional. The expression to filter resources.
      
       The following fields are filterable:
       * full_resource_name
       * resource_type
       * container
       * product.type
       * product.engine
       * product.version
       * location
       * labels
       * resource_category
       * machine_config.cpu_count
       * machine_config.memory_size_bytes
       * machine_config.shard_count
       * resource_name
       * tags
       * backupdr_config.backupdr_managed
       * edition
      
       The expression is a list of zero or more restrictions combined via logical
       operators `AND` and `OR`. When `AND` and `OR` are both used in the
       expression, parentheses must be appropriately used to group the
       combinations.
      
       Example: `location="us-east1"`
       Example: `container="projects/123" OR container="projects/456"`
       Example: `(container="projects/123" OR
       container="projects/456") AND location="us-east1"`
       Example: `full_resource_name=~"test"`
       Example: `full_resource_name=~"test.*master"`
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterBytes in interface QueryDatabaseResourceGroupsRequestOrBuilder
      Returns:
      The bytes for filter.
    • getSignalTypeGroupsList

      public List<SignalTypeGroup> getSignalTypeGroupsList()
       Optional. Groups of signal types that are requested.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalTypeGroupsList in interface QueryDatabaseResourceGroupsRequestOrBuilder
    • getSignalTypeGroupsOrBuilderList

      public List<? extends SignalTypeGroupOrBuilder> getSignalTypeGroupsOrBuilderList()
       Optional. Groups of signal types that are requested.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalTypeGroupsOrBuilderList in interface QueryDatabaseResourceGroupsRequestOrBuilder
    • getSignalTypeGroupsCount

      public int getSignalTypeGroupsCount()
       Optional. Groups of signal types that are requested.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalTypeGroupsCount in interface QueryDatabaseResourceGroupsRequestOrBuilder
    • getSignalTypeGroups

      public SignalTypeGroup getSignalTypeGroups(int index)
       Optional. Groups of signal types that are requested.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalTypeGroups in interface QueryDatabaseResourceGroupsRequestOrBuilder
    • getSignalTypeGroupsOrBuilder

      public SignalTypeGroupOrBuilder getSignalTypeGroupsOrBuilder(int index)
       Optional. Groups of signal types that are requested.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalTypeGroupsOrBuilder in interface QueryDatabaseResourceGroupsRequestOrBuilder
    • getSignalFiltersList

      public List<SignalFilter> getSignalFiltersList()
       Optional. Filters based on signals. The list will be ORed together and then
       ANDed with the `filters` field above.
       
      repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalFiltersList in interface QueryDatabaseResourceGroupsRequestOrBuilder
    • getSignalFiltersOrBuilderList

      public List<? extends SignalFilterOrBuilder> getSignalFiltersOrBuilderList()
       Optional. Filters based on signals. The list will be ORed together and then
       ANDed with the `filters` field above.
       
      repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalFiltersOrBuilderList in interface QueryDatabaseResourceGroupsRequestOrBuilder
    • getSignalFiltersCount

      public int getSignalFiltersCount()
       Optional. Filters based on signals. The list will be ORed together and then
       ANDed with the `filters` field above.
       
      repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalFiltersCount in interface QueryDatabaseResourceGroupsRequestOrBuilder
    • getSignalFilters

      public SignalFilter getSignalFilters(int index)
       Optional. Filters based on signals. The list will be ORed together and then
       ANDed with the `filters` field above.
       
      repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalFilters in interface QueryDatabaseResourceGroupsRequestOrBuilder
    • getSignalFiltersOrBuilder

      public SignalFilterOrBuilder getSignalFiltersOrBuilder(int index)
       Optional. Filters based on signals. The list will be ORed together and then
       ANDed with the `filters` field above.
       
      repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSignalFiltersOrBuilder in interface QueryDatabaseResourceGroupsRequestOrBuilder
    • getOrderBy

      public String getOrderBy()
       Optional. A field that specifies the sort order of the results.
      
       The following fields are sortable:
       * full_resource_name
       * product.type
       * product.engine
       * product.version
       * container
       * issue_count
       * machine_config.vcpu_count
       * machine_config.memory_size_bytes
       * machine_config.shard_count
       * resource_name
       * issue_severity
       * signal_type
       * location
       * resource_type
       * instance_type
       * edition
       * metrics.p99_cpu_utilization
       * metrics.p95_cpu_utilization
       * metrics.current_storage_used_bytes
       * metrics.node_count
       * metrics.processing_unit_count
       * metrics.current_memory_used_bytes
       * metrics.peak_storage_utilization
       * metrics.peak_number_connections
       * metrics.peak_memory_utilization
      
       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.
      
       For example:
       `order_by = "full_resource_name"` sorts response in ascending order
       `order_by = "full_resource_name DESC"` sorts response in descending order
       `order_by = "issue_count DESC"` sorts response in descending order of
       count of all issues associated with a resource.
      
       More explicitly, `order_by = "full_resource_name, product"` is not
       supported.
       
      string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderBy in interface QueryDatabaseResourceGroupsRequestOrBuilder
      Returns:
      The orderBy.
    • getOrderByBytes

      public com.google.protobuf.ByteString getOrderByBytes()
       Optional. A field that specifies the sort order of the results.
      
       The following fields are sortable:
       * full_resource_name
       * product.type
       * product.engine
       * product.version
       * container
       * issue_count
       * machine_config.vcpu_count
       * machine_config.memory_size_bytes
       * machine_config.shard_count
       * resource_name
       * issue_severity
       * signal_type
       * location
       * resource_type
       * instance_type
       * edition
       * metrics.p99_cpu_utilization
       * metrics.p95_cpu_utilization
       * metrics.current_storage_used_bytes
       * metrics.node_count
       * metrics.processing_unit_count
       * metrics.current_memory_used_bytes
       * metrics.peak_storage_utilization
       * metrics.peak_number_connections
       * metrics.peak_memory_utilization
      
       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.
      
       For example:
       `order_by = "full_resource_name"` sorts response in ascending order
       `order_by = "full_resource_name DESC"` sorts response in descending order
       `order_by = "issue_count DESC"` sorts response in descending order of
       count of all issues associated with a resource.
      
       More explicitly, `order_by = "full_resource_name, product"` is not
       supported.
       
      string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderByBytes in interface QueryDatabaseResourceGroupsRequestOrBuilder
      Returns:
      The bytes for orderBy.
    • getPageSize

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

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

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static QueryDatabaseResourceGroupsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryDatabaseResourceGroupsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryDatabaseResourceGroupsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryDatabaseResourceGroupsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryDatabaseResourceGroupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryDatabaseResourceGroupsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryDatabaseResourceGroupsRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QueryDatabaseResourceGroupsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static QueryDatabaseResourceGroupsRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static QueryDatabaseResourceGroupsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QueryDatabaseResourceGroupsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QueryDatabaseResourceGroupsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public QueryDatabaseResourceGroupsRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static QueryDatabaseResourceGroupsRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected QueryDatabaseResourceGroupsRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static QueryDatabaseResourceGroupsRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<QueryDatabaseResourceGroupsRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<QueryDatabaseResourceGroupsRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public QueryDatabaseResourceGroupsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder