Interface VirusDetailOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
VirusDetail, VirusDetail.Builder

@Generated public interface VirusDetailOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getNames(int index)
    Names of this Virus.
    com.google.protobuf.ByteString
    getNamesBytes(int index)
    Names of this Virus.
    int
    Names of this Virus.
    Names of this Virus.
    Threat type of the identified virus
    int
    Threat type of the identified virus
    Name of vendor that produced this virus identification.
    com.google.protobuf.ByteString
    Name of vendor that produced this virus identification.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getVendor

      String getVendor()
       Name of vendor that produced this virus identification.
       
      string vendor = 1;
      Returns:
      The vendor.
    • getVendorBytes

      com.google.protobuf.ByteString getVendorBytes()
       Name of vendor that produced this virus identification.
       
      string vendor = 1;
      Returns:
      The bytes for vendor.
    • getNamesList

      List<String> getNamesList()
       Names of this Virus.
       
      repeated string names = 2;
      Returns:
      A list containing the names.
    • getNamesCount

      int getNamesCount()
       Names of this Virus.
       
      repeated string names = 2;
      Returns:
      The count of names.
    • getNames

      String getNames(int index)
       Names of this Virus.
       
      repeated string names = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The names at the given index.
    • getNamesBytes

      com.google.protobuf.ByteString getNamesBytes(int index)
       Names of this Virus.
       
      repeated string names = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the names at the given index.
    • getThreatTypeValue

      int getThreatTypeValue()
       Threat type of the identified virus
       
      .google.cloud.modelarmor.v1beta.VirusDetail.ThreatType threat_type = 3;
      Returns:
      The enum numeric value on the wire for threatType.
    • getThreatType

      VirusDetail.ThreatType getThreatType()
       Threat type of the identified virus
       
      .google.cloud.modelarmor.v1beta.VirusDetail.ThreatType threat_type = 3;
      Returns:
      The threatType.