public static final class ThreatInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.Builder> implements ThreatInfoOrBuilder
Context about the submission including the type of abuse found on the URI and supporting details. option (google.api.message_visibility).restriction = "TRUSTED_TESTER";Protobuf type
google.cloud.webrisk.v1.ThreatInfo| Modifier and Type | Method and Description |
|---|---|
ThreatInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ThreatInfo |
build() |
ThreatInfo |
buildPartial() |
ThreatInfo.Builder |
clear() |
ThreatInfo.Builder |
clearAbuseType()
The type of abuse.
|
ThreatInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ThreatInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ThreatInfo.Builder |
clearThreatConfidence()
Confidence that the URI is unsafe.
|
ThreatInfo.Builder |
clearThreatJustification()
Context about why the URI is unsafe.
|
ThreatInfo.Builder |
clone() |
ThreatInfo.AbuseType |
getAbuseType()
The type of abuse.
|
int |
getAbuseTypeValue()
The type of abuse.
|
ThreatInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ThreatInfo.Confidence |
getThreatConfidence()
Confidence that the URI is unsafe.
|
ThreatInfo.Confidence.Builder |
getThreatConfidenceBuilder()
Confidence that the URI is unsafe.
|
ThreatInfo.ConfidenceOrBuilder |
getThreatConfidenceOrBuilder()
Confidence that the URI is unsafe.
|
ThreatInfo.ThreatJustification |
getThreatJustification()
Context about why the URI is unsafe.
|
ThreatInfo.ThreatJustification.Builder |
getThreatJustificationBuilder()
Context about why the URI is unsafe.
|
ThreatInfo.ThreatJustificationOrBuilder |
getThreatJustificationOrBuilder()
Context about why the URI is unsafe.
|
boolean |
hasThreatConfidence()
Confidence that the URI is unsafe.
|
boolean |
hasThreatJustification()
Context about why the URI is unsafe.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ThreatInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ThreatInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
ThreatInfo.Builder |
mergeFrom(ThreatInfo other) |
ThreatInfo.Builder |
mergeThreatConfidence(ThreatInfo.Confidence value)
Confidence that the URI is unsafe.
|
ThreatInfo.Builder |
mergeThreatJustification(ThreatInfo.ThreatJustification value)
Context about why the URI is unsafe.
|
ThreatInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ThreatInfo.Builder |
setAbuseType(ThreatInfo.AbuseType value)
The type of abuse.
|
ThreatInfo.Builder |
setAbuseTypeValue(int value)
The type of abuse.
|
ThreatInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ThreatInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ThreatInfo.Builder |
setThreatConfidence(ThreatInfo.Confidence.Builder builderForValue)
Confidence that the URI is unsafe.
|
ThreatInfo.Builder |
setThreatConfidence(ThreatInfo.Confidence value)
Confidence that the URI is unsafe.
|
ThreatInfo.Builder |
setThreatJustification(ThreatInfo.ThreatJustification.Builder builderForValue)
Context about why the URI is unsafe.
|
ThreatInfo.Builder |
setThreatJustification(ThreatInfo.ThreatJustification value)
Context about why the URI is unsafe.
|
ThreatInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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<ThreatInfo.Builder>public ThreatInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.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<ThreatInfo.Builder>public ThreatInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ThreatInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ThreatInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ThreatInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.Builder>public ThreatInfo.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<ThreatInfo.Builder>public ThreatInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.Builder>public ThreatInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.Builder>public ThreatInfo.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<ThreatInfo.Builder>public ThreatInfo.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<ThreatInfo.Builder>public ThreatInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ThreatInfo.Builder>public ThreatInfo.Builder mergeFrom(ThreatInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.Builder>public ThreatInfo.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<ThreatInfo.Builder>IOExceptionpublic int getAbuseTypeValue()
The type of abuse.
.google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;getAbuseTypeValue in interface ThreatInfoOrBuilderpublic ThreatInfo.Builder setAbuseTypeValue(int value)
The type of abuse.
.google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;value - The enum numeric value on the wire for abuseType to set.public ThreatInfo.AbuseType getAbuseType()
The type of abuse.
.google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;getAbuseType in interface ThreatInfoOrBuilderpublic ThreatInfo.Builder setAbuseType(ThreatInfo.AbuseType value)
The type of abuse.
.google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;value - The abuseType to set.public ThreatInfo.Builder clearAbuseType()
The type of abuse.
.google.cloud.webrisk.v1.ThreatInfo.AbuseType abuse_type = 1;public boolean hasThreatConfidence()
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;hasThreatConfidence in interface ThreatInfoOrBuilderpublic ThreatInfo.Confidence getThreatConfidence()
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;getThreatConfidence in interface ThreatInfoOrBuilderpublic ThreatInfo.Builder setThreatConfidence(ThreatInfo.Confidence value)
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;public ThreatInfo.Builder setThreatConfidence(ThreatInfo.Confidence.Builder builderForValue)
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;public ThreatInfo.Builder mergeThreatConfidence(ThreatInfo.Confidence value)
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;public ThreatInfo.Builder clearThreatConfidence()
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;public ThreatInfo.Confidence.Builder getThreatConfidenceBuilder()
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;public ThreatInfo.ConfidenceOrBuilder getThreatConfidenceOrBuilder()
Confidence that the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.Confidence threat_confidence = 2;getThreatConfidenceOrBuilder in interface ThreatInfoOrBuilderpublic boolean hasThreatJustification()
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
hasThreatJustification in interface ThreatInfoOrBuilderpublic ThreatInfo.ThreatJustification getThreatJustification()
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
getThreatJustification in interface ThreatInfoOrBuilderpublic ThreatInfo.Builder setThreatJustification(ThreatInfo.ThreatJustification value)
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
public ThreatInfo.Builder setThreatJustification(ThreatInfo.ThreatJustification.Builder builderForValue)
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
public ThreatInfo.Builder mergeThreatJustification(ThreatInfo.ThreatJustification value)
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
public ThreatInfo.Builder clearThreatJustification()
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
public ThreatInfo.ThreatJustification.Builder getThreatJustificationBuilder()
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
public ThreatInfo.ThreatJustificationOrBuilder getThreatJustificationOrBuilder()
Context about why the URI is unsafe.
.google.cloud.webrisk.v1.ThreatInfo.ThreatJustification threat_justification = 3;
getThreatJustificationOrBuilder in interface ThreatInfoOrBuilderpublic final ThreatInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.Builder>public final ThreatInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.Builder>Copyright © 2024 Google LLC. All rights reserved.