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
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static IntelligenceFinding.Builder newBuilder()
newBuilder(IntelligenceFinding prototype)
public static IntelligenceFinding.Builder newBuilder(IntelligenceFinding prototype)
public static IntelligenceFinding parseDelimitedFrom(InputStream input)
public static IntelligenceFinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static IntelligenceFinding parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IntelligenceFinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static IntelligenceFinding parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IntelligenceFinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IntelligenceFinding parseFrom(CodedInputStream input)
public static IntelligenceFinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IntelligenceFinding parseFrom(InputStream input)
public static IntelligenceFinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static IntelligenceFinding parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IntelligenceFinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<IntelligenceFinding> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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];
getCategory()
public FindingCategory getCategory()
Output only. Category of this finding.
.google.storage.control.v2.FindingCategory category = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
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];
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];
getDefaultInstanceForType()
public IntelligenceFinding getDefaultInstanceForType()
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()
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()
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];
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];
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];
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];
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];
getType()
public FindingType getType()
Output only. Type of this finding.
.google.storage.control.v2.FindingType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public IntelligenceFinding.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected IntelligenceFinding.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public IntelligenceFinding.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides