Class StoredInfoTypeVersion (3.44.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
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

STATS_FIELD_NUMBER

public static final int STATS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StoredInfoTypeVersion getDefaultInstance()
Returns
TypeDescription
StoredInfoTypeVersion

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StoredInfoTypeVersion.Builder newBuilder()
Returns
TypeDescription
StoredInfoTypeVersion.Builder

newBuilder(StoredInfoTypeVersion prototype)

public static StoredInfoTypeVersion.Builder newBuilder(StoredInfoTypeVersion prototype)
Parameter
NameDescription
prototypeStoredInfoTypeVersion
Returns
TypeDescription
StoredInfoTypeVersion.Builder

parseDelimitedFrom(InputStream input)

public static StoredInfoTypeVersion parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StoredInfoTypeVersion
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeVersion
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StoredInfoTypeVersion parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StoredInfoTypeVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StoredInfoTypeVersion parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StoredInfoTypeVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StoredInfoTypeVersion parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StoredInfoTypeVersion
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeVersion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StoredInfoTypeVersion parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StoredInfoTypeVersion
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeVersion
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StoredInfoTypeVersion parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StoredInfoTypeVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StoredInfoTypeVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StoredInfoTypeVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StoredInfoTypeVersion> parser()
Returns
TypeDescription
Parser<StoredInfoTypeVersion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConfig()

public StoredInfoTypeConfig getConfig()

StoredInfoType configuration.

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

Returns
TypeDescription
StoredInfoTypeConfig

The config.

getConfigOrBuilder()

public StoredInfoTypeConfigOrBuilder getConfigOrBuilder()

StoredInfoType configuration.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public StoredInfoTypeVersion getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder>

getParserForType()

public Parser<StoredInfoTypeVersion> getParserForType()
Returns
TypeDescription
Parser<StoredInfoTypeVersion>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
StoredInfoTypeStats

The stats.

getStatsOrBuilder()

public StoredInfoTypeStatsOrBuilder getStatsOrBuilder()

Statistics about this storedInfoType version.

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

Returns
TypeDescription
StoredInfoTypeStatsOrBuilder

hasConfig()

public boolean hasConfig()

StoredInfoType configuration.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the createTime field is set.

hasStats()

public boolean hasStats()

Statistics about this storedInfoType version.

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

Returns
TypeDescription
boolean

Whether the stats field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StoredInfoTypeVersion.Builder newBuilderForType()
Returns
TypeDescription
StoredInfoTypeVersion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StoredInfoTypeVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StoredInfoTypeVersion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StoredInfoTypeVersion.Builder toBuilder()
Returns
TypeDescription
StoredInfoTypeVersion.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException