- 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 ComputeThreatListDiffResponse.Builder extends GeneratedMessageV3.Builder<ComputeThreatListDiffResponse.Builder> implements ComputeThreatListDiffResponseOrBuilder
Protobuf type google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComputeThreatListDiffResponse.BuilderImplements
ComputeThreatListDiffResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComputeThreatListDiffResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComputeThreatListDiffResponse.Builder |
build()
public ComputeThreatListDiffResponse build()
Type | Description |
ComputeThreatListDiffResponse |
buildPartial()
public ComputeThreatListDiffResponse buildPartial()
Type | Description |
ComputeThreatListDiffResponse |
clear()
public ComputeThreatListDiffResponse.Builder clear()
Type | Description |
ComputeThreatListDiffResponse.Builder |
clearAdditions()
public ComputeThreatListDiffResponse.Builder clearAdditions()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1beta1.ThreatEntryAdditions additions = 5;
Type | Description |
ComputeThreatListDiffResponse.Builder |
clearChecksum()
public ComputeThreatListDiffResponse.Builder clearChecksum()
The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must disregard this diff and retry later.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Type | Description |
ComputeThreatListDiffResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ComputeThreatListDiffResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ComputeThreatListDiffResponse.Builder |
clearNewVersionToken()
public ComputeThreatListDiffResponse.Builder clearNewVersionToken()
The new opaque client version token.
bytes new_version_token = 7;
Type | Description |
ComputeThreatListDiffResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeThreatListDiffResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ComputeThreatListDiffResponse.Builder |
clearRecommendedNextDiff()
public ComputeThreatListDiffResponse.Builder clearRecommendedNextDiff()
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
.google.protobuf.Timestamp recommended_next_diff = 2;
Type | Description |
ComputeThreatListDiffResponse.Builder |
clearRemovals()
public ComputeThreatListDiffResponse.Builder clearRemovals()
A set of entries to remove from a local threat type's list. This field may be empty.
.google.cloud.webrisk.v1beta1.ThreatEntryRemovals removals = 6;
Type | Description |
ComputeThreatListDiffResponse.Builder |
clearResponseType()
public ComputeThreatListDiffResponse.Builder clearResponseType()
The type of response. This may indicate that an action must be taken by the client when the response is received.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
Type | Description |
ComputeThreatListDiffResponse.Builder | This builder for chaining. |
clone()
public ComputeThreatListDiffResponse.Builder clone()
Type | Description |
ComputeThreatListDiffResponse.Builder |
getAdditions()
public ThreatEntryAdditions getAdditions()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1beta1.ThreatEntryAdditions additions = 5;
Type | Description |
ThreatEntryAdditions | The additions. |
getAdditionsBuilder()
public ThreatEntryAdditions.Builder getAdditionsBuilder()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1beta1.ThreatEntryAdditions additions = 5;
Type | Description |
ThreatEntryAdditions.Builder |
getAdditionsOrBuilder()
public ThreatEntryAdditionsOrBuilder getAdditionsOrBuilder()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1beta1.ThreatEntryAdditions additions = 5;
Type | Description |
ThreatEntryAdditionsOrBuilder |
getChecksum()
public ComputeThreatListDiffResponse.Checksum getChecksum()
The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must disregard this diff and retry later.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Type | Description |
ComputeThreatListDiffResponse.Checksum | The checksum. |
getChecksumBuilder()
public ComputeThreatListDiffResponse.Checksum.Builder getChecksumBuilder()
The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must disregard this diff and retry later.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Type | Description |
ComputeThreatListDiffResponse.Checksum.Builder |
getChecksumOrBuilder()
public ComputeThreatListDiffResponse.ChecksumOrBuilder getChecksumOrBuilder()
The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must disregard this diff and retry later.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Type | Description |
ComputeThreatListDiffResponse.ChecksumOrBuilder |
getDefaultInstanceForType()
public ComputeThreatListDiffResponse getDefaultInstanceForType()
Type | Description |
ComputeThreatListDiffResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getNewVersionToken()
public ByteString getNewVersionToken()
The new opaque client version token.
bytes new_version_token = 7;
Type | Description |
ByteString | The newVersionToken. |
getRecommendedNextDiff()
public Timestamp getRecommendedNextDiff()
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
.google.protobuf.Timestamp recommended_next_diff = 2;
Type | Description |
Timestamp | The recommendedNextDiff. |
getRecommendedNextDiffBuilder()
public Timestamp.Builder getRecommendedNextDiffBuilder()
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
.google.protobuf.Timestamp recommended_next_diff = 2;
Type | Description |
Builder |
getRecommendedNextDiffOrBuilder()
public TimestampOrBuilder getRecommendedNextDiffOrBuilder()
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
.google.protobuf.Timestamp recommended_next_diff = 2;
Type | Description |
TimestampOrBuilder |
getRemovals()
public ThreatEntryRemovals getRemovals()
A set of entries to remove from a local threat type's list. This field may be empty.
.google.cloud.webrisk.v1beta1.ThreatEntryRemovals removals = 6;
Type | Description |
ThreatEntryRemovals | The removals. |
getRemovalsBuilder()
public ThreatEntryRemovals.Builder getRemovalsBuilder()
A set of entries to remove from a local threat type's list. This field may be empty.
.google.cloud.webrisk.v1beta1.ThreatEntryRemovals removals = 6;
Type | Description |
ThreatEntryRemovals.Builder |
getRemovalsOrBuilder()
public ThreatEntryRemovalsOrBuilder getRemovalsOrBuilder()
A set of entries to remove from a local threat type's list. This field may be empty.
.google.cloud.webrisk.v1beta1.ThreatEntryRemovals removals = 6;
Type | Description |
ThreatEntryRemovalsOrBuilder |
getResponseType()
public ComputeThreatListDiffResponse.ResponseType getResponseType()
The type of response. This may indicate that an action must be taken by the client when the response is received.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
Type | Description |
ComputeThreatListDiffResponse.ResponseType | The responseType. |
getResponseTypeValue()
public int getResponseTypeValue()
The type of response. This may indicate that an action must be taken by the client when the response is received.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
Type | Description |
int | The enum numeric value on the wire for responseType. |
hasAdditions()
public boolean hasAdditions()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1beta1.ThreatEntryAdditions additions = 5;
Type | Description |
boolean | Whether the additions field is set. |
hasChecksum()
public boolean hasChecksum()
The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must disregard this diff and retry later.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Type | Description |
boolean | Whether the checksum field is set. |
hasRecommendedNextDiff()
public boolean hasRecommendedNextDiff()
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
.google.protobuf.Timestamp recommended_next_diff = 2;
Type | Description |
boolean | Whether the recommendedNextDiff field is set. |
hasRemovals()
public boolean hasRemovals()
A set of entries to remove from a local threat type's list. This field may be empty.
.google.cloud.webrisk.v1beta1.ThreatEntryRemovals removals = 6;
Type | Description |
boolean | Whether the removals field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAdditions(ThreatEntryAdditions value)
public ComputeThreatListDiffResponse.Builder mergeAdditions(ThreatEntryAdditions value)
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1beta1.ThreatEntryAdditions additions = 5;
Name | Description |
value | ThreatEntryAdditions |
Type | Description |
ComputeThreatListDiffResponse.Builder |
mergeChecksum(ComputeThreatListDiffResponse.Checksum value)
public ComputeThreatListDiffResponse.Builder mergeChecksum(ComputeThreatListDiffResponse.Checksum value)
The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must disregard this diff and retry later.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Name | Description |
value | ComputeThreatListDiffResponse.Checksum |
Type | Description |
ComputeThreatListDiffResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComputeThreatListDiffResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeThreatListDiffResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ComputeThreatListDiffResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ComputeThreatListDiffResponse.Builder |
mergeFrom(ComputeThreatListDiffResponse other)
public ComputeThreatListDiffResponse.Builder mergeFrom(ComputeThreatListDiffResponse other)
Name | Description |
other | ComputeThreatListDiffResponse |
Type | Description |
ComputeThreatListDiffResponse.Builder |
mergeRecommendedNextDiff(Timestamp value)
public ComputeThreatListDiffResponse.Builder mergeRecommendedNextDiff(Timestamp value)
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
.google.protobuf.Timestamp recommended_next_diff = 2;
Name | Description |
value | Timestamp |
Type | Description |
ComputeThreatListDiffResponse.Builder |
mergeRemovals(ThreatEntryRemovals value)
public ComputeThreatListDiffResponse.Builder mergeRemovals(ThreatEntryRemovals value)
A set of entries to remove from a local threat type's list. This field may be empty.
.google.cloud.webrisk.v1beta1.ThreatEntryRemovals removals = 6;
Name | Description |
value | ThreatEntryRemovals |
Type | Description |
ComputeThreatListDiffResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeThreatListDiffResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComputeThreatListDiffResponse.Builder |
setAdditions(ThreatEntryAdditions value)
public ComputeThreatListDiffResponse.Builder setAdditions(ThreatEntryAdditions value)
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1beta1.ThreatEntryAdditions additions = 5;
Name | Description |
value | ThreatEntryAdditions |
Type | Description |
ComputeThreatListDiffResponse.Builder |
setAdditions(ThreatEntryAdditions.Builder builderForValue)
public ComputeThreatListDiffResponse.Builder setAdditions(ThreatEntryAdditions.Builder builderForValue)
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1beta1.ThreatEntryAdditions additions = 5;
Name | Description |
builderForValue | ThreatEntryAdditions.Builder |
Type | Description |
ComputeThreatListDiffResponse.Builder |
setChecksum(ComputeThreatListDiffResponse.Checksum value)
public ComputeThreatListDiffResponse.Builder setChecksum(ComputeThreatListDiffResponse.Checksum value)
The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must disregard this diff and retry later.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Name | Description |
value | ComputeThreatListDiffResponse.Checksum |
Type | Description |
ComputeThreatListDiffResponse.Builder |
setChecksum(ComputeThreatListDiffResponse.Checksum.Builder builderForValue)
public ComputeThreatListDiffResponse.Builder setChecksum(ComputeThreatListDiffResponse.Checksum.Builder builderForValue)
The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must disregard this diff and retry later.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Name | Description |
builderForValue | ComputeThreatListDiffResponse.Checksum.Builder |
Type | Description |
ComputeThreatListDiffResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeThreatListDiffResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComputeThreatListDiffResponse.Builder |
setNewVersionToken(ByteString value)
public ComputeThreatListDiffResponse.Builder setNewVersionToken(ByteString value)
The new opaque client version token.
bytes new_version_token = 7;
Name | Description |
value | ByteString The newVersionToken to set. |
Type | Description |
ComputeThreatListDiffResponse.Builder | This builder for chaining. |
setRecommendedNextDiff(Timestamp value)
public ComputeThreatListDiffResponse.Builder setRecommendedNextDiff(Timestamp value)
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
.google.protobuf.Timestamp recommended_next_diff = 2;
Name | Description |
value | Timestamp |
Type | Description |
ComputeThreatListDiffResponse.Builder |
setRecommendedNextDiff(Timestamp.Builder builderForValue)
public ComputeThreatListDiffResponse.Builder setRecommendedNextDiff(Timestamp.Builder builderForValue)
The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
.google.protobuf.Timestamp recommended_next_diff = 2;
Name | Description |
builderForValue | Builder |
Type | Description |
ComputeThreatListDiffResponse.Builder |
setRemovals(ThreatEntryRemovals value)
public ComputeThreatListDiffResponse.Builder setRemovals(ThreatEntryRemovals value)
A set of entries to remove from a local threat type's list. This field may be empty.
.google.cloud.webrisk.v1beta1.ThreatEntryRemovals removals = 6;
Name | Description |
value | ThreatEntryRemovals |
Type | Description |
ComputeThreatListDiffResponse.Builder |
setRemovals(ThreatEntryRemovals.Builder builderForValue)
public ComputeThreatListDiffResponse.Builder setRemovals(ThreatEntryRemovals.Builder builderForValue)
A set of entries to remove from a local threat type's list. This field may be empty.
.google.cloud.webrisk.v1beta1.ThreatEntryRemovals removals = 6;
Name | Description |
builderForValue | ThreatEntryRemovals.Builder |
Type | Description |
ComputeThreatListDiffResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComputeThreatListDiffResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ComputeThreatListDiffResponse.Builder |
setResponseType(ComputeThreatListDiffResponse.ResponseType value)
public ComputeThreatListDiffResponse.Builder setResponseType(ComputeThreatListDiffResponse.ResponseType value)
The type of response. This may indicate that an action must be taken by the client when the response is received.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
Name | Description |
value | ComputeThreatListDiffResponse.ResponseType The responseType to set. |
Type | Description |
ComputeThreatListDiffResponse.Builder | This builder for chaining. |
setResponseTypeValue(int value)
public ComputeThreatListDiffResponse.Builder setResponseTypeValue(int value)
The type of response. This may indicate that an action must be taken by the client when the response is received.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
Name | Description |
value | int The enum numeric value on the wire for responseType to set. |
Type | Description |
ComputeThreatListDiffResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeThreatListDiffResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComputeThreatListDiffResponse.Builder |