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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 DeidentifyTemplateOrBuilder
public 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 DeidentifyTemplateOrBuilder
public java.lang.String getDisplayName()
Display name (max 256 chars).
string display_name = 2;
getDisplayName
in interface DeidentifyTemplateOrBuilder
public ByteString getDisplayNameBytes()
Display name (max 256 chars).
string display_name = 2;
getDisplayNameBytes
in interface DeidentifyTemplateOrBuilder
public java.lang.String getDescription()
Short description (max 256 chars).
string description = 3;
getDescription
in interface DeidentifyTemplateOrBuilder
public ByteString getDescriptionBytes()
Short description (max 256 chars).
string description = 3;
getDescriptionBytes
in interface DeidentifyTemplateOrBuilder
public boolean hasCreateTime()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;
hasCreateTime
in interface DeidentifyTemplateOrBuilder
public Timestamp getCreateTime()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;
getCreateTime
in interface DeidentifyTemplateOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;
getCreateTimeOrBuilder
in interface DeidentifyTemplateOrBuilder
public boolean hasUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;
hasUpdateTime
in interface DeidentifyTemplateOrBuilder
public Timestamp getUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;
getUpdateTime
in interface DeidentifyTemplateOrBuilder
public TimestampOrBuilder getUpdateTimeOrBuilder()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;
getUpdateTimeOrBuilder
in interface DeidentifyTemplateOrBuilder
public boolean hasDeidentifyConfig()
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;
hasDeidentifyConfig
in interface DeidentifyTemplateOrBuilder
public DeidentifyConfig getDeidentifyConfig()
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;
getDeidentifyConfig
in interface DeidentifyTemplateOrBuilder
public DeidentifyConfigOrBuilder getDeidentifyConfigOrBuilder()
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;
getDeidentifyConfigOrBuilder
in interface DeidentifyTemplateOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static DeidentifyTemplate parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DeidentifyTemplate parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DeidentifyTemplate parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DeidentifyTemplate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DeidentifyTemplate parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DeidentifyTemplate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static DeidentifyTemplate parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DeidentifyTemplate parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DeidentifyTemplate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static DeidentifyTemplate parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static DeidentifyTemplate parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static DeidentifyTemplate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public DeidentifyTemplate.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static DeidentifyTemplate.Builder newBuilder()
public static DeidentifyTemplate.Builder newBuilder(DeidentifyTemplate prototype)
public DeidentifyTemplate.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected DeidentifyTemplate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static DeidentifyTemplate getDefaultInstance()
public static Parser<DeidentifyTemplate> parser()
public Parser<DeidentifyTemplate> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public DeidentifyTemplate getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder