public static final class Submission.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Submission.Builder> implements SubmissionOrBuilder
Wraps a URI that might be displaying malicious content.Protobuf type
google.cloud.webrisk.v1.Submission| Modifier and Type | Method and Description |
|---|---|
Submission.Builder |
addAllThreatTypes(Iterable<? extends ThreatType> values)
Output only.
|
Submission.Builder |
addAllThreatTypesValue(Iterable<Integer> values)
Output only.
|
Submission.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Submission.Builder |
addThreatTypes(ThreatType value)
Output only.
|
Submission.Builder |
addThreatTypesValue(int value)
Output only.
|
Submission |
build() |
Submission |
buildPartial() |
Submission.Builder |
clear() |
Submission.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Submission.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Submission.Builder |
clearThreatTypes()
Output only.
|
Submission.Builder |
clearUri()
Required.
|
Submission.Builder |
clone() |
Submission |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ThreatType |
getThreatTypes(int index)
Output only.
|
int |
getThreatTypesCount()
Output only.
|
List<ThreatType> |
getThreatTypesList()
Output only.
|
int |
getThreatTypesValue(int index)
Output only.
|
List<Integer> |
getThreatTypesValueList()
Output only.
|
String |
getUri()
Required.
|
com.google.protobuf.ByteString |
getUriBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Submission.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Submission.Builder |
mergeFrom(com.google.protobuf.Message other) |
Submission.Builder |
mergeFrom(Submission other) |
Submission.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Submission.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Submission.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Submission.Builder |
setThreatTypes(int index,
ThreatType value)
Output only.
|
Submission.Builder |
setThreatTypesValue(int index,
int value)
Output only.
|
Submission.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Submission.Builder |
setUri(String value)
Required.
|
Submission.Builder |
setUriBytes(com.google.protobuf.ByteString value)
Required.
|
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<Submission.Builder>public Submission.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Submission.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<Submission.Builder>public Submission getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Submission build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Submission buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Submission.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Submission.Builder>public Submission.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<Submission.Builder>public Submission.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Submission.Builder>public Submission.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Submission.Builder>public Submission.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<Submission.Builder>public Submission.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<Submission.Builder>public Submission.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Submission.Builder>public Submission.Builder mergeFrom(Submission other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Submission.Builder>public Submission.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<Submission.Builder>IOExceptionpublic String getUri()
Required. The URI that is being reported for malicious content to be analyzed.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];getUri in interface SubmissionOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
Required. The URI that is being reported for malicious content to be analyzed.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];getUriBytes in interface SubmissionOrBuilderpublic Submission.Builder setUri(String value)
Required. The URI that is being reported for malicious content to be analyzed.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];value - The uri to set.public Submission.Builder clearUri()
Required. The URI that is being reported for malicious content to be analyzed.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];public Submission.Builder setUriBytes(com.google.protobuf.ByteString value)
Required. The URI that is being reported for malicious content to be analyzed.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for uri to set.public List<ThreatType> getThreatTypesList()
Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getThreatTypesList in interface SubmissionOrBuilderpublic int getThreatTypesCount()
Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getThreatTypesCount in interface SubmissionOrBuilderpublic ThreatType getThreatTypes(int index)
Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getThreatTypes in interface SubmissionOrBuilderindex - The index of the element to return.public Submission.Builder setThreatTypes(int index, ThreatType value)
Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index to set the value at.value - The threatTypes to set.public Submission.Builder addThreatTypes(ThreatType value)
Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The threatTypes to add.public Submission.Builder addAllThreatTypes(Iterable<? extends ThreatType> values)
Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
values - The threatTypes to add.public Submission.Builder clearThreatTypes()
Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<Integer> getThreatTypesValueList()
Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getThreatTypesValueList in interface SubmissionOrBuilderpublic int getThreatTypesValue(int index)
Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getThreatTypesValue in interface SubmissionOrBuilderindex - The index of the value to return.public Submission.Builder setThreatTypesValue(int index, int value)
Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index to set the value at.value - The enum numeric value on the wire for threatTypes to set.public Submission.Builder addThreatTypesValue(int value)
Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for threatTypes to add.public Submission.Builder addAllThreatTypesValue(Iterable<Integer> values)
Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.
repeated .google.cloud.webrisk.v1.ThreatType threat_types = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
values - The enum numeric values on the wire for threatTypes to add.public final Submission.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Submission.Builder>public final Submission.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Submission.Builder>Copyright © 2024 Google LLC. All rights reserved.