public static final class ComputeThreatListDiffRequest.Builder extends GeneratedMessageV3.Builder<ComputeThreatListDiffRequest.Builder> implements ComputeThreatListDiffRequestOrBuilder
Describes an API diff request.
Protobuf type google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComputeThreatListDiffRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ComputeThreatListDiffRequest build()
Returns
buildPartial()
public ComputeThreatListDiffRequest buildPartial()
Returns
clear()
public ComputeThreatListDiffRequest.Builder clear()
Returns
Overrides
clearConstraints()
public ComputeThreatListDiffRequest.Builder clearConstraints()
Required. The constraints associated with this request.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public ComputeThreatListDiffRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeThreatListDiffRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearThreatType()
public ComputeThreatListDiffRequest.Builder clearThreatType()
The ThreatList to update.
.google.cloud.webrisk.v1beta1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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).
bytes version_token = 2;
Returns
clone()
public ComputeThreatListDiffRequest.Builder clone()
Returns
Overrides
getConstraints()
public ComputeThreatListDiffRequest.Constraints getConstraints()
Required. The constraints associated with this request.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getConstraintsBuilder()
public ComputeThreatListDiffRequest.Constraints.Builder getConstraintsBuilder()
Required. The constraints associated with this request.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getConstraintsOrBuilder()
public ComputeThreatListDiffRequest.ConstraintsOrBuilder getConstraintsOrBuilder()
Required. The constraints associated with this request.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public ComputeThreatListDiffRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getThreatType()
public ThreatType getThreatType()
The ThreatList to update.
.google.cloud.webrisk.v1beta1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getThreatTypeValue()
public int getThreatTypeValue()
The ThreatList to update.
.google.cloud.webrisk.v1beta1.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).
bytes version_token = 2;
Returns
hasConstraints()
public boolean hasConstraints()
Required. The constraints associated with this request.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the constraints field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConstraints(ComputeThreatListDiffRequest.Constraints value)
public ComputeThreatListDiffRequest.Builder mergeConstraints(ComputeThreatListDiffRequest.Constraints value)
Required. The constraints associated with this request.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ComputeThreatListDiffRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ComputeThreatListDiffRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(ComputeThreatListDiffRequest other)
public ComputeThreatListDiffRequest.Builder mergeFrom(ComputeThreatListDiffRequest other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeThreatListDiffRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setConstraints(ComputeThreatListDiffRequest.Constraints value)
public ComputeThreatListDiffRequest.Builder setConstraints(ComputeThreatListDiffRequest.Constraints value)
Required. The constraints associated with this request.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setConstraints(ComputeThreatListDiffRequest.Constraints.Builder builderForValue)
public ComputeThreatListDiffRequest.Builder setConstraints(ComputeThreatListDiffRequest.Constraints.Builder builderForValue)
Required. The constraints associated with this request.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffRequest.Constraints constraints = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeThreatListDiffRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComputeThreatListDiffRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setThreatType(ThreatType value)
public ComputeThreatListDiffRequest.Builder setThreatType(ThreatType value)
The ThreatList to update.
.google.cloud.webrisk.v1beta1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ThreatType
The threatType to set.
|
Returns
setThreatTypeValue(int value)
public ComputeThreatListDiffRequest.Builder setThreatTypeValue(int value)
The ThreatList to update.
.google.cloud.webrisk.v1beta1.ThreatType threat_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | int
The enum numeric value on the wire for threatType to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeThreatListDiffRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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).
bytes version_token = 2;
Parameter
Name | Description |
value | ByteString
The versionToken to set.
|
Returns