- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 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 final class DiscoveryOccurrence extends GeneratedMessageV3 implements DiscoveryOccurrenceOrBuilder
Provides information about the analysis status of a discovered resource.
Protobuf type grafeas.v1.DiscoveryOccurrence
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DiscoveryOccurrenceImplements
DiscoveryOccurrenceOrBuilderFields
ANALYSIS_STATUS_ERROR_FIELD_NUMBER
public static final int ANALYSIS_STATUS_ERROR_FIELD_NUMBER
Type | Description |
int |
ANALYSIS_STATUS_FIELD_NUMBER
public static final int ANALYSIS_STATUS_FIELD_NUMBER
Type | Description |
int |
CONTINUOUS_ANALYSIS_FIELD_NUMBER
public static final int CONTINUOUS_ANALYSIS_FIELD_NUMBER
Type | Description |
int |
CPE_FIELD_NUMBER
public static final int CPE_FIELD_NUMBER
Type | Description |
int |
LAST_SCAN_TIME_FIELD_NUMBER
public static final int LAST_SCAN_TIME_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getAnalysisStatus()
public DiscoveryOccurrence.AnalysisStatus getAnalysisStatus()
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;
Type | Description |
DiscoveryOccurrence.AnalysisStatus | The analysisStatus. |
getAnalysisStatusError()
public 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;
Type | Description |
com.google.rpc.Status | The analysisStatusError. |
getAnalysisStatusErrorOrBuilder()
public 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;
Type | Description |
com.google.rpc.StatusOrBuilder |
getAnalysisStatusValue()
public int getAnalysisStatusValue()
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;
Type | Description |
int | The enum numeric value on the wire for analysisStatus. |
getContinuousAnalysis()
public DiscoveryOccurrence.ContinuousAnalysis getContinuousAnalysis()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;
Type | Description |
DiscoveryOccurrence.ContinuousAnalysis | The continuousAnalysis. |
getContinuousAnalysisValue()
public int getContinuousAnalysisValue()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;
Type | Description |
int | The enum numeric value on the wire for continuousAnalysis. |
getCpe()
public String getCpe()
The CPE of the resource being scanned.
string cpe = 4;
Type | Description |
String | The cpe. |
getCpeBytes()
public ByteString getCpeBytes()
The CPE of the resource being scanned.
string cpe = 4;
Type | Description |
ByteString | The bytes for cpe. |
getDefaultInstance()
public static DiscoveryOccurrence getDefaultInstance()
Type | Description |
DiscoveryOccurrence |
getDefaultInstanceForType()
public DiscoveryOccurrence getDefaultInstanceForType()
Type | Description |
DiscoveryOccurrence |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getLastScanTime()
public Timestamp getLastScanTime()
The last time this resource was scanned.
.google.protobuf.Timestamp last_scan_time = 5;
Type | Description |
Timestamp | The lastScanTime. |
getLastScanTimeOrBuilder()
public TimestampOrBuilder getLastScanTimeOrBuilder()
The last time this resource was scanned.
.google.protobuf.Timestamp last_scan_time = 5;
Type | Description |
TimestampOrBuilder |
getParserForType()
public Parser<DiscoveryOccurrence> getParserForType()
Type | Description |
Parser<DiscoveryOccurrence> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasAnalysisStatusError()
public 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;
Type | Description |
boolean | Whether the analysisStatusError field is set. |
hasLastScanTime()
public boolean hasLastScanTime()
The last time this resource was scanned.
.google.protobuf.Timestamp last_scan_time = 5;
Type | Description |
boolean | Whether the lastScanTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static DiscoveryOccurrence.Builder newBuilder()
Type | Description |
DiscoveryOccurrence.Builder |
newBuilder(DiscoveryOccurrence prototype)
public static DiscoveryOccurrence.Builder newBuilder(DiscoveryOccurrence prototype)
Name | Description |
prototype | DiscoveryOccurrence |
Type | Description |
DiscoveryOccurrence.Builder |
newBuilderForType()
public DiscoveryOccurrence.Builder newBuilderForType()
Type | Description |
DiscoveryOccurrence.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiscoveryOccurrence.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
DiscoveryOccurrence.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static DiscoveryOccurrence parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DiscoveryOccurrence |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DiscoveryOccurrence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DiscoveryOccurrence |
Type | Description |
IOException |
parseFrom(byte[] data)
public static DiscoveryOccurrence parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
DiscoveryOccurrence |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryOccurrence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DiscoveryOccurrence |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DiscoveryOccurrence parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
DiscoveryOccurrence |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryOccurrence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DiscoveryOccurrence |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DiscoveryOccurrence parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
DiscoveryOccurrence |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiscoveryOccurrence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DiscoveryOccurrence |
Type | Description |
IOException |
parseFrom(InputStream input)
public static DiscoveryOccurrence parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DiscoveryOccurrence |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DiscoveryOccurrence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DiscoveryOccurrence |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DiscoveryOccurrence parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
DiscoveryOccurrence |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryOccurrence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DiscoveryOccurrence |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DiscoveryOccurrence> parser()
Type | Description |
Parser<DiscoveryOccurrence> |
toBuilder()
public DiscoveryOccurrence.Builder toBuilder()
Type | Description |
DiscoveryOccurrence.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |