public final class ScanRunLog extends GeneratedMessageV3 implements ScanRunLogOrBuilder
A ScanRunLog is an output-only proto used for Stackdriver customer logging.
It is used for logs covering the start and end of scan pipelines.
Other than an added summary, this is a subset of the ScanRun.
Representation in logs is either a proto Struct, or converted to JSON.
Next id: 9
Protobuf type google.cloud.websecurityscanner.v1.ScanRunLog
Static Fields
ERROR_TRACE_FIELD_NUMBER
public static final int ERROR_TRACE_FIELD_NUMBER
Field Value
EXECUTION_STATE_FIELD_NUMBER
public static final int EXECUTION_STATE_FIELD_NUMBER
Field Value
HAS_FINDINGS_FIELD_NUMBER
public static final int HAS_FINDINGS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
RESULT_STATE_FIELD_NUMBER
public static final int RESULT_STATE_FIELD_NUMBER
Field Value
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER
Field Value
URLS_CRAWLED_COUNT_FIELD_NUMBER
public static final int URLS_CRAWLED_COUNT_FIELD_NUMBER
Field Value
URLS_TESTED_COUNT_FIELD_NUMBER
public static final int URLS_TESTED_COUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ScanRunLog getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ScanRunLog.Builder newBuilder()
Returns
newBuilder(ScanRunLog prototype)
public static ScanRunLog.Builder newBuilder(ScanRunLog prototype)
Parameter
Returns
public static ScanRunLog parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScanRunLog parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ScanRunLog parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScanRunLog parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ScanRunLog parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScanRunLog parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScanRunLog parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ScanRunLog parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScanRunLog parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScanRunLog parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ScanRunLog parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScanRunLog parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ScanRunLog> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ScanRunLog getDefaultInstanceForType()
Returns
getErrorTrace()
public ScanRunErrorTrace getErrorTrace()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
Returns
getErrorTraceOrBuilder()
public ScanRunErrorTraceOrBuilder getErrorTraceOrBuilder()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
Returns
getExecutionState()
public ScanRun.ExecutionState getExecutionState()
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
Returns
getExecutionStateValue()
public int getExecutionStateValue()
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
Returns
Type | Description |
int | The enum numeric value on the wire for executionState.
|
getHasFindings()
public boolean getHasFindings()
Returns
Type | Description |
boolean | The hasFindings.
|
getName()
The resource name of the ScanRun being logged.
string name = 2;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The resource name of the ScanRun being logged.
string name = 2;
Returns
getParserForType()
public Parser<ScanRunLog> getParserForType()
Returns
Overrides
getResultState()
public ScanRun.ResultState getResultState()
The result state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
Returns
getResultStateValue()
public int getResultStateValue()
The result state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
Returns
Type | Description |
int | The enum numeric value on the wire for resultState.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSummary()
public String getSummary()
Human friendly message about the event.
string summary = 1;
Returns
Type | Description |
String | The summary.
|
getSummaryBytes()
public ByteString getSummaryBytes()
Human friendly message about the event.
string summary = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUrlsCrawledCount()
public long getUrlsCrawledCount()
int64 urls_crawled_count = 5;
Returns
Type | Description |
long | The urlsCrawledCount.
|
getUrlsTestedCount()
public long getUrlsTestedCount()
int64 urls_tested_count = 6;
Returns
Type | Description |
long | The urlsTestedCount.
|
hasErrorTrace()
public boolean hasErrorTrace()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
Returns
Type | Description |
boolean | Whether the errorTrace field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ScanRunLog.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScanRunLog.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ScanRunLog.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions