Class AggregateFleetRequest

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

@Generated public final class AggregateFleetRequest extends com.google.protobuf.GeneratedMessage implements AggregateFleetRequestOrBuilder
 The request message to aggregate fleet which are grouped by a field.
 
Protobuf type google.cloud.databasecenter.v1beta.AggregateFleetRequest
See Also:
  • Field Details

  • 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 AggregateFleetRequestOrBuilder
      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 AggregateFleetRequestOrBuilder
      Returns:
      The bytes for parent.
    • getFilter

      public String getFilter()
       Optional. The expression to filter resources.
      
       Supported fields are: `full_resource_name`, `resource_type`, `container`,
       `product.type`, `product.engine`, `product.version`, `location`,
       `labels`, `issues`, fields of availability_info, data_protection_info,
       'resource_name', etc.
      
       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"`
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilter in interface AggregateFleetRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Optional. The expression to filter resources.
      
       Supported fields are: `full_resource_name`, `resource_type`, `container`,
       `product.type`, `product.engine`, `product.version`, `location`,
       `labels`, `issues`, fields of availability_info, data_protection_info,
       'resource_name', etc.
      
       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"`
       
      string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterBytes in interface AggregateFleetRequestOrBuilder
      Returns:
      The bytes for filter.
    • getGroupBy

      public String getGroupBy()
       Optional. A field that statistics are grouped by.
       Valid values are any combination of the following:
       * container
       * product.type
       * product.engine
       * product.version
       * location
       * sub_resource_type
       * management_type
       * tag.key
       * tag.value
       * tag.source
       * tag.inherited
       * label.key
       * label.value
       * label.source
       * has_maintenance_schedule
       * has_deny_maintenance_schedules
       Comma separated list.
       
      string group_by = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGroupBy in interface AggregateFleetRequestOrBuilder
      Returns:
      The groupBy.
    • getGroupByBytes

      public com.google.protobuf.ByteString getGroupByBytes()
       Optional. A field that statistics are grouped by.
       Valid values are any combination of the following:
       * container
       * product.type
       * product.engine
       * product.version
       * location
       * sub_resource_type
       * management_type
       * tag.key
       * tag.value
       * tag.source
       * tag.inherited
       * label.key
       * label.value
       * label.source
       * has_maintenance_schedule
       * has_deny_maintenance_schedules
       Comma separated list.
       
      string group_by = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGroupByBytes in interface AggregateFleetRequestOrBuilder
      Returns:
      The bytes for groupBy.
    • getOrderBy

      public String getOrderBy()
       Optional. Valid values to order by are:
       * resource_groups_count
       * resources_count
       * and all fields supported by `group_by`
       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 supports ordering using multiple fields.
       For example:
       `order_by = "resource_groups_count"` sorts response in ascending order
       `order_by = "resource_groups_count DESC"` sorts response in descending
       order
       `order_by = "product.type, product.version DESC, location"` orders by type
       in ascending order, version in descending order and location in ascending
       order
       
      string order_by = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderBy in interface AggregateFleetRequestOrBuilder
      Returns:
      The orderBy.
    • getOrderByBytes

      public com.google.protobuf.ByteString getOrderByBytes()
       Optional. Valid values to order by are:
       * resource_groups_count
       * resources_count
       * and all fields supported by `group_by`
       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 supports ordering using multiple fields.
       For example:
       `order_by = "resource_groups_count"` sorts response in ascending order
       `order_by = "resource_groups_count DESC"` sorts response in descending
       order
       `order_by = "product.type, product.version DESC, location"` orders by type
       in ascending order, version in descending order and location in ascending
       order
       
      string order_by = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderByBytes in interface AggregateFleetRequestOrBuilder
      Returns:
      The bytes for orderBy.
    • getPageSize

      public int getPageSize()
       Optional. If unspecified, at most 50 items 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 AggregateFleetRequestOrBuilder
      Returns:
      The pageSize.
    • getPageToken

      public String getPageToken()
       Optional. A page token, received from a previous `AggregateFleet` call.
       Provide this to retrieve the subsequent page.
       All other parameters should match the parameters in the call that provided
       the page token except for page_size which can be different.
       
      string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageToken in interface AggregateFleetRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Optional. A page token, received from a previous `AggregateFleet` call.
       Provide this to retrieve the subsequent page.
       All other parameters should match the parameters in the call that provided
       the page token except for page_size which can be different.
       
      string page_token = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageTokenBytes in interface AggregateFleetRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • hasBaselineDate

      public boolean hasBaselineDate()
       Optional. The baseline date w.r.t. which the delta counts are calculated.
       If not set, delta counts are not included in the response and the response
       indicates the current state of the fleet.
       
      optional .google.type.Date baseline_date = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBaselineDate in interface AggregateFleetRequestOrBuilder
      Returns:
      Whether the baselineDate field is set.
    • getBaselineDate

      public Date getBaselineDate()
       Optional. The baseline date w.r.t. which the delta counts are calculated.
       If not set, delta counts are not included in the response and the response
       indicates the current state of the fleet.
       
      optional .google.type.Date baseline_date = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBaselineDate in interface AggregateFleetRequestOrBuilder
      Returns:
      The baselineDate.
    • getBaselineDateOrBuilder

      public DateOrBuilder getBaselineDateOrBuilder()
       Optional. The baseline date w.r.t. which the delta counts are calculated.
       If not set, delta counts are not included in the response and the response
       indicates the current state of the fleet.
       
      optional .google.type.Date baseline_date = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBaselineDateOrBuilder in interface AggregateFleetRequestOrBuilder
    • 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 AggregateFleetRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AggregateFleetRequest.Builder newBuilder()
    • newBuilder

      public static AggregateFleetRequest.Builder newBuilder(AggregateFleetRequest prototype)
    • toBuilder

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

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

      public static AggregateFleetRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AggregateFleetRequest> 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 AggregateFleetRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder