Class SdpAdvancedConfig (0.1.0)

publicfinalclass SdpAdvancedConfigextendsGeneratedMessageV3implementsSdpAdvancedConfigOrBuilder

Sensitive Data Protection Advanced configuration.

Protobuf type google.cloud.modelarmor.v1.SdpAdvancedConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

DEIDENTIFY_TEMPLATE_FIELD_NUMBER

publicstaticfinalintDEIDENTIFY_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

INSPECT_TEMPLATE_FIELD_NUMBER

publicstaticfinalintINSPECT_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticSdpAdvancedConfiggetDefaultInstance()
Returns
Type Description
SdpAdvancedConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticSdpAdvancedConfig.BuildernewBuilder()
Returns
Type Description
SdpAdvancedConfig.Builder

newBuilder(SdpAdvancedConfig prototype)

publicstaticSdpAdvancedConfig.BuildernewBuilder(SdpAdvancedConfigprototype)
Parameter
Name Description
prototype SdpAdvancedConfig
Returns
Type Description
SdpAdvancedConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticSdpAdvancedConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSdpAdvancedConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticSdpAdvancedConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticSdpAdvancedConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticSdpAdvancedConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticSdpAdvancedConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticSdpAdvancedConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSdpAdvancedConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticSdpAdvancedConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSdpAdvancedConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticSdpAdvancedConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticSdpAdvancedConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<SdpAdvancedConfig>parser()
Returns
Type Description
Parser<SdpAdvancedConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicSdpAdvancedConfiggetDefaultInstanceForType()
Returns
Type Description
SdpAdvancedConfig

getDeidentifyTemplate()

publicStringgetDeidentifyTemplate()

Optional. Optional Sensitive Data Protection Deidentify template resource name.

If provided then DeidentifyContent action is performed during Sanitization using this template and inspect template. The De-identified data will be returned in SdpDeidentifyResult. Note that all info-types present in the deidentify template must be present in inspect template.

e.g. projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}

string deidentify_template = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The deidentifyTemplate.

getDeidentifyTemplateBytes()

publicByteStringgetDeidentifyTemplateBytes()

Optional. Optional Sensitive Data Protection Deidentify template resource name.

If provided then DeidentifyContent action is performed during Sanitization using this template and inspect template. The De-identified data will be returned in SdpDeidentifyResult. Note that all info-types present in the deidentify template must be present in inspect template.

e.g. projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}

string deidentify_template = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for deidentifyTemplate.

getInspectTemplate()

publicStringgetInspectTemplate()

Optional. Sensitive Data Protection inspect template resource name

If only inspect template is provided (de-identify template not provided), then Sensitive Data Protection InspectContent action is performed during Sanitization. All Sensitive Data Protection findings identified during inspection will be returned as SdpFinding in SdpInsepctionResult.

e.g. projects/{project}/locations/{location}/inspectTemplates/{inspect_template}

string inspect_template = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The inspectTemplate.

getInspectTemplateBytes()

publicByteStringgetInspectTemplateBytes()

Optional. Sensitive Data Protection inspect template resource name

If only inspect template is provided (de-identify template not provided), then Sensitive Data Protection InspectContent action is performed during Sanitization. All Sensitive Data Protection findings identified during inspection will be returned as SdpFinding in SdpInsepctionResult.

e.g. projects/{project}/locations/{location}/inspectTemplates/{inspect_template}

string inspect_template = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for inspectTemplate.

getParserForType()

publicParser<SdpAdvancedConfig>getParserForType()
Returns
Type Description
Parser<SdpAdvancedConfig>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicSdpAdvancedConfig.BuildernewBuilderForType()
Returns
Type Description
SdpAdvancedConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedSdpAdvancedConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SdpAdvancedConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicSdpAdvancedConfig.BuildertoBuilder()
Returns
Type Description
SdpAdvancedConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.