- 2.77.0 (latest)
 - 2.75.0
 - 2.74.0
 - 2.73.0
 - 2.72.0
 - 2.71.0
 - 2.69.0
 - 2.67.0
 - 2.66.0
 - 2.63.0
 - 2.62.0
 - 2.61.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 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 ThreatDiscovery.Builder extends GeneratedMessageV3.Builder<ThreatDiscovery.Builder> implements ThreatDiscoveryOrBuilderDetails about how the threat was discovered.
 Protobuf type google.cloud.webrisk.v1.ThreatDiscovery
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ThreatDiscovery.BuilderImplements
ThreatDiscoveryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllRegionCodes(Iterable<String> values)
public ThreatDiscovery.Builder addAllRegionCodes(Iterable<String> values)CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
 repeated string region_codes = 2;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<String>The regionCodes to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        This builder for chaining.  | 
      
addRegionCodes(String value)
public ThreatDiscovery.Builder addRegionCodes(String value)CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
 repeated string region_codes = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe regionCodes to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        This builder for chaining.  | 
      
addRegionCodesBytes(ByteString value)
public ThreatDiscovery.Builder addRegionCodesBytes(ByteString value)CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
 repeated string region_codes = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes of the regionCodes to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        This builder for chaining.  | 
      
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ThreatDiscovery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        |
build()
public ThreatDiscovery build()| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery | 
        |
buildPartial()
public ThreatDiscovery buildPartial()| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery | 
        |
clear()
public ThreatDiscovery.Builder clear()| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public ThreatDiscovery.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        |
clearOneof(Descriptors.OneofDescriptor oneof)
public ThreatDiscovery.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        |
clearPlatform()
public ThreatDiscovery.Builder clearPlatform()Platform on which the threat was discovered.
 .google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        This builder for chaining.  | 
      
clearRegionCodes()
public ThreatDiscovery.Builder clearRegionCodes()CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
 repeated string region_codes = 2;
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        This builder for chaining.  | 
      
clone()
public ThreatDiscovery.Builder clone()| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        |
getDefaultInstanceForType()
public ThreatDiscovery getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getPlatform()
public ThreatDiscovery.Platform getPlatform()Platform on which the threat was discovered.
 .google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Platform | 
        The platform.  | 
      
getPlatformValue()
public int getPlatformValue()Platform on which the threat was discovered.
 .google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for platform.  | 
      
getRegionCodes(int index)
public String getRegionCodes(int index)CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
 repeated string region_codes = 2;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        The regionCodes at the given index.  | 
      
getRegionCodesBytes(int index)
public ByteString getRegionCodesBytes(int index)CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
 repeated string region_codes = 2;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes of the regionCodes at the given index.  | 
      
getRegionCodesCount()
public int getRegionCodesCount()CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
 repeated string region_codes = 2;
| Returns | |
|---|---|
| Type | Description | 
int | 
        The count of regionCodes.  | 
      
getRegionCodesList()
public ProtocolStringList getRegionCodesList()CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
 repeated string region_codes = 2;
| Returns | |
|---|---|
| Type | Description | 
ProtocolStringList | 
        A list containing the regionCodes.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ThreatDiscovery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public ThreatDiscovery.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        |
mergeFrom(ThreatDiscovery other)
public ThreatDiscovery.Builder mergeFrom(ThreatDiscovery other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        ThreatDiscovery | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ThreatDiscovery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public ThreatDiscovery.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        |
setPlatform(ThreatDiscovery.Platform value)
public ThreatDiscovery.Builder setPlatform(ThreatDiscovery.Platform value)Platform on which the threat was discovered.
 .google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ThreatDiscovery.PlatformThe platform to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        This builder for chaining.  | 
      
setPlatformValue(int value)
public ThreatDiscovery.Builder setPlatformValue(int value)Platform on which the threat was discovered.
 .google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for platform to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        This builder for chaining.  | 
      
setRegionCodes(int index, String value)
public ThreatDiscovery.Builder setRegionCodes(int index, String value)CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States.
 repeated string region_codes = 2;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        StringThe regionCodes to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ThreatDiscovery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final ThreatDiscovery.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
ThreatDiscovery.Builder | 
        |