Package org.mlflow.api.proto
Class Service.GatewayGuardrail
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.Service.GatewayGuardrail
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Service.GatewayGuardrailOrBuilder
- Enclosing class:
- Service
public static final class Service.GatewayGuardrail
extends com.google.protobuf.GeneratedMessageV3
implements Service.GatewayGuardrailOrBuilder
Protobuf type
mlflow.GatewayGuardrail- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typemlflow.GatewayGuardrailNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<Service.GatewayGuardrail>Deprecated.static final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanoptional .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;static Service.GatewayGuardrailstatic final com.google.protobuf.Descriptors.Descriptoroptional 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;com.google.protobuf.Parser<Service.GatewayGuardrail>optional .mlflow.Scorer scorer = 3;optional .mlflow.Scorer scorer = 3;intgetStage()optional .mlflow.GuardrailStage stage = 4;final com.google.protobuf.UnknownFieldSetbooleanoptional .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;inthashCode()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;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Service.GatewayGuardrail prototype) protected Service.GatewayGuardrail.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Service.GatewayGuardrailparseDelimitedFrom(InputStream input) static Service.GatewayGuardrailparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewayGuardrailparseFrom(byte[] data) static Service.GatewayGuardrailparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewayGuardrailparseFrom(com.google.protobuf.ByteString data) static Service.GatewayGuardrailparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewayGuardrailparseFrom(com.google.protobuf.CodedInputStream input) static Service.GatewayGuardrailparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewayGuardrailparseFrom(InputStream input) static Service.GatewayGuardrailparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service.GatewayGuardrailparseFrom(ByteBuffer data) static Service.GatewayGuardrailparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Service.GatewayGuardrail>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
GUARDRAIL_ID_FIELD_NUMBER
public static final int GUARDRAIL_ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
SCORER_FIELD_NUMBER
public static final int SCORER_FIELD_NUMBER- See Also:
-
STAGE_FIELD_NUMBER
public static final int STAGE_FIELD_NUMBER- See Also:
-
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER- See Also:
-
ACTION_ENDPOINT_ID_FIELD_NUMBER
public static final int ACTION_ENDPOINT_ID_FIELD_NUMBER- See Also:
-
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER- See Also:
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER- See Also:
-
LAST_UPDATED_BY_FIELD_NUMBER
public static final int LAST_UPDATED_BY_FIELD_NUMBER- See Also:
-
LAST_UPDATED_AT_FIELD_NUMBER
public static final int LAST_UPDATED_AT_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasGuardrailId
public boolean hasGuardrailId()optional string guardrail_id = 1;- Specified by:
hasGuardrailIdin interfaceService.GatewayGuardrailOrBuilder- Returns:
- Whether the guardrailId field is set.
-
getGuardrailId
optional string guardrail_id = 1;- Specified by:
getGuardrailIdin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The guardrailId.
-
getGuardrailIdBytes
public com.google.protobuf.ByteString getGuardrailIdBytes()optional string guardrail_id = 1;- Specified by:
getGuardrailIdBytesin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The bytes for guardrailId.
-
hasName
public boolean hasName()optional string name = 2;- Specified by:
hasNamein interfaceService.GatewayGuardrailOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 2;- Specified by:
getNamein interfaceService.GatewayGuardrailOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2;- Specified by:
getNameBytesin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The bytes for name.
-
hasScorer
public boolean hasScorer()optional .mlflow.Scorer scorer = 3;- Specified by:
hasScorerin interfaceService.GatewayGuardrailOrBuilder- Returns:
- Whether the scorer field is set.
-
getScorer
optional .mlflow.Scorer scorer = 3;- Specified by:
getScorerin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The scorer.
-
getScorerOrBuilder
optional .mlflow.Scorer scorer = 3;- Specified by:
getScorerOrBuilderin interfaceService.GatewayGuardrailOrBuilder
-
hasStage
public boolean hasStage()optional .mlflow.GuardrailStage stage = 4;- Specified by:
hasStagein interfaceService.GatewayGuardrailOrBuilder- Returns:
- Whether the stage field is set.
-
getStage
optional .mlflow.GuardrailStage stage = 4;- Specified by:
getStagein interfaceService.GatewayGuardrailOrBuilder- Returns:
- The stage.
-
hasAction
public boolean hasAction()optional .mlflow.GuardrailAction action = 5;- Specified by:
hasActionin interfaceService.GatewayGuardrailOrBuilder- Returns:
- Whether the action field is set.
-
getAction
optional .mlflow.GuardrailAction action = 5;- Specified by:
getActionin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The action.
-
hasActionEndpointId
public boolean hasActionEndpointId()Optional gateway endpoint ID for the LLM used by the action (e.g. sanitization).
optional string action_endpoint_id = 6;- Specified by:
hasActionEndpointIdin interfaceService.GatewayGuardrailOrBuilder- Returns:
- Whether the actionEndpointId field is set.
-
getActionEndpointId
Optional gateway endpoint ID for the LLM used by the action (e.g. sanitization).
optional string action_endpoint_id = 6;- Specified by:
getActionEndpointIdin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The actionEndpointId.
-
getActionEndpointIdBytes
public 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;- Specified by:
getActionEndpointIdBytesin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The bytes for actionEndpointId.
-
hasCreatedBy
public boolean hasCreatedBy()optional string created_by = 7;- Specified by:
hasCreatedByin interfaceService.GatewayGuardrailOrBuilder- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
optional string created_by = 7;- Specified by:
getCreatedByin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The createdBy.
-
getCreatedByBytes
public com.google.protobuf.ByteString getCreatedByBytes()optional string created_by = 7;- Specified by:
getCreatedByBytesin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The bytes for createdBy.
-
hasCreatedAt
public boolean hasCreatedAt()optional int64 created_at = 8;- Specified by:
hasCreatedAtin interfaceService.GatewayGuardrailOrBuilder- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
public long getCreatedAt()optional int64 created_at = 8;- Specified by:
getCreatedAtin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The createdAt.
-
hasLastUpdatedBy
public boolean hasLastUpdatedBy()optional string last_updated_by = 9;- Specified by:
hasLastUpdatedByin interfaceService.GatewayGuardrailOrBuilder- Returns:
- Whether the lastUpdatedBy field is set.
-
getLastUpdatedBy
optional string last_updated_by = 9;- Specified by:
getLastUpdatedByin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The lastUpdatedBy.
-
getLastUpdatedByBytes
public com.google.protobuf.ByteString getLastUpdatedByBytes()optional string last_updated_by = 9;- Specified by:
getLastUpdatedByBytesin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The bytes for lastUpdatedBy.
-
hasLastUpdatedAt
public boolean hasLastUpdatedAt()optional int64 last_updated_at = 10;- Specified by:
hasLastUpdatedAtin interfaceService.GatewayGuardrailOrBuilder- Returns:
- Whether the lastUpdatedAt field is set.
-
getLastUpdatedAt
public long getLastUpdatedAt()optional int64 last_updated_at = 10;- Specified by:
getLastUpdatedAtin interfaceService.GatewayGuardrailOrBuilder- Returns:
- The lastUpdatedAt.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Service.GatewayGuardrail parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.GatewayGuardrail parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.GatewayGuardrail parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.GatewayGuardrail parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.GatewayGuardrail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.GatewayGuardrail parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Service.GatewayGuardrail parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Service.GatewayGuardrail parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Service.GatewayGuardrail parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Service.GatewayGuardrail parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Service.GatewayGuardrail.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-