Class ComputeThreatListDiffRequest.Constraints (2.16.0)

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

The constraints for this diff.

Protobuf type google.cloud.webrisk.v1beta1.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
TypeDescription
int

MAX_DIFF_ENTRIES_FIELD_NUMBER

public static final int MAX_DIFF_ENTRIES_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORTED_COMPRESSIONS_FIELD_NUMBER

public static final int SUPPORTED_COMPRESSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ComputeThreatListDiffRequest.Constraints getDefaultInstance()
Returns
TypeDescription
ComputeThreatListDiffRequest.Constraints

getDescriptor()

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

newBuilder()

public static ComputeThreatListDiffRequest.Constraints.Builder newBuilder()
Returns
TypeDescription
ComputeThreatListDiffRequest.Constraints.Builder

newBuilder(ComputeThreatListDiffRequest.Constraints prototype)

public static ComputeThreatListDiffRequest.Constraints.Builder newBuilder(ComputeThreatListDiffRequest.Constraints prototype)
Parameter
NameDescription
prototypeComputeThreatListDiffRequest.Constraints
Returns
TypeDescription
ComputeThreatListDiffRequest.Constraints.Builder

parseDelimitedFrom(InputStream input)

public static ComputeThreatListDiffRequest.Constraints parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComputeThreatListDiffRequest.Constraints
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ComputeThreatListDiffRequest.Constraints parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ComputeThreatListDiffRequest.Constraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ComputeThreatListDiffRequest.Constraints parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ComputeThreatListDiffRequest.Constraints
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ComputeThreatListDiffRequest.Constraints parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComputeThreatListDiffRequest.Constraints
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ComputeThreatListDiffRequest.Constraints parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ComputeThreatListDiffRequest.Constraints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ComputeThreatListDiffRequest.Constraints getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The maxDiffEntries.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSupportedCompressions(int index)

public CompressionType getSupportedCompressions(int index)

The compression types supported by the client.

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
CompressionType

The supportedCompressions at the given index.

getSupportedCompressionsCount()

public int getSupportedCompressionsCount()

The compression types supported by the client.

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

Returns
TypeDescription
int

The count of supportedCompressions.

getSupportedCompressionsList()

public List<CompressionType> getSupportedCompressionsList()

The compression types supported by the client.

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

Returns
TypeDescription
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.v1beta1.CompressionType supported_compressions = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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.v1beta1.CompressionType supported_compressions = 3;

Returns
TypeDescription
List<Integer>

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComputeThreatListDiffRequest.Constraints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ComputeThreatListDiffRequest.Constraints.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ComputeThreatListDiffRequest.Constraints.Builder toBuilder()
Returns
TypeDescription
ComputeThreatListDiffRequest.Constraints.Builder

writeTo(CodedOutputStream output)

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