public static final class MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder extends GeneratedMessage.Builder<MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder> implements MaliciousUriFilterResult.MaliciousUriMatchedItemOrBuilderInformation regarding malicious URI and its location within the input content.
Protobuf type
google.cloud.modelarmor.v1beta.MaliciousUriFilterResult.MaliciousUriMatchedItem
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MaliciousUriFilterResult.MaliciousUriMatchedItem.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllLocations(Iterable<? extends RangeInfo> values)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder addAllLocations(Iterable<? extends RangeInfo> values) List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.modelarmor.v1beta.RangeInfo> |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
addLocations(RangeInfo value)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder addLocations(RangeInfo value) List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
RangeInfo |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
addLocations(RangeInfo.Builder builderForValue)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder addLocations(RangeInfo.Builder builderForValue) List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RangeInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
addLocations(int index, RangeInfo value)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder addLocations(int index, RangeInfo value) List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RangeInfo |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
addLocations(int index, RangeInfo.Builder builderForValue)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder addLocations(int index, RangeInfo.Builder builderForValue) List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RangeInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
addLocationsBuilder()
public RangeInfo.Builder addLocationsBuilder() List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Returns | |
|---|---|
| Type | Description |
RangeInfo.Builder |
|
addLocationsBuilder(int index)
public RangeInfo.Builder addLocationsBuilder(int index) List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RangeInfo.Builder |
|
build()
public MaliciousUriFilterResult.MaliciousUriMatchedItem build()| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem |
|
buildPartial()
public MaliciousUriFilterResult.MaliciousUriMatchedItem buildPartial()| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem |
|
clear()
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder clear()| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
clearLocations()
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder clearLocations() List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
clearUri()
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder clearUri()Malicious URI.
string uri = 1;
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public MaliciousUriFilterResult.MaliciousUriMatchedItem getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocations(int index)
public RangeInfo getLocations(int index) List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RangeInfo |
|
getLocationsBuilder(int index)
public RangeInfo.Builder getLocationsBuilder(int index) List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RangeInfo.Builder |
|
getLocationsBuilderList()
public List<RangeInfo.Builder> getLocationsBuilderList() List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getLocationsCount()
public int getLocationsCount() List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLocationsList()
public List<RangeInfo> getLocationsList() List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Returns | |
|---|---|
| Type | Description |
List<RangeInfo> |
|
getLocationsOrBuilder(int index)
public RangeInfoOrBuilder getLocationsOrBuilder(int index) List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RangeInfoOrBuilder |
|
getLocationsOrBuilderList()
public List<? extends RangeInfoOrBuilder> getLocationsOrBuilderList() List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.modelarmor.v1beta.RangeInfoOrBuilder> |
|
getUri()
public String getUri()Malicious URI.
string uri = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()Malicious URI.
string uri = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MaliciousUriFilterResult.MaliciousUriMatchedItem other)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder mergeFrom(MaliciousUriFilterResult.MaliciousUriMatchedItem other)| Parameter | |
|---|---|
| Name | Description |
other |
MaliciousUriFilterResult.MaliciousUriMatchedItem |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
removeLocations(int index)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder removeLocations(int index) List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
setLocations(int index, RangeInfo value)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder setLocations(int index, RangeInfo value) List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RangeInfo |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
setLocations(int index, RangeInfo.Builder builderForValue)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder setLocations(int index, RangeInfo.Builder builderForValue) List of locations where Malicious URI is identified.
The locations field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
repeated .google.cloud.modelarmor.v1beta.RangeInfo locations = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RangeInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
|
setUri(String value)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder setUri(String value)Malicious URI.
string uri = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder setUriBytes(ByteString value)Malicious URI.
string uri = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder |
This builder for chaining. |