Package com.google.webrisk.v1
Class SearchHashesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchHashesResponse.Builder>
com.google.webrisk.v1.SearchHashesResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SearchHashesResponseOrBuilder,Cloneable
- Enclosing class:
- SearchHashesResponse
public static final class SearchHashesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchHashesResponse.Builder>
implements SearchHashesResponseOrBuilder
Protobuf type
google.cloud.webrisk.v1.SearchHashesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllThreats(Iterable<? extends SearchHashesResponse.ThreatHash> values) The full hashes that matched the requested prefixes.addThreats(int index, SearchHashesResponse.ThreatHash value) The full hashes that matched the requested prefixes.addThreats(int index, SearchHashesResponse.ThreatHash.Builder builderForValue) The full hashes that matched the requested prefixes.The full hashes that matched the requested prefixes.addThreats(SearchHashesResponse.ThreatHash.Builder builderForValue) The full hashes that matched the requested prefixes.The full hashes that matched the requested prefixes.addThreatsBuilder(int index) The full hashes that matched the requested prefixes.build()clear()For requested entities that did not match the threat list, how long to cache the response until.The full hashes that matched the requested prefixes.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampFor requested entities that did not match the threat list, how long to cache the response until.com.google.protobuf.Timestamp.BuilderFor requested entities that did not match the threat list, how long to cache the response until.com.google.protobuf.TimestampOrBuilderFor requested entities that did not match the threat list, how long to cache the response until.getThreats(int index) The full hashes that matched the requested prefixes.getThreatsBuilder(int index) The full hashes that matched the requested prefixes.The full hashes that matched the requested prefixes.intThe full hashes that matched the requested prefixes.The full hashes that matched the requested prefixes.getThreatsOrBuilder(int index) The full hashes that matched the requested prefixes.List<? extends SearchHashesResponse.ThreatHashOrBuilder>The full hashes that matched the requested prefixes.booleanFor requested entities that did not match the threat list, how long to cache the response until.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SearchHashesResponse other) mergeNegativeExpireTime(com.google.protobuf.Timestamp value) For requested entities that did not match the threat list, how long to cache the response until.removeThreats(int index) The full hashes that matched the requested prefixes.setNegativeExpireTime(com.google.protobuf.Timestamp value) For requested entities that did not match the threat list, how long to cache the response until.setNegativeExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) For requested entities that did not match the threat list, how long to cache the response until.setThreats(int index, SearchHashesResponse.ThreatHash value) The full hashes that matched the requested prefixes.setThreats(int index, SearchHashesResponse.ThreatHash.Builder builderForValue) The full hashes that matched the requested prefixes.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchHashesResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchHashesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchHashesResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchHashesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchHashesResponse.Builder>
-
mergeFrom
public SearchHashesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchHashesResponse.Builder>- Throws:
IOException
-
getThreatsList
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1;- Specified by:
getThreatsListin interfaceSearchHashesResponseOrBuilder
-
getThreatsCount
public int getThreatsCount()The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1;- Specified by:
getThreatsCountin interfaceSearchHashesResponseOrBuilder
-
getThreats
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1;- Specified by:
getThreatsin interfaceSearchHashesResponseOrBuilder
-
setThreats
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
setThreats
public SearchHashesResponse.Builder setThreats(int index, SearchHashesResponse.ThreatHash.Builder builderForValue) The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
addThreats
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
addThreats
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
addThreats
public SearchHashesResponse.Builder addThreats(SearchHashesResponse.ThreatHash.Builder builderForValue) The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
addThreats
public SearchHashesResponse.Builder addThreats(int index, SearchHashesResponse.ThreatHash.Builder builderForValue) The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
addAllThreats
public SearchHashesResponse.Builder addAllThreats(Iterable<? extends SearchHashesResponse.ThreatHash> values) The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
clearThreats
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
removeThreats
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
getThreatsBuilder
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
getThreatsOrBuilder
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1;- Specified by:
getThreatsOrBuilderin interfaceSearchHashesResponseOrBuilder
-
getThreatsOrBuilderList
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1;- Specified by:
getThreatsOrBuilderListin interfaceSearchHashesResponseOrBuilder
-
addThreatsBuilder
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
addThreatsBuilder
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
getThreatsBuilderList
The full hashes that matched the requested prefixes. The hash will be populated in the key.
repeated .google.cloud.webrisk.v1.SearchHashesResponse.ThreatHash threats = 1; -
hasNegativeExpireTime
public boolean hasNegativeExpireTime()For requested entities that did not match the threat list, how long to cache the response until.
.google.protobuf.Timestamp negative_expire_time = 2;- Specified by:
hasNegativeExpireTimein interfaceSearchHashesResponseOrBuilder- Returns:
- Whether the negativeExpireTime field is set.
-
getNegativeExpireTime
public com.google.protobuf.Timestamp getNegativeExpireTime()For requested entities that did not match the threat list, how long to cache the response until.
.google.protobuf.Timestamp negative_expire_time = 2;- Specified by:
getNegativeExpireTimein interfaceSearchHashesResponseOrBuilder- Returns:
- The negativeExpireTime.
-
setNegativeExpireTime
For requested entities that did not match the threat list, how long to cache the response until.
.google.protobuf.Timestamp negative_expire_time = 2; -
setNegativeExpireTime
public SearchHashesResponse.Builder setNegativeExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) For requested entities that did not match the threat list, how long to cache the response until.
.google.protobuf.Timestamp negative_expire_time = 2; -
mergeNegativeExpireTime
For requested entities that did not match the threat list, how long to cache the response until.
.google.protobuf.Timestamp negative_expire_time = 2; -
clearNegativeExpireTime
For requested entities that did not match the threat list, how long to cache the response until.
.google.protobuf.Timestamp negative_expire_time = 2; -
getNegativeExpireTimeBuilder
public com.google.protobuf.Timestamp.Builder getNegativeExpireTimeBuilder()For requested entities that did not match the threat list, how long to cache the response until.
.google.protobuf.Timestamp negative_expire_time = 2; -
getNegativeExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getNegativeExpireTimeOrBuilder()For requested entities that did not match the threat list, how long to cache the response until.
.google.protobuf.Timestamp negative_expire_time = 2;- Specified by:
getNegativeExpireTimeOrBuilderin interfaceSearchHashesResponseOrBuilder
-