- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.6
- 2.0.12
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.ConstraintsStatic 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 |
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> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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 | |
---|---|
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.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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |