Class ComputeThreatListDiffRequest.Constraints (2.42.0)

public static final class ComputeThreatListDiffRequest.Constraints extends GeneratedMessageV3 implements ComputeThreatListDiffRequest.ConstraintsOrBuilder

The constraints for this diff.

Protobuf type google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ComputeThreatListDiffRequest.Constraints

Static Fields

MAX_DATABASE_ENTRIES_FIELD_NUMBER

public static final int MAX_DATABASE_ENTRIES_FIELD_NUMBER
Field Value
Type Description
int

MAX_DIFF_ENTRIES_FIELD_NUMBER

public static final int MAX_DIFF_ENTRIES_FIELD_NUMBER
Field Value
Type Description
int

SUPPORTED_COMPRESSIONS_FIELD_NUMBER

public static final int SUPPORTED_COMPRESSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ComputeThreatListDiffRequest.Constraints getDefaultInstance()
Returns
Type Description
ComputeThreatListDiffRequest.Constraints

getDescriptor()

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

newBuilder()

public static ComputeThreatListDiffRequest.Constraints.Builder newBuilder()
Returns
Type Description
ComputeThreatListDiffRequest.Constraints.Builder

newBuilder(ComputeThreatListDiffRequest.Constraints prototype)

public static ComputeThreatListDiffRequest.Constraints.Builder newBuilder(ComputeThreatListDiffRequest.Constraints prototype)
Parameter
Name Description
prototype ComputeThreatListDiffRequest.Constraints
Returns
Type Description
ComputeThreatListDiffRequest.Constraints.Builder

parseDelimitedFrom(InputStream input)

public static ComputeThreatListDiffRequest.Constraints parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComputeThreatListDiffRequest.Constraints
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ComputeThreatListDiffRequest.Constraints parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ComputeThreatListDiffRequest.Constraints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ComputeThreatListDiffRequest.Constraints parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ComputeThreatListDiffRequest.Constraints
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ComputeThreatListDiffRequest.Constraints parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComputeThreatListDiffRequest.Constraints
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ComputeThreatListDiffRequest.Constraints parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ComputeThreatListDiffRequest.Constraints
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ComputeThreatListDiffRequest.Constraints> parser()
Returns
Type Description
Parser<Constraints>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ComputeThreatListDiffRequest.Constraints getDefaultInstanceForType()
Returns
Type Description
ComputeThreatListDiffRequest.Constraints

getMaxDatabaseEntries()

public int getMaxDatabaseEntries()

Sets the maximum number of entries that the client is willing to have in the local database. This should be a power of 2 between 210 and 220. If zero, no database size limit is set.

int32 max_database_entries = 2;

Returns
Type Description
int

The maxDatabaseEntries.

getMaxDiffEntries()

public int getMaxDiffEntries()

The maximum size in number of entries. The diff will not contain more entries than this value. This should be a power of 2 between 210 and 220. If zero, no diff size limit is set.

int32 max_diff_entries = 1;

Returns
Type Description
int

The maxDiffEntries.

getParserForType()

public Parser<ComputeThreatListDiffRequest.Constraints> getParserForType()
Returns
Type Description
Parser<Constraints>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSupportedCompressions(int index)

public CompressionType getSupportedCompressions(int index)

The compression types supported by the client.

repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
CompressionType

The supportedCompressions at the given index.

getSupportedCompressionsCount()

public int getSupportedCompressionsCount()

The compression types supported by the client.

repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;

Returns
Type Description
int

The count of supportedCompressions.

getSupportedCompressionsList()

public List<CompressionType> getSupportedCompressionsList()

The compression types supported by the client.

repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;

Returns
Type Description
List<CompressionType>

A list containing the supportedCompressions.

getSupportedCompressionsValue(int index)

public int getSupportedCompressionsValue(int index)

The compression types supported by the client.

repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of supportedCompressions at the given index.

getSupportedCompressionsValueList()

public List<Integer> getSupportedCompressionsValueList()

The compression types supported by the client.

repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for supportedCompressions.

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 ComputeThreatListDiffRequest.Constraints.Builder newBuilderForType()
Returns
Type Description
ComputeThreatListDiffRequest.Constraints.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComputeThreatListDiffRequest.Constraints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ComputeThreatListDiffRequest.Constraints.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ComputeThreatListDiffRequest.Constraints.Builder toBuilder()
Returns
Type Description
ComputeThreatListDiffRequest.Constraints.Builder

writeTo(CodedOutputStream output)

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