public static final class DeidentifyTemplate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder> implements DeidentifyTemplateOrBuilder
DeidentifyTemplates contains instructions on how to de-identify content. See https://cloud.google.com/dlp/docs/concepts-templates to learn more.Protobuf type
google.privacy.dlp.v2.DeidentifyTemplate| Modifier and Type | Method and Description |
|---|---|
DeidentifyTemplate.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeidentifyTemplate |
build() |
DeidentifyTemplate |
buildPartial() |
DeidentifyTemplate.Builder |
clear() |
DeidentifyTemplate.Builder |
clearCreateTime()
Output only.
|
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(com.google.protobuf.Descriptors.FieldDescriptor field) |
DeidentifyTemplate.Builder |
clearName()
Output only.
|
DeidentifyTemplate.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DeidentifyTemplate.Builder |
clearUpdateTime()
Output only.
|
DeidentifyTemplate.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
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.
|
String |
getDescription()
Short description (max 256 chars).
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Short description (max 256 chars).
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Display name (max 256 chars).
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Display name (max 256 chars).
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeidentifyConfig()
The core content of the template.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DeidentifyTemplate.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
DeidentifyTemplate.Builder |
mergeDeidentifyConfig(DeidentifyConfig value)
The core content of the template.
|
DeidentifyTemplate.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DeidentifyTemplate.Builder |
mergeFrom(DeidentifyTemplate other) |
DeidentifyTemplate.Builder |
mergeFrom(com.google.protobuf.Message other) |
DeidentifyTemplate.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DeidentifyTemplate.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
DeidentifyTemplate.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
DeidentifyTemplate.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
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(String value)
Short description (max 256 chars).
|
DeidentifyTemplate.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Short description (max 256 chars).
|
DeidentifyTemplate.Builder |
setDisplayName(String value)
Display name (max 256 chars).
|
DeidentifyTemplate.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name (max 256 chars).
|
DeidentifyTemplate.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DeidentifyTemplate.Builder |
setName(String value)
Output only.
|
DeidentifyTemplate.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
DeidentifyTemplate.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DeidentifyTemplate.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DeidentifyTemplate.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
DeidentifyTemplate.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DeidentifyTemplate build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DeidentifyTemplate buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DeidentifyTemplate.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder mergeFrom(DeidentifyTemplate other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public DeidentifyTemplate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DeidentifyTemplate.Builder>IOExceptionpublic String getName()
Output only. The template name. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface DeidentifyTemplateOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The template name. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface DeidentifyTemplateOrBuilderpublic DeidentifyTemplate.Builder setName(String value)
Output only. The template name. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public DeidentifyTemplate.Builder clearName()
Output only. The template name. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];public DeidentifyTemplate.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The template name. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getDisplayName()
Display name (max 256 chars).
string display_name = 2;getDisplayName in interface DeidentifyTemplateOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Display name (max 256 chars).
string display_name = 2;getDisplayNameBytes in interface DeidentifyTemplateOrBuilderpublic DeidentifyTemplate.Builder setDisplayName(String value)
Display name (max 256 chars).
string display_name = 2;value - The displayName to set.public DeidentifyTemplate.Builder clearDisplayName()
Display name (max 256 chars).
string display_name = 2;public DeidentifyTemplate.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name (max 256 chars).
string display_name = 2;value - The bytes for displayName to set.public String getDescription()
Short description (max 256 chars).
string description = 3;getDescription in interface DeidentifyTemplateOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Short description (max 256 chars).
string description = 3;getDescriptionBytes in interface DeidentifyTemplateOrBuilderpublic DeidentifyTemplate.Builder setDescription(String value)
Short description (max 256 chars).
string description = 3;value - The description to set.public DeidentifyTemplate.Builder clearDescription()
Short description (max 256 chars).
string description = 3;public DeidentifyTemplate.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Short description (max 256 chars).
string description = 3;value - The bytes for description to set.public boolean hasCreateTime()
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface DeidentifyTemplateOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface DeidentifyTemplateOrBuilderpublic DeidentifyTemplate.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DeidentifyTemplate.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DeidentifyTemplate.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DeidentifyTemplate.Builder clearCreateTime()
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface DeidentifyTemplateOrBuilderpublic boolean hasUpdateTime()
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface DeidentifyTemplateOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface DeidentifyTemplateOrBuilderpublic DeidentifyTemplate.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DeidentifyTemplate.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DeidentifyTemplate.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DeidentifyTemplate.Builder clearUpdateTime()
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 DeidentifyTemplate.Builder setDeidentifyConfig(DeidentifyConfig value)
The core content of the template.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;public DeidentifyTemplate.Builder setDeidentifyConfig(DeidentifyConfig.Builder builderForValue)
The core content of the template.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;public DeidentifyTemplate.Builder mergeDeidentifyConfig(DeidentifyConfig value)
The core content of the template.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;public DeidentifyTemplate.Builder clearDeidentifyConfig()
The core content of the template.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;public DeidentifyConfig.Builder getDeidentifyConfigBuilder()
The core content of the template.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;public DeidentifyConfigOrBuilder getDeidentifyConfigOrBuilder()
The core content of the template.
.google.privacy.dlp.v2.DeidentifyConfig deidentify_config = 6;getDeidentifyConfigOrBuilder in interface DeidentifyTemplateOrBuilderpublic final DeidentifyTemplate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>public final DeidentifyTemplate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>Copyright © 2022 Google LLC. All rights reserved.