Interface DiscoveryOccurrenceOrBuilder (2.4.3)

public interface DiscoveryOccurrenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnalysisStatus()

public abstract DiscoveryOccurrence.AnalysisStatus getAnalysisStatus()

The status of discovery for the resource.

.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.rpc.StatusOrBuilder

getAnalysisStatusValue()

public abstract int getAnalysisStatusValue()

The status of discovery for the resource.

.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getContinuousAnalysis()

public abstract DiscoveryOccurrence.ContinuousAnalysis getContinuousAnalysis()

Whether the resource is continuously analyzed.

.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;

Returns
TypeDescription
DiscoveryOccurrence.ContinuousAnalysis

The continuousAnalysis.

getContinuousAnalysisValue()

public abstract int getContinuousAnalysisValue()

Whether the resource is continuously analyzed.

.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;

Returns
TypeDescription
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
TypeDescription
String

The cpe.

getCpeBytes()

public abstract ByteString getCpeBytes()

The CPE of the resource being scanned.

string cpe = 4;

Returns
TypeDescription
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
TypeDescription
Timestamp

The lastScanTime.

getLastScanTimeOrBuilder()

public abstract TimestampOrBuilder getLastScanTimeOrBuilder()

The last time this resource was scanned.

.google.protobuf.Timestamp last_scan_time = 5;

Returns
TypeDescription
TimestampOrBuilder

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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the lastScanTime field is set.