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 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

      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.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

      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.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.