Package com.google.webrisk.v1
Interface SubmissionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Submission,Submission.Builder
@Generated
public interface SubmissionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetThreatTypes(int index) Output only.intOutput only.Output only.intgetThreatTypesValue(int index) Output only.Output only.getUri()Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUri
String getUri()Required. The URI that is being reported for malicious content to be analyzed.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The uri.
-
getUriBytes
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];- Returns:
- The bytes for uri.
-
getThreatTypesList
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];- Returns:
- A list containing the threatTypes.
-
getThreatTypesCount
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];- Returns:
- The count of threatTypes.
-
getThreatTypes
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];- Parameters:
index- The index of the element to return.- Returns:
- The threatTypes at the given index.
-
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];- Returns:
- A list containing the enum numeric values on the wire for threatTypes.
-
getThreatTypesValue
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];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of threatTypes at the given index.
-