Class ComputeThreatListDiffResponse.Checksum.Builder (2.16.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ComputeThreatListDiffResponse.Checksum.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ComputeThreatListDiffResponse.Checksum.Builder clear()
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ComputeThreatListDiffResponse.Checksum.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ComputeThreatListDiffResponse.Checksum.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder

This builder for chaining.

clone()

public ComputeThreatListDiffResponse.Checksum.Builder clone()
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

The sha256.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ComputeThreatListDiffResponse.Checksum.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ComputeThreatListDiffResponse.Checksum.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

mergeFrom(ComputeThreatListDiffResponse.Checksum other)

public ComputeThreatListDiffResponse.Checksum.Builder mergeFrom(ComputeThreatListDiffResponse.Checksum other)
Parameter
NameDescription
otherComputeThreatListDiffResponse.Checksum
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ComputeThreatListDiffResponse.Checksum.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ComputeThreatListDiffResponse.Checksum.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueByteString

The sha256 to set.

Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ComputeThreatListDiffResponse.Checksum.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ComputeThreatListDiffResponse.Checksum.Builder
Overrides