Package org.mlflow.api.proto
Class ReviewQueues.CreateReviewQueue
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.ReviewQueues.CreateReviewQueue
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ReviewQueues.CreateReviewQueueOrBuilder
- Enclosing class:
- ReviewQueues
public static final class ReviewQueues.CreateReviewQueue
extends com.google.protobuf.GeneratedMessageV3
implements ReviewQueues.CreateReviewQueueOrBuilder
Create a review queue. The server enforces the user-vs-custom invariants (a USER queue must have exactly one user equal to its name and no schemas; a CUSTOM queue may not use the reserved name `default`). Collisions on `(experiment_id, name)` return RESOURCE_ALREADY_EXISTS.Protobuf type
mlflow.review_queues.CreateReviewQueue- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCreate a review queue.static final classProtobuf typemlflow.review_queues.CreateReviewQueue.Responsestatic interfaceNested 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 com.google.protobuf.Parser<ReviewQueues.CreateReviewQueue>Deprecated.static final intstatic 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 string created_by = 4;com.google.protobuf.ByteStringoptional string created_by = 4;static final com.google.protobuf.Descriptors.Descriptoroptional string experiment_id = 1 [(.mlflow.validate_required) = true];com.google.protobuf.ByteStringoptional string experiment_id = 1 [(.mlflow.validate_required) = true];getName()optional string name = 2 [(.mlflow.validate_required) = true];com.google.protobuf.ByteStringoptional string name = 2 [(.mlflow.validate_required) = true];com.google.protobuf.Parser<ReviewQueues.CreateReviewQueue>optional .mlflow.review_queues.ReviewQueueType queue_type = 3 [(.mlflow.validate_required) = true];getSchemaIds(int index) repeated string schema_ids = 6;com.google.protobuf.ByteStringgetSchemaIdsBytes(int index) repeated string schema_ids = 6;intrepeated string schema_ids = 6;com.google.protobuf.ProtocolStringListrepeated string schema_ids = 6;intfinal com.google.protobuf.UnknownFieldSetgetUsers(int index) repeated string users = 5;com.google.protobuf.ByteStringgetUsersBytes(int index) repeated string users = 5;intrepeated string users = 5;com.google.protobuf.ProtocolStringListrepeated string users = 5;booleanoptional string created_by = 4;booleanoptional string experiment_id = 1 [(.mlflow.validate_required) = true];inthashCode()booleanhasName()optional string name = 2 [(.mlflow.validate_required) = true];booleanoptional .mlflow.review_queues.ReviewQueueType queue_type = 3 [(.mlflow.validate_required) = true];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ReviewQueues.CreateReviewQueue prototype) protected ReviewQueues.CreateReviewQueue.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ReviewQueues.CreateReviewQueue>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
-
EXPERIMENT_ID_FIELD_NUMBER
public static final int EXPERIMENT_ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
QUEUE_TYPE_FIELD_NUMBER
public static final int QUEUE_TYPE_FIELD_NUMBER- See Also:
-
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER- See Also:
-
USERS_FIELD_NUMBER
public static final int USERS_FIELD_NUMBER- See Also:
-
SCHEMA_IDS_FIELD_NUMBER
public static final int SCHEMA_IDS_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
-
hasExperimentId
public boolean hasExperimentId()optional string experiment_id = 1 [(.mlflow.validate_required) = true];- Specified by:
hasExperimentIdin interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- Whether the experimentId field is set.
-
getExperimentId
optional string experiment_id = 1 [(.mlflow.validate_required) = true];- Specified by:
getExperimentIdin interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- The experimentId.
-
getExperimentIdBytes
public com.google.protobuf.ByteString getExperimentIdBytes()optional string experiment_id = 1 [(.mlflow.validate_required) = true];- Specified by:
getExperimentIdBytesin interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- The bytes for experimentId.
-
hasName
public boolean hasName()optional string name = 2 [(.mlflow.validate_required) = true];- Specified by:
hasNamein interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 2 [(.mlflow.validate_required) = true];- Specified by:
getNamein interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2 [(.mlflow.validate_required) = true];- Specified by:
getNameBytesin interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- The bytes for name.
-
hasQueueType
public boolean hasQueueType()optional .mlflow.review_queues.ReviewQueueType queue_type = 3 [(.mlflow.validate_required) = true];- Specified by:
hasQueueTypein interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- Whether the queueType field is set.
-
getQueueType
optional .mlflow.review_queues.ReviewQueueType queue_type = 3 [(.mlflow.validate_required) = true];- Specified by:
getQueueTypein interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- The queueType.
-
hasCreatedBy
public boolean hasCreatedBy()optional string created_by = 4;- Specified by:
hasCreatedByin interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
optional string created_by = 4;- Specified by:
getCreatedByin interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- The createdBy.
-
getCreatedByBytes
public com.google.protobuf.ByteString getCreatedByBytes()optional string created_by = 4;- Specified by:
getCreatedByBytesin interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- The bytes for createdBy.
-
getUsersList
public com.google.protobuf.ProtocolStringList getUsersList()repeated string users = 5;- Specified by:
getUsersListin interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- A list containing the users.
-
getUsersCount
public int getUsersCount()repeated string users = 5;- Specified by:
getUsersCountin interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- The count of users.
-
getUsers
repeated string users = 5;- Specified by:
getUsersin interfaceReviewQueues.CreateReviewQueueOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The users at the given index.
-
getUsersBytes
public com.google.protobuf.ByteString getUsersBytes(int index) repeated string users = 5;- Specified by:
getUsersBytesin interfaceReviewQueues.CreateReviewQueueOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the users at the given index.
-
getSchemaIdsList
public com.google.protobuf.ProtocolStringList getSchemaIdsList()repeated string schema_ids = 6;- Specified by:
getSchemaIdsListin interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- A list containing the schemaIds.
-
getSchemaIdsCount
public int getSchemaIdsCount()repeated string schema_ids = 6;- Specified by:
getSchemaIdsCountin interfaceReviewQueues.CreateReviewQueueOrBuilder- Returns:
- The count of schemaIds.
-
getSchemaIds
repeated string schema_ids = 6;- Specified by:
getSchemaIdsin interfaceReviewQueues.CreateReviewQueueOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The schemaIds at the given index.
-
getSchemaIdsBytes
public com.google.protobuf.ByteString getSchemaIdsBytes(int index) repeated string schema_ids = 6;- Specified by:
getSchemaIdsBytesin interfaceReviewQueues.CreateReviewQueueOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the schemaIds at the given index.
-
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 ReviewQueues.CreateReviewQueue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReviewQueues.CreateReviewQueue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReviewQueues.CreateReviewQueue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReviewQueues.CreateReviewQueue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReviewQueues.CreateReviewQueue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReviewQueues.CreateReviewQueue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ReviewQueues.CreateReviewQueue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ReviewQueues.CreateReviewQueue parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ReviewQueues.CreateReviewQueue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ReviewQueues.CreateReviewQueue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ReviewQueues.CreateReviewQueue 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
public static ReviewQueues.CreateReviewQueue.Builder newBuilder(ReviewQueues.CreateReviewQueue prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReviewQueues.CreateReviewQueue.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
-