Class IntelligenceFinding.Builder (2.69.0)

public static final class IntelligenceFinding.Builder extends GeneratedMessage.Builder<IntelligenceFinding.Builder> implements IntelligenceFindingOrBuilder

The IntelligenceFinding resource that represents a security, performance, or cost-related finding about a project or bucket.

Protobuf type google.storage.control.v2.IntelligenceFinding

Static Methods

getDescriptor()

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

Methods

addAllAssociatedResources(Iterable<String> values)

public IntelligenceFinding.Builder addAllAssociatedResources(Iterable<String> values)

Output only. Contains GCP resource names that are relevant to this IntelligenceFinding. The target_resource is also added as part of associated_resources. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

repeated string associated_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The associatedResources to add.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

addAssociatedResources(String value)

public IntelligenceFinding.Builder addAssociatedResources(String value)

Output only. Contains GCP resource names that are relevant to this IntelligenceFinding. The target_resource is also added as part of associated_resources. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

repeated string associated_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The associatedResources to add.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

addAssociatedResourcesBytes(ByteString value)

public IntelligenceFinding.Builder addAssociatedResourcesBytes(ByteString value)

Output only. Contains GCP resource names that are relevant to this IntelligenceFinding. The target_resource is also added as part of associated_resources. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

repeated string associated_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the associatedResources to add.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

build()

public IntelligenceFinding build()
Returns
Type Description
IntelligenceFinding

buildPartial()

public IntelligenceFinding buildPartial()
Returns
Type Description
IntelligenceFinding

clear()

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

clearAssociatedResources()

public IntelligenceFinding.Builder clearAssociatedResources()

Output only. Contains GCP resource names that are relevant to this IntelligenceFinding. The target_resource is also added as part of associated_resources. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

repeated string associated_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

clearCategory()

public IntelligenceFinding.Builder clearCategory()

Output only. Category of this finding.

.google.storage.control.v2.FindingCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

clearColdlineAndArchivalStorageOperationsSpike()

public IntelligenceFinding.Builder clearColdlineAndArchivalStorageOperationsSpike()

Output only. IntelligenceFinding about a spike in Class A/B operations on Coldline or Archive Cloud Storage objects.

.google.storage.control.v2.IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike coldline_and_archival_storage_operations_spike = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

clearCreateTime()

public IntelligenceFinding.Builder clearCreateTime()

Output only. The time at which the finding was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

clearCrossRegionEgressSpike()

public IntelligenceFinding.Builder clearCrossRegionEgressSpike()

Output only. IntelligenceFinding about a spike in cross-region egress.

.google.storage.control.v2.IntelligenceFinding.CrossRegionEgressSpike cross_region_egress_spike = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

clearDescription()

public IntelligenceFinding.Builder clearDescription()

Output only. A short description about the finding.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

clearIntelligenceFindingDetails()

public IntelligenceFinding.Builder clearIntelligenceFindingDetails()
Returns
Type Description
IntelligenceFinding.Builder

clearName()

public IntelligenceFinding.Builder clearName()

Identifier. The resource name of IntelligenceFinding. Format: projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

clearObservationPeriod()

public IntelligenceFinding.Builder clearObservationPeriod()

Output only. The time interval during which the underlying data was used to generate this IntelligenceFinding.

.google.type.Interval observation_period = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

clearSeverity()

public IntelligenceFinding.Builder clearSeverity()

Output only. Severity of the finding.

.google.storage.control.v2.FindingSeverity severity = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

clearStorageGrowthAboveTrend()

public IntelligenceFinding.Builder clearStorageGrowthAboveTrend()

Output only. IntelligenceFinding about growth in storage above the expected trend.

.google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend storage_growth_above_trend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

clearTargetResource()

public IntelligenceFinding.Builder clearTargetResource()

Output only. The fully qualified resource name of the resource that this IntelligenceFinding applies to. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

string target_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

clearThrottledRequestsSpike()

public IntelligenceFinding.Builder clearThrottledRequestsSpike()

Output only. IntelligenceFinding about a spike in throttled requests (429 errors) within a project.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike throttled_requests_spike = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

clearType()

public IntelligenceFinding.Builder clearType()

Output only. Type of this finding.

.google.storage.control.v2.FindingType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

clearUpdateTime()

public IntelligenceFinding.Builder clearUpdateTime()

Output only. The time at which the finding was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.Builder

getAssociatedResources(int index)

public String getAssociatedResources(int index)

Output only. Contains GCP resource names that are relevant to this IntelligenceFinding. The target_resource is also added as part of associated_resources. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

repeated string associated_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The associatedResources at the given index.

getAssociatedResourcesBytes(int index)

public ByteString getAssociatedResourcesBytes(int index)

Output only. Contains GCP resource names that are relevant to this IntelligenceFinding. The target_resource is also added as part of associated_resources. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

repeated string associated_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the associatedResources at the given index.

getAssociatedResourcesCount()

public int getAssociatedResourcesCount()

Output only. Contains GCP resource names that are relevant to this IntelligenceFinding. The target_resource is also added as part of associated_resources. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

repeated string associated_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of associatedResources.

getAssociatedResourcesList()

public ProtocolStringList getAssociatedResourcesList()

Output only. Contains GCP resource names that are relevant to this IntelligenceFinding. The target_resource is also added as part of associated_resources. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

repeated string associated_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the associatedResources.

getCategory()

public FindingCategory getCategory()

Output only. Category of this finding.

.google.storage.control.v2.FindingCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FindingCategory

The category.

getCategoryValue()

public int getCategoryValue()

Output only. Category of this finding.

.google.storage.control.v2.FindingCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for category.

getColdlineAndArchivalStorageOperationsSpike()

public IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike getColdlineAndArchivalStorageOperationsSpike()

Output only. IntelligenceFinding about a spike in Class A/B operations on Coldline or Archive Cloud Storage objects.

.google.storage.control.v2.IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike coldline_and_archival_storage_operations_spike = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike

The coldlineAndArchivalStorageOperationsSpike.

getColdlineAndArchivalStorageOperationsSpikeBuilder()

public IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike.Builder getColdlineAndArchivalStorageOperationsSpikeBuilder()

Output only. IntelligenceFinding about a spike in Class A/B operations on Coldline or Archive Cloud Storage objects.

.google.storage.control.v2.IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike coldline_and_archival_storage_operations_spike = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike.Builder

getColdlineAndArchivalStorageOperationsSpikeOrBuilder()

public IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpikeOrBuilder getColdlineAndArchivalStorageOperationsSpikeOrBuilder()

Output only. IntelligenceFinding about a spike in Class A/B operations on Coldline or Archive Cloud Storage objects.

.google.storage.control.v2.IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike coldline_and_archival_storage_operations_spike = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpikeOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which the finding was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time at which the finding was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which the finding was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getCrossRegionEgressSpike()

public IntelligenceFinding.CrossRegionEgressSpike getCrossRegionEgressSpike()

Output only. IntelligenceFinding about a spike in cross-region egress.

.google.storage.control.v2.IntelligenceFinding.CrossRegionEgressSpike cross_region_egress_spike = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.CrossRegionEgressSpike

The crossRegionEgressSpike.

getCrossRegionEgressSpikeBuilder()

public IntelligenceFinding.CrossRegionEgressSpike.Builder getCrossRegionEgressSpikeBuilder()

Output only. IntelligenceFinding about a spike in cross-region egress.

.google.storage.control.v2.IntelligenceFinding.CrossRegionEgressSpike cross_region_egress_spike = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.CrossRegionEgressSpike.Builder

getCrossRegionEgressSpikeOrBuilder()

public IntelligenceFinding.CrossRegionEgressSpikeOrBuilder getCrossRegionEgressSpikeOrBuilder()

Output only. IntelligenceFinding about a spike in cross-region egress.

.google.storage.control.v2.IntelligenceFinding.CrossRegionEgressSpike cross_region_egress_spike = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.CrossRegionEgressSpikeOrBuilder

getDefaultInstanceForType()

public IntelligenceFinding getDefaultInstanceForType()
Returns
Type Description
IntelligenceFinding

getDescription()

public String getDescription()

Output only. A short description about the finding.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. A short description about the finding.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getIntelligenceFindingDetailsCase()

public IntelligenceFinding.IntelligenceFindingDetailsCase getIntelligenceFindingDetailsCase()
Returns
Type Description
IntelligenceFinding.IntelligenceFindingDetailsCase

getName()

public String getName()

Identifier. The resource name of IntelligenceFinding. Format: projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of IntelligenceFinding. Format: projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getObservationPeriod()

public Interval getObservationPeriod()

Output only. The time interval during which the underlying data was used to generate this IntelligenceFinding.

.google.type.Interval observation_period = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.Interval

The observationPeriod.

getObservationPeriodBuilder()

public Interval.Builder getObservationPeriodBuilder()

Output only. The time interval during which the underlying data was used to generate this IntelligenceFinding.

.google.type.Interval observation_period = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

getObservationPeriodOrBuilder()

public IntervalOrBuilder getObservationPeriodOrBuilder()

Output only. The time interval during which the underlying data was used to generate this IntelligenceFinding.

.google.type.Interval observation_period = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.IntervalOrBuilder

getSeverity()

public FindingSeverity getSeverity()

Output only. Severity of the finding.

.google.storage.control.v2.FindingSeverity severity = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FindingSeverity

The severity.

getSeverityValue()

public int getSeverityValue()

Output only. Severity of the finding.

.google.storage.control.v2.FindingSeverity severity = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for severity.

getStorageGrowthAboveTrend()

public IntelligenceFinding.StorageGrowthAboveTrend getStorageGrowthAboveTrend()

Output only. IntelligenceFinding about growth in storage above the expected trend.

.google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend storage_growth_above_trend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend

The storageGrowthAboveTrend.

getStorageGrowthAboveTrendBuilder()

public IntelligenceFinding.StorageGrowthAboveTrend.Builder getStorageGrowthAboveTrendBuilder()

Output only. IntelligenceFinding about growth in storage above the expected trend.

.google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend storage_growth_above_trend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrend.Builder

getStorageGrowthAboveTrendOrBuilder()

public IntelligenceFinding.StorageGrowthAboveTrendOrBuilder getStorageGrowthAboveTrendOrBuilder()

Output only. IntelligenceFinding about growth in storage above the expected trend.

.google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend storage_growth_above_trend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.StorageGrowthAboveTrendOrBuilder

getTargetResource()

public String getTargetResource()

Output only. The fully qualified resource name of the resource that this IntelligenceFinding applies to. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

string target_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The targetResource.

getTargetResourceBytes()

public ByteString getTargetResourceBytes()

Output only. The fully qualified resource name of the resource that this IntelligenceFinding applies to. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

string target_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for targetResource.

getThrottledRequestsSpike()

public IntelligenceFinding.ThrottledRequestSpike getThrottledRequestsSpike()

Output only. IntelligenceFinding about a spike in throttled requests (429 errors) within a project.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike throttled_requests_spike = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike

The throttledRequestsSpike.

getThrottledRequestsSpikeBuilder()

public IntelligenceFinding.ThrottledRequestSpike.Builder getThrottledRequestsSpikeBuilder()

Output only. IntelligenceFinding about a spike in throttled requests (429 errors) within a project.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike throttled_requests_spike = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpike.Builder

getThrottledRequestsSpikeOrBuilder()

public IntelligenceFinding.ThrottledRequestSpikeOrBuilder getThrottledRequestsSpikeOrBuilder()

Output only. IntelligenceFinding about a spike in throttled requests (429 errors) within a project.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike throttled_requests_spike = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IntelligenceFinding.ThrottledRequestSpikeOrBuilder

getType()

public FindingType getType()

Output only. Type of this finding.

.google.storage.control.v2.FindingType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FindingType

The type.

getTypeValue()

public int getTypeValue()

Output only. Type of this finding.

.google.storage.control.v2.FindingType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time at which the finding was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time at which the finding was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time at which the finding was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasColdlineAndArchivalStorageOperationsSpike()

public boolean hasColdlineAndArchivalStorageOperationsSpike()

Output only. IntelligenceFinding about a spike in Class A/B operations on Coldline or Archive Cloud Storage objects.

.google.storage.control.v2.IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike coldline_and_archival_storage_operations_spike = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the coldlineAndArchivalStorageOperationsSpike field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time at which the finding was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasCrossRegionEgressSpike()

public boolean hasCrossRegionEgressSpike()

Output only. IntelligenceFinding about a spike in cross-region egress.

.google.storage.control.v2.IntelligenceFinding.CrossRegionEgressSpike cross_region_egress_spike = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the crossRegionEgressSpike field is set.

hasObservationPeriod()

public boolean hasObservationPeriod()

Output only. The time interval during which the underlying data was used to generate this IntelligenceFinding.

.google.type.Interval observation_period = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the observationPeriod field is set.

hasStorageGrowthAboveTrend()

public boolean hasStorageGrowthAboveTrend()

Output only. IntelligenceFinding about growth in storage above the expected trend.

.google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend storage_growth_above_trend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the storageGrowthAboveTrend field is set.

hasThrottledRequestsSpike()

public boolean hasThrottledRequestsSpike()

Output only. IntelligenceFinding about a spike in throttled requests (429 errors) within a project.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike throttled_requests_spike = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the throttledRequestsSpike field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time at which the finding was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeColdlineAndArchivalStorageOperationsSpike(IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike value)

public IntelligenceFinding.Builder mergeColdlineAndArchivalStorageOperationsSpike(IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike value)

Output only. IntelligenceFinding about a spike in Class A/B operations on Coldline or Archive Cloud Storage objects.

.google.storage.control.v2.IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike coldline_and_archival_storage_operations_spike = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike
Returns
Type Description
IntelligenceFinding.Builder

mergeCreateTime(Timestamp value)

public IntelligenceFinding.Builder mergeCreateTime(Timestamp value)

Output only. The time at which the finding was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
IntelligenceFinding.Builder

mergeCrossRegionEgressSpike(IntelligenceFinding.CrossRegionEgressSpike value)

public IntelligenceFinding.Builder mergeCrossRegionEgressSpike(IntelligenceFinding.CrossRegionEgressSpike value)

Output only. IntelligenceFinding about a spike in cross-region egress.

.google.storage.control.v2.IntelligenceFinding.CrossRegionEgressSpike cross_region_egress_spike = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding.CrossRegionEgressSpike
Returns
Type Description
IntelligenceFinding.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(IntelligenceFinding other)

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

mergeObservationPeriod(Interval value)

public IntelligenceFinding.Builder mergeObservationPeriod(Interval value)

Output only. The time interval during which the underlying data was used to generate this IntelligenceFinding.

.google.type.Interval observation_period = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
IntelligenceFinding.Builder

mergeStorageGrowthAboveTrend(IntelligenceFinding.StorageGrowthAboveTrend value)

public IntelligenceFinding.Builder mergeStorageGrowthAboveTrend(IntelligenceFinding.StorageGrowthAboveTrend value)

Output only. IntelligenceFinding about growth in storage above the expected trend.

.google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend storage_growth_above_trend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding.StorageGrowthAboveTrend
Returns
Type Description
IntelligenceFinding.Builder

mergeThrottledRequestsSpike(IntelligenceFinding.ThrottledRequestSpike value)

public IntelligenceFinding.Builder mergeThrottledRequestsSpike(IntelligenceFinding.ThrottledRequestSpike value)

Output only. IntelligenceFinding about a spike in throttled requests (429 errors) within a project.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike throttled_requests_spike = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding.ThrottledRequestSpike
Returns
Type Description
IntelligenceFinding.Builder

mergeUpdateTime(Timestamp value)

public IntelligenceFinding.Builder mergeUpdateTime(Timestamp value)

Output only. The time at which the finding was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
IntelligenceFinding.Builder

setAssociatedResources(int index, String value)

public IntelligenceFinding.Builder setAssociatedResources(int index, String value)

Output only. Contains GCP resource names that are relevant to this IntelligenceFinding. The target_resource is also added as part of associated_resources. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

repeated string associated_resources = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The associatedResources to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setCategory(FindingCategory value)

public IntelligenceFinding.Builder setCategory(FindingCategory value)

Output only. Category of this finding.

.google.storage.control.v2.FindingCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FindingCategory

The category to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setCategoryValue(int value)

public IntelligenceFinding.Builder setCategoryValue(int value)

Output only. Category of this finding.

.google.storage.control.v2.FindingCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for category to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setColdlineAndArchivalStorageOperationsSpike(IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike value)

public IntelligenceFinding.Builder setColdlineAndArchivalStorageOperationsSpike(IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike value)

Output only. IntelligenceFinding about a spike in Class A/B operations on Coldline or Archive Cloud Storage objects.

.google.storage.control.v2.IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike coldline_and_archival_storage_operations_spike = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike
Returns
Type Description
IntelligenceFinding.Builder

setColdlineAndArchivalStorageOperationsSpike(IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike.Builder builderForValue)

public IntelligenceFinding.Builder setColdlineAndArchivalStorageOperationsSpike(IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike.Builder builderForValue)

Output only. IntelligenceFinding about a spike in Class A/B operations on Coldline or Archive Cloud Storage objects.

.google.storage.control.v2.IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike coldline_and_archival_storage_operations_spike = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue IntelligenceFinding.ColdlineAndArchivalStorageOperationsSpike.Builder
Returns
Type Description
IntelligenceFinding.Builder

setCreateTime(Timestamp value)

public IntelligenceFinding.Builder setCreateTime(Timestamp value)

Output only. The time at which the finding was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
IntelligenceFinding.Builder

setCreateTime(Timestamp.Builder builderForValue)

public IntelligenceFinding.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time at which the finding was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IntelligenceFinding.Builder

setCrossRegionEgressSpike(IntelligenceFinding.CrossRegionEgressSpike value)

public IntelligenceFinding.Builder setCrossRegionEgressSpike(IntelligenceFinding.CrossRegionEgressSpike value)

Output only. IntelligenceFinding about a spike in cross-region egress.

.google.storage.control.v2.IntelligenceFinding.CrossRegionEgressSpike cross_region_egress_spike = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding.CrossRegionEgressSpike
Returns
Type Description
IntelligenceFinding.Builder

setCrossRegionEgressSpike(IntelligenceFinding.CrossRegionEgressSpike.Builder builderForValue)

public IntelligenceFinding.Builder setCrossRegionEgressSpike(IntelligenceFinding.CrossRegionEgressSpike.Builder builderForValue)

Output only. IntelligenceFinding about a spike in cross-region egress.

.google.storage.control.v2.IntelligenceFinding.CrossRegionEgressSpike cross_region_egress_spike = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue IntelligenceFinding.CrossRegionEgressSpike.Builder
Returns
Type Description
IntelligenceFinding.Builder

setDescription(String value)

public IntelligenceFinding.Builder setDescription(String value)

Output only. A short description about the finding.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public IntelligenceFinding.Builder setDescriptionBytes(ByteString value)

Output only. A short description about the finding.

string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setName(String value)

public IntelligenceFinding.Builder setName(String value)

Identifier. The resource name of IntelligenceFinding. Format: projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setNameBytes(ByteString value)

public IntelligenceFinding.Builder setNameBytes(ByteString value)

Identifier. The resource name of IntelligenceFinding. Format: projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setObservationPeriod(Interval value)

public IntelligenceFinding.Builder setObservationPeriod(Interval value)

Output only. The time interval during which the underlying data was used to generate this IntelligenceFinding.

.google.type.Interval observation_period = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
IntelligenceFinding.Builder

setObservationPeriod(Interval.Builder builderForValue)

public IntelligenceFinding.Builder setObservationPeriod(Interval.Builder builderForValue)

Output only. The time interval during which the underlying data was used to generate this IntelligenceFinding.

.google.type.Interval observation_period = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
IntelligenceFinding.Builder

setSeverity(FindingSeverity value)

public IntelligenceFinding.Builder setSeverity(FindingSeverity value)

Output only. Severity of the finding.

.google.storage.control.v2.FindingSeverity severity = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FindingSeverity

The severity to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setSeverityValue(int value)

public IntelligenceFinding.Builder setSeverityValue(int value)

Output only. Severity of the finding.

.google.storage.control.v2.FindingSeverity severity = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for severity to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setStorageGrowthAboveTrend(IntelligenceFinding.StorageGrowthAboveTrend value)

public IntelligenceFinding.Builder setStorageGrowthAboveTrend(IntelligenceFinding.StorageGrowthAboveTrend value)

Output only. IntelligenceFinding about growth in storage above the expected trend.

.google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend storage_growth_above_trend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding.StorageGrowthAboveTrend
Returns
Type Description
IntelligenceFinding.Builder

setStorageGrowthAboveTrend(IntelligenceFinding.StorageGrowthAboveTrend.Builder builderForValue)

public IntelligenceFinding.Builder setStorageGrowthAboveTrend(IntelligenceFinding.StorageGrowthAboveTrend.Builder builderForValue)

Output only. IntelligenceFinding about growth in storage above the expected trend.

.google.storage.control.v2.IntelligenceFinding.StorageGrowthAboveTrend storage_growth_above_trend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue IntelligenceFinding.StorageGrowthAboveTrend.Builder
Returns
Type Description
IntelligenceFinding.Builder

setTargetResource(String value)

public IntelligenceFinding.Builder setTargetResource(String value)

Output only. The fully qualified resource name of the resource that this IntelligenceFinding applies to. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

string target_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The targetResource to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setTargetResourceBytes(ByteString value)

public IntelligenceFinding.Builder setTargetResourceBytes(ByteString value)

Output only. The fully qualified resource name of the resource that this IntelligenceFinding applies to. eg:

  • storage.googleapis.com/projects/_/buckets/b1
  • cloudresourecemanager.googleapis.com/projects/p1

string target_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for targetResource to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setThrottledRequestsSpike(IntelligenceFinding.ThrottledRequestSpike value)

public IntelligenceFinding.Builder setThrottledRequestsSpike(IntelligenceFinding.ThrottledRequestSpike value)

Output only. IntelligenceFinding about a spike in throttled requests (429 errors) within a project.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike throttled_requests_spike = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value IntelligenceFinding.ThrottledRequestSpike
Returns
Type Description
IntelligenceFinding.Builder

setThrottledRequestsSpike(IntelligenceFinding.ThrottledRequestSpike.Builder builderForValue)

public IntelligenceFinding.Builder setThrottledRequestsSpike(IntelligenceFinding.ThrottledRequestSpike.Builder builderForValue)

Output only. IntelligenceFinding about a spike in throttled requests (429 errors) within a project.

.google.storage.control.v2.IntelligenceFinding.ThrottledRequestSpike throttled_requests_spike = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue IntelligenceFinding.ThrottledRequestSpike.Builder
Returns
Type Description
IntelligenceFinding.Builder

setType(FindingType value)

public IntelligenceFinding.Builder setType(FindingType value)

Output only. Type of this finding.

.google.storage.control.v2.FindingType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FindingType

The type to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setTypeValue(int value)

public IntelligenceFinding.Builder setTypeValue(int value)

Output only. Type of this finding.

.google.storage.control.v2.FindingType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
IntelligenceFinding.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public IntelligenceFinding.Builder setUpdateTime(Timestamp value)

Output only. The time at which the finding was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
IntelligenceFinding.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public IntelligenceFinding.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time at which the finding was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IntelligenceFinding.Builder