public final class ScanRun extends com.google.protobuf.GeneratedMessageV3 implements ScanRunOrBuilder
A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12Protobuf type
google.cloud.websecurityscanner.v1beta.ScanRun| Modifier and Type | Class and Description |
|---|---|
static class |
ScanRun.Builder
A ScanRun is a output-only resource representing an actual run of the scan.
|
static class |
ScanRun.ExecutionState
Types of ScanRun execution state.
|
static class |
ScanRun.ResultState
Types of ScanRun result state.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
END_TIME_FIELD_NUMBER |
static int |
ERROR_TRACE_FIELD_NUMBER |
static int |
EXECUTION_STATE_FIELD_NUMBER |
static int |
HAS_VULNERABILITIES_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PROGRESS_PERCENT_FIELD_NUMBER |
static int |
RESULT_STATE_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
URLS_CRAWLED_COUNT_FIELD_NUMBER |
static int |
URLS_TESTED_COUNT_FIELD_NUMBER |
static int |
WARNING_TRACES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ScanRun |
getDefaultInstance() |
ScanRun |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
ScanRunErrorTrace |
getErrorTrace()
Output only.
|
ScanRunErrorTraceOrBuilder |
getErrorTraceOrBuilder()
Output only.
|
ScanRun.ExecutionState |
getExecutionState()
Output only.
|
int |
getExecutionStateValue()
Output only.
|
boolean |
getHasVulnerabilities()
Output only.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<ScanRun> |
getParserForType() |
int |
getProgressPercent()
Output only.
|
ScanRun.ResultState |
getResultState()
Output only.
|
int |
getResultStateValue()
Output only.
|
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
long |
getUrlsCrawledCount()
Output only.
|
long |
getUrlsTestedCount()
Output only.
|
ScanRunWarningTrace |
getWarningTraces(int index)
Output only.
|
int |
getWarningTracesCount()
Output only.
|
List<ScanRunWarningTrace> |
getWarningTracesList()
Output only.
|
ScanRunWarningTraceOrBuilder |
getWarningTracesOrBuilder(int index)
Output only.
|
List<? extends ScanRunWarningTraceOrBuilder> |
getWarningTracesOrBuilderList()
Output only.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasErrorTrace()
Output only.
|
int |
hashCode() |
boolean |
hasStartTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ScanRun.Builder |
newBuilder() |
static ScanRun.Builder |
newBuilder(ScanRun prototype) |
ScanRun.Builder |
newBuilderForType() |
protected ScanRun.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ScanRun |
parseDelimitedFrom(InputStream input) |
static ScanRun |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ScanRun |
parseFrom(byte[] data) |
static ScanRun |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ScanRun |
parseFrom(ByteBuffer data) |
static ScanRun |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ScanRun |
parseFrom(com.google.protobuf.ByteString data) |
static ScanRun |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ScanRun |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ScanRun |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ScanRun |
parseFrom(InputStream input) |
static ScanRun |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ScanRun> |
parser() |
ScanRun.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int EXECUTION_STATE_FIELD_NUMBER
public static final int RESULT_STATE_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int URLS_CRAWLED_COUNT_FIELD_NUMBER
public static final int URLS_TESTED_COUNT_FIELD_NUMBER
public static final int HAS_VULNERABILITIES_FIELD_NUMBER
public static final int PROGRESS_PERCENT_FIELD_NUMBER
public static final int ERROR_TRACE_FIELD_NUMBER
public static final int WARNING_TRACES_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only.
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;getName in interface ScanRunOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only.
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;getNameBytes in interface ScanRunOrBuilderpublic int getExecutionStateValue()
Output only. The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1beta.ScanRun.ExecutionState execution_state = 2;
getExecutionStateValue in interface ScanRunOrBuilderpublic ScanRun.ExecutionState getExecutionState()
Output only. The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1beta.ScanRun.ExecutionState execution_state = 2;
getExecutionState in interface ScanRunOrBuilderpublic int getResultStateValue()
Output only. The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
.google.cloud.websecurityscanner.v1beta.ScanRun.ResultState result_state = 3;getResultStateValue in interface ScanRunOrBuilderpublic ScanRun.ResultState getResultState()
Output only. The result state of the ScanRun. This field is only available after the execution state reaches "FINISHED".
.google.cloud.websecurityscanner.v1beta.ScanRun.ResultState result_state = 3;getResultState in interface ScanRunOrBuilderpublic boolean hasStartTime()
Output only. The time at which the ScanRun started.
.google.protobuf.Timestamp start_time = 4;hasStartTime in interface ScanRunOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Output only. The time at which the ScanRun started.
.google.protobuf.Timestamp start_time = 4;getStartTime in interface ScanRunOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time at which the ScanRun started.
.google.protobuf.Timestamp start_time = 4;getStartTimeOrBuilder in interface ScanRunOrBuilderpublic boolean hasEndTime()
Output only. 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;hasEndTime in interface ScanRunOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Output only. 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;getEndTime in interface ScanRunOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. 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 in interface ScanRunOrBuilderpublic long getUrlsCrawledCount()
Output only. 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;getUrlsCrawledCount in interface ScanRunOrBuilderpublic long getUrlsTestedCount()
Output only. 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;getUrlsTestedCount in interface ScanRunOrBuilderpublic boolean getHasVulnerabilities()
Output only. Whether the scan run has found any vulnerabilities.
bool has_vulnerabilities = 8;getHasVulnerabilities in interface ScanRunOrBuilderpublic int getProgressPercent()
Output only. 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;getProgressPercent in interface ScanRunOrBuilderpublic boolean hasErrorTrace()
Output only. If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available.
.google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace error_trace = 10;hasErrorTrace in interface ScanRunOrBuilderpublic ScanRunErrorTrace getErrorTrace()
Output only. If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available.
.google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace error_trace = 10;getErrorTrace in interface ScanRunOrBuilderpublic ScanRunErrorTraceOrBuilder getErrorTraceOrBuilder()
Output only. If result_state is an ERROR, this field provides the primary reason for scan's termination and more details, if such are available.
.google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace error_trace = 10;getErrorTraceOrBuilder in interface ScanRunOrBuilderpublic List<ScanRunWarningTrace> getWarningTracesList()
Output only. A list of warnings, if such are encountered during this scan run.
repeated .google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace warning_traces = 11;
getWarningTracesList in interface ScanRunOrBuilderpublic List<? extends ScanRunWarningTraceOrBuilder> getWarningTracesOrBuilderList()
Output only. A list of warnings, if such are encountered during this scan run.
repeated .google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace warning_traces = 11;
getWarningTracesOrBuilderList in interface ScanRunOrBuilderpublic int getWarningTracesCount()
Output only. A list of warnings, if such are encountered during this scan run.
repeated .google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace warning_traces = 11;
getWarningTracesCount in interface ScanRunOrBuilderpublic ScanRunWarningTrace getWarningTraces(int index)
Output only. A list of warnings, if such are encountered during this scan run.
repeated .google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace warning_traces = 11;
getWarningTraces in interface ScanRunOrBuilderpublic ScanRunWarningTraceOrBuilder getWarningTracesOrBuilder(int index)
Output only. A list of warnings, if such are encountered during this scan run.
repeated .google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace warning_traces = 11;
getWarningTracesOrBuilder in interface ScanRunOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ScanRun parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ScanRun parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ScanRun parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ScanRun parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ScanRun parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ScanRun parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ScanRun parseFrom(InputStream input) throws IOException
IOExceptionpublic static ScanRun parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ScanRun parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ScanRun parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ScanRun parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ScanRun parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ScanRun.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ScanRun.Builder newBuilder()
public static ScanRun.Builder newBuilder(ScanRun prototype)
public ScanRun.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ScanRun.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ScanRun getDefaultInstance()
public static com.google.protobuf.Parser<ScanRun> parser()
public com.google.protobuf.Parser<ScanRun> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ScanRun getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.