Class ComputeThreatListDiffResponse.Checksum (2.11.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ComputeThreatListDiffResponse.Checksum getDefaultInstance()
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum

getDescriptor()

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

newBuilder()

public static ComputeThreatListDiffResponse.Checksum.Builder newBuilder()
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder

newBuilder(ComputeThreatListDiffResponse.Checksum prototype)

public static ComputeThreatListDiffResponse.Checksum.Builder newBuilder(ComputeThreatListDiffResponse.Checksum prototype)
Parameter
NameDescription
prototypeComputeThreatListDiffResponse.Checksum
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder

parseDelimitedFrom(InputStream input)

public static ComputeThreatListDiffResponse.Checksum parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ComputeThreatListDiffResponse.Checksum parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ComputeThreatListDiffResponse.Checksum parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ComputeThreatListDiffResponse.Checksum parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ComputeThreatListDiffResponse.Checksum parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ComputeThreatListDiffResponse.Checksum getDefaultInstanceForType()
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
ByteString

The sha256.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ComputeThreatListDiffResponse.Checksum.Builder newBuilderForType()
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ComputeThreatListDiffResponse.Checksum.Builder toBuilder()
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder

writeTo(CodedOutputStream output)

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