Package com.google.privacy.dlp.v2
Interface InspectTemplateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InspectTemplate
,InspectTemplate.Builder
public interface InspectTemplateOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDescription()
Short description (max 256 chars).com.google.protobuf.ByteString
getDescriptionBytes()
Short description (max 256 chars).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.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.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasInspectConfig()
The core content of the template.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
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];
- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
Display name (max 256 chars).
string display_name = 2;
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Display name (max 256 chars).
string display_name = 2;
- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()
Short description (max 256 chars).
string description = 3;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Short description (max 256 chars).
string description = 3;
- Returns:
- The bytes for description.
-
hasCreateTime
boolean hasCreateTime()
Output only. The creation timestamp of an inspectTemplate.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The last update timestamp of an inspectTemplate.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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];
-
hasInspectConfig
boolean hasInspectConfig()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;
- Returns:
- Whether the inspectConfig field is set.
-
getInspectConfig
InspectConfig getInspectConfig()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;
- Returns:
- The inspectConfig.
-
getInspectConfigOrBuilder
InspectConfigOrBuilder getInspectConfigOrBuilder()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;
-
-