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 Type
    Method
    Description
    optional .mlflow.GuardrailAction action = 5;
    Optional gateway endpoint ID for the LLM used by the action.
    com.google.protobuf.ByteString
    Optional gateway endpoint ID for the LLM used by the action.
    optional string name = 1;
    com.google.protobuf.ByteString
    optional string name = 1;
    optional string scorer_id = 2;
    com.google.protobuf.ByteString
    optional string scorer_id = 2;
    long
    optional int64 scorer_version = 3;
    optional .mlflow.GuardrailStage stage = 4;
    boolean
    optional .mlflow.GuardrailAction action = 5;
    boolean
    Optional gateway endpoint ID for the LLM used by the action.
    boolean
    optional string name = 1;
    boolean
    optional string scorer_id = 2;
    boolean
    optional int64 scorer_version = 3;
    boolean
    optional .mlflow.GuardrailStage stage = 4;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      optional .mlflow.GuardrailStage stage = 4;
      Returns:
      The stage.
    • hasAction

      boolean hasAction()
      optional .mlflow.GuardrailAction action = 5;
      Returns:
      Whether the action field is set.
    • 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.