Package org.mlflow.api.proto
Interface Service.GatewayGuardrailOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.GatewayGuardrail,Service.GatewayGuardrail.Builder
- Enclosing class:
- Service
public static interface Service.GatewayGuardrailOrBuilder
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 (e.g.com.google.protobuf.ByteStringOptional gateway endpoint ID for the LLM used by the action (e.g.longoptional int64 created_at = 8;optional string created_by = 7;com.google.protobuf.ByteStringoptional string created_by = 7;optional string guardrail_id = 1;com.google.protobuf.ByteStringoptional string guardrail_id = 1;longoptional int64 last_updated_at = 10;optional string last_updated_by = 9;com.google.protobuf.ByteStringoptional string last_updated_by = 9;getName()optional string name = 2;com.google.protobuf.ByteStringoptional string name = 2;optional .mlflow.Scorer scorer = 3;optional .mlflow.Scorer scorer = 3;getStage()optional .mlflow.GuardrailStage stage = 4;booleanoptional .mlflow.GuardrailAction action = 5;booleanOptional gateway endpoint ID for the LLM used by the action (e.g.booleanoptional int64 created_at = 8;booleanoptional string created_by = 7;booleanoptional string guardrail_id = 1;booleanoptional int64 last_updated_at = 10;booleanoptional string last_updated_by = 9;booleanhasName()optional string name = 2;booleanoptional .mlflow.Scorer scorer = 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
-
hasGuardrailId
boolean hasGuardrailId()optional string guardrail_id = 1;- Returns:
- Whether the guardrailId field is set.
-
getGuardrailId
String getGuardrailId()optional string guardrail_id = 1;- Returns:
- The guardrailId.
-
getGuardrailIdBytes
com.google.protobuf.ByteString getGuardrailIdBytes()optional string guardrail_id = 1;- Returns:
- The bytes for guardrailId.
-
hasName
boolean hasName()optional string name = 2;- Returns:
- Whether the name field is set.
-
getName
String getName()optional string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()optional string name = 2;- Returns:
- The bytes for name.
-
hasScorer
boolean hasScorer()optional .mlflow.Scorer scorer = 3;- Returns:
- Whether the scorer field is set.
-
getScorer
Service.Scorer getScorer()optional .mlflow.Scorer scorer = 3;- Returns:
- The scorer.
-
getScorerOrBuilder
Service.ScorerOrBuilder getScorerOrBuilder()optional .mlflow.Scorer scorer = 3; -
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 (e.g. sanitization).
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 (e.g. sanitization).
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 (e.g. sanitization).
optional string action_endpoint_id = 6;- Returns:
- The bytes for actionEndpointId.
-
hasCreatedBy
boolean hasCreatedBy()optional string created_by = 7;- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
String getCreatedBy()optional string created_by = 7;- Returns:
- The createdBy.
-
getCreatedByBytes
com.google.protobuf.ByteString getCreatedByBytes()optional string created_by = 7;- Returns:
- The bytes for createdBy.
-
hasCreatedAt
boolean hasCreatedAt()optional int64 created_at = 8;- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
long getCreatedAt()optional int64 created_at = 8;- Returns:
- The createdAt.
-
hasLastUpdatedBy
boolean hasLastUpdatedBy()optional string last_updated_by = 9;- Returns:
- Whether the lastUpdatedBy field is set.
-
getLastUpdatedBy
String getLastUpdatedBy()optional string last_updated_by = 9;- Returns:
- The lastUpdatedBy.
-
getLastUpdatedByBytes
com.google.protobuf.ByteString getLastUpdatedByBytes()optional string last_updated_by = 9;- Returns:
- The bytes for lastUpdatedBy.
-
hasLastUpdatedAt
boolean hasLastUpdatedAt()optional int64 last_updated_at = 10;- Returns:
- Whether the lastUpdatedAt field is set.
-
getLastUpdatedAt
long getLastUpdatedAt()optional int64 last_updated_at = 10;- Returns:
- The lastUpdatedAt.
-