public final class ScanRunErrorTrace extends GeneratedMessageV3 implements ScanRunErrorTraceOrBuilder
Output only. Defines an error trace message for a ScanRun.Protobuf type
google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace
Modifier and Type | Class and Description |
---|---|
static class |
ScanRunErrorTrace.Builder
Output only.
|
static class |
ScanRunErrorTrace.Code
Output only.
|
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 |
CODE_FIELD_NUMBER |
static int |
MOST_COMMON_HTTP_ERROR_CODE_FIELD_NUMBER |
static int |
SCAN_CONFIG_ERROR_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 CODE_FIELD_NUMBER
public static final int SCAN_CONFIG_ERROR_FIELD_NUMBER
public static final int MOST_COMMON_HTTP_ERROR_CODE_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 int getCodeValue()
Indicates the error reason code.
.google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.Code code = 1;
getCodeValue
in interface ScanRunErrorTraceOrBuilder
public ScanRunErrorTrace.Code getCode()
Indicates the error reason code.
.google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.Code code = 1;
getCode
in interface ScanRunErrorTraceOrBuilder
public boolean hasScanConfigError()
If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
.google.cloud.websecurityscanner.v1beta.ScanConfigError scan_config_error = 2;
hasScanConfigError
in interface ScanRunErrorTraceOrBuilder
public ScanConfigError getScanConfigError()
If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
.google.cloud.websecurityscanner.v1beta.ScanConfigError scan_config_error = 2;
getScanConfigError
in interface ScanRunErrorTraceOrBuilder
public ScanConfigErrorOrBuilder getScanConfigErrorOrBuilder()
If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
.google.cloud.websecurityscanner.v1beta.ScanConfigError scan_config_error = 2;
getScanConfigErrorOrBuilder
in interface ScanRunErrorTraceOrBuilder
public int getMostCommonHttpErrorCode()
If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.
int32 most_common_http_error_code = 3;
getMostCommonHttpErrorCode
in interface ScanRunErrorTraceOrBuilder
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 ScanRunErrorTrace parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ScanRunErrorTrace parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ScanRunErrorTrace parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ScanRunErrorTrace parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ScanRunErrorTrace parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ScanRunErrorTrace parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ScanRunErrorTrace parseFrom(InputStream input) throws IOException
IOException
public static ScanRunErrorTrace parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ScanRunErrorTrace parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ScanRunErrorTrace parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ScanRunErrorTrace parseFrom(CodedInputStream input) throws IOException
IOException
public static ScanRunErrorTrace parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ScanRunErrorTrace.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ScanRunErrorTrace.Builder newBuilder()
public static ScanRunErrorTrace.Builder newBuilder(ScanRunErrorTrace prototype)
public ScanRunErrorTrace.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ScanRunErrorTrace.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ScanRunErrorTrace getDefaultInstance()
public static Parser<ScanRunErrorTrace> parser()
public Parser<ScanRunErrorTrace> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ScanRunErrorTrace getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.