Package io.grafeas.v1beta1.discovery
Interface DiscoveredOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Discovered
,Discovered.Builder
public interface DiscoveredOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Discovered.AnalysisStatus
getAnalysisStatus()
The status of discovery for the resource.com.google.rpc.Status
getAnalysisStatusError()
When an error is encountered this will contain a LocalizedMessage under details to show to the user.com.google.rpc.StatusOrBuilder
getAnalysisStatusErrorOrBuilder()
When an error is encountered this will contain a LocalizedMessage under details to show to the user.int
getAnalysisStatusValue()
The status of discovery for the resource.Discovered.ContinuousAnalysis
getContinuousAnalysis()
Whether the resource is continuously analyzed.int
getContinuousAnalysisValue()
Whether the resource is continuously analyzed.com.google.protobuf.Timestamp
getLastAnalysisTime()
The last time continuous analysis was done for this resource.com.google.protobuf.TimestampOrBuilder
getLastAnalysisTimeOrBuilder()
The last time continuous analysis was done for this resource.boolean
hasAnalysisStatusError()
When an error is encountered this will contain a LocalizedMessage under details to show to the user.boolean
hasLastAnalysisTime()
The last time continuous analysis was done for this resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getContinuousAnalysisValue
int getContinuousAnalysisValue()
Whether the resource is continuously analyzed.
.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;
- Returns:
- The enum numeric value on the wire for continuousAnalysis.
-
getContinuousAnalysis
Discovered.ContinuousAnalysis getContinuousAnalysis()
Whether the resource is continuously analyzed.
.grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;
- Returns:
- The continuousAnalysis.
-
hasLastAnalysisTime
boolean hasLastAnalysisTime()
The last time continuous analysis was done for this resource.
.google.protobuf.Timestamp last_analysis_time = 2;
- Returns:
- Whether the lastAnalysisTime field is set.
-
getLastAnalysisTime
com.google.protobuf.Timestamp getLastAnalysisTime()
The last time continuous analysis was done for this resource.
.google.protobuf.Timestamp last_analysis_time = 2;
- Returns:
- The lastAnalysisTime.
-
getLastAnalysisTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastAnalysisTimeOrBuilder()
The last time continuous analysis was done for this resource.
.google.protobuf.Timestamp last_analysis_time = 2;
-
getAnalysisStatusValue
int getAnalysisStatusValue()
The status of discovery for the resource.
.grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;
- Returns:
- The enum numeric value on the wire for analysisStatus.
-
getAnalysisStatus
Discovered.AnalysisStatus getAnalysisStatus()
The status of discovery for the resource.
.grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;
- Returns:
- The analysisStatus.
-
hasAnalysisStatusError
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 = 4;
- Returns:
- Whether the analysisStatusError field is set.
-
getAnalysisStatusError
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 = 4;
- Returns:
- The analysisStatusError.
-
getAnalysisStatusErrorOrBuilder
com.google.rpc.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 = 4;
-
-