public static final class SdpDeidentifyResult.Builder extends GeneratedMessageV3.Builder<SdpDeidentifyResult.Builder> implements SdpDeidentifyResultOrBuilder
Sensitive Data Protection Deidentification Result.
Protobuf type google.cloud.modelarmor.v1.SdpDeidentifyResult
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SdpDeidentifyResult.BuilderImplements
SdpDeidentifyResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllInfoTypes(Iterable<String> values)
public SdpDeidentifyResult.Builder addAllInfoTypes(Iterable<String> values)
List of Sensitive Data Protection info-types that were de-identified.
repeated string info_types = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The infoTypes to add. |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
This builder for chaining. |
addAllMessageItems(Iterable<? extends MessageItem> values)
public SdpDeidentifyResult.Builder addAllMessageItems(Iterable<? extends MessageItem> values)
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 |
values |
Iterable<? extends com.google.cloud.modelarmor.v1.MessageItem> |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
addInfoTypes(String value)
public SdpDeidentifyResult.Builder addInfoTypes(String value)
List of Sensitive Data Protection info-types that were de-identified.
repeated string info_types = 6;
Parameter | |
---|---|
Name | Description |
value |
String The infoTypes to add. |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
This builder for chaining. |
addInfoTypesBytes(ByteString value)
public SdpDeidentifyResult.Builder addInfoTypesBytes(ByteString value)
List of Sensitive Data Protection info-types that were de-identified.
repeated string info_types = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the infoTypes to add. |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
This builder for chaining. |
addMessageItems(MessageItem value)
public SdpDeidentifyResult.Builder addMessageItems(MessageItem value)
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 |
value |
MessageItem |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
addMessageItems(MessageItem.Builder builderForValue)
public SdpDeidentifyResult.Builder addMessageItems(MessageItem.Builder builderForValue)
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 |
builderForValue |
MessageItem.Builder |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
addMessageItems(int index, MessageItem value)
public SdpDeidentifyResult.Builder addMessageItems(int index, MessageItem value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
MessageItem |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
addMessageItems(int index, MessageItem.Builder builderForValue)
public SdpDeidentifyResult.Builder addMessageItems(int index, MessageItem.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
MessageItem.Builder |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
addMessageItemsBuilder()
public MessageItem.Builder addMessageItemsBuilder()
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 |
MessageItem.Builder |
addMessageItemsBuilder(int index)
public MessageItem.Builder addMessageItemsBuilder(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.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SdpDeidentifyResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
build()
public SdpDeidentifyResult build()
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult |
buildPartial()
public SdpDeidentifyResult buildPartial()
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult |
clear()
public SdpDeidentifyResult.Builder clear()
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
clearData()
public SdpDeidentifyResult.Builder clearData()
De-identified data.
.google.cloud.modelarmor.v1.DataItem data = 4;
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
clearExecutionState()
public SdpDeidentifyResult.Builder clearExecutionState()
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 |
SdpDeidentifyResult.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SdpDeidentifyResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
clearInfoTypes()
public SdpDeidentifyResult.Builder clearInfoTypes()
List of Sensitive Data Protection info-types that were de-identified.
repeated string info_types = 6;
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
This builder for chaining. |
clearMatchState()
public SdpDeidentifyResult.Builder clearMatchState()
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 |
SdpDeidentifyResult.Builder |
This builder for chaining. |
clearMessageItems()
public SdpDeidentifyResult.Builder clearMessageItems()
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 |
SdpDeidentifyResult.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SdpDeidentifyResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
clearTransformedBytes()
public SdpDeidentifyResult.Builder clearTransformedBytes()
Total size in bytes that were transformed during deidentification.
int64 transformed_bytes = 5;
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
This builder for chaining. |
clone()
public SdpDeidentifyResult.Builder clone()
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
getData()
public DataItem getData()
De-identified data.
.google.cloud.modelarmor.v1.DataItem data = 4;
Returns | |
---|---|
Type | Description |
DataItem |
The data. |
getDataBuilder()
public DataItem.Builder getDataBuilder()
De-identified data.
.google.cloud.modelarmor.v1.DataItem data = 4;
Returns | |
---|---|
Type | Description |
DataItem.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
getMessageItemsBuilder(int index)
public MessageItem.Builder getMessageItemsBuilder(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.Builder |
getMessageItemsBuilderList()
public List<MessageItem.Builder> getMessageItemsBuilderList()
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<Builder> |
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> |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeData(DataItem value)
public SdpDeidentifyResult.Builder mergeData(DataItem value)
De-identified data.
.google.cloud.modelarmor.v1.DataItem data = 4;
Parameter | |
---|---|
Name | Description |
value |
DataItem |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
mergeFrom(SdpDeidentifyResult other)
public SdpDeidentifyResult.Builder mergeFrom(SdpDeidentifyResult other)
Parameter | |
---|---|
Name | Description |
other |
SdpDeidentifyResult |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SdpDeidentifyResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SdpDeidentifyResult.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SdpDeidentifyResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
removeMessageItems(int index)
public SdpDeidentifyResult.Builder removeMessageItems(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 |
SdpDeidentifyResult.Builder |
setData(DataItem value)
public SdpDeidentifyResult.Builder setData(DataItem value)
De-identified data.
.google.cloud.modelarmor.v1.DataItem data = 4;
Parameter | |
---|---|
Name | Description |
value |
DataItem |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
setData(DataItem.Builder builderForValue)
public SdpDeidentifyResult.Builder setData(DataItem.Builder builderForValue)
De-identified data.
.google.cloud.modelarmor.v1.DataItem data = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
DataItem.Builder |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
setExecutionState(FilterExecutionState value)
public SdpDeidentifyResult.Builder setExecutionState(FilterExecutionState value)
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];
Parameter | |
---|---|
Name | Description |
value |
FilterExecutionState The executionState to set. |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
This builder for chaining. |
setExecutionStateValue(int value)
public SdpDeidentifyResult.Builder setExecutionStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for executionState to set. |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SdpDeidentifyResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
setInfoTypes(int index, String value)
public SdpDeidentifyResult.Builder setInfoTypes(int index, String value)
List of Sensitive Data Protection info-types that were de-identified.
repeated string info_types = 6;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The infoTypes to set. |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
This builder for chaining. |
setMatchState(FilterMatchState value)
public SdpDeidentifyResult.Builder setMatchState(FilterMatchState value)
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];
Parameter | |
---|---|
Name | Description |
value |
FilterMatchState The matchState to set. |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
This builder for chaining. |
setMatchStateValue(int value)
public SdpDeidentifyResult.Builder setMatchStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for matchState to set. |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
This builder for chaining. |
setMessageItems(int index, MessageItem value)
public SdpDeidentifyResult.Builder setMessageItems(int index, MessageItem value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
MessageItem |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
setMessageItems(int index, MessageItem.Builder builderForValue)
public SdpDeidentifyResult.Builder setMessageItems(int index, MessageItem.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
MessageItem.Builder |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SdpDeidentifyResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
setTransformedBytes(long value)
public SdpDeidentifyResult.Builder setTransformedBytes(long value)
Total size in bytes that were transformed during deidentification.
int64 transformed_bytes = 5;
Parameter | |
---|---|
Name | Description |
value |
long The transformedBytes to set. |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SdpDeidentifyResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SdpDeidentifyResult.Builder |