Class ComputeThreatListDiffResponse.Checksum.Builder (2.52.0)

public static final class ComputeThreatListDiffResponse.Checksum.Builder extends GeneratedMessageV3.Builder<ComputeThreatListDiffResponse.Checksum.Builder> implements ComputeThreatListDiffResponse.ChecksumOrBuilder

The expected state of a client's local database.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ComputeThreatListDiffResponse.Checksum.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ComputeThreatListDiffResponse.Checksum.Builder clear()
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ComputeThreatListDiffResponse.Checksum.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ComputeThreatListDiffResponse.Checksum.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

clearSha256()

public ComputeThreatListDiffResponse.Checksum.Builder clearSha256()

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
ComputeThreatListDiffResponse.Checksum.Builder

This builder for chaining.

clone()

public ComputeThreatListDiffResponse.Checksum.Builder clone()
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ComputeThreatListDiffResponse.Checksum.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ComputeThreatListDiffResponse.Checksum.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

mergeFrom(ComputeThreatListDiffResponse.Checksum other)

public ComputeThreatListDiffResponse.Checksum.Builder mergeFrom(ComputeThreatListDiffResponse.Checksum other)
Parameter
Name Description
other ComputeThreatListDiffResponse.Checksum
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ComputeThreatListDiffResponse.Checksum.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ComputeThreatListDiffResponse.Checksum.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ComputeThreatListDiffResponse.Checksum.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

setSha256(ByteString value)

public ComputeThreatListDiffResponse.Checksum.Builder setSha256(ByteString value)

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

bytes sha256 = 1;

Parameter
Name Description
value ByteString

The sha256 to set.

Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ComputeThreatListDiffResponse.Checksum.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ComputeThreatListDiffResponse.Checksum.Builder
Overrides