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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StoredInfoTypeVersion.Builder newBuilder()
newBuilder(StoredInfoTypeVersion prototype)
public static StoredInfoTypeVersion.Builder newBuilder(StoredInfoTypeVersion prototype)
public static StoredInfoTypeVersion parseDelimitedFrom(InputStream input)
public static StoredInfoTypeVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StoredInfoTypeVersion parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoTypeVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StoredInfoTypeVersion parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoTypeVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoTypeVersion parseFrom(CodedInputStream input)
public static StoredInfoTypeVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StoredInfoTypeVersion parseFrom(InputStream input)
public static StoredInfoTypeVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StoredInfoTypeVersion parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StoredInfoTypeVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StoredInfoTypeVersion> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getConfig()
public StoredInfoTypeConfig getConfig()
StoredInfoType configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;
getConfigOrBuilder()
public StoredInfoTypeConfigOrBuilder getConfigOrBuilder()
StoredInfoType configuration.
.google.privacy.dlp.v2.StoredInfoTypeConfig config = 1;
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;
getDefaultInstanceForType()
public StoredInfoTypeVersion getDefaultInstanceForType()
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;
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
|
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()
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;
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;
getStatsOrBuilder()
public StoredInfoTypeStatsOrBuilder getStatsOrBuilder()
Statistics about this storedInfoType version.
.google.privacy.dlp.v2.StoredInfoTypeStats stats = 5;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StoredInfoTypeVersion.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StoredInfoTypeVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public StoredInfoTypeVersion.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides