- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.4
- 2.1.1
- 2.0.15
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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ScanRunLogImplements
ScanRunLogOrBuilderStatic Fields
ERROR_TRACE_FIELD_NUMBER
public static final int ERROR_TRACE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
EXECUTION_STATE_FIELD_NUMBER
public static final int EXECUTION_STATE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
HAS_FINDINGS_FIELD_NUMBER
public static final int HAS_FINDINGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
RESULT_STATE_FIELD_NUMBER
public static final int RESULT_STATE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
URLS_CRAWLED_COUNT_FIELD_NUMBER
public static final int URLS_CRAWLED_COUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
URLS_TESTED_COUNT_FIELD_NUMBER
public static final int URLS_TESTED_COUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ScanRunLog getDefaultInstance()
Returns | |
---|---|
Type | Description |
ScanRunLog |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ScanRunLog.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ScanRunLog.Builder |
newBuilder(ScanRunLog prototype)
public static ScanRunLog.Builder newBuilder(ScanRunLog prototype)
Parameter | |
---|---|
Name | Description |
prototype | ScanRunLog |
Returns | |
---|---|
Type | Description |
ScanRunLog.Builder |
parseDelimitedFrom(InputStream input)
public static ScanRunLog parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ScanRunLog |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ScanRunLog parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ScanRunLog |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ScanRunLog parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ScanRunLog |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScanRunLog parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ScanRunLog |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ScanRunLog parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ScanRunLog |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScanRunLog parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ScanRunLog |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ScanRunLog parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ScanRunLog |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ScanRunLog parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ScanRunLog |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ScanRunLog parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ScanRunLog |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ScanRunLog parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ScanRunLog |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ScanRunLog parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ScanRunLog |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScanRunLog parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ScanRunLog |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ScanRunLog> parser()
Returns | |
---|---|
Type | Description |
Parser<ScanRunLog> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public ScanRunLog getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ScanRunLog |
getErrorTrace()
public ScanRunErrorTrace getErrorTrace()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
Returns | |
---|---|
Type | Description |
ScanRunErrorTrace | The errorTrace. |
getErrorTraceOrBuilder()
public ScanRunErrorTraceOrBuilder getErrorTraceOrBuilder()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
Returns | |
---|---|
Type | Description |
ScanRunErrorTraceOrBuilder |
getExecutionState()
public ScanRun.ExecutionState getExecutionState()
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
Returns | |
---|---|
Type | Description |
ScanRun.ExecutionState | The executionState. |
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()
bool has_findings = 7;
Returns | |
---|---|
Type | Description |
boolean | The hasFindings. |
getName()
public String 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 | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<ScanRunLog> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ScanRunLog> |
getResultState()
public ScanRun.ResultState getResultState()
The result state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
Returns | |
---|---|
Type | Description |
ScanRun.ResultState | The resultState. |
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 | |
---|---|
Type | Description |
int |
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 | |
---|---|
Type | Description |
ByteString | The bytes for summary. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
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()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ScanRunLog.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ScanRunLog.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScanRunLog.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ScanRunLog.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ScanRunLog.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ScanRunLog.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |