Package org.mlflow.api.proto
Interface Service.CreateGatewayGuardrailOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.CreateGatewayGuardrail,Service.CreateGatewayGuardrail.Builder
- Enclosing class:
- Service
public static interface Service.CreateGatewayGuardrailOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional .mlflow.GuardrailAction action = 5;Optional gateway endpoint ID for the LLM used by the action.com.google.protobuf.ByteStringOptional gateway endpoint ID for the LLM used by the action.getName()optional string name = 1;com.google.protobuf.ByteStringoptional string name = 1;optional string scorer_id = 2;com.google.protobuf.ByteStringoptional string scorer_id = 2;longoptional int64 scorer_version = 3;getStage()optional .mlflow.GuardrailStage stage = 4;booleanoptional .mlflow.GuardrailAction action = 5;booleanOptional gateway endpoint ID for the LLM used by the action.booleanhasName()optional string name = 1;booleanoptional string scorer_id = 2;booleanoptional int64 scorer_version = 3;booleanhasStage()optional .mlflow.GuardrailStage stage = 4;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
-
hasName
boolean hasName()optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()optional string name = 1;- Returns:
- The bytes for name.
-
hasScorerId
boolean hasScorerId()optional string scorer_id = 2;- Returns:
- Whether the scorerId field is set.
-
getScorerId
String getScorerId()optional string scorer_id = 2;- Returns:
- The scorerId.
-
getScorerIdBytes
com.google.protobuf.ByteString getScorerIdBytes()optional string scorer_id = 2;- Returns:
- The bytes for scorerId.
-
hasScorerVersion
boolean hasScorerVersion()optional int64 scorer_version = 3;- Returns:
- Whether the scorerVersion field is set.
-
getScorerVersion
long getScorerVersion()optional int64 scorer_version = 3;- Returns:
- The scorerVersion.
-
hasStage
boolean hasStage()optional .mlflow.GuardrailStage stage = 4;- Returns:
- Whether the stage field is set.
-
getStage
Service.GuardrailStage getStage()optional .mlflow.GuardrailStage stage = 4;- Returns:
- The stage.
-
hasAction
boolean hasAction()optional .mlflow.GuardrailAction action = 5;- Returns:
- Whether the action field is set.
-
getAction
Service.GuardrailAction getAction()optional .mlflow.GuardrailAction action = 5;- Returns:
- The action.
-
hasActionEndpointId
boolean hasActionEndpointId()Optional gateway endpoint ID for the LLM used by the action.
optional string action_endpoint_id = 6;- Returns:
- Whether the actionEndpointId field is set.
-
getActionEndpointId
String getActionEndpointId()Optional gateway endpoint ID for the LLM used by the action.
optional string action_endpoint_id = 6;- Returns:
- The actionEndpointId.
-
getActionEndpointIdBytes
com.google.protobuf.ByteString getActionEndpointIdBytes()Optional gateway endpoint ID for the LLM used by the action.
optional string action_endpoint_id = 6;- Returns:
- The bytes for actionEndpointId.
-