public static final class InspectTemplate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InspectTemplate.Builder> implements InspectTemplateOrBuilder
The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to learn more.Protobuf type
google.privacy.dlp.v2.InspectTemplate| Modifier and Type | Method and Description |
|---|---|
InspectTemplate.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InspectTemplate |
build() |
InspectTemplate |
buildPartial() |
InspectTemplate.Builder |
clear() |
InspectTemplate.Builder |
clearCreateTime()
Output only.
|
InspectTemplate.Builder |
clearDescription()
Short description (max 256 chars).
|
InspectTemplate.Builder |
clearDisplayName()
Display name (max 256 chars).
|
InspectTemplate.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InspectTemplate.Builder |
clearInspectConfig()
The core content of the template.
|
InspectTemplate.Builder |
clearName()
Output only.
|
InspectTemplate.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InspectTemplate.Builder |
clearUpdateTime()
Output only.
|
InspectTemplate.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
InspectTemplate |
getDefaultInstanceForType() |
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).
|
InspectConfig |
getInspectConfig()
The core content of the template.
|
InspectConfig.Builder |
getInspectConfigBuilder()
The core content of the template.
|
InspectConfigOrBuilder |
getInspectConfigOrBuilder()
The core content of the template.
|
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 |
hasInspectConfig()
The core content of the template.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InspectTemplate.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
InspectTemplate.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InspectTemplate.Builder |
mergeFrom(InspectTemplate other) |
InspectTemplate.Builder |
mergeFrom(com.google.protobuf.Message other) |
InspectTemplate.Builder |
mergeInspectConfig(InspectConfig value)
The core content of the template.
|
InspectTemplate.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InspectTemplate.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
InspectTemplate.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
InspectTemplate.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
InspectTemplate.Builder |
setDescription(String value)
Short description (max 256 chars).
|
InspectTemplate.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Short description (max 256 chars).
|
InspectTemplate.Builder |
setDisplayName(String value)
Display name (max 256 chars).
|
InspectTemplate.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name (max 256 chars).
|
InspectTemplate.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InspectTemplate.Builder |
setInspectConfig(InspectConfig.Builder builderForValue)
The core content of the template.
|
InspectTemplate.Builder |
setInspectConfig(InspectConfig value)
The core content of the template.
|
InspectTemplate.Builder |
setName(String value)
Output only.
|
InspectTemplate.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
InspectTemplate.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InspectTemplate.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InspectTemplate.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
InspectTemplate.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<InspectTemplate.Builder>public InspectTemplate.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InspectTemplate.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<InspectTemplate.Builder>public InspectTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InspectTemplate build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InspectTemplate buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InspectTemplate.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InspectTemplate.Builder>public InspectTemplate.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<InspectTemplate.Builder>public InspectTemplate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InspectTemplate.Builder>public InspectTemplate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InspectTemplate.Builder>public InspectTemplate.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<InspectTemplate.Builder>public InspectTemplate.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<InspectTemplate.Builder>public InspectTemplate.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InspectTemplate.Builder>public InspectTemplate.Builder mergeFrom(InspectTemplate other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InspectTemplate.Builder>public InspectTemplate.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<InspectTemplate.Builder>IOExceptionpublic String getName()
Output only. The template name. The template will have one of the following formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface InspectTemplateOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The template name. The template will have one of the following formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface InspectTemplateOrBuilderpublic InspectTemplate.Builder setName(String value)
Output only. The template name. The template will have one of the following formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public InspectTemplate.Builder clearName()
Output only. The template name. The template will have one of the following formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`;
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public InspectTemplate.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The template name. The template will have one of the following formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/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 InspectTemplateOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Display name (max 256 chars).
string display_name = 2;getDisplayNameBytes in interface InspectTemplateOrBuilderpublic InspectTemplate.Builder setDisplayName(String value)
Display name (max 256 chars).
string display_name = 2;value - The displayName to set.public InspectTemplate.Builder clearDisplayName()
Display name (max 256 chars).
string display_name = 2;public InspectTemplate.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 InspectTemplateOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Short description (max 256 chars).
string description = 3;getDescriptionBytes in interface InspectTemplateOrBuilderpublic InspectTemplate.Builder setDescription(String value)
Short description (max 256 chars).
string description = 3;value - The description to set.public InspectTemplate.Builder clearDescription()
Short description (max 256 chars).
string description = 3;public InspectTemplate.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 InspectTemplateOrBuilderpublic 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 InspectTemplateOrBuilderpublic InspectTemplate.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 InspectTemplate.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 InspectTemplate.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 InspectTemplate.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 InspectTemplateOrBuilderpublic 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 InspectTemplateOrBuilderpublic 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 InspectTemplateOrBuilderpublic InspectTemplate.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 InspectTemplate.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 InspectTemplate.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 InspectTemplate.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 InspectTemplateOrBuilderpublic boolean hasInspectConfig()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;hasInspectConfig in interface InspectTemplateOrBuilderpublic InspectConfig getInspectConfig()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;getInspectConfig in interface InspectTemplateOrBuilderpublic InspectTemplate.Builder setInspectConfig(InspectConfig value)
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;public InspectTemplate.Builder setInspectConfig(InspectConfig.Builder builderForValue)
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;public InspectTemplate.Builder mergeInspectConfig(InspectConfig value)
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;public InspectTemplate.Builder clearInspectConfig()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;public InspectConfig.Builder getInspectConfigBuilder()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;public InspectConfigOrBuilder getInspectConfigOrBuilder()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;getInspectConfigOrBuilder in interface InspectTemplateOrBuilderpublic final InspectTemplate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InspectTemplate.Builder>public final InspectTemplate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InspectTemplate.Builder>Copyright © 2022 Google LLC. All rights reserved.