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
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
STATS_FIELD_NUMBER
public static final int STATS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StoredInfoTypeVersion getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StoredInfoTypeVersion.Builder newBuilder()
Returns
newBuilder(StoredInfoTypeVersion prototype)
public static StoredInfoTypeVersion.Builder newBuilder(StoredInfoTypeVersion prototype)
Parameter
Returns
public static StoredInfoTypeVersion parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StoredInfoTypeVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StoredInfoTypeVersion parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoTypeVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StoredInfoTypeVersion parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoTypeVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StoredInfoTypeVersion parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StoredInfoTypeVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StoredInfoTypeVersion parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StoredInfoTypeVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StoredInfoTypeVersion parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoTypeVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StoredInfoTypeVersion> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getConfig()
public StoredInfoTypeConfig getConfig()
StoredInfoType configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;
Returns
getConfigOrBuilder()
public StoredInfoTypeConfigOrBuilder getConfigOrBuilder()
StoredInfoType configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;
Returns
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
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
getDefaultInstanceForType()
public StoredInfoTypeVersion getDefaultInstanceForType()
Returns
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
Returns
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
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
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
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
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
getStatsOrBuilder()
public StoredInfoTypeStatsOrBuilder getStatsOrBuilder()
Statistics about this storedInfoType version.
.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StoredInfoTypeVersion.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StoredInfoTypeVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StoredInfoTypeVersion.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions