Class VirusScanFilterResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.modelarmor.v1beta.VirusScanFilterResult
- All Implemented Interfaces:
VirusScanFilterResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class VirusScanFilterResult
extends com.google.protobuf.GeneratedMessage
implements VirusScanFilterResultOrBuilder
Virus scan results.Protobuf type
google.cloud.modelarmor.v1beta.VirusScanFilterResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classVirus scan results.static enumType of content scanned.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic VirusScanFilterResultstatic final com.google.protobuf.Descriptors.DescriptorOutput 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.com.google.protobuf.Parser<VirusScanFilterResult>Type of content scanned.intType of content scanned.longSize of scanned content in bytes.intgetVirusDetails(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.inthashCode()booleanSize of scanned content in bytes.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(VirusScanFilterResult prototype) protected VirusScanFilterResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static VirusScanFilterResultparseDelimitedFrom(InputStream input) static VirusScanFilterResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VirusScanFilterResultparseFrom(byte[] data) static VirusScanFilterResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VirusScanFilterResultparseFrom(com.google.protobuf.ByteString data) static VirusScanFilterResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VirusScanFilterResultparseFrom(com.google.protobuf.CodedInputStream input) static VirusScanFilterResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VirusScanFilterResultparseFrom(InputStream input) static VirusScanFilterResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VirusScanFilterResultparseFrom(ByteBuffer data) static VirusScanFilterResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VirusScanFilterResult>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EXECUTION_STATE_FIELD_NUMBER
public static final int EXECUTION_STATE_FIELD_NUMBER- See Also:
-
MESSAGE_ITEMS_FIELD_NUMBER
public static final int MESSAGE_ITEMS_FIELD_NUMBER- See Also:
-
MATCH_STATE_FIELD_NUMBER
public static final int MATCH_STATE_FIELD_NUMBER- See Also:
-
SCANNED_CONTENT_TYPE_FIELD_NUMBER
public static final int SCANNED_CONTENT_TYPE_FIELD_NUMBER- See Also:
-
SCANNED_SIZE_FIELD_NUMBER
public static final int SCANNED_SIZE_FIELD_NUMBER- See Also:
-
VIRUS_DETAILS_FIELD_NUMBER
public static final int VIRUS_DETAILS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getExecutionStateValue
public 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];- Specified by:
getExecutionStateValuein interfaceVirusScanFilterResultOrBuilder- Returns:
- The enum numeric value on the wire for executionState.
-
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];- Specified by:
getExecutionStatein interfaceVirusScanFilterResultOrBuilder- Returns:
- The executionState.
-
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;- Specified by:
getMessageItemsListin interfaceVirusScanFilterResultOrBuilder
-
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;- Specified by:
getMessageItemsOrBuilderListin interfaceVirusScanFilterResultOrBuilder
-
getMessageItemsCount
public 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;- Specified by:
getMessageItemsCountin interfaceVirusScanFilterResultOrBuilder
-
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;- Specified by:
getMessageItemsin interfaceVirusScanFilterResultOrBuilder
-
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;- Specified by:
getMessageItemsOrBuilderin interfaceVirusScanFilterResultOrBuilder
-
getMatchStateValue
public 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];- Specified by:
getMatchStateValuein interfaceVirusScanFilterResultOrBuilder- Returns:
- The enum numeric value on the wire for matchState.
-
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];- Specified by:
getMatchStatein interfaceVirusScanFilterResultOrBuilder- Returns:
- The matchState.
-
getScannedContentTypeValue
public int getScannedContentTypeValue()Type of content scanned.
.google.cloud.modelarmor.v1beta.VirusScanFilterResult.ScannedContentType scanned_content_type = 4;- Specified by:
getScannedContentTypeValuein interfaceVirusScanFilterResultOrBuilder- 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;- Specified by:
getScannedContentTypein interfaceVirusScanFilterResultOrBuilder- Returns:
- The scannedContentType.
-
hasScannedSize
public boolean hasScannedSize()Size of scanned content in bytes.
optional int64 scanned_size = 5;- Specified by:
hasScannedSizein interfaceVirusScanFilterResultOrBuilder- Returns:
- Whether the scannedSize field is set.
-
getScannedSize
public long getScannedSize()Size of scanned content in bytes.
optional int64 scanned_size = 5;- Specified by:
getScannedSizein interfaceVirusScanFilterResultOrBuilder- Returns:
- The scannedSize.
-
getVirusDetailsList
List of Viruses identified. This field will be empty if no virus was detected.
repeated .google.cloud.modelarmor.v1beta.VirusDetail virus_details = 6;- Specified by:
getVirusDetailsListin interfaceVirusScanFilterResultOrBuilder
-
getVirusDetailsOrBuilderList
List of Viruses identified. This field will be empty if no virus was detected.
repeated .google.cloud.modelarmor.v1beta.VirusDetail virus_details = 6;- Specified by:
getVirusDetailsOrBuilderListin interfaceVirusScanFilterResultOrBuilder
-
getVirusDetailsCount
public 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;- Specified by:
getVirusDetailsCountin interfaceVirusScanFilterResultOrBuilder
-
getVirusDetails
List of Viruses identified. This field will be empty if no virus was detected.
repeated .google.cloud.modelarmor.v1beta.VirusDetail virus_details = 6;- Specified by:
getVirusDetailsin interfaceVirusScanFilterResultOrBuilder
-
getVirusDetailsOrBuilder
List of Viruses identified. This field will be empty if no virus was detected.
repeated .google.cloud.modelarmor.v1beta.VirusDetail virus_details = 6;- Specified by:
getVirusDetailsOrBuilderin interfaceVirusScanFilterResultOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static VirusScanFilterResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirusScanFilterResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirusScanFilterResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirusScanFilterResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirusScanFilterResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirusScanFilterResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static VirusScanFilterResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static VirusScanFilterResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static VirusScanFilterResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static VirusScanFilterResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VirusScanFilterResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-