- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public interface DiscoveryOccurrenceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAnalysisCompleted()
public abstract DiscoveryOccurrence.AnalysisCompleted getAnalysisCompleted()
.grafeas.v1.DiscoveryOccurrence.AnalysisCompleted analysis_completed = 7;
Returns | |
---|---|
Type | Description |
DiscoveryOccurrence.AnalysisCompleted |
The analysisCompleted. |
getAnalysisCompletedOrBuilder()
public abstract DiscoveryOccurrence.AnalysisCompletedOrBuilder getAnalysisCompletedOrBuilder()
.grafeas.v1.DiscoveryOccurrence.AnalysisCompleted analysis_completed = 7;
Returns | |
---|---|
Type | Description |
DiscoveryOccurrence.AnalysisCompletedOrBuilder |
getAnalysisError(int index)
public abstract Status getAnalysisError(int index)
Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
repeated .google.rpc.Status analysis_error = 8;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
getAnalysisErrorCount()
public abstract int getAnalysisErrorCount()
Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
repeated .google.rpc.Status analysis_error = 8;
Returns | |
---|---|
Type | Description |
int |
getAnalysisErrorList()
public abstract List<Status> getAnalysisErrorList()
Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
repeated .google.rpc.Status analysis_error = 8;
Returns | |
---|---|
Type | Description |
List<com.google.rpc.Status> |
getAnalysisErrorOrBuilder(int index)
public abstract StatusOrBuilder getAnalysisErrorOrBuilder(int index)
Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
repeated .google.rpc.Status analysis_error = 8;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getAnalysisErrorOrBuilderList()
public abstract List<? extends StatusOrBuilder> getAnalysisErrorOrBuilderList()
Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
repeated .google.rpc.Status analysis_error = 8;
Returns | |
---|---|
Type | Description |
List<? extends com.google.rpc.StatusOrBuilder> |
getAnalysisStatus()
public abstract DiscoveryOccurrence.AnalysisStatus getAnalysisStatus()
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;
Returns | |
---|---|
Type | Description |
DiscoveryOccurrence.AnalysisStatus |
The analysisStatus. |
getAnalysisStatusError()
public abstract Status getAnalysisStatusError()
When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.
.google.rpc.Status analysis_status_error = 3;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
The analysisStatusError. |
getAnalysisStatusErrorOrBuilder()
public abstract StatusOrBuilder getAnalysisStatusErrorOrBuilder()
When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.
.google.rpc.Status analysis_status_error = 3;
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getAnalysisStatusValue()
public abstract int getAnalysisStatusValue()
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for analysisStatus. |
getArchiveTime()
public abstract Timestamp getArchiveTime()
The time occurrences related to this discovery occurrence were archived.
.google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The archiveTime. |
getArchiveTimeOrBuilder()
public abstract TimestampOrBuilder getArchiveTimeOrBuilder()
The time occurrences related to this discovery occurrence were archived.
.google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getContinuousAnalysis()
public abstract DiscoveryOccurrence.ContinuousAnalysis getContinuousAnalysis()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;
Returns | |
---|---|
Type | Description |
DiscoveryOccurrence.ContinuousAnalysis |
The continuousAnalysis. |
getContinuousAnalysisValue()
public abstract int getContinuousAnalysisValue()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for continuousAnalysis. |
getCpe()
public abstract String getCpe()
The CPE of the resource being scanned.
string cpe = 4;
Returns | |
---|---|
Type | Description |
String |
The cpe. |
getCpeBytes()
public abstract ByteString getCpeBytes()
The CPE of the resource being scanned.
string cpe = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cpe. |
getLastScanTime()
public abstract Timestamp getLastScanTime()
The last time this resource was scanned.
.google.protobuf.Timestamp last_scan_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp |
The lastScanTime. |
getLastScanTimeOrBuilder()
public abstract TimestampOrBuilder getLastScanTimeOrBuilder()
The last time this resource was scanned.
.google.protobuf.Timestamp last_scan_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getSbomStatus()
public abstract DiscoveryOccurrence.SBOMStatus getSbomStatus()
The status of an SBOM generation.
.grafeas.v1.DiscoveryOccurrence.SBOMStatus sbom_status = 9;
Returns | |
---|---|
Type | Description |
DiscoveryOccurrence.SBOMStatus |
The sbomStatus. |
getSbomStatusOrBuilder()
public abstract DiscoveryOccurrence.SBOMStatusOrBuilder getSbomStatusOrBuilder()
The status of an SBOM generation.
.grafeas.v1.DiscoveryOccurrence.SBOMStatus sbom_status = 9;
Returns | |
---|---|
Type | Description |
DiscoveryOccurrence.SBOMStatusOrBuilder |
getVulnerabilityAttestation()
public abstract DiscoveryOccurrence.VulnerabilityAttestation getVulnerabilityAttestation()
The status of an vulnerability attestation generation.
.grafeas.v1.DiscoveryOccurrence.VulnerabilityAttestation vulnerability_attestation = 10;
Returns | |
---|---|
Type | Description |
DiscoveryOccurrence.VulnerabilityAttestation |
The vulnerabilityAttestation. |
getVulnerabilityAttestationOrBuilder()
public abstract DiscoveryOccurrence.VulnerabilityAttestationOrBuilder getVulnerabilityAttestationOrBuilder()
The status of an vulnerability attestation generation.
.grafeas.v1.DiscoveryOccurrence.VulnerabilityAttestation vulnerability_attestation = 10;
Returns | |
---|---|
Type | Description |
DiscoveryOccurrence.VulnerabilityAttestationOrBuilder |
hasAnalysisCompleted()
public abstract boolean hasAnalysisCompleted()
.grafeas.v1.DiscoveryOccurrence.AnalysisCompleted analysis_completed = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the analysisCompleted field is set. |
hasAnalysisStatusError()
public abstract boolean hasAnalysisStatusError()
When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.
.google.rpc.Status analysis_status_error = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the analysisStatusError field is set. |
hasArchiveTime()
public abstract boolean hasArchiveTime()
The time occurrences related to this discovery occurrence were archived.
.google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the archiveTime field is set. |
hasLastScanTime()
public abstract boolean hasLastScanTime()
The last time this resource was scanned.
.google.protobuf.Timestamp last_scan_time = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the lastScanTime field is set. |
hasSbomStatus()
public abstract boolean hasSbomStatus()
The status of an SBOM generation.
.grafeas.v1.DiscoveryOccurrence.SBOMStatus sbom_status = 9;
Returns | |
---|---|
Type | Description |
boolean |
Whether the sbomStatus field is set. |
hasVulnerabilityAttestation()
public abstract boolean hasVulnerabilityAttestation()
The status of an vulnerability attestation generation.
.grafeas.v1.DiscoveryOccurrence.VulnerabilityAttestation vulnerability_attestation = 10;
Returns | |
---|---|
Type | Description |
boolean |
Whether the vulnerabilityAttestation field is set. |