- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class InspectTemplate.Builder extends 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/sensitive-data-protection/docs/concepts-templates to learn more.
Protobuf type google.privacy.dlp.v2.InspectTemplate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InspectTemplate.BuilderImplements
InspectTemplateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InspectTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
build()
public InspectTemplate build()
Returns | |
---|---|
Type | Description |
InspectTemplate |
buildPartial()
public InspectTemplate buildPartial()
Returns | |
---|---|
Type | Description |
InspectTemplate |
clear()
public InspectTemplate.Builder clear()
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
clearCreateTime()
public InspectTemplate.Builder clearCreateTime()
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
clearDescription()
public InspectTemplate.Builder clearDescription()
Short description (max 256 chars).
string description = 3;
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder | This builder for chaining. |
clearDisplayName()
public InspectTemplate.Builder clearDisplayName()
Display name (max 256 chars).
string display_name = 2;
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InspectTemplate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
clearInspectConfig()
public InspectTemplate.Builder clearInspectConfig()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
clearName()
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];
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InspectTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
clearUpdateTime()
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];
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
clone()
public InspectTemplate.Builder clone()
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public InspectTemplate getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InspectTemplate |
getDescription()
public String getDescription()
Short description (max 256 chars).
string description = 3;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Short description (max 256 chars).
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Display name (max 256 chars).
string display_name = 2;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Display name (max 256 chars).
string display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getInspectConfig()
public InspectConfig getInspectConfig()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;
Returns | |
---|---|
Type | Description |
InspectConfig | The inspectConfig. |
getInspectConfigBuilder()
public InspectConfig.Builder getInspectConfigBuilder()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
getInspectConfigOrBuilder()
public InspectConfigOrBuilder getInspectConfigOrBuilder()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;
Returns | |
---|---|
Type | Description |
InspectConfigOrBuilder |
getName()
public 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];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasInspectConfig()
public boolean hasInspectConfig()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the inspectConfig field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public InspectTemplate.Builder mergeCreateTime(Timestamp value)
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
mergeFrom(InspectTemplate other)
public InspectTemplate.Builder mergeFrom(InspectTemplate other)
Parameter | |
---|---|
Name | Description |
other | InspectTemplate |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InspectTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InspectTemplate.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
mergeInspectConfig(InspectConfig value)
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;
Parameter | |
---|---|
Name | Description |
value | InspectConfig |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InspectTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
mergeUpdateTime(Timestamp value)
public InspectTemplate.Builder mergeUpdateTime(Timestamp value)
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
setCreateTime(Timestamp value)
public InspectTemplate.Builder setCreateTime(Timestamp value)
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public InspectTemplate.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
setDescription(String value)
public InspectTemplate.Builder setDescription(String value)
Short description (max 256 chars).
string description = 3;
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public InspectTemplate.Builder setDescriptionBytes(ByteString value)
Short description (max 256 chars).
string description = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder | This builder for chaining. |
setDisplayName(String value)
public InspectTemplate.Builder setDisplayName(String value)
Display name (max 256 chars).
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public InspectTemplate.Builder setDisplayNameBytes(ByteString value)
Display name (max 256 chars).
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InspectTemplate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
setInspectConfig(InspectConfig value)
public InspectTemplate.Builder setInspectConfig(InspectConfig value)
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;
Parameter | |
---|---|
Name | Description |
value | InspectConfig |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
setInspectConfig(InspectConfig.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | InspectConfig.Builder |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
setName(String value)
public 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];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public InspectTemplate.Builder setNameBytes(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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InspectTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InspectTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
setUpdateTime(Timestamp value)
public InspectTemplate.Builder setUpdateTime(Timestamp value)
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public InspectTemplate.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
InspectTemplate.Builder |