Interface VirusScanFilterResultOrBuilder

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

@Generated public interface VirusScanFilterResultOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getExecutionStateValue

      int getExecutionStateValue()
       Output only. Reports whether Virus Scan was successfully executed or not.
       
      .google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for executionState.
    • getExecutionState

      FilterExecutionState getExecutionState()
       Output only. Reports whether Virus Scan was successfully executed or not.
       
      .google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The executionState.
    • getMessageItemsList

      List<MessageItem> getMessageItemsList()
       Optional messages corresponding to the result.
       A message can provide warnings or error details.
       For example, if execution status is skipped then this field provides
       related reason/explanation.
       
      repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;
    • getMessageItems

      MessageItem getMessageItems(int index)
       Optional messages corresponding to the result.
       A message can provide warnings or error details.
       For example, if execution status is skipped then this field provides
       related reason/explanation.
       
      repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;
    • getMessageItemsCount

      int getMessageItemsCount()
       Optional messages corresponding to the result.
       A message can provide warnings or error details.
       For example, if execution status is skipped then this field provides
       related reason/explanation.
       
      repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;
    • getMessageItemsOrBuilderList

      List<? extends MessageItemOrBuilder> getMessageItemsOrBuilderList()
       Optional messages corresponding to the result.
       A message can provide warnings or error details.
       For example, if execution status is skipped then this field provides
       related reason/explanation.
       
      repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;
    • getMessageItemsOrBuilder

      MessageItemOrBuilder getMessageItemsOrBuilder(int index)
       Optional messages corresponding to the result.
       A message can provide warnings or error details.
       For example, if execution status is skipped then this field provides
       related reason/explanation.
       
      repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;
    • getMatchStateValue

      int getMatchStateValue()
       Output only. Match status for Virus.
       Value is MATCH_FOUND if the data is infected with a virus.
       
      .google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for matchState.
    • getMatchState

      FilterMatchState getMatchState()
       Output only. Match status for Virus.
       Value is MATCH_FOUND if the data is infected with a virus.
       
      .google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The matchState.
    • getScannedContentTypeValue

      int getScannedContentTypeValue()
       Type of content scanned.
       
      .google.cloud.modelarmor.v1beta.VirusScanFilterResult.ScannedContentType scanned_content_type = 4;
      Returns:
      The enum numeric value on the wire for scannedContentType.
    • getScannedContentType

       Type of content scanned.
       
      .google.cloud.modelarmor.v1beta.VirusScanFilterResult.ScannedContentType scanned_content_type = 4;
      Returns:
      The scannedContentType.
    • hasScannedSize

      boolean hasScannedSize()
       Size of scanned content in bytes.
       
      optional int64 scanned_size = 5;
      Returns:
      Whether the scannedSize field is set.
    • getScannedSize

      long getScannedSize()
       Size of scanned content in bytes.
       
      optional int64 scanned_size = 5;
      Returns:
      The scannedSize.
    • getVirusDetailsList

      List<VirusDetail> getVirusDetailsList()
       List of Viruses identified.
       This field will be empty if no virus was detected.
       
      repeated .google.cloud.modelarmor.v1beta.VirusDetail virus_details = 6;
    • getVirusDetails

      VirusDetail getVirusDetails(int index)
       List of Viruses identified.
       This field will be empty if no virus was detected.
       
      repeated .google.cloud.modelarmor.v1beta.VirusDetail virus_details = 6;
    • getVirusDetailsCount

      int getVirusDetailsCount()
       List of Viruses identified.
       This field will be empty if no virus was detected.
       
      repeated .google.cloud.modelarmor.v1beta.VirusDetail virus_details = 6;
    • getVirusDetailsOrBuilderList

      List<? extends VirusDetailOrBuilder> getVirusDetailsOrBuilderList()
       List of Viruses identified.
       This field will be empty if no virus was detected.
       
      repeated .google.cloud.modelarmor.v1beta.VirusDetail virus_details = 6;
    • getVirusDetailsOrBuilder

      VirusDetailOrBuilder getVirusDetailsOrBuilder(int index)
       List of Viruses identified.
       This field will be empty if no virus was detected.
       
      repeated .google.cloud.modelarmor.v1beta.VirusDetail virus_details = 6;