Class ScanRun.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
- com.google.cloud.websecurityscanner.v1alpha.ScanRun.Builder
-
- All Implemented Interfaces:
ScanRunOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ScanRun
public static final class ScanRun.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder> implements ScanRunOrBuilder
A ScanRun is a output-only resource representing an actual run of the scan.
Protobuf typegoogle.cloud.websecurityscanner.v1alpha.ScanRun
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ScanRun.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ScanRun
build()
ScanRun
buildPartial()
ScanRun.Builder
clear()
ScanRun.Builder
clearEndTime()
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.ScanRun.Builder
clearExecutionState()
The execution state of the ScanRun.ScanRun.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ScanRun.Builder
clearHasVulnerabilities()
Whether the scan run has found any vulnerabilities.ScanRun.Builder
clearName()
The resource name of the ScanRun.ScanRun.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ScanRun.Builder
clearProgressPercent()
The percentage of total completion ranging from 0 to 100.ScanRun.Builder
clearResultState()
The result state of the ScanRun.ScanRun.Builder
clearStartTime()
The time at which the ScanRun started.ScanRun.Builder
clearUrlsCrawledCount()
The number of URLs crawled during this ScanRun.ScanRun.Builder
clearUrlsTestedCount()
The number of URLs tested during this ScanRun.ScanRun.Builder
clone()
ScanRun
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getEndTime()
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.com.google.protobuf.Timestamp.Builder
getEndTimeBuilder()
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.ScanRun.ExecutionState
getExecutionState()
The execution state of the ScanRun.int
getExecutionStateValue()
The execution state of the ScanRun.boolean
getHasVulnerabilities()
Whether the scan run has found any vulnerabilities.String
getName()
The resource name of the ScanRun.com.google.protobuf.ByteString
getNameBytes()
The resource name of the ScanRun.int
getProgressPercent()
The percentage of total completion ranging from 0 to 100.ScanRun.ResultState
getResultState()
The result state of the ScanRun.int
getResultStateValue()
The result state of the ScanRun.com.google.protobuf.Timestamp
getStartTime()
The time at which the ScanRun started.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
The time at which the ScanRun started.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
The time at which the ScanRun started.long
getUrlsCrawledCount()
The number of URLs crawled during this ScanRun.long
getUrlsTestedCount()
The number of URLs tested during this ScanRun.boolean
hasEndTime()
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.boolean
hasStartTime()
The time at which the ScanRun started.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ScanRun.Builder
mergeEndTime(com.google.protobuf.Timestamp value)
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.ScanRun.Builder
mergeFrom(ScanRun other)
ScanRun.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ScanRun.Builder
mergeFrom(com.google.protobuf.Message other)
ScanRun.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
The time at which the ScanRun started.ScanRun.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ScanRun.Builder
setEndTime(com.google.protobuf.Timestamp value)
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.ScanRun.Builder
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.ScanRun.Builder
setExecutionState(ScanRun.ExecutionState value)
The execution state of the ScanRun.ScanRun.Builder
setExecutionStateValue(int value)
The execution state of the ScanRun.ScanRun.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ScanRun.Builder
setHasVulnerabilities(boolean value)
Whether the scan run has found any vulnerabilities.ScanRun.Builder
setName(String value)
The resource name of the ScanRun.ScanRun.Builder
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the ScanRun.ScanRun.Builder
setProgressPercent(int value)
The percentage of total completion ranging from 0 to 100.ScanRun.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ScanRun.Builder
setResultState(ScanRun.ResultState value)
The result state of the ScanRun.ScanRun.Builder
setResultStateValue(int value)
The result state of the ScanRun.ScanRun.Builder
setStartTime(com.google.protobuf.Timestamp value)
The time at which the ScanRun started.ScanRun.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the ScanRun started.ScanRun.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ScanRun.Builder
setUrlsCrawledCount(long value)
The number of URLs crawled during this ScanRun.ScanRun.Builder
setUrlsTestedCount(long value)
The number of URLs tested during this ScanRun.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
clear
public ScanRun.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
getDefaultInstanceForType
public ScanRun getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ScanRun build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ScanRun buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ScanRun.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
setField
public ScanRun.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
clearField
public ScanRun.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
clearOneof
public ScanRun.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
setRepeatedField
public ScanRun.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
addRepeatedField
public ScanRun.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
mergeFrom
public ScanRun.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ScanRun.Builder>
-
mergeFrom
public ScanRun.Builder mergeFrom(ScanRun other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
mergeFrom
public ScanRun.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ScanRun.Builder>
- Throws:
IOException
-
getName
public String getName()
The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.
string name = 1;
- Specified by:
getName
in interfaceScanRunOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.
string name = 1;
- Specified by:
getNameBytes
in interfaceScanRunOrBuilder
- Returns:
- The bytes for name.
-
setName
public ScanRun.Builder setName(String value)
The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ScanRun.Builder clearName()
The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public ScanRun.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the ScanRun. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'. The ScanRun IDs are generated by the system.
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getExecutionStateValue
public int getExecutionStateValue()
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1alpha.ScanRun.ExecutionState execution_state = 2;
- Specified by:
getExecutionStateValue
in interfaceScanRunOrBuilder
- Returns:
- The enum numeric value on the wire for executionState.
-
setExecutionStateValue
public ScanRun.Builder setExecutionStateValue(int value)
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1alpha.ScanRun.ExecutionState execution_state = 2;
- Parameters:
value
- The enum numeric value on the wire for executionState to set.- Returns:
- This builder for chaining.
-
getExecutionState
public ScanRun.ExecutionState getExecutionState()
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1alpha.ScanRun.ExecutionState execution_state = 2;
- Specified by:
getExecutionState
in interfaceScanRunOrBuilder
- Returns:
- The executionState.
-
setExecutionState
public ScanRun.Builder setExecutionState(ScanRun.ExecutionState value)
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1alpha.ScanRun.ExecutionState execution_state = 2;
- Parameters:
value
- The executionState to set.- Returns:
- This builder for chaining.
-
clearExecutionState
public ScanRun.Builder clearExecutionState()
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1alpha.ScanRun.ExecutionState execution_state = 2;
- Returns:
- This builder for chaining.
-
getResultStateValue
public int getResultStateValue()
The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
.google.cloud.websecurityscanner.v1alpha.ScanRun.ResultState result_state = 3;
- Specified by:
getResultStateValue
in interfaceScanRunOrBuilder
- Returns:
- The enum numeric value on the wire for resultState.
-
setResultStateValue
public ScanRun.Builder setResultStateValue(int value)
The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
.google.cloud.websecurityscanner.v1alpha.ScanRun.ResultState result_state = 3;
- Parameters:
value
- The enum numeric value on the wire for resultState to set.- Returns:
- This builder for chaining.
-
getResultState
public ScanRun.ResultState getResultState()
The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
.google.cloud.websecurityscanner.v1alpha.ScanRun.ResultState result_state = 3;
- Specified by:
getResultState
in interfaceScanRunOrBuilder
- Returns:
- The resultState.
-
setResultState
public ScanRun.Builder setResultState(ScanRun.ResultState value)
The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
.google.cloud.websecurityscanner.v1alpha.ScanRun.ResultState result_state = 3;
- Parameters:
value
- The resultState to set.- Returns:
- This builder for chaining.
-
clearResultState
public ScanRun.Builder clearResultState()
The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
.google.cloud.websecurityscanner.v1alpha.ScanRun.ResultState result_state = 3;
- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()
The time at which the ScanRun started.
.google.protobuf.Timestamp start_time = 4;
- Specified by:
hasStartTime
in interfaceScanRunOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
The time at which the ScanRun started.
.google.protobuf.Timestamp start_time = 4;
- Specified by:
getStartTime
in interfaceScanRunOrBuilder
- Returns:
- The startTime.
-
setStartTime
public ScanRun.Builder setStartTime(com.google.protobuf.Timestamp value)
The time at which the ScanRun started.
.google.protobuf.Timestamp start_time = 4;
-
setStartTime
public ScanRun.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the ScanRun started.
.google.protobuf.Timestamp start_time = 4;
-
mergeStartTime
public ScanRun.Builder mergeStartTime(com.google.protobuf.Timestamp value)
The time at which the ScanRun started.
.google.protobuf.Timestamp start_time = 4;
-
clearStartTime
public ScanRun.Builder clearStartTime()
The time at which the ScanRun started.
.google.protobuf.Timestamp start_time = 4;
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
The time at which the ScanRun started.
.google.protobuf.Timestamp start_time = 4;
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The time at which the ScanRun started.
.google.protobuf.Timestamp start_time = 4;
- Specified by:
getStartTimeOrBuilder
in interfaceScanRunOrBuilder
-
hasEndTime
public boolean hasEndTime()
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
.google.protobuf.Timestamp end_time = 5;
- Specified by:
hasEndTime
in interfaceScanRunOrBuilder
- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
.google.protobuf.Timestamp end_time = 5;
- Specified by:
getEndTime
in interfaceScanRunOrBuilder
- Returns:
- The endTime.
-
setEndTime
public ScanRun.Builder setEndTime(com.google.protobuf.Timestamp value)
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
.google.protobuf.Timestamp end_time = 5;
-
setEndTime
public ScanRun.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
.google.protobuf.Timestamp end_time = 5;
-
mergeEndTime
public ScanRun.Builder mergeEndTime(com.google.protobuf.Timestamp value)
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
.google.protobuf.Timestamp end_time = 5;
-
clearEndTime
public ScanRun.Builder clearEndTime()
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
.google.protobuf.Timestamp end_time = 5;
-
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
.google.protobuf.Timestamp end_time = 5;
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
.google.protobuf.Timestamp end_time = 5;
- Specified by:
getEndTimeOrBuilder
in interfaceScanRunOrBuilder
-
getUrlsCrawledCount
public long getUrlsCrawledCount()
The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.
int64 urls_crawled_count = 6;
- Specified by:
getUrlsCrawledCount
in interfaceScanRunOrBuilder
- Returns:
- The urlsCrawledCount.
-
setUrlsCrawledCount
public ScanRun.Builder setUrlsCrawledCount(long value)
The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.
int64 urls_crawled_count = 6;
- Parameters:
value
- The urlsCrawledCount to set.- Returns:
- This builder for chaining.
-
clearUrlsCrawledCount
public ScanRun.Builder clearUrlsCrawledCount()
The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.
int64 urls_crawled_count = 6;
- Returns:
- This builder for chaining.
-
getUrlsTestedCount
public long getUrlsTestedCount()
The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.
int64 urls_tested_count = 7;
- Specified by:
getUrlsTestedCount
in interfaceScanRunOrBuilder
- Returns:
- The urlsTestedCount.
-
setUrlsTestedCount
public ScanRun.Builder setUrlsTestedCount(long value)
The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.
int64 urls_tested_count = 7;
- Parameters:
value
- The urlsTestedCount to set.- Returns:
- This builder for chaining.
-
clearUrlsTestedCount
public ScanRun.Builder clearUrlsTestedCount()
The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.
int64 urls_tested_count = 7;
- Returns:
- This builder for chaining.
-
getHasVulnerabilities
public boolean getHasVulnerabilities()
Whether the scan run has found any vulnerabilities.
bool has_vulnerabilities = 8;
- Specified by:
getHasVulnerabilities
in interfaceScanRunOrBuilder
- Returns:
- The hasVulnerabilities.
-
setHasVulnerabilities
public ScanRun.Builder setHasVulnerabilities(boolean value)
Whether the scan run has found any vulnerabilities.
bool has_vulnerabilities = 8;
- Parameters:
value
- The hasVulnerabilities to set.- Returns:
- This builder for chaining.
-
clearHasVulnerabilities
public ScanRun.Builder clearHasVulnerabilities()
Whether the scan run has found any vulnerabilities.
bool has_vulnerabilities = 8;
- Returns:
- This builder for chaining.
-
getProgressPercent
public int getProgressPercent()
The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.
int32 progress_percent = 9;
- Specified by:
getProgressPercent
in interfaceScanRunOrBuilder
- Returns:
- The progressPercent.
-
setProgressPercent
public ScanRun.Builder setProgressPercent(int value)
The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.
int32 progress_percent = 9;
- Parameters:
value
- The progressPercent to set.- Returns:
- This builder for chaining.
-
clearProgressPercent
public ScanRun.Builder clearProgressPercent()
The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.
int32 progress_percent = 9;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ScanRun.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
mergeUnknownFields
public final ScanRun.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ScanRun.Builder>
-
-