- 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.Builder extends GeneratedMessageV3.Builder<ComputeThreatListDiffRequest.Constraints.Builder> implements ComputeThreatListDiffRequest.ConstraintsOrBuilder
The constraints for this diff.
Protobuf type google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComputeThreatListDiffRequest.Constraints.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllSupportedCompressions(Iterable<? extends CompressionType> values)
public ComputeThreatListDiffRequest.Constraints.Builder addAllSupportedCompressions(Iterable<? extends CompressionType> values)
The compression types supported by the client.
repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
Name | Description |
values | Iterable<? extends com.google.webrisk.v1.CompressionType> The supportedCompressions to add. |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder | This builder for chaining. |
addAllSupportedCompressionsValue(Iterable<Integer> values)
public ComputeThreatListDiffRequest.Constraints.Builder addAllSupportedCompressionsValue(Iterable<Integer> values)
The compression types supported by the client.
repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for supportedCompressions to add. |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComputeThreatListDiffRequest.Constraints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
addSupportedCompressions(CompressionType value)
public ComputeThreatListDiffRequest.Constraints.Builder addSupportedCompressions(CompressionType value)
The compression types supported by the client.
repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
Name | Description |
value | CompressionType The supportedCompressions to add. |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder | This builder for chaining. |
addSupportedCompressionsValue(int value)
public ComputeThreatListDiffRequest.Constraints.Builder addSupportedCompressionsValue(int value)
The compression types supported by the client.
repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
Name | Description |
value | int The enum numeric value on the wire for supportedCompressions to add. |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder | This builder for chaining. |
build()
public ComputeThreatListDiffRequest.Constraints build()
Type | Description |
ComputeThreatListDiffRequest.Constraints |
buildPartial()
public ComputeThreatListDiffRequest.Constraints buildPartial()
Type | Description |
ComputeThreatListDiffRequest.Constraints |
clear()
public ComputeThreatListDiffRequest.Constraints.Builder clear()
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
clearField(Descriptors.FieldDescriptor field)
public ComputeThreatListDiffRequest.Constraints.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
clearMaxDatabaseEntries()
public ComputeThreatListDiffRequest.Constraints.Builder clearMaxDatabaseEntries()
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;
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder | This builder for chaining. |
clearMaxDiffEntries()
public ComputeThreatListDiffRequest.Constraints.Builder clearMaxDiffEntries()
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;
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeThreatListDiffRequest.Constraints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
clearSupportedCompressions()
public ComputeThreatListDiffRequest.Constraints.Builder clearSupportedCompressions()
The compression types supported by the client.
repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder | This builder for chaining. |
clone()
public ComputeThreatListDiffRequest.Constraints.Builder clone()
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
getDefaultInstanceForType()
public ComputeThreatListDiffRequest.Constraints getDefaultInstanceForType()
Type | Description |
ComputeThreatListDiffRequest.Constraints |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
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;
Type | Description |
int | The maxDiffEntries. |
getSupportedCompressions(int index)
public CompressionType getSupportedCompressions(int index)
The compression types supported by the client.
repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
Name | Description |
index | int The index of the element to return. |
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;
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;
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;
Name | Description |
index | int The index of the value to return. |
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;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for supportedCompressions. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComputeThreatListDiffRequest.Constraints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ComputeThreatListDiffRequest.Constraints.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
mergeFrom(ComputeThreatListDiffRequest.Constraints other)
public ComputeThreatListDiffRequest.Constraints.Builder mergeFrom(ComputeThreatListDiffRequest.Constraints other)
Name | Description |
other | ComputeThreatListDiffRequest.Constraints |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeThreatListDiffRequest.Constraints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeThreatListDiffRequest.Constraints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
setMaxDatabaseEntries(int value)
public ComputeThreatListDiffRequest.Constraints.Builder setMaxDatabaseEntries(int value)
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;
Name | Description |
value | int The maxDatabaseEntries to set. |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder | This builder for chaining. |
setMaxDiffEntries(int value)
public ComputeThreatListDiffRequest.Constraints.Builder setMaxDiffEntries(int value)
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;
Name | Description |
value | int The maxDiffEntries to set. |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComputeThreatListDiffRequest.Constraints.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
setSupportedCompressions(int index, CompressionType value)
public ComputeThreatListDiffRequest.Constraints.Builder setSupportedCompressions(int index, CompressionType value)
The compression types supported by the client.
repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
Name | Description |
index | int The index to set the value at. |
value | CompressionType The supportedCompressions to set. |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder | This builder for chaining. |
setSupportedCompressionsValue(int index, int value)
public ComputeThreatListDiffRequest.Constraints.Builder setSupportedCompressionsValue(int index, int value)
The compression types supported by the client.
repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for supportedCompressions to set. |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeThreatListDiffRequest.Constraints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |