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 Summary
Modifier and TypeMethodDescriptionOutput only.intOutput only.Output only.intOutput only.getMessageItems(int index) Optional messages corresponding to the result.intOptional messages corresponding to the result.Optional messages corresponding to the result.getMessageItemsOrBuilder(int index) Optional messages corresponding to the result.List<? extends MessageItemOrBuilder>Optional messages corresponding to the result.Type of content scanned.intType of content scanned.longSize of scanned content in bytes.getVirusDetails(int index) List of Viruses identified.intList of Viruses identified.List of Viruses identified.getVirusDetailsOrBuilder(int index) List of Viruses identified.List<? extends VirusDetailOrBuilder>List of Viruses identified.booleanSize of scanned content in bytes.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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
VirusScanFilterResult.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
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
List of Viruses identified. This field will be empty if no virus was detected.
repeated .google.cloud.modelarmor.v1beta.VirusDetail virus_details = 6;
-