Class StoredInfoTypeVersion (3.52.0)

public final class StoredInfoTypeVersion extends GeneratedMessageV3 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

Static Fields

CONFIG_FIELD_NUMBER

public static final int CONFIG_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STATS_FIELD_NUMBER

public static final int STATS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StoredInfoTypeVersion getDefaultInstance()
Returns
Type Description
StoredInfoTypeVersion

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StoredInfoTypeVersion.Builder newBuilder()
Returns
Type Description
StoredInfoTypeVersion.Builder

newBuilder(StoredInfoTypeVersion prototype)

public static StoredInfoTypeVersion.Builder newBuilder(StoredInfoTypeVersion prototype)
Parameter
Name Description
prototype StoredInfoTypeVersion
Returns
Type Description
StoredInfoTypeVersion.Builder

parseDelimitedFrom(InputStream input)

public static StoredInfoTypeVersion parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StoredInfoTypeVersion
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredInfoTypeVersion
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StoredInfoTypeVersion parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StoredInfoTypeVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredInfoTypeVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StoredInfoTypeVersion parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StoredInfoTypeVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredInfoTypeVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StoredInfoTypeVersion parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StoredInfoTypeVersion
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredInfoTypeVersion
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StoredInfoTypeVersion parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StoredInfoTypeVersion
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredInfoTypeVersion
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StoredInfoTypeVersion parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StoredInfoTypeVersion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StoredInfoTypeVersion
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StoredInfoTypeVersion> parser()
Returns
Type Description
Parser<StoredInfoTypeVersion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConfig()

public StoredInfoTypeConfig getConfig()

StoredInfoType configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;

Returns
Type Description
StoredInfoTypeConfig

The config.

getConfigOrBuilder()

public StoredInfoTypeConfigOrBuilder getConfigOrBuilder()

StoredInfoType configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;

Returns
Type Description
StoredInfoTypeConfigOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Create timestamp of the version. Read-only, determined by the system when the version is created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Create timestamp of the version. Read-only, determined by the system when the version is created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public StoredInfoTypeVersion getDefaultInstanceForType()
Returns
Type Description
StoredInfoTypeVersion

getErrors(int index)

public Error getErrors(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
Error

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;

Returns
Type Description
int

getErrorsList()

public List<Error> 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;

Returns
Type Description
List<Error>

getErrorsOrBuilder(int index)

public ErrorOrBuilder getErrorsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ErrorOrBuilder> 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;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder>

getParserForType()

public Parser<StoredInfoTypeVersion> getParserForType()
Returns
Type Description
Parser<StoredInfoTypeVersion>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public StoredInfoTypeState getState()

Stored info type version state. Read-only, updated by the system during dictionary creation.

.google.privacy.dlp.v2.StoredInfoTypeState state = 3;

Returns
Type Description
StoredInfoTypeState

The state.

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;

Returns
Type Description
int

The enum numeric value on the wire for state.

getStats()

public StoredInfoTypeStats getStats()

Statistics about this storedInfoType version.

.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;

Returns
Type Description
StoredInfoTypeStats

The stats.

getStatsOrBuilder()

public StoredInfoTypeStatsOrBuilder getStatsOrBuilder()

Statistics about this storedInfoType version.

.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;

Returns
Type Description
StoredInfoTypeStatsOrBuilder

hasConfig()

public boolean hasConfig()

StoredInfoType configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;

Returns
Type Description
boolean

Whether the config field is set.

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;

Returns
Type Description
boolean

Whether the createTime field is set.

hasStats()

public boolean hasStats()

Statistics about this storedInfoType version.

.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;

Returns
Type Description
boolean

Whether the stats field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StoredInfoTypeVersion.Builder newBuilderForType()
Returns
Type Description
StoredInfoTypeVersion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StoredInfoTypeVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StoredInfoTypeVersion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StoredInfoTypeVersion.Builder toBuilder()
Returns
Type Description
StoredInfoTypeVersion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException