public static interface SanitizationResult.SanitizationMetadataOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getErrorCode()
public abstract long getErrorCode()Error code if any.
int64 error_code = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The errorCode. |
getErrorMessage()
public abstract String getErrorMessage()Error message if any.
string error_message = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The errorMessage. |
getErrorMessageBytes()
public abstract ByteString getErrorMessageBytes()Error message if any.
string error_message = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for errorMessage. |
getFilterVersionConfig()
public abstract FilterVersionConfig getFilterVersionConfig()Output only. Provides details about the Filter Version configuration used to sanitize this request.
.google.cloud.modelarmor.v1.FilterVersionConfig filter_version_config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FilterVersionConfig |
The filterVersionConfig. |
getFilterVersionConfigOrBuilder()
public abstract FilterVersionConfigOrBuilder getFilterVersionConfigOrBuilder()Output only. Provides details about the Filter Version configuration used to sanitize this request.
.google.cloud.modelarmor.v1.FilterVersionConfig filter_version_config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FilterVersionConfigOrBuilder |
|
getIgnorePartialInvocationFailures()
public abstract boolean getIgnorePartialInvocationFailures()Passthrough field defined in TemplateMetadata to indicate whether to ignore partial invocation failures.
bool ignore_partial_invocation_failures = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The ignorePartialInvocationFailures. |
getStreamChunkProcessed()
public abstract DataItem getStreamChunkProcessed()Output only. The stream chunk processed by the Sanitization service.
.google.cloud.modelarmor.v1.DataItem stream_chunk_processed = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataItem |
The streamChunkProcessed. |
getStreamChunkProcessedOrBuilder()
public abstract DataItemOrBuilder getStreamChunkProcessedOrBuilder()Output only. The stream chunk processed by the Sanitization service.
.google.cloud.modelarmor.v1.DataItem stream_chunk_processed = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataItemOrBuilder |
|
hasFilterVersionConfig()
public abstract boolean hasFilterVersionConfig()Output only. Provides details about the Filter Version configuration used to sanitize this request.
.google.cloud.modelarmor.v1.FilterVersionConfig filter_version_config = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the filterVersionConfig field is set. |
hasStreamChunkProcessed()
public abstract boolean hasStreamChunkProcessed()Output only. The stream chunk processed by the Sanitization service.
.google.cloud.modelarmor.v1.DataItem stream_chunk_processed = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the streamChunkProcessed field is set. |