Class IntelligenceFinding (2.69.0)

public final class IntelligenceFinding extends GeneratedMessage 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 Fields

ASSOCIATED_RESOURCES_FIELD_NUMBER

public static final int ASSOCIATED_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

CATEGORY_FIELD_NUMBER

public static final int CATEGORY_FIELD_NUMBER
Field Value
Type Description
int

COLDLINE_AND_ARCHIVAL_STORAGE_OPERATIONS_SPIKE_FIELD_NUMBER

public static final int COLDLINE_AND_ARCHIVAL_STORAGE_OPERATIONS_SPIKE_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

CROSS_REGION_EGRESS_SPIKE_FIELD_NUMBER

public static final int CROSS_REGION_EGRESS_SPIKE_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

OBSERVATION_PERIOD_FIELD_NUMBER

public static final int OBSERVATION_PERIOD_FIELD_NUMBER
Field Value
Type Description
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
Type Description
int

STORAGE_GROWTH_ABOVE_TREND_FIELD_NUMBER

public static final int STORAGE_GROWTH_ABOVE_TREND_FIELD_NUMBER
Field Value
Type Description
int

TARGET_RESOURCE_FIELD_NUMBER

public static final int TARGET_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

THROTTLED_REQUESTS_SPIKE_FIELD_NUMBER

public static final int THROTTLED_REQUESTS_SPIKE_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IntelligenceFinding getDefaultInstance()
Returns
Type Description
IntelligenceFinding

getDescriptor()

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

newBuilder()

public static IntelligenceFinding.Builder newBuilder()
Returns
Type Description
IntelligenceFinding.Builder

newBuilder(IntelligenceFinding prototype)

public static IntelligenceFinding.Builder newBuilder(IntelligenceFinding prototype)
Parameter
Name Description
prototype IntelligenceFinding
Returns
Type Description
IntelligenceFinding.Builder

parseDelimitedFrom(InputStream input)

public static IntelligenceFinding parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IntelligenceFinding
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IntelligenceFinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntelligenceFinding
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IntelligenceFinding parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IntelligenceFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IntelligenceFinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntelligenceFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IntelligenceFinding parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IntelligenceFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IntelligenceFinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntelligenceFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IntelligenceFinding parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IntelligenceFinding
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IntelligenceFinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntelligenceFinding
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IntelligenceFinding parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IntelligenceFinding
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IntelligenceFinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntelligenceFinding
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IntelligenceFinding parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IntelligenceFinding
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IntelligenceFinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntelligenceFinding
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IntelligenceFinding> parser()
Returns
Type Description
Parser<IntelligenceFinding>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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.

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.

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.

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.

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

getParserForType()

public Parser<IntelligenceFinding> getParserForType()
Returns
Type Description
Parser<IntelligenceFinding>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected IntelligenceFinding.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IntelligenceFinding.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException