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: 9Protobuf type
google.cloud.websecurityscanner.v1.ScanRunLog
Modifier and Type | Class and Description |
---|---|
static class |
ScanRunLog.Builder
A ScanRunLog is an output-only proto used for Stackdriver customer logging.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_TRACE_FIELD_NUMBER |
static int |
EXECUTION_STATE_FIELD_NUMBER |
static int |
HAS_FINDINGS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RESULT_STATE_FIELD_NUMBER |
static int |
SUMMARY_FIELD_NUMBER |
static int |
URLS_CRAWLED_COUNT_FIELD_NUMBER |
static int |
URLS_TESTED_COUNT_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int SUMMARY_FIELD_NUMBER
public 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 URLS_CRAWLED_COUNT_FIELD_NUMBER
public static final int URLS_TESTED_COUNT_FIELD_NUMBER
public static final int HAS_FINDINGS_FIELD_NUMBER
public static final int ERROR_TRACE_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getSummary()
Human friendly message about the event.
string summary = 1;
getSummary
in interface ScanRunLogOrBuilder
public ByteString getSummaryBytes()
Human friendly message about the event.
string summary = 1;
getSummaryBytes
in interface ScanRunLogOrBuilder
public String getName()
The resource name of the ScanRun being logged.
string name = 2;
getName
in interface ScanRunLogOrBuilder
public ByteString getNameBytes()
The resource name of the ScanRun being logged.
string name = 2;
getNameBytes
in interface ScanRunLogOrBuilder
public int getExecutionStateValue()
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
getExecutionStateValue
in interface ScanRunLogOrBuilder
public ScanRun.ExecutionState getExecutionState()
The execution state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
getExecutionState
in interface ScanRunLogOrBuilder
public int getResultStateValue()
The result state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
getResultStateValue
in interface ScanRunLogOrBuilder
public ScanRun.ResultState getResultState()
The result state of the ScanRun.
.google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
getResultState
in interface ScanRunLogOrBuilder
public long getUrlsCrawledCount()
int64 urls_crawled_count = 5;
getUrlsCrawledCount
in interface ScanRunLogOrBuilder
public long getUrlsTestedCount()
int64 urls_tested_count = 6;
getUrlsTestedCount
in interface ScanRunLogOrBuilder
public boolean getHasFindings()
bool has_findings = 7;
getHasFindings
in interface ScanRunLogOrBuilder
public boolean hasErrorTrace()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
hasErrorTrace
in interface ScanRunLogOrBuilder
public ScanRunErrorTrace getErrorTrace()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
getErrorTrace
in interface ScanRunLogOrBuilder
public ScanRunErrorTraceOrBuilder getErrorTraceOrBuilder()
.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
getErrorTraceOrBuilder
in interface ScanRunLogOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ScanRunLog parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ScanRunLog parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ScanRunLog parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ScanRunLog parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ScanRunLog parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ScanRunLog parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ScanRunLog parseFrom(InputStream input) throws IOException
IOException
public static ScanRunLog parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ScanRunLog parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ScanRunLog parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ScanRunLog parseFrom(CodedInputStream input) throws IOException
IOException
public static ScanRunLog parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ScanRunLog.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ScanRunLog.Builder newBuilder()
public static ScanRunLog.Builder newBuilder(ScanRunLog prototype)
public ScanRunLog.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ScanRunLog.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ScanRunLog getDefaultInstance()
public static Parser<ScanRunLog> parser()
public Parser<ScanRunLog> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ScanRunLog getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.