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.v2.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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>
public DeidentifyTemplate.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>
public DeidentifyTemplate getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public DeidentifyTemplate build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public DeidentifyTemplate buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public DeidentifyTemplate.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>
public DeidentifyTemplate.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>
public DeidentifyTemplate.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>
public DeidentifyTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>
public DeidentifyTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>
public DeidentifyTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>
public DeidentifyTemplate.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<DeidentifyTemplate.Builder>
public DeidentifyTemplate.Builder mergeFrom(DeidentifyTemplate other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>
public DeidentifyTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<DeidentifyTemplate.Builder>
java.io.IOException
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 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 DeidentifyTemplateOrBuilder
public ByteString getDisplayNameBytes()
Display name (max 256 chars).
string display_name = 2;
getDisplayNameBytes
in interface DeidentifyTemplateOrBuilder
public 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 DeidentifyTemplateOrBuilder
public ByteString getDescriptionBytes()
Short description (max 256 chars).
string description = 3;
getDescriptionBytes
in interface DeidentifyTemplateOrBuilder
public 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 DeidentifyTemplateOrBuilder
public Timestamp getCreateTime()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;
getCreateTime
in interface DeidentifyTemplateOrBuilder
public 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 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 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 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 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 DeidentifyTemplateOrBuilder
public final DeidentifyTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>
public final DeidentifyTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<DeidentifyTemplate.Builder>