Interface PiAndJailbreakFilterResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PiAndJailbreakFilterResult,PiAndJailbreakFilterResult.Builder
@Generated
public interface PiAndJailbreakFilterResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConfidence level identified for Prompt injection and Jailbreak.intConfidence level identified for Prompt injection and Jailbreak.Output only.intOutput only.Output only.intOutput only.getMessageItems(int index) Optional messages corresponding to the result.intOptional messages corresponding to the result.Optional messages corresponding to the result.getMessageItemsOrBuilder(int index) Optional messages corresponding to the result.List<? extends MessageItemOrBuilder>Optional messages corresponding to the result.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getExecutionStateValue
int getExecutionStateValue()Output only. Reports whether Prompt injection and Jailbreak filter was successfully executed or not.
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for executionState.
-
getExecutionState
FilterExecutionState getExecutionState()Output only. Reports whether Prompt injection and Jailbreak filter was successfully executed or not.
.google.cloud.modelarmor.v1beta.FilterExecutionState execution_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The executionState.
-
getMessageItemsList
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.v1beta.MessageItem message_items = 2; -
getMessageItems
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.v1beta.MessageItem message_items = 2; -
getMessageItemsCount
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.v1beta.MessageItem message_items = 2; -
getMessageItemsOrBuilderList
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.v1beta.MessageItem message_items = 2; -
getMessageItemsOrBuilder
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.v1beta.MessageItem message_items = 2; -
getMatchStateValue
int getMatchStateValue()Output only. Match state for Prompt injection and Jailbreak.
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for matchState.
-
getMatchState
FilterMatchState getMatchState()Output only. Match state for Prompt injection and Jailbreak.
.google.cloud.modelarmor.v1beta.FilterMatchState match_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The matchState.
-
getConfidenceLevelValue
int getConfidenceLevelValue()Confidence level identified for Prompt injection and Jailbreak.
.google.cloud.modelarmor.v1beta.DetectionConfidenceLevel confidence_level = 5;- Returns:
- The enum numeric value on the wire for confidenceLevel.
-
getConfidenceLevel
DetectionConfidenceLevel getConfidenceLevel()Confidence level identified for Prompt injection and Jailbreak.
.google.cloud.modelarmor.v1beta.DetectionConfidenceLevel confidence_level = 5;- Returns:
- The confidenceLevel.
-