Class SdpInspectResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.modelarmor.v1beta.SdpInspectResult
- All Implemented Interfaces:
SdpInspectResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SdpInspectResult
extends com.google.protobuf.GeneratedMessage
implements SdpInspectResultOrBuilder
Sensitive Data Protection Inspection Result.Protobuf type
google.cloud.modelarmor.v1beta.SdpInspectResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSensitive Data Protection Inspection Result.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 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 SdpInspectResultstatic final com.google.protobuf.Descriptors.DescriptorOutput only.intOutput only.getFindings(int index) List of Sensitive Data Protection findings.intList of Sensitive Data Protection findings.List of Sensitive Data Protection findings.getFindingsOrBuilder(int index) List of Sensitive Data Protection findings.List<? extends SdpFindingOrBuilder>List of Sensitive Data Protection findings.booleanIf true, then there is possibility that more findings were identified and the findings returned are a subset of all findings.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<SdpInspectResult>intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic SdpInspectResult.Builderstatic SdpInspectResult.BuildernewBuilder(SdpInspectResult prototype) protected SdpInspectResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SdpInspectResultparseDelimitedFrom(InputStream input) static SdpInspectResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SdpInspectResultparseFrom(byte[] data) static SdpInspectResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SdpInspectResultparseFrom(com.google.protobuf.ByteString data) static SdpInspectResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SdpInspectResultparseFrom(com.google.protobuf.CodedInputStream input) static SdpInspectResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SdpInspectResultparseFrom(InputStream input) static SdpInspectResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SdpInspectResultparseFrom(ByteBuffer data) static SdpInspectResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SdpInspectResult>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:
-
FINDINGS_FIELD_NUMBER
public static final int FINDINGS_FIELD_NUMBER- See Also:
-
FINDINGS_TRUNCATED_FIELD_NUMBER
public static final int FINDINGS_TRUNCATED_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 Sensitive Data Protection inspection was successfully executed or not.
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExecutionStateValuein interfaceSdpInspectResultOrBuilder- Returns:
- The enum numeric value on the wire for executionState.
-
getExecutionState
Output only. Reports whether Sensitive Data Protection inspection was successfully executed or not.
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExecutionStatein interfaceSdpInspectResultOrBuilder- Returns:
- The executionState.
-
getMessageItemsList
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;- Specified by:
getMessageItemsListin interfaceSdpInspectResultOrBuilder
-
getMessageItemsOrBuilderList
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;- Specified by:
getMessageItemsOrBuilderListin interfaceSdpInspectResultOrBuilder
-
getMessageItemsCount
public int getMessageItemsCount()Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;- Specified by:
getMessageItemsCountin interfaceSdpInspectResultOrBuilder
-
getMessageItems
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;- Specified by:
getMessageItemsin interfaceSdpInspectResultOrBuilder
-
getMessageItemsOrBuilder
Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
repeated .google.cloud.modelarmor.v1beta.MessageItem message_items = 2;- Specified by:
getMessageItemsOrBuilderin interfaceSdpInspectResultOrBuilder
-
getMatchStateValue
public int getMatchStateValue()Output only. Match state for SDP Inspection. Value is MATCH_FOUND if at least one Sensitive Data Protection finding is identified.
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMatchStateValuein interfaceSdpInspectResultOrBuilder- Returns:
- The enum numeric value on the wire for matchState.
-
getMatchState
Output only. Match state for SDP Inspection. Value is MATCH_FOUND if at least one Sensitive Data Protection finding is identified.
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMatchStatein interfaceSdpInspectResultOrBuilder- Returns:
- The matchState.
-
getFindingsList
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;- Specified by:
getFindingsListin interfaceSdpInspectResultOrBuilder
-
getFindingsOrBuilderList
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;- Specified by:
getFindingsOrBuilderListin interfaceSdpInspectResultOrBuilder
-
getFindingsCount
public int getFindingsCount()List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;- Specified by:
getFindingsCountin interfaceSdpInspectResultOrBuilder
-
getFindings
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;- Specified by:
getFindingsin interfaceSdpInspectResultOrBuilder
-
getFindingsOrBuilder
List of Sensitive Data Protection findings.
repeated .google.cloud.modelarmor.v1beta.SdpFinding findings = 4;- Specified by:
getFindingsOrBuilderin interfaceSdpInspectResultOrBuilder
-
getFindingsTruncated
public boolean getFindingsTruncated()If true, then there is possibility that more findings were identified and the findings returned are a subset of all findings. The findings list might be truncated because the input items were too large, or because the server reached the maximum amount of resources allowed for a single API call.
bool findings_truncated = 5;- Specified by:
getFindingsTruncatedin interfaceSdpInspectResultOrBuilder- Returns:
- The findingsTruncated.
-
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 SdpInspectResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SdpInspectResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SdpInspectResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SdpInspectResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SdpInspectResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SdpInspectResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SdpInspectResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SdpInspectResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SdpInspectResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SdpInspectResult 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 SdpInspectResult.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
-