Package com.google.webrisk.v1
Interface SubmissionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Submission
,Submission.Builder
public interface SubmissionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
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];
- Parameters:
index
- The index of the element to return.- Returns:
- The threatTypes at the given index.
-
getThreatTypesValueList
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];
- 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.
-
-