public final class ComputeThreatListDiffResponse extends com.google.protobuf.GeneratedMessageV3 implements ComputeThreatListDiffResponseOrBuilder
google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ComputeThreatListDiffResponse.Builder
Protobuf type
google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse |
static class |
ComputeThreatListDiffResponse.Checksum
The expected state of a client's local database.
|
static interface |
ComputeThreatListDiffResponse.ChecksumOrBuilder |
static class |
ComputeThreatListDiffResponse.ResponseType
The type of response sent to the client.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ADDITIONS_FIELD_NUMBER |
static int |
CHECKSUM_FIELD_NUMBER |
static int |
NEW_VERSION_TOKEN_FIELD_NUMBER |
static int |
RECOMMENDED_NEXT_DIFF_FIELD_NUMBER |
static int |
REMOVALS_FIELD_NUMBER |
static int |
RESPONSE_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ThreatEntryAdditions |
getAdditions()
A set of entries to add to a local threat type's list.
|
ThreatEntryAdditionsOrBuilder |
getAdditionsOrBuilder()
A set of entries to add to a local threat type's list.
|
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.
|
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.
|
static ComputeThreatListDiffResponse |
getDefaultInstance() |
ComputeThreatListDiffResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getNewVersionToken()
The new opaque client version token.
|
com.google.protobuf.Parser<ComputeThreatListDiffResponse> |
getParserForType() |
com.google.protobuf.Timestamp |
getRecommendedNextDiff()
The soonest the client should wait before issuing any diff
request.
|
com.google.protobuf.TimestampOrBuilder |
getRecommendedNextDiffOrBuilder()
The soonest the client should wait before issuing any diff
request.
|
ThreatEntryRemovals |
getRemovals()
A set of entries to remove from a local threat type's list.
|
ThreatEntryRemovalsOrBuilder |
getRemovalsOrBuilder()
A set of entries to remove from a local threat type's list.
|
ComputeThreatListDiffResponse.ResponseType |
getResponseType()
The type of response.
|
int |
getResponseTypeValue()
The type of response.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAdditions()
A set of entries to add to a local threat type's list.
|
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.
|
int |
hashCode() |
boolean |
hasRecommendedNextDiff()
The soonest the client should wait before issuing any diff
request.
|
boolean |
hasRemovals()
A set of entries to remove from a local threat type's list.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ComputeThreatListDiffResponse.Builder |
newBuilder() |
static ComputeThreatListDiffResponse.Builder |
newBuilder(ComputeThreatListDiffResponse prototype) |
ComputeThreatListDiffResponse.Builder |
newBuilderForType() |
protected ComputeThreatListDiffResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ComputeThreatListDiffResponse |
parseDelimitedFrom(InputStream input) |
static ComputeThreatListDiffResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComputeThreatListDiffResponse |
parseFrom(byte[] data) |
static ComputeThreatListDiffResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComputeThreatListDiffResponse |
parseFrom(ByteBuffer data) |
static ComputeThreatListDiffResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComputeThreatListDiffResponse |
parseFrom(com.google.protobuf.ByteString data) |
static ComputeThreatListDiffResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComputeThreatListDiffResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ComputeThreatListDiffResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ComputeThreatListDiffResponse |
parseFrom(InputStream input) |
static ComputeThreatListDiffResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ComputeThreatListDiffResponse> |
parser() |
ComputeThreatListDiffResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int RESPONSE_TYPE_FIELD_NUMBER
public static final int ADDITIONS_FIELD_NUMBER
public static final int REMOVALS_FIELD_NUMBER
public static final int NEW_VERSION_TOKEN_FIELD_NUMBER
public static final int CHECKSUM_FIELD_NUMBER
public static final int RECOMMENDED_NEXT_DIFF_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getResponseTypeValue()
The type of response. This may indicate that an action is required by the client when the response is received.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
getResponseTypeValue in interface ComputeThreatListDiffResponseOrBuilderpublic ComputeThreatListDiffResponse.ResponseType getResponseType()
The type of response. This may indicate that an action is required by the client when the response is received.
.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.ResponseType response_type = 4;
getResponseType in interface ComputeThreatListDiffResponseOrBuilderpublic boolean hasAdditions()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1beta1.ThreatEntryAdditions additions = 5;hasAdditions in interface ComputeThreatListDiffResponseOrBuilderpublic ThreatEntryAdditions getAdditions()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1beta1.ThreatEntryAdditions additions = 5;getAdditions in interface ComputeThreatListDiffResponseOrBuilderpublic ThreatEntryAdditionsOrBuilder getAdditionsOrBuilder()
A set of entries to add to a local threat type's list.
.google.cloud.webrisk.v1beta1.ThreatEntryAdditions additions = 5;getAdditionsOrBuilder in interface ComputeThreatListDiffResponseOrBuilderpublic 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;hasRemovals in interface ComputeThreatListDiffResponseOrBuilderpublic 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;getRemovals in interface ComputeThreatListDiffResponseOrBuilderpublic 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;getRemovalsOrBuilder in interface ComputeThreatListDiffResponseOrBuilderpublic com.google.protobuf.ByteString getNewVersionToken()
The new opaque client version token.
bytes new_version_token = 7;getNewVersionToken in interface ComputeThreatListDiffResponseOrBuilderpublic 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;hasChecksum in interface ComputeThreatListDiffResponseOrBuilderpublic 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;getChecksum in interface ComputeThreatListDiffResponseOrBuilderpublic 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;getChecksumOrBuilder in interface ComputeThreatListDiffResponseOrBuilderpublic 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;hasRecommendedNextDiff in interface ComputeThreatListDiffResponseOrBuilderpublic com.google.protobuf.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;getRecommendedNextDiff in interface ComputeThreatListDiffResponseOrBuilderpublic com.google.protobuf.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;getRecommendedNextDiffOrBuilder in interface ComputeThreatListDiffResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ComputeThreatListDiffResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComputeThreatListDiffResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComputeThreatListDiffResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComputeThreatListDiffResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComputeThreatListDiffResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComputeThreatListDiffResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ComputeThreatListDiffResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ComputeThreatListDiffResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ComputeThreatListDiffResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ComputeThreatListDiffResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ComputeThreatListDiffResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ComputeThreatListDiffResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ComputeThreatListDiffResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ComputeThreatListDiffResponse.Builder newBuilder()
public static ComputeThreatListDiffResponse.Builder newBuilder(ComputeThreatListDiffResponse prototype)
public ComputeThreatListDiffResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ComputeThreatListDiffResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ComputeThreatListDiffResponse getDefaultInstance()
public static com.google.protobuf.Parser<ComputeThreatListDiffResponse> parser()
public com.google.protobuf.Parser<ComputeThreatListDiffResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ComputeThreatListDiffResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.