Class SdpDeidentifyResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.modelarmor.v1beta.SdpDeidentifyResult
- All Implemented Interfaces:
SdpDeidentifyResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SdpDeidentifyResult
extends com.google.protobuf.GeneratedMessage
implements SdpDeidentifyResultOrBuilder
Sensitive Data Protection Deidentification Result.Protobuf type
google.cloud.modelarmor.v1beta.SdpDeidentifyResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSensitive Data Protection Deidentification 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 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 TypeMethodDescriptionbooleangetData()De-identified data.De-identified data.static SdpDeidentifyResultstatic final com.google.protobuf.Descriptors.DescriptorOutput only.intOutput only.getInfoTypes(int index) List of Sensitive Data Protection info-types that were de-identified.com.google.protobuf.ByteStringgetInfoTypesBytes(int index) List of Sensitive Data Protection info-types that were de-identified.intList of Sensitive Data Protection info-types that were de-identified.com.google.protobuf.ProtocolStringListList of Sensitive Data Protection info-types that were de-identified.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<SdpDeidentifyResult>intlongTotal size in bytes that were transformed during deidentification.booleanhasData()De-identified data.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic SdpDeidentifyResult.Builderstatic SdpDeidentifyResult.BuildernewBuilder(SdpDeidentifyResult prototype) protected SdpDeidentifyResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SdpDeidentifyResultparseDelimitedFrom(InputStream input) static SdpDeidentifyResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SdpDeidentifyResultparseFrom(byte[] data) static SdpDeidentifyResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SdpDeidentifyResultparseFrom(com.google.protobuf.ByteString data) static SdpDeidentifyResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SdpDeidentifyResultparseFrom(com.google.protobuf.CodedInputStream input) static SdpDeidentifyResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SdpDeidentifyResultparseFrom(InputStream input) static SdpDeidentifyResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SdpDeidentifyResultparseFrom(ByteBuffer data) static SdpDeidentifyResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SdpDeidentifyResult>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:
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER- See Also:
-
TRANSFORMED_BYTES_FIELD_NUMBER
public static final int TRANSFORMED_BYTES_FIELD_NUMBER- See Also:
-
INFO_TYPES_FIELD_NUMBER
public static final int INFO_TYPES_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 deidentification was successfully executed or not.
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExecutionStateValuein interfaceSdpDeidentifyResultOrBuilder- Returns:
- The enum numeric value on the wire for executionState.
-
getExecutionState
Output only. Reports whether Sensitive Data Protection deidentification was successfully executed or not.
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExecutionStatein interfaceSdpDeidentifyResultOrBuilder- 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 interfaceSdpDeidentifyResultOrBuilder
-
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 interfaceSdpDeidentifyResultOrBuilder
-
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 interfaceSdpDeidentifyResultOrBuilder
-
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 interfaceSdpDeidentifyResultOrBuilder
-
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 interfaceSdpDeidentifyResultOrBuilder
-
getMatchStateValue
public int getMatchStateValue()Output only. Match state for Sensitive Data Protection Deidentification. Value is MATCH_FOUND if content is de-identified.
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMatchStateValuein interfaceSdpDeidentifyResultOrBuilder- Returns:
- The enum numeric value on the wire for matchState.
-
getMatchState
Output only. Match state for Sensitive Data Protection Deidentification. Value is MATCH_FOUND if content is de-identified.
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMatchStatein interfaceSdpDeidentifyResultOrBuilder- Returns:
- The matchState.
-
hasData
public boolean hasData()De-identified data.
.google.cloud.modelarmor.v1beta.DataItem data = 4;- Specified by:
hasDatain interfaceSdpDeidentifyResultOrBuilder- Returns:
- Whether the data field is set.
-
getData
De-identified data.
.google.cloud.modelarmor.v1beta.DataItem data = 4;- Specified by:
getDatain interfaceSdpDeidentifyResultOrBuilder- Returns:
- The data.
-
getDataOrBuilder
De-identified data.
.google.cloud.modelarmor.v1beta.DataItem data = 4;- Specified by:
getDataOrBuilderin interfaceSdpDeidentifyResultOrBuilder
-
getTransformedBytes
public long getTransformedBytes()Total size in bytes that were transformed during deidentification.
int64 transformed_bytes = 5;- Specified by:
getTransformedBytesin interfaceSdpDeidentifyResultOrBuilder- Returns:
- The transformedBytes.
-
getInfoTypesList
public com.google.protobuf.ProtocolStringList getInfoTypesList()List of Sensitive Data Protection info-types that were de-identified.
repeated string info_types = 6;- Specified by:
getInfoTypesListin interfaceSdpDeidentifyResultOrBuilder- Returns:
- A list containing the infoTypes.
-
getInfoTypesCount
public int getInfoTypesCount()List of Sensitive Data Protection info-types that were de-identified.
repeated string info_types = 6;- Specified by:
getInfoTypesCountin interfaceSdpDeidentifyResultOrBuilder- Returns:
- The count of infoTypes.
-
getInfoTypes
List of Sensitive Data Protection info-types that were de-identified.
repeated string info_types = 6;- Specified by:
getInfoTypesin interfaceSdpDeidentifyResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The infoTypes at the given index.
-
getInfoTypesBytes
public com.google.protobuf.ByteString getInfoTypesBytes(int index) List of Sensitive Data Protection info-types that were de-identified.
repeated string info_types = 6;- Specified by:
getInfoTypesBytesin interfaceSdpDeidentifyResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the infoTypes at the given index.
-
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 SdpDeidentifyResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SdpDeidentifyResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SdpDeidentifyResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SdpDeidentifyResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SdpDeidentifyResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SdpDeidentifyResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SdpDeidentifyResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SdpDeidentifyResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SdpDeidentifyResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SdpDeidentifyResult 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 SdpDeidentifyResult.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
-