public static final class ThreatInfo.ThreatJustification.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.ThreatJustification.Builder> implements ThreatInfo.ThreatJustificationOrBuilder
Context about why the URI is unsafe.Protobuf type
google.cloud.webrisk.v1.ThreatInfo.ThreatJustification| Modifier and Type | Method and Description |
|---|---|
ThreatInfo.ThreatJustification.Builder |
addAllComments(Iterable<String> values)
Free-form context on why this URI is unsafe.
|
ThreatInfo.ThreatJustification.Builder |
addAllLabels(Iterable<? extends ThreatInfo.ThreatJustification.JustificationLabel> values)
Labels associated with this URI that explain how it was classified.
|
ThreatInfo.ThreatJustification.Builder |
addAllLabelsValue(Iterable<Integer> values)
Labels associated with this URI that explain how it was classified.
|
ThreatInfo.ThreatJustification.Builder |
addComments(String value)
Free-form context on why this URI is unsafe.
|
ThreatInfo.ThreatJustification.Builder |
addCommentsBytes(com.google.protobuf.ByteString value)
Free-form context on why this URI is unsafe.
|
ThreatInfo.ThreatJustification.Builder |
addLabels(ThreatInfo.ThreatJustification.JustificationLabel value)
Labels associated with this URI that explain how it was classified.
|
ThreatInfo.ThreatJustification.Builder |
addLabelsValue(int value)
Labels associated with this URI that explain how it was classified.
|
ThreatInfo.ThreatJustification.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ThreatInfo.ThreatJustification |
build() |
ThreatInfo.ThreatJustification |
buildPartial() |
ThreatInfo.ThreatJustification.Builder |
clear() |
ThreatInfo.ThreatJustification.Builder |
clearComments()
Free-form context on why this URI is unsafe.
|
ThreatInfo.ThreatJustification.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ThreatInfo.ThreatJustification.Builder |
clearLabels()
Labels associated with this URI that explain how it was classified.
|
ThreatInfo.ThreatJustification.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ThreatInfo.ThreatJustification.Builder |
clone() |
String |
getComments(int index)
Free-form context on why this URI is unsafe.
|
com.google.protobuf.ByteString |
getCommentsBytes(int index)
Free-form context on why this URI is unsafe.
|
int |
getCommentsCount()
Free-form context on why this URI is unsafe.
|
com.google.protobuf.ProtocolStringList |
getCommentsList()
Free-form context on why this URI is unsafe.
|
ThreatInfo.ThreatJustification |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ThreatInfo.ThreatJustification.JustificationLabel |
getLabels(int index)
Labels associated with this URI that explain how it was classified.
|
int |
getLabelsCount()
Labels associated with this URI that explain how it was classified.
|
List<ThreatInfo.ThreatJustification.JustificationLabel> |
getLabelsList()
Labels associated with this URI that explain how it was classified.
|
int |
getLabelsValue(int index)
Labels associated with this URI that explain how it was classified.
|
List<Integer> |
getLabelsValueList()
Labels associated with this URI that explain how it was classified.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ThreatInfo.ThreatJustification.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ThreatInfo.ThreatJustification.Builder |
mergeFrom(com.google.protobuf.Message other) |
ThreatInfo.ThreatJustification.Builder |
mergeFrom(ThreatInfo.ThreatJustification other) |
ThreatInfo.ThreatJustification.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ThreatInfo.ThreatJustification.Builder |
setComments(int index,
String value)
Free-form context on why this URI is unsafe.
|
ThreatInfo.ThreatJustification.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ThreatInfo.ThreatJustification.Builder |
setLabels(int index,
ThreatInfo.ThreatJustification.JustificationLabel value)
Labels associated with this URI that explain how it was classified.
|
ThreatInfo.ThreatJustification.Builder |
setLabelsValue(int index,
int value)
Labels associated with this URI that explain how it was classified.
|
ThreatInfo.ThreatJustification.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ThreatInfo.ThreatJustification.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.ThreatJustification.Builder>public ThreatInfo.ThreatJustification.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.ThreatJustification.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.ThreatJustification.Builder>public ThreatInfo.ThreatJustification getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ThreatInfo.ThreatJustification build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ThreatInfo.ThreatJustification buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ThreatInfo.ThreatJustification.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.ThreatJustification.Builder>public ThreatInfo.ThreatJustification.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.ThreatJustification.Builder>public ThreatInfo.ThreatJustification.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.ThreatJustification.Builder>public ThreatInfo.ThreatJustification.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.ThreatJustification.Builder>public ThreatInfo.ThreatJustification.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.ThreatJustification.Builder>public ThreatInfo.ThreatJustification.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.ThreatJustification.Builder>public ThreatInfo.ThreatJustification.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ThreatInfo.ThreatJustification.Builder>public ThreatInfo.ThreatJustification.Builder mergeFrom(ThreatInfo.ThreatJustification other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.ThreatJustification.Builder>public ThreatInfo.ThreatJustification.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.ThreatJustification.Builder>IOExceptionpublic List<ThreatInfo.ThreatJustification.JustificationLabel> getLabelsList()
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
getLabelsList in interface ThreatInfo.ThreatJustificationOrBuilderpublic int getLabelsCount()
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
getLabelsCount in interface ThreatInfo.ThreatJustificationOrBuilderpublic ThreatInfo.ThreatJustification.JustificationLabel getLabels(int index)
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
getLabels in interface ThreatInfo.ThreatJustificationOrBuilderindex - The index of the element to return.public ThreatInfo.ThreatJustification.Builder setLabels(int index, ThreatInfo.ThreatJustification.JustificationLabel value)
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
index - The index to set the value at.value - The labels to set.public ThreatInfo.ThreatJustification.Builder addLabels(ThreatInfo.ThreatJustification.JustificationLabel value)
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
value - The labels to add.public ThreatInfo.ThreatJustification.Builder addAllLabels(Iterable<? extends ThreatInfo.ThreatJustification.JustificationLabel> values)
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
values - The labels to add.public ThreatInfo.ThreatJustification.Builder clearLabels()
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
public List<Integer> getLabelsValueList()
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
getLabelsValueList in interface ThreatInfo.ThreatJustificationOrBuilderpublic int getLabelsValue(int index)
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
getLabelsValue in interface ThreatInfo.ThreatJustificationOrBuilderindex - The index of the value to return.public ThreatInfo.ThreatJustification.Builder setLabelsValue(int index, int value)
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
index - The index to set the value at.value - The enum numeric value on the wire for labels to set.public ThreatInfo.ThreatJustification.Builder addLabelsValue(int value)
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
value - The enum numeric value on the wire for labels to add.public ThreatInfo.ThreatJustification.Builder addAllLabelsValue(Iterable<Integer> values)
Labels associated with this URI that explain how it was classified.
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
values - The enum numeric values on the wire for labels to add.public com.google.protobuf.ProtocolStringList getCommentsList()
Free-form context on why this URI is unsafe.
repeated string comments = 2;getCommentsList in interface ThreatInfo.ThreatJustificationOrBuilderpublic int getCommentsCount()
Free-form context on why this URI is unsafe.
repeated string comments = 2;getCommentsCount in interface ThreatInfo.ThreatJustificationOrBuilderpublic String getComments(int index)
Free-form context on why this URI is unsafe.
repeated string comments = 2;getComments in interface ThreatInfo.ThreatJustificationOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getCommentsBytes(int index)
Free-form context on why this URI is unsafe.
repeated string comments = 2;getCommentsBytes in interface ThreatInfo.ThreatJustificationOrBuilderindex - The index of the value to return.public ThreatInfo.ThreatJustification.Builder setComments(int index, String value)
Free-form context on why this URI is unsafe.
repeated string comments = 2;index - The index to set the value at.value - The comments to set.public ThreatInfo.ThreatJustification.Builder addComments(String value)
Free-form context on why this URI is unsafe.
repeated string comments = 2;value - The comments to add.public ThreatInfo.ThreatJustification.Builder addAllComments(Iterable<String> values)
Free-form context on why this URI is unsafe.
repeated string comments = 2;values - The comments to add.public ThreatInfo.ThreatJustification.Builder clearComments()
Free-form context on why this URI is unsafe.
repeated string comments = 2;public ThreatInfo.ThreatJustification.Builder addCommentsBytes(com.google.protobuf.ByteString value)
Free-form context on why this URI is unsafe.
repeated string comments = 2;value - The bytes of the comments to add.public final ThreatInfo.ThreatJustification.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.ThreatJustification.Builder>public final ThreatInfo.ThreatJustification.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ThreatInfo.ThreatJustification.Builder>Copyright © 2024 Google LLC. All rights reserved.