public final class VirusDetail extends GeneratedMessage implements VirusDetailOrBuilderDetails of an identified virus
Protobuf type google.cloud.modelarmor.v1beta.VirusDetail
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > VirusDetailImplements
VirusDetailOrBuilderStatic Fields
NAMES_FIELD_NUMBER
public static final int NAMES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
THREAT_TYPE_FIELD_NUMBER
public static final int THREAT_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VENDOR_FIELD_NUMBER
public static final int VENDOR_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static VirusDetail getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static VirusDetail.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
VirusDetail.Builder |
|
newBuilder(VirusDetail prototype)
public static VirusDetail.Builder newBuilder(VirusDetail prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
VirusDetail |
| Returns | |
|---|---|
| Type | Description |
VirusDetail.Builder |
|
parseDelimitedFrom(InputStream input)
public static VirusDetail parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VirusDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static VirusDetail parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VirusDetail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static VirusDetail parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VirusDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static VirusDetail parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VirusDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static VirusDetail parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VirusDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static VirusDetail parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VirusDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<VirusDetail> parser()| Returns | |
|---|---|
| Type | Description |
Parser<VirusDetail> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public VirusDetail getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VirusDetail |
|
getNames(int index)
public String getNames(int index)Names of this Virus.
repeated string names = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The names at the given index. |
getNamesBytes(int index)
public ByteString getNamesBytes(int index)Names of this Virus.
repeated string names = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the names at the given index. |
getNamesCount()
public int getNamesCount()Names of this Virus.
repeated string names = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of names. |
getNamesList()
public ProtocolStringList getNamesList()Names of this Virus.
repeated string names = 2;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the names. |
getParserForType()
public Parser<VirusDetail> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<VirusDetail> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getThreatType()
public VirusDetail.ThreatType getThreatType()Threat type of the identified virus
.google.cloud.modelarmor.v1beta.VirusDetail.ThreatType threat_type = 3;
| Returns | |
|---|---|
| Type | Description |
VirusDetail.ThreatType |
The threatType. |
getThreatTypeValue()
public int getThreatTypeValue()Threat type of the identified virus
.google.cloud.modelarmor.v1beta.VirusDetail.ThreatType threat_type = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for threatType. |
getVendor()
public String getVendor()Name of vendor that produced this virus identification.
string vendor = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The vendor. |
getVendorBytes()
public ByteString getVendorBytes()Name of vendor that produced this virus identification.
string vendor = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vendor. |
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 VirusDetail.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
VirusDetail.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected VirusDetail.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
VirusDetail.Builder |
|
toBuilder()
public VirusDetail.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
VirusDetail.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|