- 2.52.0 (latest)
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.webrisk.v1.CompressionType> The supportedCompressions to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for supportedCompressions to add. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
CompressionType The supportedCompressions to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for supportedCompressions to add. |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
This builder for chaining. |
build()
public ComputeThreatListDiffRequest.Constraints build()
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints |
buildPartial()
public ComputeThreatListDiffRequest.Constraints buildPartial()
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints |
clear()
public ComputeThreatListDiffRequest.Constraints.Builder clear()
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
clearField(Descriptors.FieldDescriptor field)
public ComputeThreatListDiffRequest.Constraints.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeThreatListDiffRequest.Constraints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
This builder for chaining. |
clone()
public ComputeThreatListDiffRequest.Constraints.Builder clone()
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
getDefaultInstanceForType()
public ComputeThreatListDiffRequest.Constraints getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
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. |
getSupportedCompressions(int index)
public CompressionType getSupportedCompressions(int index)
The compression types supported by the client.
repeated .google.cloud.webrisk.v1.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.v1.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.v1.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.v1.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.v1.CompressionType supported_compressions = 3;
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for supportedCompressions. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComputeThreatListDiffRequest.Constraints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ComputeThreatListDiffRequest.Constraints.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
mergeFrom(ComputeThreatListDiffRequest.Constraints other)
public ComputeThreatListDiffRequest.Constraints.Builder mergeFrom(ComputeThreatListDiffRequest.Constraints other)
Parameter | |
---|---|
Name | Description |
other |
ComputeThreatListDiffRequest.Constraints |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeThreatListDiffRequest.Constraints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeThreatListDiffRequest.Constraints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The maxDatabaseEntries to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The maxDiffEntries to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
CompressionType The supportedCompressions to set. |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for supportedCompressions to set. |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeThreatListDiffRequest.Constraints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |