Class AggregateIssueStatsRequest.Builder (0.6.0)

public static final class AggregateIssueStatsRequest.Builder extends GeneratedMessage.Builder<AggregateIssueStatsRequest.Builder> implements AggregateIssueStatsRequestOrBuilder

AggregateIssueStatsRequest represents the input to the AggregateIssueStats method.

Protobuf type google.cloud.databasecenter.v1beta.AggregateIssueStatsRequest

Static Methods

getDescriptor()

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

Methods

addAllSignalTypeGroups(Iterable<? extends SignalTypeGroup> values)

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

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

addSignalTypeGroups(SignalTypeGroup value)

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

Parameter
Name Description
value SignalTypeGroup
Returns
Type Description
AggregateIssueStatsRequest.Builder

addSignalTypeGroups(SignalTypeGroup.Builder builderForValue)

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

Parameter
Name Description
builderForValue SignalTypeGroup.Builder
Returns
Type Description
AggregateIssueStatsRequest.Builder

addSignalTypeGroups(int index, SignalTypeGroup value)

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

Parameters
Name Description
index int
value SignalTypeGroup
Returns
Type Description
AggregateIssueStatsRequest.Builder

addSignalTypeGroups(int index, SignalTypeGroup.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue SignalTypeGroup.Builder
Returns
Type Description
AggregateIssueStatsRequest.Builder

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

Returns
Type Description
SignalTypeGroup.Builder

addSignalTypeGroupsBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
SignalTypeGroup.Builder

build()

public AggregateIssueStatsRequest build()
Returns
Type Description
AggregateIssueStatsRequest

buildPartial()

public AggregateIssueStatsRequest buildPartial()
Returns
Type Description
AggregateIssueStatsRequest

clear()

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

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

Returns
Type Description
AggregateIssueStatsRequest.Builder

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

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

This builder for chaining.

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

Returns
Type Description
AggregateIssueStatsRequest.Builder

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

Returns
Type Description
com.google.type.Date

The baselineDate.

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

Returns
Type Description
com.google.type.Date.Builder

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

Returns
Type Description
com.google.type.DateOrBuilder

getDefaultInstanceForType()

public AggregateIssueStatsRequest getDefaultInstanceForType()
Returns
Type Description
AggregateIssueStatsRequest

getDescriptorForType()

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

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

Returns
Type Description
String

The filter.

getFilterBytes()

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

Returns
Type Description
ByteString

The bytes for filter.

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

Returns
Type Description
String

The parent.

getParentBytes()

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

Returns
Type Description
ByteString

The bytes for parent.

getSignalTypeGroups(int index)

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

Parameter
Name Description
index int
Returns
Type Description
SignalTypeGroup

getSignalTypeGroupsBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
SignalTypeGroup.Builder

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

Returns
Type Description
List<Builder>

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

Returns
Type Description
int

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

Returns
Type Description
List<SignalTypeGroup>

getSignalTypeGroupsOrBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
SignalTypeGroupOrBuilder

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

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

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

Returns
Type Description
boolean

Whether the baselineDate field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBaselineDate(Date value)

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

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
AggregateIssueStatsRequest.Builder

mergeFrom(AggregateIssueStatsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeSignalTypeGroups(int index)

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

Parameter
Name Description
index int
Returns
Type Description
AggregateIssueStatsRequest.Builder

setBaselineDate(Date value)

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

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
AggregateIssueStatsRequest.Builder

setBaselineDate(Date.Builder builderForValue)

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

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
AggregateIssueStatsRequest.Builder

setFilter(String value)

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

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
AggregateIssueStatsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public AggregateIssueStatsRequest.Builder setFilterBytes(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];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
AggregateIssueStatsRequest.Builder

This builder for chaining.

setParent(String value)

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
AggregateIssueStatsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
AggregateIssueStatsRequest.Builder

This builder for chaining.

setSignalTypeGroups(int index, SignalTypeGroup value)

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

Parameters
Name Description
index int
value SignalTypeGroup
Returns
Type Description
AggregateIssueStatsRequest.Builder

setSignalTypeGroups(int index, SignalTypeGroup.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue SignalTypeGroup.Builder
Returns
Type Description
AggregateIssueStatsRequest.Builder