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 String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.Submission
getSubmission()
Required.SubmissionOrBuilder
getSubmissionOrBuilder()
Required.ThreatDiscovery
getThreatDiscovery()
Provides additional information about how the submission was discovered.ThreatDiscoveryOrBuilder
getThreatDiscoveryOrBuilder()
Provides additional information about how the submission was discovered.ThreatInfo
getThreatInfo()
Provides additional information about the submission.ThreatInfoOrBuilder
getThreatInfoOrBuilder()
Provides additional information about the submission.boolean
hasSubmission()
Required.boolean
hasThreatDiscovery()
Provides additional information about how the submission was discovered.boolean
hasThreatInfo()
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;
-
-