Package com.google.webrisk.v1
Interface SubmitUriRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SubmitUriRequest,SubmitUriRequest.Builder
public interface SubmitUriRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.SubmissiongetSubmission()Required.SubmissionOrBuildergetSubmissionOrBuilder()Required.ThreatDiscoverygetThreatDiscovery()Provides additional information about how the submission was discovered.ThreatDiscoveryOrBuildergetThreatDiscoveryOrBuilder()Provides additional information about how the submission was discovered.ThreatInfogetThreatInfo()Provides additional information about the submission.ThreatInfoOrBuildergetThreatInfoOrBuilder()Provides additional information about the submission.booleanhasSubmission()Required.booleanhasThreatDiscovery()Provides additional information about how the submission was discovered.booleanhasThreatInfo()Provides additional information about the submission.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasSubmission
boolean hasSubmission()
Required. The submission that contains the URI to be scanned.
.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the submission field is set.
-
getSubmission
Submission getSubmission()
Required. The submission that contains the URI to be scanned.
.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The submission.
-
getSubmissionOrBuilder
SubmissionOrBuilder getSubmissionOrBuilder()
Required. The submission that contains the URI to be scanned.
.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];
-
hasThreatInfo
boolean hasThreatInfo()
Provides additional information about the submission.
.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;- Returns:
- Whether the threatInfo field is set.
-
getThreatInfo
ThreatInfo getThreatInfo()
Provides additional information about the submission.
.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;- Returns:
- The threatInfo.
-
getThreatInfoOrBuilder
ThreatInfoOrBuilder getThreatInfoOrBuilder()
Provides additional information about the submission.
.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;
-
hasThreatDiscovery
boolean hasThreatDiscovery()
Provides additional information about how the submission was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;- Returns:
- Whether the threatDiscovery field is set.
-
getThreatDiscovery
ThreatDiscovery getThreatDiscovery()
Provides additional information about how the submission was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;- Returns:
- The threatDiscovery.
-
getThreatDiscoveryOrBuilder
ThreatDiscoveryOrBuilder getThreatDiscoveryOrBuilder()
Provides additional information about how the submission was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;
-
-