Class ScanRunLog

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.websecurityscanner.v1.ScanRunLog
All Implemented Interfaces:
ScanRunLogOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ScanRunLog extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A ScanRunLog is an output-only proto used for Stackdriver customer logging.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static ScanRunLog
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    .google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
    .google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
    The execution state of the ScanRun.
    int
    The execution state of the ScanRun.
    boolean
    bool has_findings = 7;
    The resource name of the ScanRun being logged.
    com.google.protobuf.ByteString
    The resource name of the ScanRun being logged.
    com.google.protobuf.Parser<ScanRunLog>
     
    The result state of the ScanRun.
    int
    The result state of the ScanRun.
    int
     
    Human friendly message about the event.
    com.google.protobuf.ByteString
    Human friendly message about the event.
    long
    int64 urls_crawled_count = 5;
    long
    int64 urls_tested_count = 6;
    boolean
    .google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static ScanRunLog
     
    static ScanRunLog
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ScanRunLog
    parseFrom(byte[] data)
     
    static ScanRunLog
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ScanRunLog
    parseFrom(com.google.protobuf.ByteString data)
     
    static ScanRunLog
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ScanRunLog
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static ScanRunLog
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ScanRunLog
     
    static ScanRunLog
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ScanRunLog
     
    static ScanRunLog
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<ScanRunLog>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • SUMMARY_FIELD_NUMBER

      public static final int SUMMARY_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • EXECUTION_STATE_FIELD_NUMBER

      public static final int EXECUTION_STATE_FIELD_NUMBER
      See Also:
    • RESULT_STATE_FIELD_NUMBER

      public static final int RESULT_STATE_FIELD_NUMBER
      See Also:
    • URLS_CRAWLED_COUNT_FIELD_NUMBER

      public static final int URLS_CRAWLED_COUNT_FIELD_NUMBER
      See Also:
    • URLS_TESTED_COUNT_FIELD_NUMBER

      public static final int URLS_TESTED_COUNT_FIELD_NUMBER
      See Also:
    • HAS_FINDINGS_FIELD_NUMBER

      public static final int HAS_FINDINGS_FIELD_NUMBER
      See Also:
    • ERROR_TRACE_FIELD_NUMBER

      public static final int ERROR_TRACE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSummary

      public String getSummary()
       Human friendly message about the event.
       
      string summary = 1;
      Specified by:
      getSummary in interface ScanRunLogOrBuilder
      Returns:
      The summary.
    • getSummaryBytes

      public com.google.protobuf.ByteString getSummaryBytes()
       Human friendly message about the event.
       
      string summary = 1;
      Specified by:
      getSummaryBytes in interface ScanRunLogOrBuilder
      Returns:
      The bytes for summary.
    • getName

      public String getName()
       The resource name of the ScanRun being logged.
       
      string name = 2;
      Specified by:
      getName in interface ScanRunLogOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The resource name of the ScanRun being logged.
       
      string name = 2;
      Specified by:
      getNameBytes in interface ScanRunLogOrBuilder
      Returns:
      The bytes for name.
    • getExecutionStateValue

      public int getExecutionStateValue()
       The execution state of the ScanRun.
       
      .google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
      Specified by:
      getExecutionStateValue in interface ScanRunLogOrBuilder
      Returns:
      The enum numeric value on the wire for executionState.
    • getExecutionState

      public ScanRun.ExecutionState getExecutionState()
       The execution state of the ScanRun.
       
      .google.cloud.websecurityscanner.v1.ScanRun.ExecutionState execution_state = 3;
      Specified by:
      getExecutionState in interface ScanRunLogOrBuilder
      Returns:
      The executionState.
    • getResultStateValue

      public int getResultStateValue()
       The result state of the ScanRun.
       
      .google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
      Specified by:
      getResultStateValue in interface ScanRunLogOrBuilder
      Returns:
      The enum numeric value on the wire for resultState.
    • getResultState

      public ScanRun.ResultState getResultState()
       The result state of the ScanRun.
       
      .google.cloud.websecurityscanner.v1.ScanRun.ResultState result_state = 4;
      Specified by:
      getResultState in interface ScanRunLogOrBuilder
      Returns:
      The resultState.
    • getUrlsCrawledCount

      public long getUrlsCrawledCount()
      int64 urls_crawled_count = 5;
      Specified by:
      getUrlsCrawledCount in interface ScanRunLogOrBuilder
      Returns:
      The urlsCrawledCount.
    • getUrlsTestedCount

      public long getUrlsTestedCount()
      int64 urls_tested_count = 6;
      Specified by:
      getUrlsTestedCount in interface ScanRunLogOrBuilder
      Returns:
      The urlsTestedCount.
    • getHasFindings

      public boolean getHasFindings()
      bool has_findings = 7;
      Specified by:
      getHasFindings in interface ScanRunLogOrBuilder
      Returns:
      The hasFindings.
    • hasErrorTrace

      public boolean hasErrorTrace()
      .google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
      Specified by:
      hasErrorTrace in interface ScanRunLogOrBuilder
      Returns:
      Whether the errorTrace field is set.
    • getErrorTrace

      public ScanRunErrorTrace getErrorTrace()
      .google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
      Specified by:
      getErrorTrace in interface ScanRunLogOrBuilder
      Returns:
      The errorTrace.
    • getErrorTraceOrBuilder

      public ScanRunErrorTraceOrBuilder getErrorTraceOrBuilder()
      .google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;
      Specified by:
      getErrorTraceOrBuilder in interface ScanRunLogOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ScanRunLog parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScanRunLog parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScanRunLog parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScanRunLog parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScanRunLog parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScanRunLog parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ScanRunLog parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScanRunLog parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ScanRunLog parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ScanRunLog parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScanRunLog parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ScanRunLog parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ScanRunLog.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ScanRunLog.Builder newBuilder()
    • newBuilder

      public static ScanRunLog.Builder newBuilder(ScanRunLog prototype)
    • toBuilder

      public ScanRunLog.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ScanRunLog.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ScanRunLog getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ScanRunLog> parser()
    • getParserForType

      public com.google.protobuf.Parser<ScanRunLog> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ScanRunLog getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder