public static final class ComputeThreatListDiffRequest.Constraints extends GeneratedMessageV3 implements ComputeThreatListDiffRequest.ConstraintsOrBuilder
The constraints for this diff.
Protobuf type google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ComputeThreatListDiffRequest.Constraints.Builder newBuilder()
newBuilder(ComputeThreatListDiffRequest.Constraints prototype)
public static ComputeThreatListDiffRequest.Constraints.Builder newBuilder(ComputeThreatListDiffRequest.Constraints prototype)
public static ComputeThreatListDiffRequest.Constraints parseDelimitedFrom(InputStream input)
public static ComputeThreatListDiffRequest.Constraints parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ComputeThreatListDiffRequest.Constraints parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeThreatListDiffRequest.Constraints parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ComputeThreatListDiffRequest.Constraints parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeThreatListDiffRequest.Constraints parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeThreatListDiffRequest.Constraints parseFrom(CodedInputStream input)
public static ComputeThreatListDiffRequest.Constraints parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeThreatListDiffRequest.Constraints parseFrom(InputStream input)
public static ComputeThreatListDiffRequest.Constraints parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ComputeThreatListDiffRequest.Constraints parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeThreatListDiffRequest.Constraints parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ComputeThreatListDiffRequest.Constraints> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ComputeThreatListDiffRequest.Constraints getDefaultInstanceForType()
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()
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.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;
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ComputeThreatListDiffRequest.Constraints.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeThreatListDiffRequest.Constraints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ComputeThreatListDiffRequest.Constraints.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides