Class ScanRunWarningTrace (2.39.0)

public final class ScanRunWarningTrace extends GeneratedMessageV3 implements ScanRunWarningTraceOrBuilder

Output only. Defines a warning trace message for ScanRun. Warning traces provide customers with useful information that helps make the scanning process more effective.

Protobuf type google.cloud.websecurityscanner.v1.ScanRunWarningTrace

Static Fields

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ScanRunWarningTrace getDefaultInstance()
Returns
TypeDescription
ScanRunWarningTrace

getDescriptor()

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

newBuilder()

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

newBuilder(ScanRunWarningTrace prototype)

public static ScanRunWarningTrace.Builder newBuilder(ScanRunWarningTrace prototype)
Parameter
NameDescription
prototypeScanRunWarningTrace
Returns
TypeDescription
ScanRunWarningTrace.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCode()

public ScanRunWarningTrace.Code getCode()

Output only. Indicates the warning code.

.google.cloud.websecurityscanner.v1.ScanRunWarningTrace.Code code = 1;

Returns
TypeDescription
ScanRunWarningTrace.Code

The code.

getCodeValue()

public int getCodeValue()

Output only. Indicates the warning code.

.google.cloud.websecurityscanner.v1.ScanRunWarningTrace.Code code = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public ScanRunWarningTrace getDefaultInstanceForType()
Returns
TypeDescription
ScanRunWarningTrace

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 ScanRunWarningTrace.Builder newBuilderForType()
Returns
TypeDescription
ScanRunWarningTrace.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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