- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.6
- 2.0.12
public static final class SubmitUriRequest.Builder extends GeneratedMessageV3.Builder<SubmitUriRequest.Builder> implements SubmitUriRequestOrBuilder
Request to send a potentially malicious URI to WebRisk.
Protobuf type google.cloud.webrisk.v1.SubmitUriRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SubmitUriRequest.BuilderImplements
SubmitUriRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubmitUriRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
build()
public SubmitUriRequest build()
Returns | |
---|---|
Type | Description |
SubmitUriRequest |
buildPartial()
public SubmitUriRequest buildPartial()
Returns | |
---|---|
Type | Description |
SubmitUriRequest |
clear()
public SubmitUriRequest.Builder clear()
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public SubmitUriRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SubmitUriRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
clearParent()
public SubmitUriRequest.Builder clearParent()
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 | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
This builder for chaining. |
clearSubmission()
public SubmitUriRequest.Builder clearSubmission()
Required. The submission that contains the URI to be scanned.
.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
clearThreatDiscovery()
public SubmitUriRequest.Builder clearThreatDiscovery()
Provides additional information about how the submission was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
clearThreatInfo()
public SubmitUriRequest.Builder clearThreatInfo()
Provides additional information about the submission.
.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
clone()
public SubmitUriRequest.Builder clone()
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
getDefaultInstanceForType()
public SubmitUriRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SubmitUriRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getParent()
public 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 | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getSubmission()
public 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 | |
---|---|
Type | Description |
Submission |
The submission. |
getSubmissionBuilder()
public Submission.Builder getSubmissionBuilder()
Required. The submission that contains the URI to be scanned.
.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Submission.Builder |
getSubmissionOrBuilder()
public SubmissionOrBuilder getSubmissionOrBuilder()
Required. The submission that contains the URI to be scanned.
.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SubmissionOrBuilder |
getThreatDiscovery()
public ThreatDiscovery getThreatDiscovery()
Provides additional information about how the submission was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;
Returns | |
---|---|
Type | Description |
ThreatDiscovery |
The threatDiscovery. |
getThreatDiscoveryBuilder()
public ThreatDiscovery.Builder getThreatDiscoveryBuilder()
Provides additional information about how the submission was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;
Returns | |
---|---|
Type | Description |
ThreatDiscovery.Builder |
getThreatDiscoveryOrBuilder()
public ThreatDiscoveryOrBuilder getThreatDiscoveryOrBuilder()
Provides additional information about how the submission was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;
Returns | |
---|---|
Type | Description |
ThreatDiscoveryOrBuilder |
getThreatInfo()
public ThreatInfo getThreatInfo()
Provides additional information about the submission.
.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;
Returns | |
---|---|
Type | Description |
ThreatInfo |
The threatInfo. |
getThreatInfoBuilder()
public ThreatInfo.Builder getThreatInfoBuilder()
Provides additional information about the submission.
.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;
Returns | |
---|---|
Type | Description |
ThreatInfo.Builder |
getThreatInfoOrBuilder()
public ThreatInfoOrBuilder getThreatInfoOrBuilder()
Provides additional information about the submission.
.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;
Returns | |
---|---|
Type | Description |
ThreatInfoOrBuilder |
hasSubmission()
public 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 | |
---|---|
Type | Description |
boolean |
Whether the submission field is set. |
hasThreatDiscovery()
public boolean hasThreatDiscovery()
Provides additional information about how the submission was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the threatDiscovery field is set. |
hasThreatInfo()
public boolean hasThreatInfo()
Provides additional information about the submission.
.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the threatInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SubmitUriRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SubmitUriRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
mergeFrom(SubmitUriRequest other)
public SubmitUriRequest.Builder mergeFrom(SubmitUriRequest other)
Parameter | |
---|---|
Name | Description |
other |
SubmitUriRequest |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
mergeSubmission(Submission value)
public SubmitUriRequest.Builder mergeSubmission(Submission value)
Required. The submission that contains the URI to be scanned.
.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Submission |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
mergeThreatDiscovery(ThreatDiscovery value)
public SubmitUriRequest.Builder mergeThreatDiscovery(ThreatDiscovery value)
Provides additional information about how the submission was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;
Parameter | |
---|---|
Name | Description |
value |
ThreatDiscovery |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
mergeThreatInfo(ThreatInfo value)
public SubmitUriRequest.Builder mergeThreatInfo(ThreatInfo value)
Provides additional information about the submission.
.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;
Parameter | |
---|---|
Name | Description |
value |
ThreatInfo |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubmitUriRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SubmitUriRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
setParent(String value)
public SubmitUriRequest.Builder setParent(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public SubmitUriRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubmitUriRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
setSubmission(Submission value)
public SubmitUriRequest.Builder setSubmission(Submission value)
Required. The submission that contains the URI to be scanned.
.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
Submission |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
setSubmission(Submission.Builder builderForValue)
public SubmitUriRequest.Builder setSubmission(Submission.Builder builderForValue)
Required. The submission that contains the URI to be scanned.
.google.cloud.webrisk.v1.Submission submission = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
Submission.Builder |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
setThreatDiscovery(ThreatDiscovery value)
public SubmitUriRequest.Builder setThreatDiscovery(ThreatDiscovery value)
Provides additional information about how the submission was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;
Parameter | |
---|---|
Name | Description |
value |
ThreatDiscovery |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
setThreatDiscovery(ThreatDiscovery.Builder builderForValue)
public SubmitUriRequest.Builder setThreatDiscovery(ThreatDiscovery.Builder builderForValue)
Provides additional information about how the submission was discovered.
.google.cloud.webrisk.v1.ThreatDiscovery threat_discovery = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
ThreatDiscovery.Builder |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
setThreatInfo(ThreatInfo value)
public SubmitUriRequest.Builder setThreatInfo(ThreatInfo value)
Provides additional information about the submission.
.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;
Parameter | |
---|---|
Name | Description |
value |
ThreatInfo |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
setThreatInfo(ThreatInfo.Builder builderForValue)
public SubmitUriRequest.Builder setThreatInfo(ThreatInfo.Builder builderForValue)
Provides additional information about the submission.
.google.cloud.webrisk.v1.ThreatInfo threat_info = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
ThreatInfo.Builder |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SubmitUriRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SubmitUriRequest.Builder |