Class SdpDeidentifyResult (0.1.0)

public final class SdpDeidentifyResult extends GeneratedMessageV3 implements SdpDeidentifyResultOrBuilder

Sensitive Data Protection Deidentification Result.

Protobuf type google.cloud.modelarmor.v1.SdpDeidentifyResult

Static Fields

DATA_FIELD_NUMBER

public static final int DATA_FIELD_NUMBER
Field Value
Type Description
int

EXECUTION_STATE_FIELD_NUMBER

public static final int EXECUTION_STATE_FIELD_NUMBER
Field Value
Type Description
int

INFO_TYPES_FIELD_NUMBER

public static final int INFO_TYPES_FIELD_NUMBER
Field Value
Type Description
int

MATCH_STATE_FIELD_NUMBER

public static final int MATCH_STATE_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_ITEMS_FIELD_NUMBER

public static final int MESSAGE_ITEMS_FIELD_NUMBER
Field Value
Type Description
int

TRANSFORMED_BYTES_FIELD_NUMBER

public static final int TRANSFORMED_BYTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SdpDeidentifyResult getDefaultInstance()
Returns
Type Description
SdpDeidentifyResult

getDescriptor()

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

newBuilder()

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

newBuilder(SdpDeidentifyResult prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getData()

public DataItem getData()

De-identified data.

.google.cloud.modelarmor.v1.DataItem data = 4;

Returns
Type Description
DataItem

The data.

getDataOrBuilder()

public DataItemOrBuilder getDataOrBuilder()

De-identified data.

.google.cloud.modelarmor.v1.DataItem data = 4;

Returns
Type Description
DataItemOrBuilder

getDefaultInstanceForType()

public SdpDeidentifyResult getDefaultInstanceForType()
Returns
Type Description
SdpDeidentifyResult

getExecutionState()

public FilterExecutionState getExecutionState()

Output only. Reports whether Sensitive Data Protection deidentification was successfully executed or not.

.google.cloud.modelarmor.v1.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FilterExecutionState

The executionState.

getExecutionStateValue()

public int getExecutionStateValue()

Output only. Reports whether Sensitive Data Protection deidentification was successfully executed or not.

.google.cloud.modelarmor.v1.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for executionState.

getInfoTypes(int index)

public String getInfoTypes(int index)

List of Sensitive Data Protection info-types that were de-identified.

repeated string info_types = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The infoTypes at the given index.

getInfoTypesBytes(int index)

public ByteString getInfoTypesBytes(int index)

List of Sensitive Data Protection info-types that were de-identified.

repeated string info_types = 6;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the infoTypes at the given index.

getInfoTypesCount()

public int getInfoTypesCount()

List of Sensitive Data Protection info-types that were de-identified.

repeated string info_types = 6;

Returns
Type Description
int

The count of infoTypes.

getInfoTypesList()

public ProtocolStringList getInfoTypesList()

List of Sensitive Data Protection info-types that were de-identified.

repeated string info_types = 6;

Returns
Type Description
ProtocolStringList

A list containing the infoTypes.

getMatchState()

public FilterMatchState getMatchState()

Output only. Match state for Sensitive Data Protection Deidentification. Value is MATCH_FOUND if content is de-identified.

.google.cloud.modelarmor.v1.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FilterMatchState

The matchState.

getMatchStateValue()

public int getMatchStateValue()

Output only. Match state for Sensitive Data Protection Deidentification. Value is MATCH_FOUND if content is de-identified.

.google.cloud.modelarmor.v1.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for matchState.

getMessageItems(int index)

public MessageItem getMessageItems(int index)

Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.

repeated .google.cloud.modelarmor.v1.MessageItem message_items = 2;

Parameter
Name Description
index int
Returns
Type Description
MessageItem

getMessageItemsCount()

public int getMessageItemsCount()

Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.

repeated .google.cloud.modelarmor.v1.MessageItem message_items = 2;

Returns
Type Description
int

getMessageItemsList()

public List<MessageItem> getMessageItemsList()

Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.

repeated .google.cloud.modelarmor.v1.MessageItem message_items = 2;

Returns
Type Description
List<MessageItem>

getMessageItemsOrBuilder(int index)

public MessageItemOrBuilder getMessageItemsOrBuilder(int index)

Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.

repeated .google.cloud.modelarmor.v1.MessageItem message_items = 2;

Parameter
Name Description
index int
Returns
Type Description
MessageItemOrBuilder

getMessageItemsOrBuilderList()

public List<? extends MessageItemOrBuilder> getMessageItemsOrBuilderList()

Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.

repeated .google.cloud.modelarmor.v1.MessageItem message_items = 2;

Returns
Type Description
List<? extends com.google.cloud.modelarmor.v1.MessageItemOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTransformedBytes()

public long getTransformedBytes()

Total size in bytes that were transformed during deidentification.

int64 transformed_bytes = 5;

Returns
Type Description
long

The transformedBytes.

hasData()

public boolean hasData()

De-identified data.

.google.cloud.modelarmor.v1.DataItem data = 4;

Returns
Type Description
boolean

Whether the data field is set.

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 SdpDeidentifyResult.Builder newBuilderForType()
Returns
Type Description
SdpDeidentifyResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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