public final class SdpFinding extends GeneratedMessage implements SdpFindingOrBuilderFinding corresponding to Sensitive Data Protection filter.
Protobuf type google.cloud.modelarmor.v1.SdpFinding
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SdpFindingImplements
SdpFindingOrBuilderStatic Fields
INFO_TYPE_FIELD_NUMBER
public static final int INFO_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LIKELIHOOD_FIELD_NUMBER
public static final int LIKELIHOOD_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SdpFinding getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SdpFinding.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SdpFinding.Builder |
|
newBuilder(SdpFinding prototype)
public static SdpFinding.Builder newBuilder(SdpFinding prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SdpFinding |
| Returns | |
|---|---|
| Type | Description |
SdpFinding.Builder |
|
parseDelimitedFrom(InputStream input)
public static SdpFinding parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SdpFinding parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SdpFinding parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SdpFinding parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SdpFinding parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SdpFinding parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SdpFinding parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SdpFinding parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SdpFinding parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SdpFinding parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SdpFinding parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SdpFinding parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SdpFinding> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SdpFinding> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SdpFinding getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
getInfoType()
public String getInfoType()Name of Sensitive Data Protection info type for this finding.
string info_type = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The infoType. |
getInfoTypeBytes()
public ByteString getInfoTypeBytes()Name of Sensitive Data Protection info type for this finding.
string info_type = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for infoType. |
getLikelihood()
public SdpFindingLikelihood getLikelihood() Identified confidence likelihood for info_type.
.google.cloud.modelarmor.v1.SdpFindingLikelihood likelihood = 2;
| Returns | |
|---|---|
| Type | Description |
SdpFindingLikelihood |
The likelihood. |
getLikelihoodValue()
public int getLikelihoodValue() Identified confidence likelihood for info_type.
.google.cloud.modelarmor.v1.SdpFindingLikelihood likelihood = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for likelihood. |
getLocation()
public SdpFinding.SdpFindingLocation getLocation()Location for this finding.
.google.cloud.modelarmor.v1.SdpFinding.SdpFindingLocation location = 3;
| Returns | |
|---|---|
| Type | Description |
SdpFinding.SdpFindingLocation |
The location. |
getLocationOrBuilder()
public SdpFinding.SdpFindingLocationOrBuilder getLocationOrBuilder()Location for this finding.
.google.cloud.modelarmor.v1.SdpFinding.SdpFindingLocation location = 3;
| Returns | |
|---|---|
| Type | Description |
SdpFinding.SdpFindingLocationOrBuilder |
|
getParserForType()
public Parser<SdpFinding> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SdpFinding> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasLocation()
public boolean hasLocation()Location for this finding.
.google.cloud.modelarmor.v1.SdpFinding.SdpFindingLocation location = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the location field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SdpFinding.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SdpFinding.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SdpFinding.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SdpFinding.Builder |
|
toBuilder()
public SdpFinding.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SdpFinding.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|