public static final class SearchHashesResponse.Builder extends GeneratedMessageV3.Builder<SearchHashesResponse.Builder> implements SearchHashesResponseOrBuilder
Protobuf type google.cloud.webrisk.v1beta1.SearchHashesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllThreats(Iterable<? extends SearchHashesResponse.ThreatHash> values)
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.v1beta1.SearchHashesResponse.ThreatHash threats = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.webrisk.v1beta1.SearchHashesResponse.ThreatHash>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchHashesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addThreats(SearchHashesResponse.ThreatHash value)
public SearchHashesResponse.Builder addThreats(SearchHashesResponse.ThreatHash value)
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;
addThreats(SearchHashesResponse.ThreatHash.Builder builderForValue)
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.v1beta1.SearchHashesResponse.ThreatHash threats = 1;
addThreats(int index, SearchHashesResponse.ThreatHash value)
public SearchHashesResponse.Builder addThreats(int index, SearchHashesResponse.ThreatHash value)
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;
addThreats(int index, SearchHashesResponse.ThreatHash.Builder builderForValue)
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.v1beta1.SearchHashesResponse.ThreatHash threats = 1;
addThreatsBuilder()
public SearchHashesResponse.ThreatHash.Builder addThreatsBuilder()
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;
addThreatsBuilder(int index)
public SearchHashesResponse.ThreatHash.Builder addThreatsBuilder(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 |
---|
Name | Description |
index | int
|
build()
public SearchHashesResponse build()
buildPartial()
public SearchHashesResponse buildPartial()
clear()
public SearchHashesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchHashesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNegativeExpireTime()
public SearchHashesResponse.Builder 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;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchHashesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearThreats()
public SearchHashesResponse.Builder clearThreats()
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;
clone()
public SearchHashesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchHashesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
getNegativeExpireTimeBuilder()
public 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 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;
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 |
---|
Name | Description |
index | int
|
getThreatsBuilder(int index)
public SearchHashesResponse.ThreatHash.Builder getThreatsBuilder(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 |
---|
Name | Description |
index | int
|
getThreatsBuilderList()
public List<SearchHashesResponse.ThreatHash.Builder> getThreatsBuilderList()
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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> | |
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public SearchHashesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchHashesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(SearchHashesResponse other)
public SearchHashesResponse.Builder mergeFrom(SearchHashesResponse other)
mergeNegativeExpireTime(Timestamp value)
public SearchHashesResponse.Builder mergeNegativeExpireTime(Timestamp value)
For requested entities that did not match the threat list, how long to
cache the response until.
.google.protobuf.Timestamp negative_expire_time = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchHashesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeThreats(int index)
public SearchHashesResponse.Builder removeThreats(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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchHashesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNegativeExpireTime(Timestamp value)
public SearchHashesResponse.Builder setNegativeExpireTime(Timestamp value)
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(Timestamp.Builder builderForValue)
public SearchHashesResponse.Builder setNegativeExpireTime(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;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchHashesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setThreats(int index, SearchHashesResponse.ThreatHash value)
public SearchHashesResponse.Builder setThreats(int index, SearchHashesResponse.ThreatHash value)
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;
setThreats(int index, SearchHashesResponse.ThreatHash.Builder builderForValue)
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.v1beta1.SearchHashesResponse.ThreatHash threats = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchHashesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides