public final class InspectTemplate extends GeneratedMessageV3 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.Protobuf type
google.privacy.dlp.v2.InspectTemplate| Modifier and Type | Class and Description |
|---|---|
static class |
InspectTemplate.Builder
The inspectTemplate contains a configuration (set of types of sensitive data
to be detected) to be used anywhere you otherwise would normally specify
InspectConfig.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
INSPECT_CONFIG_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Timestamp |
getCreateTime()
The creation timestamp of a inspectTemplate, output only field.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
The creation timestamp of a inspectTemplate, output only field.
|
static InspectTemplate |
getDefaultInstance() |
InspectTemplate |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
Short description (max 256 chars).
|
ByteString |
getDescriptionBytes()
Short description (max 256 chars).
|
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDisplayName()
Display name (max 256 chars).
|
ByteString |
getDisplayNameBytes()
Display name (max 256 chars).
|
InspectConfig |
getInspectConfig()
The core content of the template.
|
InspectConfigOrBuilder |
getInspectConfigOrBuilder()
The core content of the template.
|
java.lang.String |
getName()
The template name.
|
ByteString |
getNameBytes()
The template name.
|
Parser<InspectTemplate> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
Timestamp |
getUpdateTime()
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.
|
int |
hashCode() |
boolean |
hasInspectConfig()
The core content of the template.
|
boolean |
hasUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static InspectTemplate.Builder |
newBuilder() |
static InspectTemplate.Builder |
newBuilder(InspectTemplate prototype) |
InspectTemplate.Builder |
newBuilderForType() |
protected InspectTemplate.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static InspectTemplate |
parseDelimitedFrom(java.io.InputStream input) |
static InspectTemplate |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static InspectTemplate |
parseFrom(byte[] data) |
static InspectTemplate |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static InspectTemplate |
parseFrom(java.nio.ByteBuffer data) |
static InspectTemplate |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static InspectTemplate |
parseFrom(ByteString data) |
static InspectTemplate |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static InspectTemplate |
parseFrom(CodedInputStream input) |
static InspectTemplate |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static InspectTemplate |
parseFrom(java.io.InputStream input) |
static InspectTemplate |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<InspectTemplate> |
parser() |
InspectTemplate.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int INSPECT_CONFIG_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getName()
The template name. Output only. 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;getName in interface InspectTemplateOrBuilderpublic ByteString getNameBytes()
The template name. Output only. 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;getNameBytes in interface InspectTemplateOrBuilderpublic java.lang.String getDisplayName()
Display name (max 256 chars).
string display_name = 2;getDisplayName in interface InspectTemplateOrBuilderpublic ByteString getDisplayNameBytes()
Display name (max 256 chars).
string display_name = 2;getDisplayNameBytes in interface InspectTemplateOrBuilderpublic java.lang.String getDescription()
Short description (max 256 chars).
string description = 3;getDescription in interface InspectTemplateOrBuilderpublic ByteString getDescriptionBytes()
Short description (max 256 chars).
string description = 3;getDescriptionBytes in interface InspectTemplateOrBuilderpublic boolean hasCreateTime()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;hasCreateTime in interface InspectTemplateOrBuilderpublic Timestamp getCreateTime()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;getCreateTime in interface InspectTemplateOrBuilderpublic TimestampOrBuilder getCreateTimeOrBuilder()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;getCreateTimeOrBuilder in interface InspectTemplateOrBuilderpublic boolean hasUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;hasUpdateTime in interface InspectTemplateOrBuilderpublic Timestamp getUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;getUpdateTime in interface InspectTemplateOrBuilderpublic TimestampOrBuilder getUpdateTimeOrBuilder()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;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 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 boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static InspectTemplate parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectTemplate parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectTemplate parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectTemplate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectTemplate parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectTemplate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static InspectTemplate parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static InspectTemplate parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static InspectTemplate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static InspectTemplate parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static InspectTemplate parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static InspectTemplate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic InspectTemplate.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static InspectTemplate.Builder newBuilder()
public static InspectTemplate.Builder newBuilder(InspectTemplate prototype)
public InspectTemplate.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected InspectTemplate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static InspectTemplate getDefaultInstance()
public static Parser<InspectTemplate> parser()
public Parser<InspectTemplate> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public InspectTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder