Class DiscoveryOccurrence.Builder (2.33.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAnalysisError(Iterable<? extends Status> values)

public DiscoveryOccurrence.Builder addAllAnalysisError(Iterable<? extends Status> values)

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
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
DiscoveryOccurrence.Builder

addAnalysisError(Status value)

public DiscoveryOccurrence.Builder addAnalysisError(Status value)

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
valuecom.google.rpc.Status
Returns
TypeDescription
DiscoveryOccurrence.Builder

addAnalysisError(Status.Builder builderForValue)

public DiscoveryOccurrence.Builder addAnalysisError(Status.Builder builderForValue)

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
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
DiscoveryOccurrence.Builder

addAnalysisError(int index, Status value)

public DiscoveryOccurrence.Builder addAnalysisError(int index, Status value)

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;

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
DiscoveryOccurrence.Builder

addAnalysisError(int index, Status.Builder builderForValue)

public DiscoveryOccurrence.Builder addAnalysisError(int index, Status.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
DiscoveryOccurrence.Builder

addAnalysisErrorBuilder()

public Status.Builder addAnalysisErrorBuilder()

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
com.google.rpc.Status.Builder

addAnalysisErrorBuilder(int index)

public Status.Builder addAnalysisErrorBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiscoveryOccurrence.Builder
Overrides

build()

public DiscoveryOccurrence build()
Returns
TypeDescription
DiscoveryOccurrence

buildPartial()

public DiscoveryOccurrence buildPartial()
Returns
TypeDescription
DiscoveryOccurrence

clear()

public DiscoveryOccurrence.Builder clear()
Returns
TypeDescription
DiscoveryOccurrence.Builder
Overrides

clearAnalysisCompleted()

public DiscoveryOccurrence.Builder clearAnalysisCompleted()

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

Returns
TypeDescription
DiscoveryOccurrence.Builder

clearAnalysisError()

public DiscoveryOccurrence.Builder clearAnalysisError()

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
DiscoveryOccurrence.Builder

clearAnalysisStatus()

public DiscoveryOccurrence.Builder clearAnalysisStatus()

The status of discovery for the resource.

.grafeas.v1.DiscoveryOccurrence.AnalysisStatus analysis_status = 2;

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

Returns
TypeDescription
DiscoveryOccurrence.Builder

clearArchiveTime()

public DiscoveryOccurrence.Builder clearArchiveTime()

The time occurrences related to this discovery occurrence were archived.

.google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DiscoveryOccurrence.Builder

clearContinuousAnalysis()

public DiscoveryOccurrence.Builder clearContinuousAnalysis()

Whether the resource is continuously analyzed.

.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;

Returns
TypeDescription
DiscoveryOccurrence.Builder

This builder for chaining.

clearCpe()

public DiscoveryOccurrence.Builder clearCpe()

The CPE of the resource being scanned.

string cpe = 4;

Returns
TypeDescription
DiscoveryOccurrence.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DiscoveryOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DiscoveryOccurrence.Builder
Overrides

clearLastScanTime()

public DiscoveryOccurrence.Builder clearLastScanTime()

The last time this resource was scanned.

.google.protobuf.Timestamp last_scan_time = 5;

Returns
TypeDescription
DiscoveryOccurrence.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DiscoveryOccurrence.Builder
Overrides

clone()

public DiscoveryOccurrence.Builder clone()
Returns
TypeDescription
DiscoveryOccurrence.Builder
Overrides

getAnalysisCompleted()

public DiscoveryOccurrence.AnalysisCompleted getAnalysisCompleted()

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

Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted

The analysisCompleted.

getAnalysisCompletedBuilder()

public DiscoveryOccurrence.AnalysisCompleted.Builder getAnalysisCompletedBuilder()

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

Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompleted.Builder

getAnalysisCompletedOrBuilder()

public DiscoveryOccurrence.AnalysisCompletedOrBuilder getAnalysisCompletedOrBuilder()

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

Returns
TypeDescription
DiscoveryOccurrence.AnalysisCompletedOrBuilder

getAnalysisError(int index)

public 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

getAnalysisErrorBuilder(int index)

public Status.Builder getAnalysisErrorBuilder(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.Builder

getAnalysisErrorBuilderList()

public List<Status.Builder> getAnalysisErrorBuilderList()

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.Builder>

getAnalysisErrorCount()

public 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 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 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 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 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 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.

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;

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

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getAnalysisStatusValue()

public 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 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.

getArchiveTimeBuilder()

public Timestamp.Builder getArchiveTimeBuilder()

The time occurrences related to this discovery occurrence were archived.

.google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getArchiveTimeOrBuilder()

public 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 DiscoveryOccurrence.ContinuousAnalysis getContinuousAnalysis()

Whether the resource is continuously analyzed.

.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;

Returns
TypeDescription
DiscoveryOccurrence.ContinuousAnalysis

The continuousAnalysis.

getContinuousAnalysisValue()

public 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 String getCpe()

The CPE of the resource being scanned.

string cpe = 4;

Returns
TypeDescription
String

The cpe.

getCpeBytes()

public ByteString getCpeBytes()

The CPE of the resource being scanned.

string cpe = 4;

Returns
TypeDescription
ByteString

The bytes for cpe.

getDefaultInstanceForType()

public DiscoveryOccurrence getDefaultInstanceForType()
Returns
TypeDescription
DiscoveryOccurrence

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLastScanTime()

public Timestamp getLastScanTime()

The last time this resource was scanned.

.google.protobuf.Timestamp last_scan_time = 5;

Returns
TypeDescription
Timestamp

The lastScanTime.

getLastScanTimeBuilder()

public Timestamp.Builder getLastScanTimeBuilder()

The last time this resource was scanned.

.google.protobuf.Timestamp last_scan_time = 5;

Returns
TypeDescription
Builder

getLastScanTimeOrBuilder()

public TimestampOrBuilder getLastScanTimeOrBuilder()

The last time this resource was scanned.

.google.protobuf.Timestamp last_scan_time = 5;

Returns
TypeDescription
TimestampOrBuilder

hasAnalysisCompleted()

public boolean hasAnalysisCompleted()

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

Returns
TypeDescription
boolean

Whether the analysisCompleted field is set.

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;

Returns
TypeDescription
boolean

Whether the analysisStatusError field is set.

hasArchiveTime()

public 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 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAnalysisCompleted(DiscoveryOccurrence.AnalysisCompleted value)

public DiscoveryOccurrence.Builder mergeAnalysisCompleted(DiscoveryOccurrence.AnalysisCompleted value)

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

Parameter
NameDescription
valueDiscoveryOccurrence.AnalysisCompleted
Returns
TypeDescription
DiscoveryOccurrence.Builder

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;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
DiscoveryOccurrence.Builder

mergeArchiveTime(Timestamp value)

public DiscoveryOccurrence.Builder mergeArchiveTime(Timestamp value)

The time occurrences related to this discovery occurrence were archived.

.google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DiscoveryOccurrence.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryOccurrence.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DiscoveryOccurrence.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DiscoveryOccurrence.Builder
Overrides

mergeFrom(DiscoveryOccurrence other)

public DiscoveryOccurrence.Builder mergeFrom(DiscoveryOccurrence other)
Parameter
NameDescription
otherDiscoveryOccurrence
Returns
TypeDescription
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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DiscoveryOccurrence.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryOccurrence.Builder
Overrides

removeAnalysisError(int index)

public DiscoveryOccurrence.Builder removeAnalysisError(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
DiscoveryOccurrence.Builder

setAnalysisCompleted(DiscoveryOccurrence.AnalysisCompleted value)

public DiscoveryOccurrence.Builder setAnalysisCompleted(DiscoveryOccurrence.AnalysisCompleted value)

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

Parameter
NameDescription
valueDiscoveryOccurrence.AnalysisCompleted
Returns
TypeDescription
DiscoveryOccurrence.Builder

setAnalysisCompleted(DiscoveryOccurrence.AnalysisCompleted.Builder builderForValue)

public DiscoveryOccurrence.Builder setAnalysisCompleted(DiscoveryOccurrence.AnalysisCompleted.Builder builderForValue)

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

Parameter
NameDescription
builderForValueDiscoveryOccurrence.AnalysisCompleted.Builder
Returns
TypeDescription
DiscoveryOccurrence.Builder

setAnalysisError(int index, Status value)

public DiscoveryOccurrence.Builder setAnalysisError(int index, Status value)

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;

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
DiscoveryOccurrence.Builder

setAnalysisError(int index, Status.Builder builderForValue)

public DiscoveryOccurrence.Builder setAnalysisError(int index, Status.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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;

Parameter
NameDescription
valueDiscoveryOccurrence.AnalysisStatus

The analysisStatus to set.

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

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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;

Parameter
NameDescription
valueint

The enum numeric value on the wire for analysisStatus to set.

Returns
TypeDescription
DiscoveryOccurrence.Builder

This builder for chaining.

setArchiveTime(Timestamp value)

public DiscoveryOccurrence.Builder setArchiveTime(Timestamp value)

The time occurrences related to this discovery occurrence were archived.

.google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DiscoveryOccurrence.Builder

setArchiveTime(Timestamp.Builder builderForValue)

public DiscoveryOccurrence.Builder setArchiveTime(Timestamp.Builder builderForValue)

The time occurrences related to this discovery occurrence were archived.

.google.protobuf.Timestamp archive_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DiscoveryOccurrence.Builder

setContinuousAnalysis(DiscoveryOccurrence.ContinuousAnalysis value)

public DiscoveryOccurrence.Builder setContinuousAnalysis(DiscoveryOccurrence.ContinuousAnalysis value)

Whether the resource is continuously analyzed.

.grafeas.v1.DiscoveryOccurrence.ContinuousAnalysis continuous_analysis = 1;

Parameter
NameDescription
valueDiscoveryOccurrence.ContinuousAnalysis

The continuousAnalysis to set.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for continuousAnalysis to set.

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

Parameter
NameDescription
valueString

The cpe to set.

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

Parameter
NameDescription
valueByteString

The bytes for cpe to set.

Returns
TypeDescription
DiscoveryOccurrence.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiscoveryOccurrence.Builder
Overrides

setLastScanTime(Timestamp value)

public DiscoveryOccurrence.Builder setLastScanTime(Timestamp value)

The last time this resource was scanned.

.google.protobuf.Timestamp last_scan_time = 5;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DiscoveryOccurrence.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DiscoveryOccurrence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DiscoveryOccurrence.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryOccurrence.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryOccurrence.Builder
Overrides