Package com.google.privacy.dlp.v2
Class StoredInfoTypeVersion
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.StoredInfoTypeVersion
- All Implemented Interfaces:
StoredInfoTypeVersionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class StoredInfoTypeVersion
extends com.google.protobuf.GeneratedMessage
implements StoredInfoTypeVersionOrBuilder
Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.Protobuf type
google.privacy.dlp.v2.StoredInfoTypeVersion- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classVersion of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.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 TypeMethodDescriptionbooleanStoredInfoType configuration.StoredInfoType configuration.com.google.protobuf.TimestampCreate timestamp of the version.com.google.protobuf.TimestampOrBuilderCreate timestamp of the version.static StoredInfoTypeVersionstatic final com.google.protobuf.Descriptors.DescriptorgetErrors(int index) Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable.intErrors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable.Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable.getErrorsOrBuilder(int index) Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable.List<? extends ErrorOrBuilder>Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable.com.google.protobuf.Parser<StoredInfoTypeVersion>intgetState()Stored info type version state.intStored info type version state.getStats()Statistics about this storedInfoType version.Statistics about this storedInfoType version.booleanStoredInfoType configuration.booleanCreate timestamp of the version.inthashCode()booleanhasStats()Statistics about this storedInfoType version.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(StoredInfoTypeVersion prototype) protected StoredInfoTypeVersion.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static StoredInfoTypeVersionparseDelimitedFrom(InputStream input) static StoredInfoTypeVersionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoredInfoTypeVersionparseFrom(byte[] data) static StoredInfoTypeVersionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoredInfoTypeVersionparseFrom(com.google.protobuf.ByteString data) static StoredInfoTypeVersionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoredInfoTypeVersionparseFrom(com.google.protobuf.CodedInputStream input) static StoredInfoTypeVersionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoredInfoTypeVersionparseFrom(InputStream input) static StoredInfoTypeVersionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoredInfoTypeVersionparseFrom(ByteBuffer data) static StoredInfoTypeVersionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StoredInfoTypeVersion>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
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER- See Also:
-
STATS_FIELD_NUMBER
public static final int STATS_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
-
hasConfig
public boolean hasConfig()StoredInfoType configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;- Specified by:
hasConfigin interfaceStoredInfoTypeVersionOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
StoredInfoType configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;- Specified by:
getConfigin interfaceStoredInfoTypeVersionOrBuilder- Returns:
- The config.
-
getConfigOrBuilder
StoredInfoType configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;- Specified by:
getConfigOrBuilderin interfaceStoredInfoTypeVersionOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Create timestamp of the version. Read-only, determined by the system when the version is created.
.google.protobuf.Timestamp create_time = 2;- Specified by:
hasCreateTimein interfaceStoredInfoTypeVersionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Create timestamp of the version. Read-only, determined by the system when the version is created.
.google.protobuf.Timestamp create_time = 2;- Specified by:
getCreateTimein interfaceStoredInfoTypeVersionOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Create timestamp of the version. Read-only, determined by the system when the version is created.
.google.protobuf.Timestamp create_time = 2;- Specified by:
getCreateTimeOrBuilderin interfaceStoredInfoTypeVersionOrBuilder
-
getStateValue
public int getStateValue()Stored info type version state. Read-only, updated by the system during dictionary creation.
.google.privacy.dlp.v2.StoredInfoTypeState state = 3;- Specified by:
getStateValuein interfaceStoredInfoTypeVersionOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Stored info type version state. Read-only, updated by the system during dictionary creation.
.google.privacy.dlp.v2.StoredInfoTypeState state = 3;- Specified by:
getStatein interfaceStoredInfoTypeVersionOrBuilder- Returns:
- The state.
-
getErrorsList
Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same `config` if it was not the source of the error.
repeated .google.privacy.dlp.v2.Error errors = 4;- Specified by:
getErrorsListin interfaceStoredInfoTypeVersionOrBuilder
-
getErrorsOrBuilderList
Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same `config` if it was not the source of the error.
repeated .google.privacy.dlp.v2.Error errors = 4;- Specified by:
getErrorsOrBuilderListin interfaceStoredInfoTypeVersionOrBuilder
-
getErrorsCount
public int getErrorsCount()Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same `config` if it was not the source of the error.
repeated .google.privacy.dlp.v2.Error errors = 4;- Specified by:
getErrorsCountin interfaceStoredInfoTypeVersionOrBuilder
-
getErrors
Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same `config` if it was not the source of the error.
repeated .google.privacy.dlp.v2.Error errors = 4;- Specified by:
getErrorsin interfaceStoredInfoTypeVersionOrBuilder
-
getErrorsOrBuilder
Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same `config` if it was not the source of the error.
repeated .google.privacy.dlp.v2.Error errors = 4;- Specified by:
getErrorsOrBuilderin interfaceStoredInfoTypeVersionOrBuilder
-
hasStats
public boolean hasStats()Statistics about this storedInfoType version.
.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;- Specified by:
hasStatsin interfaceStoredInfoTypeVersionOrBuilder- Returns:
- Whether the stats field is set.
-
getStats
Statistics about this storedInfoType version.
.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;- Specified by:
getStatsin interfaceStoredInfoTypeVersionOrBuilder- Returns:
- The stats.
-
getStatsOrBuilder
Statistics about this storedInfoType version.
.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;- Specified by:
getStatsOrBuilderin interfaceStoredInfoTypeVersionOrBuilder
-
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 StoredInfoTypeVersion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoredInfoTypeVersion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoredInfoTypeVersion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoredInfoTypeVersion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoredInfoTypeVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoredInfoTypeVersion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StoredInfoTypeVersion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StoredInfoTypeVersion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StoredInfoTypeVersion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StoredInfoTypeVersion 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 StoredInfoTypeVersion.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
-