- 2.54.0 (latest)
- 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 ComputeThreatListDiffResponse.Builder extends GeneratedMessageV3.Builder<ComputeThreatListDiffResponse.Builder> implements ComputeThreatListDiffResponseOrBuilder
Protobuf type google.cloud.webrisk.v1.ComputeThreatListDiffResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComputeThreatListDiffResponse.BuilderImplements
ComputeThreatListDiffResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComputeThreatListDiffResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
build()
public ComputeThreatListDiffResponse build()
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse |
buildPartial()
public ComputeThreatListDiffResponse buildPartial()
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse |
clear()
public ComputeThreatListDiffResponse.Builder clear()
Returns | |
---|---|
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.v1.ThreatEntryAdditions additions = 5;
Returns | |
---|---|
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 discard this diff and retry later.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ComputeThreatListDiffResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
clearNewVersionToken()
public ComputeThreatListDiffResponse.Builder clearNewVersionToken()
The new opaque client version token. This should be retained by the client and passed into the next call of ComputeThreatListDiff as 'version_token'. A separate version token should be stored and used for each threatList.
bytes new_version_token = 7;
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeThreatListDiffResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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.v1.ThreatEntryRemovals removals = 6;
Returns | |
---|---|
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.v1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
This builder for chaining. |
clone()
public ComputeThreatListDiffResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
getAdditions()
public ThreatEntryAdditions getAdditions()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1.ThreatEntryAdditions additions = 5;
Returns | |
---|---|
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.v1.ThreatEntryAdditions additions = 5;
Returns | |
---|---|
Type | Description |
ThreatEntryAdditions.Builder |
getAdditionsOrBuilder()
public ThreatEntryAdditionsOrBuilder getAdditionsOrBuilder()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1.ThreatEntryAdditions additions = 5;
Returns | |
---|---|
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 discard this diff and retry later.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Returns | |
---|---|
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 discard this diff and retry later.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Returns | |
---|---|
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 discard this diff and retry later.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.ChecksumOrBuilder |
getDefaultInstanceForType()
public ComputeThreatListDiffResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNewVersionToken()
public ByteString getNewVersionToken()
The new opaque client version token. This should be retained by the client and passed into the next call of ComputeThreatListDiff as 'version_token'. A separate version token should be stored and used for each threatList.
bytes new_version_token = 7;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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.v1.ThreatEntryRemovals removals = 6;
Returns | |
---|---|
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.v1.ThreatEntryRemovals removals = 6;
Returns | |
---|---|
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.v1.ThreatEntryRemovals removals = 6;
Returns | |
---|---|
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.v1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
Returns | |
---|---|
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.v1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
Returns | |
---|---|
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.v1.ThreatEntryAdditions additions = 5;
Returns | |
---|---|
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 discard this diff and retry later.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Returns | |
---|---|
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;
Returns | |
---|---|
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.v1.ThreatEntryRemovals removals = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the removals field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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.v1.ThreatEntryAdditions additions = 5;
Parameter | |
---|---|
Name | Description |
value |
ThreatEntryAdditions |
Returns | |
---|---|
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 discard this diff and retry later.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Parameter | |
---|---|
Name | Description |
value |
ComputeThreatListDiffResponse.Checksum |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComputeThreatListDiffResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ComputeThreatListDiffResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
mergeFrom(ComputeThreatListDiffResponse other)
public ComputeThreatListDiffResponse.Builder mergeFrom(ComputeThreatListDiffResponse other)
Parameter | |
---|---|
Name | Description |
other |
ComputeThreatListDiffResponse |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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.v1.ThreatEntryRemovals removals = 6;
Parameter | |
---|---|
Name | Description |
value |
ThreatEntryRemovals |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeThreatListDiffResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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.v1.ThreatEntryAdditions additions = 5;
Parameter | |
---|---|
Name | Description |
value |
ThreatEntryAdditions |
Returns | |
---|---|
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.v1.ThreatEntryAdditions additions = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
ThreatEntryAdditions.Builder |
Returns | |
---|---|
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 discard this diff and retry later.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Parameter | |
---|---|
Name | Description |
value |
ComputeThreatListDiffResponse.Checksum |
Returns | |
---|---|
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 discard this diff and retry later.
.google.cloud.webrisk.v1.ComputeThreatListDiffResponse.Checksum checksum = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
ComputeThreatListDiffResponse.Checksum.Builder |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeThreatListDiffResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
setNewVersionToken(ByteString value)
public ComputeThreatListDiffResponse.Builder setNewVersionToken(ByteString value)
The new opaque client version token. This should be retained by the client and passed into the next call of ComputeThreatListDiff as 'version_token'. A separate version token should be stored and used for each threatList.
bytes new_version_token = 7;
Parameter | |
---|---|
Name | Description |
value |
ByteString The newVersionToken to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
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.v1.ThreatEntryRemovals removals = 6;
Parameter | |
---|---|
Name | Description |
value |
ThreatEntryRemovals |
Returns | |
---|---|
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.v1.ThreatEntryRemovals removals = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
ThreatEntryRemovals.Builder |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComputeThreatListDiffResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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.v1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
Parameter | |
---|---|
Name | Description |
value |
ComputeThreatListDiffResponse.ResponseType The responseType to set. |
Returns | |
---|---|
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.v1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for responseType to set. |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeThreatListDiffResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ComputeThreatListDiffResponse.Builder |