public static final class SearchUrisResponse.ThreatUri.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder> implements SearchUrisResponse.ThreatUriOrBuilder
Contains threat information on a matching uri.Protobuf type
google.cloud.webrisk.v1beta1.SearchUrisResponse.ThreatUri| Modifier and Type | Method and Description |
|---|---|
SearchUrisResponse.ThreatUri.Builder |
addAllThreatTypes(Iterable<? extends ThreatType> values)
The ThreatList this threat belongs to.
|
SearchUrisResponse.ThreatUri.Builder |
addAllThreatTypesValue(Iterable<Integer> values)
The ThreatList this threat belongs to.
|
SearchUrisResponse.ThreatUri.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SearchUrisResponse.ThreatUri.Builder |
addThreatTypes(ThreatType value)
The ThreatList this threat belongs to.
|
SearchUrisResponse.ThreatUri.Builder |
addThreatTypesValue(int value)
The ThreatList this threat belongs to.
|
SearchUrisResponse.ThreatUri |
build() |
SearchUrisResponse.ThreatUri |
buildPartial() |
SearchUrisResponse.ThreatUri.Builder |
clear() |
SearchUrisResponse.ThreatUri.Builder |
clearExpireTime()
The cache lifetime for the returned match.
|
SearchUrisResponse.ThreatUri.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SearchUrisResponse.ThreatUri.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SearchUrisResponse.ThreatUri.Builder |
clearThreatTypes()
The ThreatList this threat belongs to.
|
SearchUrisResponse.ThreatUri.Builder |
clone() |
SearchUrisResponse.ThreatUri |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getExpireTime()
The cache lifetime for the returned match.
|
com.google.protobuf.Timestamp.Builder |
getExpireTimeBuilder()
The cache lifetime for the returned match.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
The cache lifetime for the returned match.
|
ThreatType |
getThreatTypes(int index)
The ThreatList this threat belongs to.
|
int |
getThreatTypesCount()
The ThreatList this threat belongs to.
|
List<ThreatType> |
getThreatTypesList()
The ThreatList this threat belongs to.
|
int |
getThreatTypesValue(int index)
The ThreatList this threat belongs to.
|
List<Integer> |
getThreatTypesValueList()
The ThreatList this threat belongs to.
|
boolean |
hasExpireTime()
The cache lifetime for the returned match.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SearchUrisResponse.ThreatUri.Builder |
mergeExpireTime(com.google.protobuf.Timestamp value)
The cache lifetime for the returned match.
|
SearchUrisResponse.ThreatUri.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SearchUrisResponse.ThreatUri.Builder |
mergeFrom(com.google.protobuf.Message other) |
SearchUrisResponse.ThreatUri.Builder |
mergeFrom(SearchUrisResponse.ThreatUri other) |
SearchUrisResponse.ThreatUri.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SearchUrisResponse.ThreatUri.Builder |
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
The cache lifetime for the returned match.
|
SearchUrisResponse.ThreatUri.Builder |
setExpireTime(com.google.protobuf.Timestamp value)
The cache lifetime for the returned match.
|
SearchUrisResponse.ThreatUri.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SearchUrisResponse.ThreatUri.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SearchUrisResponse.ThreatUri.Builder |
setThreatTypes(int index,
ThreatType value)
The ThreatList this threat belongs to.
|
SearchUrisResponse.ThreatUri.Builder |
setThreatTypesValue(int index,
int value)
The ThreatList this threat belongs to.
|
SearchUrisResponse.ThreatUri.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder>public SearchUrisResponse.ThreatUri.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder>public SearchUrisResponse.ThreatUri getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SearchUrisResponse.ThreatUri build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SearchUrisResponse.ThreatUri buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SearchUrisResponse.ThreatUri.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder>public SearchUrisResponse.ThreatUri.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder>public SearchUrisResponse.ThreatUri.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder>public SearchUrisResponse.ThreatUri.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder>public SearchUrisResponse.ThreatUri.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder>public SearchUrisResponse.ThreatUri.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder>public SearchUrisResponse.ThreatUri.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchUrisResponse.ThreatUri.Builder>public SearchUrisResponse.ThreatUri.Builder mergeFrom(SearchUrisResponse.ThreatUri other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder>public SearchUrisResponse.ThreatUri.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchUrisResponse.ThreatUri.Builder>IOExceptionpublic List<ThreatType> getThreatTypesList()
The ThreatList this threat belongs to.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;getThreatTypesList in interface SearchUrisResponse.ThreatUriOrBuilderpublic int getThreatTypesCount()
The ThreatList this threat belongs to.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;getThreatTypesCount in interface SearchUrisResponse.ThreatUriOrBuilderpublic ThreatType getThreatTypes(int index)
The ThreatList this threat belongs to.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;getThreatTypes in interface SearchUrisResponse.ThreatUriOrBuilderpublic SearchUrisResponse.ThreatUri.Builder setThreatTypes(int index, ThreatType value)
The ThreatList this threat belongs to.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;public SearchUrisResponse.ThreatUri.Builder addThreatTypes(ThreatType value)
The ThreatList this threat belongs to.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;public SearchUrisResponse.ThreatUri.Builder addAllThreatTypes(Iterable<? extends ThreatType> values)
The ThreatList this threat belongs to.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;public SearchUrisResponse.ThreatUri.Builder clearThreatTypes()
The ThreatList this threat belongs to.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;public List<Integer> getThreatTypesValueList()
The ThreatList this threat belongs to.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;getThreatTypesValueList in interface SearchUrisResponse.ThreatUriOrBuilderpublic int getThreatTypesValue(int index)
The ThreatList this threat belongs to.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;getThreatTypesValue in interface SearchUrisResponse.ThreatUriOrBuilderpublic SearchUrisResponse.ThreatUri.Builder setThreatTypesValue(int index, int value)
The ThreatList this threat belongs to.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;public SearchUrisResponse.ThreatUri.Builder addThreatTypesValue(int value)
The ThreatList this threat belongs to.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;public SearchUrisResponse.ThreatUri.Builder addAllThreatTypesValue(Iterable<Integer> values)
The ThreatList this threat belongs to.
repeated .google.cloud.webrisk.v1beta1.ThreatType threat_types = 1;public boolean hasExpireTime()
The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.
.google.protobuf.Timestamp expire_time = 2;hasExpireTime in interface SearchUrisResponse.ThreatUriOrBuilderpublic com.google.protobuf.Timestamp getExpireTime()
The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.
.google.protobuf.Timestamp expire_time = 2;getExpireTime in interface SearchUrisResponse.ThreatUriOrBuilderpublic SearchUrisResponse.ThreatUri.Builder setExpireTime(com.google.protobuf.Timestamp value)
The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.
.google.protobuf.Timestamp expire_time = 2;public SearchUrisResponse.ThreatUri.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.
.google.protobuf.Timestamp expire_time = 2;public SearchUrisResponse.ThreatUri.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.
.google.protobuf.Timestamp expire_time = 2;public SearchUrisResponse.ThreatUri.Builder clearExpireTime()
The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.
.google.protobuf.Timestamp expire_time = 2;public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.
.google.protobuf.Timestamp expire_time = 2;public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.
.google.protobuf.Timestamp expire_time = 2;getExpireTimeOrBuilder in interface SearchUrisResponse.ThreatUriOrBuilderpublic final SearchUrisResponse.ThreatUri.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder>public final SearchUrisResponse.ThreatUri.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchUrisResponse.ThreatUri.Builder>Copyright © 2019 Google LLC. All rights reserved.