public static final class DeidentifyTemplate.Builder extends GeneratedMessageV3.Builder<DeidentifyTemplate.Builder> implements DeidentifyTemplateOrBuilder
The DeidentifyTemplates contains instructions on how to deidentify content.Protobuf type
google.privacy.dlp.v2beta2.DeidentifyTemplate| Modifier and Type | Method and Description |
|---|---|
DeidentifyTemplate.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
DeidentifyTemplate |
build() |
DeidentifyTemplate |
buildPartial() |
DeidentifyTemplate.Builder |
clear() |
DeidentifyTemplate.Builder |
clearCreateTime()
The creation timestamp of a inspectTemplate, output only field.
|
DeidentifyTemplate.Builder |
clearDeidentifyConfig()
///////////// // The core content of the template // ///////////////
|
DeidentifyTemplate.Builder |
clearDescription()
Short description (max 256 chars).
|
DeidentifyTemplate.Builder |
clearDisplayName()
Display name (max 256 chars).
|
DeidentifyTemplate.Builder |
clearField(Descriptors.FieldDescriptor field) |
DeidentifyTemplate.Builder |
clearName()
The template name.
|
DeidentifyTemplate.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
DeidentifyTemplate.Builder |
clearUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
|
DeidentifyTemplate.Builder |
clone() |
Timestamp |
getCreateTime()
The creation timestamp of a inspectTemplate, output only field.
|
Timestamp.Builder |
getCreateTimeBuilder()
The creation timestamp of a inspectTemplate, output only field.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
The creation timestamp of a inspectTemplate, output only field.
|
DeidentifyTemplate |
getDefaultInstanceForType() |
DeidentifyConfig |
getDeidentifyConfig()
///////////// // The core content of the template // ///////////////
|
DeidentifyConfig.Builder |
getDeidentifyConfigBuilder()
///////////// // 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() |
Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Timestamp |
getUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
|
Timestamp.Builder |
getUpdateTimeBuilder()
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 // ///////////////
|
boolean |
hasUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DeidentifyTemplate.Builder |
mergeCreateTime(Timestamp value)
The creation timestamp of a inspectTemplate, output only field.
|
DeidentifyTemplate.Builder |
mergeDeidentifyConfig(DeidentifyConfig value)
///////////// // The core content of the template // ///////////////
|
DeidentifyTemplate.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
DeidentifyTemplate.Builder |
mergeFrom(DeidentifyTemplate other) |
DeidentifyTemplate.Builder |
mergeFrom(Message other) |
DeidentifyTemplate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
DeidentifyTemplate.Builder |
mergeUpdateTime(Timestamp value)
The last update timestamp of a inspectTemplate, output only field.
|
DeidentifyTemplate.Builder |
setCreateTime(Timestamp.Builder builderForValue)
The creation timestamp of a inspectTemplate, output only field.
|
DeidentifyTemplate.Builder |
setCreateTime(Timestamp value)
The creation timestamp of a inspectTemplate, output only field.
|
DeidentifyTemplate.Builder |
setDeidentifyConfig(DeidentifyConfig.Builder builderForValue)
///////////// // The core content of the template // ///////////////
|
DeidentifyTemplate.Builder |
setDeidentifyConfig(DeidentifyConfig value)
///////////// // The core content of the template // ///////////////
|
DeidentifyTemplate.Builder |
setDescription(java.lang.String value)
Short description (max 256 chars).
|
DeidentifyTemplate.Builder |
setDescriptionBytes(ByteString value)
Short description (max 256 chars).
|
DeidentifyTemplate.Builder |
setDisplayName(java.lang.String value)
Display name (max 256 chars).
|
DeidentifyTemplate.Builder |
setDisplayNameBytes(ByteString value)
Display name (max 256 chars).
|
DeidentifyTemplate.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
DeidentifyTemplate.Builder |
setName(java.lang.String value)
The template name.
|
DeidentifyTemplate.Builder |
setNameBytes(ByteString value)
The template name.
|
DeidentifyTemplate.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
DeidentifyTemplate.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
DeidentifyTemplate.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
The last update timestamp of a inspectTemplate, output only field.
|
DeidentifyTemplate.Builder |
setUpdateTime(Timestamp value)
The last update timestamp of a inspectTemplate, output only field.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic DeidentifyTemplate build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic DeidentifyTemplate buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic DeidentifyTemplate.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder mergeFrom(DeidentifyTemplate other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<DeidentifyTemplate.Builder>java.io.IOExceptionpublic 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 DeidentifyTemplate.Builder setName(java.lang.String value)
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;public DeidentifyTemplate.Builder clearName()
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;public DeidentifyTemplate.Builder setNameBytes(ByteString value)
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;public 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 DeidentifyTemplate.Builder setDisplayName(java.lang.String value)
Display name (max 256 chars).
string display_name = 2;public DeidentifyTemplate.Builder clearDisplayName()
Display name (max 256 chars).
string display_name = 2;public DeidentifyTemplate.Builder setDisplayNameBytes(ByteString value)
Display name (max 256 chars).
string display_name = 2;public 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 DeidentifyTemplate.Builder setDescription(java.lang.String value)
Short description (max 256 chars).
string description = 3;public DeidentifyTemplate.Builder clearDescription()
Short description (max 256 chars).
string description = 3;public DeidentifyTemplate.Builder setDescriptionBytes(ByteString value)
Short description (max 256 chars).
string description = 3;public 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 DeidentifyTemplate.Builder setCreateTime(Timestamp value)
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;public DeidentifyTemplate.Builder setCreateTime(Timestamp.Builder builderForValue)
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;public DeidentifyTemplate.Builder mergeCreateTime(Timestamp value)
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;public DeidentifyTemplate.Builder clearCreateTime()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;public Timestamp.Builder getCreateTimeBuilder()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;public 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 DeidentifyTemplate.Builder setUpdateTime(Timestamp value)
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;public DeidentifyTemplate.Builder setUpdateTime(Timestamp.Builder builderForValue)
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;public DeidentifyTemplate.Builder mergeUpdateTime(Timestamp value)
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;public DeidentifyTemplate.Builder clearUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;public Timestamp.Builder getUpdateTimeBuilder()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;public 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.v2beta2.DeidentifyConfig deidentify_config = 6;hasDeidentifyConfig in interface DeidentifyTemplateOrBuilderpublic DeidentifyConfig getDeidentifyConfig()
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2beta2.DeidentifyConfig deidentify_config = 6;getDeidentifyConfig in interface DeidentifyTemplateOrBuilderpublic DeidentifyTemplate.Builder setDeidentifyConfig(DeidentifyConfig value)
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2beta2.DeidentifyConfig deidentify_config = 6;public DeidentifyTemplate.Builder setDeidentifyConfig(DeidentifyConfig.Builder builderForValue)
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2beta2.DeidentifyConfig deidentify_config = 6;public DeidentifyTemplate.Builder mergeDeidentifyConfig(DeidentifyConfig value)
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2beta2.DeidentifyConfig deidentify_config = 6;public DeidentifyTemplate.Builder clearDeidentifyConfig()
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2beta2.DeidentifyConfig deidentify_config = 6;public DeidentifyConfig.Builder getDeidentifyConfigBuilder()
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2beta2.DeidentifyConfig deidentify_config = 6;public DeidentifyConfigOrBuilder getDeidentifyConfigOrBuilder()
///////////// // The core content of the template // ///////////////
.google.privacy.dlp.v2beta2.DeidentifyConfig deidentify_config = 6;getDeidentifyConfigOrBuilder in interface DeidentifyTemplateOrBuilderpublic final DeidentifyTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public final DeidentifyTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>