Interface SanitizationResult.SanitizationMetadataOrBuilder (0.34.0)

public static interface SanitizationResult.SanitizationMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

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

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.