public interface VirusScanFilterResultOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getExecutionState()
public abstract 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 | |
|---|---|
| Type | Description | 
| FilterExecutionState | The executionState. | 
getExecutionStateValue()
public abstract 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 | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for executionState. | 
getMatchState()
public abstract 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 | |
|---|---|
| Type | Description | 
| FilterMatchState | The matchState. | 
getMatchStateValue()
public abstract 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 | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for matchState. | 
getMessageItems(int index)
public abstract 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;
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| MessageItem | |
getMessageItemsCount()
public abstract 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;
| Returns | |
|---|---|
| Type | Description | 
| int | |
getMessageItemsList()
public abstract 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;
| Returns | |
|---|---|
| Type | Description | 
| List<MessageItem> | |
getMessageItemsOrBuilder(int index)
public abstract 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;
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| MessageItemOrBuilder | |
getMessageItemsOrBuilderList()
public abstract 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;
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.modelarmor.v1beta.MessageItemOrBuilder> | |
getScannedContentType()
public abstract VirusScanFilterResult.ScannedContentType getScannedContentType()Type of content scanned.
 
 .google.cloud.modelarmor.v1beta.VirusScanFilterResult.ScannedContentType scanned_content_type = 4;
 
| Returns | |
|---|---|
| Type | Description | 
| VirusScanFilterResult.ScannedContentType | The scannedContentType. | 
getScannedContentTypeValue()
public abstract int getScannedContentTypeValue()Type of content scanned.
 
 .google.cloud.modelarmor.v1beta.VirusScanFilterResult.ScannedContentType scanned_content_type = 4;
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for scannedContentType. | 
getScannedSize()
public abstract long getScannedSize()Size of scanned content in bytes.
 optional int64 scanned_size = 5;
| Returns | |
|---|---|
| Type | Description | 
| long | The scannedSize. | 
getVirusDetails(int index)
public abstract 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;
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| VirusDetail | |
getVirusDetailsCount()
public abstract 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;
| Returns | |
|---|---|
| Type | Description | 
| int | |
getVirusDetailsList()
public abstract 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;
| Returns | |
|---|---|
| Type | Description | 
| List<VirusDetail> | |
getVirusDetailsOrBuilder(int index)
public abstract 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;
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| VirusDetailOrBuilder | |
getVirusDetailsOrBuilderList()
public abstract 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;
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.modelarmor.v1beta.VirusDetailOrBuilder> | |
hasScannedSize()
public abstract boolean hasScannedSize()Size of scanned content in bytes.
 optional int64 scanned_size = 5;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the scannedSize field is set. |