public interface PiAndJailbreakFilterResultOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getConfidenceLevel()
public abstract DetectionConfidenceLevel getConfidenceLevel()
Confidence level identified for Prompt injection and Jailbreak.
.google.cloud.modelarmor.v1.DetectionConfidenceLevel confidence_level = 5;
Returns | |
---|---|
Type | Description |
DetectionConfidenceLevel |
The confidenceLevel. |
getConfidenceLevelValue()
public abstract int getConfidenceLevelValue()
Confidence level identified for Prompt injection and Jailbreak.
.google.cloud.modelarmor.v1.DetectionConfidenceLevel confidence_level = 5;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for confidenceLevel. |
getExecutionState()
public abstract FilterExecutionState getExecutionState()
Output only. Reports whether Prompt injection and Jailbreak filter 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 Prompt injection and Jailbreak filter 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. |
getMatchState()
public abstract FilterMatchState getMatchState()
Output only. Match state for Prompt injection and Jailbreak.
.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 Prompt injection and Jailbreak.
.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)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MessageItem |
getMessageItemsCount()
public abstract 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.v1.MessageItem message_items = 2;
Returns | |
---|---|
Type | Description |
int |
getMessageItemsList()
public abstract 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.v1.MessageItem message_items = 2;
Returns | |
---|---|
Type | Description |
List<MessageItem> |
getMessageItemsOrBuilder(int index)
public abstract 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.v1.MessageItem message_items = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MessageItemOrBuilder |
getMessageItemsOrBuilderList()
public abstract 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.v1.MessageItem message_items = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.modelarmor.v1.MessageItemOrBuilder> |