public final class DeidentifyTemplate extends GeneratedMessageV3 implements DeidentifyTemplateOrBuilder
The DeidentifyTemplates contains instructions on how to deidentify content.Protobuf type
google.privacy.dlp.v2.DeidentifyTemplate| Modifier and Type | Class and Description |
|---|---|
static class |
DeidentifyTemplate.Builder
The DeidentifyTemplates contains instructions on how to deidentify content.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DEIDENTIFY_CONFIG_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Timestamp |
getCreateTime()
The creation timestamp of a inspectTemplate, output only field.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
The creation timestamp of a inspectTemplate, output only field.
|
static DeidentifyTemplate |
getDefaultInstance() |
DeidentifyTemplate |
getDefaultInstanceForType() |
DeidentifyConfig |
getDeidentifyConfig()
///////////// // The core content of the template // ///////////////
|
DeidentifyConfigOrBuilder |
getDeidentifyConfigOrBuilder()
///////////// // The core content of the template // ///////////////
|
java.lang.String |
getDescription()
Short description (max 256 chars).
|
ByteString |
getDescriptionBytes()
Short description (max 256 chars).
|
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDisplayName()
Display name (max 256 chars).
|
ByteString |
getDisplayNameBytes()
Display name (max 256 chars).
|
java.lang.String |
getName()
The template name.
|
ByteString |
getNameBytes()
The template name.
|
Parser<DeidentifyTemplate> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
Timestamp |
getUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
The last update timestamp of a inspectTemplate, output only field.
|
boolean |
hasCreateTime()
The creation timestamp of a inspectTemplate, output only field.
|
boolean |
hasDeidentifyConfig()
///////////// // The core content of the template // ///////////////
|
int |
hashCode() |
boolean |
hasUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DeidentifyTemplate.Builder |
newBuilder() |
static DeidentifyTemplate.Builder |
newBuilder(DeidentifyTemplate prototype) |
DeidentifyTemplate.Builder |
newBuilderForType() |
protected DeidentifyTemplate.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static DeidentifyTemplate |
parseDelimitedFrom(java.io.InputStream input) |
static DeidentifyTemplate |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static DeidentifyTemplate |
parseFrom(byte[] data) |
static DeidentifyTemplate |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static DeidentifyTemplate |
parseFrom(java.nio.ByteBuffer data) |
static DeidentifyTemplate |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static DeidentifyTemplate |
parseFrom(ByteString data) |
static DeidentifyTemplate |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static DeidentifyTemplate |
parseFrom(CodedInputStream input) |
static DeidentifyTemplate |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static DeidentifyTemplate |
parseFrom(java.io.InputStream input) |
static DeidentifyTemplate |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<DeidentifyTemplate> |
parser() |
DeidentifyTemplate.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int DEIDENTIFY_CONFIG_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getName()
The template name. Output only. The template will have one of the following formats: `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
string name = 1;getName in interface DeidentifyTemplateOrBuilderpublic ByteString getNameBytes()
The template name. Output only. The template will have one of the following formats: `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID`
string name = 1;getNameBytes in interface DeidentifyTemplateOrBuilderpublic java.lang.String getDisplayName()
Display name (max 256 chars).
string display_name = 2;getDisplayName in interface DeidentifyTemplateOrBuilderpublic ByteString getDisplayNameBytes()
Display name (max 256 chars).
string display_name = 2;getDisplayNameBytes in interface DeidentifyTemplateOrBuilderpublic java.lang.String getDescription()
Short description (max 256 chars).
string description = 3;getDescription in interface DeidentifyTemplateOrBuilderpublic ByteString getDescriptionBytes()
Short description (max 256 chars).
string description = 3;getDescriptionBytes in interface DeidentifyTemplateOrBuilderpublic boolean hasCreateTime()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;hasCreateTime in interface DeidentifyTemplateOrBuilderpublic Timestamp getCreateTime()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;getCreateTime in interface DeidentifyTemplateOrBuilderpublic TimestampOrBuilder getCreateTimeOrBuilder()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;getCreateTimeOrBuilder in interface DeidentifyTemplateOrBuilderpublic boolean hasUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;hasUpdateTime in interface DeidentifyTemplateOrBuilderpublic Timestamp getUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;getUpdateTime in interface DeidentifyTemplateOrBuilderpublic TimestampOrBuilder getUpdateTimeOrBuilder()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;getUpdateTimeOrBuilder in interface DeidentifyTemplateOrBuilderpublic boolean hasDeidentifyConfig()
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;hasDeidentifyConfig in interface DeidentifyTemplateOrBuilderpublic DeidentifyConfig getDeidentifyConfig()
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;getDeidentifyConfig in interface DeidentifyTemplateOrBuilderpublic DeidentifyConfigOrBuilder getDeidentifyConfigOrBuilder()
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;getDeidentifyConfigOrBuilder in interface DeidentifyTemplateOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static DeidentifyTemplate parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DeidentifyTemplate parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DeidentifyTemplate parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DeidentifyTemplate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DeidentifyTemplate parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DeidentifyTemplate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static DeidentifyTemplate parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DeidentifyTemplate parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DeidentifyTemplate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DeidentifyTemplate parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DeidentifyTemplate parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DeidentifyTemplate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic DeidentifyTemplate.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static DeidentifyTemplate.Builder newBuilder()
public static DeidentifyTemplate.Builder newBuilder(DeidentifyTemplate prototype)
public DeidentifyTemplate.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected DeidentifyTemplate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static DeidentifyTemplate getDefaultInstance()
public static Parser<DeidentifyTemplate> parser()
public Parser<DeidentifyTemplate> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public DeidentifyTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder