Class AggregateIssueStatsRequest.Builder

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

public static final class AggregateIssueStatsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<AggregateIssueStatsRequest.Builder> implements AggregateIssueStatsRequestOrBuilder
 AggregateIssueStatsRequest represents the input to the AggregateIssueStats
 method.
 
Protobuf type google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest
  • 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<AggregateIssueStatsRequest.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<AggregateIssueStatsRequest.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<AggregateIssueStatsRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public AggregateIssueStatsRequest.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<AggregateIssueStatsRequest.Builder>
      Throws:
      IOException
    • 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 AggregateIssueStatsRequestOrBuilder
      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 AggregateIssueStatsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public AggregateIssueStatsRequest.Builder setParent(String value)
       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];
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public AggregateIssueStatsRequest.Builder clearParent()
       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];
      Returns:
      This builder for chaining.
    • setParentBytes

      public AggregateIssueStatsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • 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 AggregateIssueStatsRequestOrBuilder
      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 AggregateIssueStatsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public AggregateIssueStatsRequest.Builder setFilter(String value)
       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];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public AggregateIssueStatsRequest.Builder clearFilter()
       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];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public AggregateIssueStatsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getSignalTypeGroupsList

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

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

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

      public AggregateIssueStatsRequest.Builder setSignalTypeGroups(int index, SignalTypeGroup value)
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setSignalTypeGroups

      public AggregateIssueStatsRequest.Builder setSignalTypeGroups(int index, SignalTypeGroup.Builder builderForValue)
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSignalTypeGroups

      public AggregateIssueStatsRequest.Builder addSignalTypeGroups(SignalTypeGroup value)
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSignalTypeGroups

      public AggregateIssueStatsRequest.Builder addSignalTypeGroups(int index, SignalTypeGroup value)
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSignalTypeGroups

      public AggregateIssueStatsRequest.Builder addSignalTypeGroups(SignalTypeGroup.Builder builderForValue)
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSignalTypeGroups

      public AggregateIssueStatsRequest.Builder addSignalTypeGroups(int index, SignalTypeGroup.Builder builderForValue)
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAllSignalTypeGroups

      public AggregateIssueStatsRequest.Builder addAllSignalTypeGroups(Iterable<? extends SignalTypeGroup> values)
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearSignalTypeGroups

      public AggregateIssueStatsRequest.Builder clearSignalTypeGroups()
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • removeSignalTypeGroups

      public AggregateIssueStatsRequest.Builder removeSignalTypeGroups(int index)
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSignalTypeGroupsBuilder

      public SignalTypeGroup.Builder getSignalTypeGroupsBuilder(int index)
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSignalTypeGroupsOrBuilder

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

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

      public SignalTypeGroup.Builder addSignalTypeGroupsBuilder()
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addSignalTypeGroupsBuilder

      public SignalTypeGroup.Builder addSignalTypeGroupsBuilder(int index)
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getSignalTypeGroupsBuilderList

      public List<SignalTypeGroup.Builder> getSignalTypeGroupsBuilderList()
       Optional. Lists of signal types that are issues.
       
      repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
    • 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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBaselineDate in interface AggregateIssueStatsRequestOrBuilder
      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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBaselineDate in interface AggregateIssueStatsRequestOrBuilder
      Returns:
      The baselineDate.
    • setBaselineDate

      public AggregateIssueStatsRequest.Builder setBaselineDate(Date value)
       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 = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setBaselineDate

      public AggregateIssueStatsRequest.Builder setBaselineDate(Date.Builder builderForValue)
       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 = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeBaselineDate

      public AggregateIssueStatsRequest.Builder mergeBaselineDate(Date value)
       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 = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearBaselineDate

      public AggregateIssueStatsRequest.Builder clearBaselineDate()
       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 = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getBaselineDateBuilder

      public Date.Builder getBaselineDateBuilder()
       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 = 4 [(.google.api.field_behavior) = OPTIONAL];
    • 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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBaselineDateOrBuilder in interface AggregateIssueStatsRequestOrBuilder