- 2.54.0 (latest)
- 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 static final class DiscoveryOccurrence.Builder extends GeneratedMessageV3.Builder<DiscoveryOccurrence.Builder> implements DiscoveryOccurrenceOrBuilder
Provides information about the analysis status of a discovered resource.
Protobuf type grafeas.v1.DiscoveryOccurrence
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiscoveryOccurrence.BuilderImplements
DiscoveryOccurrenceOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DiscoveryOccurrence.Builder |
build()
public DiscoveryOccurrence build()
Type | Description |
DiscoveryOccurrence |
buildPartial()
public DiscoveryOccurrence buildPartial()
Type | Description |
DiscoveryOccurrence |
clear()
public DiscoveryOccurrence.Builder clear()
Type | Description |
DiscoveryOccurrence.Builder |
clearAnalysisStatus()
public DiscoveryOccurrence.Builder clearAnalysisStatus()
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;
Type | Description |
DiscoveryOccurrence.Builder | This builder for chaining. |
clearAnalysisStatusError()
public DiscoveryOccurrence.Builder clearAnalysisStatusError()
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 |
DiscoveryOccurrence.Builder |
clearContinuousAnalysis()
public DiscoveryOccurrence.Builder clearContinuousAnalysis()
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;
Type | Description |
DiscoveryOccurrence.Builder | This builder for chaining. |
clearCpe()
public DiscoveryOccurrence.Builder clearCpe()
The CPE of the resource being scanned.
string cpe = 4;
Type | Description |
DiscoveryOccurrence.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DiscoveryOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DiscoveryOccurrence.Builder |
clearLastScanTime()
public DiscoveryOccurrence.Builder clearLastScanTime()
The last time this resource was scanned.
.google.protobuf.Timestamp last_scan_time = 5;
Type | Description |
DiscoveryOccurrence.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DiscoveryOccurrence.Builder |
clone()
public DiscoveryOccurrence.Builder clone()
Type | Description |
DiscoveryOccurrence.Builder |
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. |
getAnalysisStatusErrorBuilder()
public Status.Builder getAnalysisStatusErrorBuilder()
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.Builder |
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. |
getDefaultInstanceForType()
public DiscoveryOccurrence getDefaultInstanceForType()
Type | Description |
DiscoveryOccurrence |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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. |
getLastScanTimeBuilder()
public Timestamp.Builder getLastScanTimeBuilder()
The last time this resource was scanned.
.google.protobuf.Timestamp last_scan_time = 5;
Type | Description |
Builder |
getLastScanTimeOrBuilder()
public TimestampOrBuilder getLastScanTimeOrBuilder()
The last time this resource was scanned.
.google.protobuf.Timestamp last_scan_time = 5;
Type | Description |
TimestampOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAnalysisStatusError(Status value)
public DiscoveryOccurrence.Builder mergeAnalysisStatusError(Status value)
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;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
DiscoveryOccurrence.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiscoveryOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DiscoveryOccurrence.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DiscoveryOccurrence.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DiscoveryOccurrence.Builder |
mergeFrom(DiscoveryOccurrence other)
public DiscoveryOccurrence.Builder mergeFrom(DiscoveryOccurrence other)
Name | Description |
other | DiscoveryOccurrence |
Type | Description |
DiscoveryOccurrence.Builder |
mergeLastScanTime(Timestamp value)
public DiscoveryOccurrence.Builder mergeLastScanTime(Timestamp value)
The last time this resource was scanned.
.google.protobuf.Timestamp last_scan_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
DiscoveryOccurrence.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DiscoveryOccurrence.Builder |
setAnalysisStatus(DiscoveryOccurrence.AnalysisStatus value)
public DiscoveryOccurrence.Builder setAnalysisStatus(DiscoveryOccurrence.AnalysisStatus value)
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;
Name | Description |
value | DiscoveryOccurrence.AnalysisStatus The analysisStatus to set. |
Type | Description |
DiscoveryOccurrence.Builder | This builder for chaining. |
setAnalysisStatusError(Status value)
public DiscoveryOccurrence.Builder setAnalysisStatusError(Status value)
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;
Name | Description |
value | com.google.rpc.Status |
Type | Description |
DiscoveryOccurrence.Builder |
setAnalysisStatusError(Status.Builder builderForValue)
public DiscoveryOccurrence.Builder setAnalysisStatusError(Status.Builder builderForValue)
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;
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Type | Description |
DiscoveryOccurrence.Builder |
setAnalysisStatusValue(int value)
public DiscoveryOccurrence.Builder setAnalysisStatusValue(int value)
The status of discovery for the resource.
.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;
Name | Description |
value | int The enum numeric value on the wire for analysisStatus to set. |
Type | Description |
DiscoveryOccurrence.Builder | This builder for chaining. |
setContinuousAnalysis(DiscoveryOccurrence.ContinuousAnalysis value)
public DiscoveryOccurrence.Builder setContinuousAnalysis(DiscoveryOccurrence.ContinuousAnalysis value)
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;
Name | Description |
value | DiscoveryOccurrence.ContinuousAnalysis The continuousAnalysis to set. |
Type | Description |
DiscoveryOccurrence.Builder | This builder for chaining. |
setContinuousAnalysisValue(int value)
public DiscoveryOccurrence.Builder setContinuousAnalysisValue(int value)
Whether the resource is continuously analyzed.
.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;
Name | Description |
value | int The enum numeric value on the wire for continuousAnalysis to set. |
Type | Description |
DiscoveryOccurrence.Builder | This builder for chaining. |
setCpe(String value)
public DiscoveryOccurrence.Builder setCpe(String value)
The CPE of the resource being scanned.
string cpe = 4;
Name | Description |
value | String The cpe to set. |
Type | Description |
DiscoveryOccurrence.Builder | This builder for chaining. |
setCpeBytes(ByteString value)
public DiscoveryOccurrence.Builder setCpeBytes(ByteString value)
The CPE of the resource being scanned.
string cpe = 4;
Name | Description |
value | ByteString The bytes for cpe to set. |
Type | Description |
DiscoveryOccurrence.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DiscoveryOccurrence.Builder |
setLastScanTime(Timestamp value)
public DiscoveryOccurrence.Builder setLastScanTime(Timestamp value)
The last time this resource was scanned.
.google.protobuf.Timestamp last_scan_time = 5;
Name | Description |
value | Timestamp |
Type | Description |
DiscoveryOccurrence.Builder |
setLastScanTime(Timestamp.Builder builderForValue)
public DiscoveryOccurrence.Builder setLastScanTime(Timestamp.Builder builderForValue)
The last time this resource was scanned.
.google.protobuf.Timestamp last_scan_time = 5;
Name | Description |
builderForValue | Builder |
Type | Description |
DiscoveryOccurrence.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveryOccurrence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DiscoveryOccurrence.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryOccurrence.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DiscoveryOccurrence.Builder |