public static final class ComputeThreatListDiffRequest.Constraints extends GeneratedMessageV3 implements ComputeThreatListDiffRequest.ConstraintsOrBuilder
The constraints for this diff.
Protobuf type google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints
Static Fields
MAX_DATABASE_ENTRIES_FIELD_NUMBER
public static final int MAX_DATABASE_ENTRIES_FIELD_NUMBER
Field Value
MAX_DIFF_ENTRIES_FIELD_NUMBER
public static final int MAX_DIFF_ENTRIES_FIELD_NUMBER
Field Value
SUPPORTED_COMPRESSIONS_FIELD_NUMBER
public static final int SUPPORTED_COMPRESSIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ComputeThreatListDiffRequest.Constraints getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ComputeThreatListDiffRequest.Constraints.Builder newBuilder()
Returns
newBuilder(ComputeThreatListDiffRequest.Constraints prototype)
public static ComputeThreatListDiffRequest.Constraints.Builder newBuilder(ComputeThreatListDiffRequest.Constraints prototype)
Parameter
Returns
public static ComputeThreatListDiffRequest.Constraints parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ComputeThreatListDiffRequest.Constraints parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ComputeThreatListDiffRequest.Constraints parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeThreatListDiffRequest.Constraints parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ComputeThreatListDiffRequest.Constraints parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeThreatListDiffRequest.Constraints parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ComputeThreatListDiffRequest.Constraints parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ComputeThreatListDiffRequest.Constraints parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ComputeThreatListDiffRequest.Constraints parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ComputeThreatListDiffRequest.Constraints parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ComputeThreatListDiffRequest.Constraints parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeThreatListDiffRequest.Constraints parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ComputeThreatListDiffRequest.Constraints> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ComputeThreatListDiffRequest.Constraints getDefaultInstanceForType()
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
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.v1beta1.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.v1beta1.CompressionType supported_compressions = 3;
Returns
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
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.v1beta1.CompressionType supported_compressions = 3;
Returns
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for supportedCompressions.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ComputeThreatListDiffRequest.Constraints.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeThreatListDiffRequest.Constraints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ComputeThreatListDiffRequest.Constraints.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions