Package org.mlflow.api.proto
Class ReviewQueues.UpdateReviewQueue
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.ReviewQueues.UpdateReviewQueue
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ReviewQueues.UpdateReviewQueueOrBuilder
- Enclosing class:
- ReviewQueues
public static final class ReviewQueues.UpdateReviewQueue
extends com.google.protobuf.GeneratedMessageV3
implements ReviewQueues.UpdateReviewQueueOrBuilder
Edit a CUSTOM queue's name, assigned users, attached schemas, and/or owner. `queue_type` is immutable and USER queues reject this RPC. Singular fields use proto2 presence (HasField); only the repeated sets need explicit `update_*` flags, since a repeated field can't tell "absent" from "empty" on the wire (when the flag is true the list, possibly empty, replaces the set). `name` renames the queue. `new_owner` reassigns ownership (`created_by`) and is MANAGE-gated — owners can't transfer their own queue — whereas an owning EDIT user may perform the other edits.Protobuf type
mlflow.review_queues.UpdateReviewQueue- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEdit a CUSTOM queue's name, assigned users, attached schemas, and/or owner.static final classProtobuf typemlflow.review_queues.UpdateReviewQueue.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 com.google.protobuf.Parser<ReviewQueues.UpdateReviewQueue>Deprecated.static final intstatic final intstatic 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 TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorgetName()optional string name = 6;com.google.protobuf.ByteStringoptional string name = 6;optional string new_owner = 7;com.google.protobuf.ByteStringoptional string new_owner = 7;com.google.protobuf.Parser<ReviewQueues.UpdateReviewQueue>optional string queue_id = 1 [(.mlflow.validate_required) = true];com.google.protobuf.ByteStringoptional string queue_id = 1 [(.mlflow.validate_required) = true];getSchemaIds(int index) repeated string schema_ids = 5;com.google.protobuf.ByteStringgetSchemaIdsBytes(int index) repeated string schema_ids = 5;intrepeated string schema_ids = 5;com.google.protobuf.ProtocolStringListrepeated string schema_ids = 5;intfinal com.google.protobuf.UnknownFieldSetbooleanoptional bool update_schema_ids = 4;booleanoptional bool update_users = 2;getUsers(int index) repeated string users = 3;com.google.protobuf.ByteStringgetUsersBytes(int index) repeated string users = 3;intrepeated string users = 3;com.google.protobuf.ProtocolStringListrepeated string users = 3;inthashCode()booleanhasName()optional string name = 6;booleanoptional string new_owner = 7;booleanoptional string queue_id = 1 [(.mlflow.validate_required) = true];booleanoptional bool update_schema_ids = 4;booleanoptional bool update_users = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ReviewQueues.UpdateReviewQueue prototype) protected ReviewQueues.UpdateReviewQueue.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.UpdateReviewQueue>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
-
QUEUE_ID_FIELD_NUMBER
public static final int QUEUE_ID_FIELD_NUMBER- See Also:
-
UPDATE_USERS_FIELD_NUMBER
public static final int UPDATE_USERS_FIELD_NUMBER- See Also:
-
USERS_FIELD_NUMBER
public static final int USERS_FIELD_NUMBER- See Also:
-
UPDATE_SCHEMA_IDS_FIELD_NUMBER
public static final int UPDATE_SCHEMA_IDS_FIELD_NUMBER- See Also:
-
SCHEMA_IDS_FIELD_NUMBER
public static final int SCHEMA_IDS_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
NEW_OWNER_FIELD_NUMBER
public static final int NEW_OWNER_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
-
hasQueueId
public boolean hasQueueId()optional string queue_id = 1 [(.mlflow.validate_required) = true];- Specified by:
hasQueueIdin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- Whether the queueId field is set.
-
getQueueId
optional string queue_id = 1 [(.mlflow.validate_required) = true];- Specified by:
getQueueIdin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- The queueId.
-
getQueueIdBytes
public com.google.protobuf.ByteString getQueueIdBytes()optional string queue_id = 1 [(.mlflow.validate_required) = true];- Specified by:
getQueueIdBytesin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- The bytes for queueId.
-
hasUpdateUsers
public boolean hasUpdateUsers()optional bool update_users = 2;- Specified by:
hasUpdateUsersin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- Whether the updateUsers field is set.
-
getUpdateUsers
public boolean getUpdateUsers()optional bool update_users = 2;- Specified by:
getUpdateUsersin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- The updateUsers.
-
getUsersList
public com.google.protobuf.ProtocolStringList getUsersList()repeated string users = 3;- Specified by:
getUsersListin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- A list containing the users.
-
getUsersCount
public int getUsersCount()repeated string users = 3;- Specified by:
getUsersCountin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- The count of users.
-
getUsers
repeated string users = 3;- Specified by:
getUsersin interfaceReviewQueues.UpdateReviewQueueOrBuilder- 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 = 3;- Specified by:
getUsersBytesin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the users at the given index.
-
hasUpdateSchemaIds
public boolean hasUpdateSchemaIds()optional bool update_schema_ids = 4;- Specified by:
hasUpdateSchemaIdsin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- Whether the updateSchemaIds field is set.
-
getUpdateSchemaIds
public boolean getUpdateSchemaIds()optional bool update_schema_ids = 4;- Specified by:
getUpdateSchemaIdsin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- The updateSchemaIds.
-
getSchemaIdsList
public com.google.protobuf.ProtocolStringList getSchemaIdsList()repeated string schema_ids = 5;- Specified by:
getSchemaIdsListin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- A list containing the schemaIds.
-
getSchemaIdsCount
public int getSchemaIdsCount()repeated string schema_ids = 5;- Specified by:
getSchemaIdsCountin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- The count of schemaIds.
-
getSchemaIds
repeated string schema_ids = 5;- Specified by:
getSchemaIdsin interfaceReviewQueues.UpdateReviewQueueOrBuilder- 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 = 5;- Specified by:
getSchemaIdsBytesin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the schemaIds at the given index.
-
hasName
public boolean hasName()optional string name = 6;- Specified by:
hasNamein interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 6;- Specified by:
getNamein interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 6;- Specified by:
getNameBytesin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- The bytes for name.
-
hasNewOwner
public boolean hasNewOwner()optional string new_owner = 7;- Specified by:
hasNewOwnerin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- Whether the newOwner field is set.
-
getNewOwner
optional string new_owner = 7;- Specified by:
getNewOwnerin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- The newOwner.
-
getNewOwnerBytes
public com.google.protobuf.ByteString getNewOwnerBytes()optional string new_owner = 7;- Specified by:
getNewOwnerBytesin interfaceReviewQueues.UpdateReviewQueueOrBuilder- Returns:
- The bytes for newOwner.
-
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.UpdateReviewQueue parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReviewQueues.UpdateReviewQueue parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReviewQueues.UpdateReviewQueue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReviewQueues.UpdateReviewQueue 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.UpdateReviewQueue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReviewQueues.UpdateReviewQueue 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.UpdateReviewQueue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ReviewQueues.UpdateReviewQueue parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ReviewQueues.UpdateReviewQueue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ReviewQueues.UpdateReviewQueue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ReviewQueues.UpdateReviewQueue 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.UpdateReviewQueue.Builder newBuilder(ReviewQueues.UpdateReviewQueue prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReviewQueues.UpdateReviewQueue.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
-