Interface DiscoveryOccurrenceOrBuilder (2.28.0)

public interface DiscoveryOccurrenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnalysisCompleted()

public abstract DiscoveryOccurrence.AnalysisCompleted getAnalysisCompleted()

.grafeas.v1.DiscoveryOccurrence.AnalysisCompleted analysis_completed = 7;

Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted

The analysisCompleted.

getAnalysisCompletedOrBuilder()

public abstract DiscoveryOccurrence.AnalysisCompletedOrBuilder getAnalysisCompletedOrBuilder()

.grafeas.v1.DiscoveryOccurrence.AnalysisCompleted analysis_completed = 7;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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

hasAnalysisCompleted()

public abstract boolean hasAnalysisCompleted()

.grafeas.v1.DiscoveryOccurrence.AnalysisCompleted analysis_completed = 7;

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