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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 InspectTemplateOrBuilder
public 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 InspectTemplateOrBuilder
public java.lang.String getDisplayName()
Display name (max 256 chars).
string display_name = 2;
getDisplayName
in interface InspectTemplateOrBuilder
public ByteString getDisplayNameBytes()
Display name (max 256 chars).
string display_name = 2;
getDisplayNameBytes
in interface InspectTemplateOrBuilder
public java.lang.String getDescription()
Short description (max 256 chars).
string description = 3;
getDescription
in interface InspectTemplateOrBuilder
public ByteString getDescriptionBytes()
Short description (max 256 chars).
string description = 3;
getDescriptionBytes
in interface InspectTemplateOrBuilder
public boolean hasCreateTime()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;
hasCreateTime
in interface InspectTemplateOrBuilder
public Timestamp getCreateTime()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;
getCreateTime
in interface InspectTemplateOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
The creation timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp create_time = 4;
getCreateTimeOrBuilder
in interface InspectTemplateOrBuilder
public boolean hasUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;
hasUpdateTime
in interface InspectTemplateOrBuilder
public Timestamp getUpdateTime()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;
getUpdateTime
in interface InspectTemplateOrBuilder
public TimestampOrBuilder getUpdateTimeOrBuilder()
The last update timestamp of a inspectTemplate, output only field.
.google.protobuf.Timestamp update_time = 5;
getUpdateTimeOrBuilder
in interface InspectTemplateOrBuilder
public boolean hasInspectConfig()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;
hasInspectConfig
in interface InspectTemplateOrBuilder
public InspectConfig getInspectConfig()
The core content of the template. Configuration of the scanning process.
.google.privacy.dlp.v2.InspectConfig inspect_config = 6;
getInspectConfig
in interface InspectTemplateOrBuilder
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 InspectTemplateOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static InspectTemplate parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static InspectTemplate parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static InspectTemplate parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static InspectTemplate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static InspectTemplate parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static InspectTemplate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static InspectTemplate parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static InspectTemplate parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static InspectTemplate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static InspectTemplate parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static InspectTemplate parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static InspectTemplate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public InspectTemplate.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static InspectTemplate.Builder newBuilder()
public static InspectTemplate.Builder newBuilder(InspectTemplate prototype)
public InspectTemplate.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected InspectTemplate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static InspectTemplate getDefaultInstance()
public static Parser<InspectTemplate> parser()
public Parser<InspectTemplate> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public InspectTemplate getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder