- 2.82.0 (latest)
- 2.81.0
- 2.79.0
- 2.77.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.71.0
- 2.69.0
- 2.67.0
- 2.66.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 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.Builder extends GeneratedMessage.Builder<ComputeThreatListDiffRequest.Builder> implements ComputeThreatListDiffRequestOrBuilderDescribes an API diff request.
Protobuf type google.cloud.webrisk.v1.ComputeThreatListDiffRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ComputeThreatListDiffRequest.BuilderImplements
ComputeThreatListDiffRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ComputeThreatListDiffRequest build()| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest |
|
buildPartial()
public ComputeThreatListDiffRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest |
|
clear()
public ComputeThreatListDiffRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
|
clearConstraints()
public ComputeThreatListDiffRequest.Builder clearConstraints()Required. The constraints associated with this request.
.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
|
clearThreatType()
public ComputeThreatListDiffRequest.Builder clearThreatType()Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType.
.google.cloud.webrisk.v1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
This builder for chaining. |
clearVersionToken()
public ComputeThreatListDiffRequest.Builder clearVersionToken()The current version token of the client for the requested list (the client version that was received from the last successful diff). If the client does not have a version token (this is the first time calling ComputeThreatListDiff), this may be left empty and a full database snapshot will be returned.
bytes version_token = 2;
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
This builder for chaining. |
getConstraints()
public ComputeThreatListDiffRequest.Constraints getConstraints()Required. The constraints associated with this request.
.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Constraints |
The constraints. |
getConstraintsBuilder()
public ComputeThreatListDiffRequest.Constraints.Builder getConstraintsBuilder()Required. The constraints associated with this request.
.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Constraints.Builder |
|
getConstraintsOrBuilder()
public ComputeThreatListDiffRequest.ConstraintsOrBuilder getConstraintsOrBuilder()Required. The constraints associated with this request.
.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.ConstraintsOrBuilder |
|
getDefaultInstanceForType()
public ComputeThreatListDiffRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getThreatType()
public ThreatType getThreatType()Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType.
.google.cloud.webrisk.v1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ThreatType |
The threatType. |
getThreatTypeValue()
public int getThreatTypeValue()Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType.
.google.cloud.webrisk.v1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for threatType. |
getVersionToken()
public ByteString getVersionToken()The current version token of the client for the requested list (the client version that was received from the last successful diff). If the client does not have a version token (this is the first time calling ComputeThreatListDiff), this may be left empty and a full database snapshot will be returned.
bytes version_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The versionToken. |
hasConstraints()
public boolean hasConstraints()Required. The constraints associated with this request.
.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the constraints field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeConstraints(ComputeThreatListDiffRequest.Constraints value)
public ComputeThreatListDiffRequest.Builder mergeConstraints(ComputeThreatListDiffRequest.Constraints value)Required. The constraints associated with this request.
.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ComputeThreatListDiffRequest.Constraints |
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComputeThreatListDiffRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ComputeThreatListDiffRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
|
mergeFrom(ComputeThreatListDiffRequest other)
public ComputeThreatListDiffRequest.Builder mergeFrom(ComputeThreatListDiffRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ComputeThreatListDiffRequest |
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
|
setConstraints(ComputeThreatListDiffRequest.Constraints value)
public ComputeThreatListDiffRequest.Builder setConstraints(ComputeThreatListDiffRequest.Constraints value)Required. The constraints associated with this request.
.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ComputeThreatListDiffRequest.Constraints |
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
|
setConstraints(ComputeThreatListDiffRequest.Constraints.Builder builderForValue)
public ComputeThreatListDiffRequest.Builder setConstraints(ComputeThreatListDiffRequest.Constraints.Builder builderForValue)Required. The constraints associated with this request.
.google.cloud.webrisk.v1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ComputeThreatListDiffRequest.Constraints.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
|
setThreatType(ThreatType value)
public ComputeThreatListDiffRequest.Builder setThreatType(ThreatType value)Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType.
.google.cloud.webrisk.v1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ThreatTypeThe threatType to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
This builder for chaining. |
setThreatTypeValue(int value)
public ComputeThreatListDiffRequest.Builder setThreatTypeValue(int value)Required. The threat list to update. Only a single ThreatType should be specified per request. If you want to handle multiple ThreatTypes, you must make one request per ThreatType.
.google.cloud.webrisk.v1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for threatType to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
This builder for chaining. |
setVersionToken(ByteString value)
public ComputeThreatListDiffRequest.Builder setVersionToken(ByteString value)The current version token of the client for the requested list (the client version that was received from the last successful diff). If the client does not have a version token (this is the first time calling ComputeThreatListDiff), this may be left empty and a full database snapshot will be returned.
bytes version_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe versionToken to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeThreatListDiffRequest.Builder |
This builder for chaining. |