public interface SdpRedactResultOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getExecutionState()
public abstract FilterExecutionState getExecutionState()Output only. Reports whether Sensitive Data Protection redaction 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 abstract int getExecutionStateValue()Output only. Reports whether Sensitive Data Protection redaction 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. |
getExtractedImageText()
public abstract String getExtractedImageText()The extracted text from the image.
string extracted_image_text = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The extractedImageText. |
getExtractedImageTextBytes()
public abstract ByteString getExtractedImageTextBytes()The extracted text from the image.
string extracted_image_text = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for extractedImageText. |
getFindings(int index)
public abstract SdpFinding getFindings(int index)Output only. The findings. This field is populated in the response only when include_findings in the SDP template is set to true.
repeated .google.cloud.modelarmor.v1.SdpFinding findings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SdpFinding |
|
getFindingsCount()
public abstract int getFindingsCount()Output only. The findings. This field is populated in the response only when include_findings in the SDP template is set to true.
repeated .google.cloud.modelarmor.v1.SdpFinding findings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getFindingsList()
public abstract List<SdpFinding> getFindingsList()Output only. The findings. This field is populated in the response only when include_findings in the SDP template is set to true.
repeated .google.cloud.modelarmor.v1.SdpFinding findings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<SdpFinding> |
|
getFindingsOrBuilder(int index)
public abstract SdpFindingOrBuilder getFindingsOrBuilder(int index)Output only. The findings. This field is populated in the response only when include_findings in the SDP template is set to true.
repeated .google.cloud.modelarmor.v1.SdpFinding findings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SdpFindingOrBuilder |
|
getFindingsOrBuilderList()
public abstract List<? extends SdpFindingOrBuilder> getFindingsOrBuilderList()Output only. The findings. This field is populated in the response only when include_findings in the SDP template is set to true.
repeated .google.cloud.modelarmor.v1.SdpFinding findings = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.modelarmor.v1.SdpFindingOrBuilder> |
|
getMatchState()
public abstract FilterMatchState getMatchState()Output only. Match state for Sensitive Data Protection Redaction. Value is MATCH_FOUND if content is redacted.
.google.cloud.modelarmor.v1.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FilterMatchState |
The matchState. |
getMatchStateValue()
public abstract int getMatchStateValue()Output only. Match state for Sensitive Data Protection Redaction. Value is MATCH_FOUND if content is redacted.
.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 abstract MessageItem getMessageItems(int index)Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MessageItem |
|
getMessageItemsCount()
public abstract int getMessageItemsCount()Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getMessageItemsList()
public abstract List<MessageItem> getMessageItemsList()Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<MessageItem> |
|
getMessageItemsOrBuilder(int index)
public abstract MessageItemOrBuilder getMessageItemsOrBuilder(int index)Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MessageItemOrBuilder |
|
getMessageItemsOrBuilderList()
public abstract List<? extends MessageItemOrBuilder> getMessageItemsOrBuilderList()Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.modelarmor.v1.MessageItemOrBuilder> |
|
getRedactedImage()
public abstract ByteString getRedactedImage()Output only. The redacted image. The type will be the same as the original image.
bytes redacted_image = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The redactedImage. |