public final class SearchHashesResponse extends GeneratedMessageV3 implements SearchHashesResponseOrBuilder
Protobuf type google.cloud.webrisk.v1beta1.SearchHashesResponse
Static Fields
NEGATIVE_EXPIRE_TIME_FIELD_NUMBER
public static final int NEGATIVE_EXPIRE_TIME_FIELD_NUMBER
Field Value
THREATS_FIELD_NUMBER
public static final int THREATS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SearchHashesResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SearchHashesResponse.Builder newBuilder()
Returns
newBuilder(SearchHashesResponse prototype)
public static SearchHashesResponse.Builder newBuilder(SearchHashesResponse prototype)
Parameter
Returns
public static SearchHashesResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchHashesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SearchHashesResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchHashesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SearchHashesResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchHashesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchHashesResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SearchHashesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchHashesResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchHashesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SearchHashesResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchHashesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SearchHashesResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SearchHashesResponse getDefaultInstanceForType()
Returns
getNegativeExpireTime()
public 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;
Returns
Type | Description |
Timestamp | The negativeExpireTime.
|
getNegativeExpireTimeOrBuilder()
public 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;
Returns
getParserForType()
public Parser<SearchHashesResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getThreats(int index)
public SearchHashesResponse.ThreatHash getThreats(int index)
The full hashes that matched the requested prefixes.
The hash will be populated in the key.
repeated .google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash threats = 1;
Parameter
Returns
getThreatsCount()
public int getThreatsCount()
The full hashes that matched the requested prefixes.
The hash will be populated in the key.
repeated .google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash threats = 1;
Returns
getThreatsList()
public List<SearchHashesResponse.ThreatHash> getThreatsList()
The full hashes that matched the requested prefixes.
The hash will be populated in the key.
repeated .google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash threats = 1;
Returns
getThreatsOrBuilder(int index)
public SearchHashesResponse.ThreatHashOrBuilder getThreatsOrBuilder(int index)
The full hashes that matched the requested prefixes.
The hash will be populated in the key.
repeated .google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash threats = 1;
Parameter
Returns
getThreatsOrBuilderList()
public List<? extends SearchHashesResponse.ThreatHashOrBuilder> getThreatsOrBuilderList()
The full hashes that matched the requested prefixes.
The hash will be populated in the key.
repeated .google.cloud.webrisk.v1beta1.SearchHashesResponse.ThreatHash threats = 1;
Returns
Type | Description |
List<? extends com.google.webrisk.v1beta1.SearchHashesResponse.ThreatHashOrBuilder> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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;
Returns
Type | Description |
boolean | Whether the negativeExpireTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SearchHashesResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchHashesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SearchHashesResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions