public static final class MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder extends GeneratedMessageV3.Builder<MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder> implements MaliciousUriFilterResult.MaliciousUriMatchedItemOrBuilder
Information regarding malicious URI and its location within the input
content.
Protobuf type
google.cloud.modelarmor.v1.MaliciousUriFilterResult.MaliciousUriMatchedItem
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v1.RangeInfo locations = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.modelarmor.v1.RangeInfo>
|
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.v1.RangeInfo locations = 2;
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.v1.RangeInfo locations = 2;
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.v1.RangeInfo locations = 2;
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.v1.RangeInfo locations = 2;
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.v1.RangeInfo locations = 2;
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.v1.RangeInfo locations = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MaliciousUriFilterResult.MaliciousUriMatchedItem build()
buildPartial()
public MaliciousUriFilterResult.MaliciousUriMatchedItem buildPartial()
clear()
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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.v1.RangeInfo locations = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUri()
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder clearUri()
Malicious URI.
string uri = 1;
clone()
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder clone()
Overrides
getDefaultInstanceForType()
public MaliciousUriFilterResult.MaliciousUriMatchedItem getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.v1.RangeInfo locations = 2;
Parameter |
Name |
Description |
index |
int
|
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.v1.RangeInfo locations = 2;
Parameter |
Name |
Description |
index |
int
|
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.v1.RangeInfo locations = 2;
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.v1.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.v1.RangeInfo locations = 2;
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.v1.RangeInfo locations = 2;
Parameter |
Name |
Description |
index |
int
|
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.v1.RangeInfo locations = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.modelarmor.v1.RangeInfoOrBuilder> |
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MaliciousUriFilterResult.MaliciousUriMatchedItem other)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder mergeFrom(MaliciousUriFilterResult.MaliciousUriMatchedItem other)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.v1.RangeInfo locations = 2;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.v1.RangeInfo locations = 2;
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.v1.RangeInfo locations = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUri(String value)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder setUri(String value)
Malicious URI.
string uri = 1;
Parameter |
Name |
Description |
value |
String
The uri to set.
|
setUriBytes(ByteString value)
public MaliciousUriFilterResult.MaliciousUriMatchedItem.Builder setUriBytes(ByteString value)
Malicious URI.
string uri = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for uri to set.
|