/* * Copyright 2019 The Grafeas Authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/discovery.proto package io.grafeas.v1; public interface DiscoveryOccurrenceOrBuilder extends // @@protoc_insertion_point(interface_extends:grafeas.v1.DiscoveryOccurrence) com.google.protobuf.MessageOrBuilder { /** * * *
   * Whether the resource is continuously analyzed.
   * 
* * .grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1; * * @return The enum numeric value on the wire for continuousAnalysis. */ int getContinuousAnalysisValue(); /** * * *
   * Whether the resource is continuously analyzed.
   * 
* * .grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1; * * @return The continuousAnalysis. */ io.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis getContinuousAnalysis(); /** * * *
   * The status of discovery for the resource.
   * 
* * .grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2; * * @return The enum numeric value on the wire for analysisStatus. */ int getAnalysisStatusValue(); /** * * *
   * The status of discovery for the resource.
   * 
* * .grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2; * * @return The analysisStatus. */ io.grafeas.v1.DiscoveryOccurrence.AnalysisStatus getAnalysisStatus(); /** * .grafeas.v1.DiscoveryOccurrence.AnalysisCompleted analysis_completed = 7; * * @return Whether the analysisCompleted field is set. */ boolean hasAnalysisCompleted(); /** * .grafeas.v1.DiscoveryOccurrence.AnalysisCompleted analysis_completed = 7; * * @return The analysisCompleted. */ io.grafeas.v1.DiscoveryOccurrence.AnalysisCompleted getAnalysisCompleted(); /** .grafeas.v1.DiscoveryOccurrence.AnalysisCompleted analysis_completed = 7; */ io.grafeas.v1.DiscoveryOccurrence.AnalysisCompletedOrBuilder getAnalysisCompletedOrBuilder(); /** * * *
   * 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; */ java.util.List 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; */ com.google.rpc.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; */ 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; */ java.util.List 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; */ com.google.rpc.StatusOrBuilder getAnalysisErrorOrBuilder(int index); /** * * *
   * 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; * * @return Whether the analysisStatusError field is set. */ 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; * * @return The analysisStatusError. */ com.google.rpc.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; */ com.google.rpc.StatusOrBuilder getAnalysisStatusErrorOrBuilder(); /** * * *
   * The CPE of the resource being scanned.
   * 
* * string cpe = 4; * * @return The cpe. */ java.lang.String getCpe(); /** * * *
   * The CPE of the resource being scanned.
   * 
* * string cpe = 4; * * @return The bytes for cpe. */ com.google.protobuf.ByteString getCpeBytes(); /** * * *
   * The last time this resource was scanned.
   * 
* * .google.protobuf.Timestamp last_scan_time = 5; * * @return Whether the lastScanTime field is set. */ boolean hasLastScanTime(); /** * * *
   * The last time this resource was scanned.
   * 
* * .google.protobuf.Timestamp last_scan_time = 5; * * @return The lastScanTime. */ com.google.protobuf.Timestamp getLastScanTime(); /** * * *
   * The last time this resource was scanned.
   * 
* * .google.protobuf.Timestamp last_scan_time = 5; */ com.google.protobuf.TimestampOrBuilder getLastScanTimeOrBuilder(); /** * * *
   * The time occurrences related to this discovery occurrence were archived.
   * 
* * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the archiveTime field is set. */ boolean hasArchiveTime(); /** * * *
   * The time occurrences related to this discovery occurrence were archived.
   * 
* * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The archiveTime. */ com.google.protobuf.Timestamp getArchiveTime(); /** * * *
   * The time occurrences related to this discovery occurrence were archived.
   * 
* * .google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getArchiveTimeOrBuilder(); }