// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: tracdap/api/metadata.proto
// Protobuf Java Version: 4.28.2
package org.finos.tracdap.api;
public interface MetadataWriteRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:tracdap.api.MetadataWriteRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* *
* Tenant code for the requested operation, always required.
*
*
* string tenant = 1;
* @return The tenant.
*/
java.lang.String getTenant();
/**
*
* *
* Tenant code for the requested operation, always required.
*
*
* string tenant = 1;
* @return The bytes for tenant.
*/
com.google.protobuf.ByteString
getTenantBytes();
/**
*
* *
* Object type for the requested operation, always required.
*
*
* .tracdap.metadata.ObjectType objectType = 2;
* @return The enum numeric value on the wire for objectType.
*/
int getObjectTypeValue();
/**
*
* *
* Object type for the requested operation, always required.
*
*
* .tracdap.metadata.ObjectType objectType = 2;
* @return The objectType.
*/
org.finos.tracdap.metadata.ObjectType getObjectType();
/**
*
* *
* Prior object/tag version to use for update operations.
*
* This field should be omitted when creating a new object.
*
*
* optional .tracdap.metadata.TagSelector priorVersion = 3;
* @return Whether the priorVersion field is set.
*/
boolean hasPriorVersion();
/**
*
* *
* Prior object/tag version to use for update operations.
*
* This field should be omitted when creating a new object.
*
*
* optional .tracdap.metadata.TagSelector priorVersion = 3;
* @return The priorVersion.
*/
org.finos.tracdap.metadata.TagSelector getPriorVersion();
/**
*
* *
* Prior object/tag version to use for update operations.
*
* This field should be omitted when creating a new object.
*
*
* optional .tracdap.metadata.TagSelector priorVersion = 3;
*/
org.finos.tracdap.metadata.TagSelectorOrBuilder getPriorVersionOrBuilder();
/**
*
* *
* New object definition to save.
*
* A definition is required to create or update an object, for tag updates
* the definition field should be left blank.
*
* This field should be omitted for tag update operations.
*
*
* optional .tracdap.metadata.ObjectDefinition definition = 4;
* @return Whether the definition field is set.
*/
boolean hasDefinition();
/**
*
* *
* New object definition to save.
*
* A definition is required to create or update an object, for tag updates
* the definition field should be left blank.
*
* This field should be omitted for tag update operations.
*
*
* optional .tracdap.metadata.ObjectDefinition definition = 4;
* @return The definition.
*/
org.finos.tracdap.metadata.ObjectDefinition getDefinition();
/**
*
* *
* New object definition to save.
*
* A definition is required to create or update an object, for tag updates
* the definition field should be left blank.
*
* This field should be omitted for tag update operations.
*
*
* optional .tracdap.metadata.ObjectDefinition definition = 4;
*/
org.finos.tracdap.metadata.ObjectDefinitionOrBuilder getDefinitionOrBuilder();
/**
*
* *
* Tag update operations to be applied.
*
* The updates are applied in order and must all succeeded in order for the
* request to be successful. If the API call fails for any reason, none of
* the requested tag updates will be applied.
*
*
* repeated .tracdap.metadata.TagUpdate tagUpdates = 5;
*/
java.util.List
getTagUpdatesList();
/**
*
* *
* Tag update operations to be applied.
*
* The updates are applied in order and must all succeeded in order for the
* request to be successful. If the API call fails for any reason, none of
* the requested tag updates will be applied.
*
*
* repeated .tracdap.metadata.TagUpdate tagUpdates = 5;
*/
org.finos.tracdap.metadata.TagUpdate getTagUpdates(int index);
/**
*
* *
* Tag update operations to be applied.
*
* The updates are applied in order and must all succeeded in order for the
* request to be successful. If the API call fails for any reason, none of
* the requested tag updates will be applied.
*
*
* repeated .tracdap.metadata.TagUpdate tagUpdates = 5;
*/
int getTagUpdatesCount();
/**
*
* *
* Tag update operations to be applied.
*
* The updates are applied in order and must all succeeded in order for the
* request to be successful. If the API call fails for any reason, none of
* the requested tag updates will be applied.
*
*
* repeated .tracdap.metadata.TagUpdate tagUpdates = 5;
*/
java.util.List extends org.finos.tracdap.metadata.TagUpdateOrBuilder>
getTagUpdatesOrBuilderList();
/**
*
* *
* Tag update operations to be applied.
*
* The updates are applied in order and must all succeeded in order for the
* request to be successful. If the API call fails for any reason, none of
* the requested tag updates will be applied.
*
*
* repeated .tracdap.metadata.TagUpdate tagUpdates = 5;
*/
org.finos.tracdap.metadata.TagUpdateOrBuilder getTagUpdatesOrBuilder(
int index);
}