- 0.85.0 (latest)
- 0.84.0
- 0.83.0
- 0.82.0
- 0.80.0
- 0.79.0
- 0.78.0
- 0.77.0
- 0.76.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.72.0
- 0.71.0
- 0.70.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.6
- 0.33.1
- 0.32.11
public static final class ReportPhishingRequest.Builder extends GeneratedMessageV3.Builder<ReportPhishingRequest.Builder> implements ReportPhishingRequestOrBuilder
The ReportPhishing request message.
Protobuf type google.cloud.phishingprotection.v1beta1.ReportPhishingRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReportPhishingRequest.BuilderImplements
ReportPhishingRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReportPhishingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReportPhishingRequest.Builder |
build()
public ReportPhishingRequest build()
Type | Description |
ReportPhishingRequest |
buildPartial()
public ReportPhishingRequest buildPartial()
Type | Description |
ReportPhishingRequest |
clear()
public ReportPhishingRequest.Builder clear()
Type | Description |
ReportPhishingRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReportPhishingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ReportPhishingRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReportPhishingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ReportPhishingRequest.Builder |
clearParent()
public ReportPhishingRequest.Builder clearParent()
Required. The name of the project for which the report will be created, in the format "projects/{project_number}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ReportPhishingRequest.Builder | This builder for chaining. |
clearUri()
public ReportPhishingRequest.Builder clearUri()
Required. The URI that is being reported for phishing content to be analyzed.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ReportPhishingRequest.Builder | This builder for chaining. |
clone()
public ReportPhishingRequest.Builder clone()
Type | Description |
ReportPhishingRequest.Builder |
getDefaultInstanceForType()
public ReportPhishingRequest getDefaultInstanceForType()
Type | Description |
ReportPhishingRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. The name of the project for which the report will be created, in the format "projects/{project_number}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The name of the project for which the report will be created, in the format "projects/{project_number}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getUri()
public String getUri()
Required. The URI that is being reported for phishing content to be analyzed.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The uri. |
getUriBytes()
public ByteString getUriBytes()
Required. The URI that is being reported for phishing content to be analyzed.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ReportPhishingRequest other)
public ReportPhishingRequest.Builder mergeFrom(ReportPhishingRequest other)
Name | Description |
other | ReportPhishingRequest |
Type | Description |
ReportPhishingRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReportPhishingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReportPhishingRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ReportPhishingRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ReportPhishingRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReportPhishingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReportPhishingRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReportPhishingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReportPhishingRequest.Builder |
setParent(String value)
public ReportPhishingRequest.Builder setParent(String value)
Required. The name of the project for which the report will be created, in the format "projects/{project_number}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
ReportPhishingRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public ReportPhishingRequest.Builder setParentBytes(ByteString value)
Required. The name of the project for which the report will be created, in the format "projects/{project_number}".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
ReportPhishingRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReportPhishingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ReportPhishingRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReportPhishingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReportPhishingRequest.Builder |
setUri(String value)
public ReportPhishingRequest.Builder setUri(String value)
Required. The URI that is being reported for phishing content to be analyzed.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The uri to set. |
Type | Description |
ReportPhishingRequest.Builder | This builder for chaining. |
setUriBytes(ByteString value)
public ReportPhishingRequest.Builder setUriBytes(ByteString value)
Required. The URI that is being reported for phishing content to be analyzed.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for uri to set. |
Type | Description |
ReportPhishingRequest.Builder | This builder for chaining. |