Class SdpAdvancedConfig (0.1.0)

public final class SdpAdvancedConfig extends GeneratedMessageV3 implements SdpAdvancedConfigOrBuilder

Sensitive Data Protection Advanced configuration.

Protobuf type google.cloud.modelarmor.v1.SdpAdvancedConfig

Static Fields

DEIDENTIFY_TEMPLATE_FIELD_NUMBER

public static final int DEIDENTIFY_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

INSPECT_TEMPLATE_FIELD_NUMBER

public static final int INSPECT_TEMPLATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SdpAdvancedConfig getDefaultInstance()
Returns
Type Description
SdpAdvancedConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SdpAdvancedConfig.Builder newBuilder()
Returns
Type Description
SdpAdvancedConfig.Builder

newBuilder(SdpAdvancedConfig prototype)

public static SdpAdvancedConfig.Builder newBuilder(SdpAdvancedConfig prototype)
Parameter
Name Description
prototype SdpAdvancedConfig
Returns
Type Description
SdpAdvancedConfig.Builder

parseDelimitedFrom(InputStream input)

public static SdpAdvancedConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SdpAdvancedConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SdpAdvancedConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SdpAdvancedConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SdpAdvancedConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SdpAdvancedConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SdpAdvancedConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SdpAdvancedConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SdpAdvancedConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SdpAdvancedConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SdpAdvancedConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SdpAdvancedConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SdpAdvancedConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SdpAdvancedConfig> parser()
Returns
Type Description
Parser<SdpAdvancedConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SdpAdvancedConfig getDefaultInstanceForType()
Returns
Type Description
SdpAdvancedConfig

getDeidentifyTemplate()

public String getDeidentifyTemplate()

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()

public ByteString getDeidentifyTemplateBytes()

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()

public String getInspectTemplate()

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()

public ByteString getInspectTemplateBytes()

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()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SdpAdvancedConfig.Builder newBuilderForType()
Returns
Type Description
SdpAdvancedConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SdpAdvancedConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SdpAdvancedConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SdpAdvancedConfig.Builder toBuilder()
Returns
Type Description
SdpAdvancedConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException