Class ScanRunLog (2.19.0)

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

Implements

ScanRunLogOrBuilder

Static Fields

ERROR_TRACE_FIELD_NUMBER

public static final int ERROR_TRACE_FIELD_NUMBER
Field Value
TypeDescription
int

EXECUTION_STATE_FIELD_NUMBER

public static final int EXECUTION_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

HAS_FINDINGS_FIELD_NUMBER

public static final int HAS_FINDINGS_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RESULT_STATE_FIELD_NUMBER

public static final int RESULT_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

SUMMARY_FIELD_NUMBER

public static final int SUMMARY_FIELD_NUMBER
Field Value
TypeDescription
int

URLS_CRAWLED_COUNT_FIELD_NUMBER

public static final int URLS_CRAWLED_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

URLS_TESTED_COUNT_FIELD_NUMBER

public static final int URLS_TESTED_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ScanRunLog getDefaultInstance()
Returns
TypeDescription
ScanRunLog

getDescriptor()

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

newBuilder()

public static ScanRunLog.Builder newBuilder()
Returns
TypeDescription
ScanRunLog.Builder

newBuilder(ScanRunLog prototype)

public static ScanRunLog.Builder newBuilder(ScanRunLog prototype)
Parameter
NameDescription
prototypeScanRunLog
Returns
TypeDescription
ScanRunLog.Builder

parseDelimitedFrom(InputStream input)

public static ScanRunLog parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ScanRunLog
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ScanRunLog parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanRunLog
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ScanRunLog parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ScanRunLog
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ScanRunLog parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanRunLog
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ScanRunLog parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ScanRunLog
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ScanRunLog parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanRunLog
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ScanRunLog parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ScanRunLog
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ScanRunLog parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanRunLog
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ScanRunLog parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ScanRunLog
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ScanRunLog parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanRunLog
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ScanRunLog parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ScanRunLog
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ScanRunLog parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScanRunLog
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ScanRunLog> parser()
Returns
TypeDescription
Parser<ScanRunLog>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ScanRunLog getDefaultInstanceForType()
Returns
TypeDescription
ScanRunLog

getErrorTrace()

public ScanRunErrorTrace getErrorTrace()

.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;

Returns
TypeDescription
ScanRunErrorTrace

The errorTrace.

getErrorTraceOrBuilder()

public ScanRunErrorTraceOrBuilder getErrorTraceOrBuilder()

.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;

Returns
TypeDescription
ScanRunErrorTraceOrBuilder

getExecutionState()

public ScanRun.ExecutionState getExecutionState()

The execution state of the ScanRun.

.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;

Returns
TypeDescription
ScanRun.ExecutionState

The executionState.

getExecutionStateValue()

public int getExecutionStateValue()

The execution state of the ScanRun.

.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for executionState.

getHasFindings()

public boolean getHasFindings()

bool has_findings = 7;

Returns
TypeDescription
boolean

The hasFindings.

getName()

public String getName()

The resource name of the ScanRun being logged.

string name = 2;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the ScanRun being logged.

string name = 2;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<ScanRunLog> getParserForType()
Returns
TypeDescription
Parser<ScanRunLog>
Overrides

getResultState()

public ScanRun.ResultState getResultState()

The result state of the ScanRun.

.google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;

Returns
TypeDescription
ScanRun.ResultState

The resultState.

getResultStateValue()

public int getResultStateValue()

The result state of the ScanRun.

.google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for resultState.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSummary()

public String getSummary()

Human friendly message about the event.

string summary = 1;

Returns
TypeDescription
String

The summary.

getSummaryBytes()

public ByteString getSummaryBytes()

Human friendly message about the event.

string summary = 1;

Returns
TypeDescription
ByteString

The bytes for summary.

getUrlsCrawledCount()

public long getUrlsCrawledCount()

int64 urls_crawled_count = 5;

Returns
TypeDescription
long

The urlsCrawledCount.

getUrlsTestedCount()

public long getUrlsTestedCount()

int64 urls_tested_count = 6;

Returns
TypeDescription
long

The urlsTestedCount.

hasErrorTrace()

public boolean hasErrorTrace()

.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;

Returns
TypeDescription
boolean

Whether the errorTrace field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ScanRunLog.Builder newBuilderForType()
Returns
TypeDescription
ScanRunLog.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ScanRunLog.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ScanRunLog.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ScanRunLog.Builder toBuilder()
Returns
TypeDescription
ScanRunLog.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException