Class ComputeThreatListDiffResponse.Checksum (2.41.0)

public static final class ComputeThreatListDiffResponse.Checksum extends GeneratedMessageV3 implements ComputeThreatListDiffResponse.ChecksumOrBuilder

The expected state of a client's local database.

Protobuf type google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ComputeThreatListDiffResponse.Checksum

Static Fields

SHA256_FIELD_NUMBER

public static final int SHA256_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ComputeThreatListDiffResponse.Checksum getDefaultInstance()
Returns
Type Description
ComputeThreatListDiffResponse.Checksum

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ComputeThreatListDiffResponse.Checksum.Builder newBuilder()
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder

newBuilder(ComputeThreatListDiffResponse.Checksum prototype)

public static ComputeThreatListDiffResponse.Checksum.Builder newBuilder(ComputeThreatListDiffResponse.Checksum prototype)
Parameter
Name Description
prototype ComputeThreatListDiffResponse.Checksum
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder

parseDelimitedFrom(InputStream input)

public static ComputeThreatListDiffResponse.Checksum parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComputeThreatListDiffResponse.Checksum
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComputeThreatListDiffResponse.Checksum parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeThreatListDiffResponse.Checksum
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ComputeThreatListDiffResponse.Checksum parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ComputeThreatListDiffResponse.Checksum
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComputeThreatListDiffResponse.Checksum parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeThreatListDiffResponse.Checksum
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ComputeThreatListDiffResponse.Checksum parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ComputeThreatListDiffResponse.Checksum
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ComputeThreatListDiffResponse.Checksum parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeThreatListDiffResponse.Checksum
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ComputeThreatListDiffResponse.Checksum parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ComputeThreatListDiffResponse.Checksum
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ComputeThreatListDiffResponse.Checksum parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeThreatListDiffResponse.Checksum
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ComputeThreatListDiffResponse.Checksum parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComputeThreatListDiffResponse.Checksum
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComputeThreatListDiffResponse.Checksum parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeThreatListDiffResponse.Checksum
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ComputeThreatListDiffResponse.Checksum parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ComputeThreatListDiffResponse.Checksum
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ComputeThreatListDiffResponse.Checksum parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeThreatListDiffResponse.Checksum
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ComputeThreatListDiffResponse.Checksum> parser()
Returns
Type Description
Parser<Checksum>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ComputeThreatListDiffResponse.Checksum getDefaultInstanceForType()
Returns
Type Description
ComputeThreatListDiffResponse.Checksum

getParserForType()

public Parser<ComputeThreatListDiffResponse.Checksum> getParserForType()
Returns
Type Description
Parser<Checksum>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSha256()

public ByteString getSha256()

The SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database.

bytes sha256 = 1;

Returns
Type Description
ByteString

The sha256.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ComputeThreatListDiffResponse.Checksum.Builder newBuilderForType()
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComputeThreatListDiffResponse.Checksum.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ComputeThreatListDiffResponse.Checksum.Builder toBuilder()
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException