// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface AppDuplicationOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.AppDuplication)
com.google.protobuf.MessageOrBuilder {
/**
*
* The unique identifier of an app duplication job.
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* The unique identifier of an app duplication job.
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* The destination application where resources are written.
* If the destination does not exist, then the fields from the request are
* used to create the application. If a field is not set or not supported,
* then it will be copied from the source app, unless otherwise noted.
* Note: this field can be empty when reading app duplication jobs in cases
* where the app has been deleted or is just not visible to the caller.
* ########## Supported fields ##########
* - description
* - id - if not set, then generated automatically
* - user_id - if not set, then the calling user is used as the app owner
*
*
* .clarifai.api.App destination_app = 10;
* @return Whether the destinationApp field is set.
*/
boolean hasDestinationApp();
/**
*
* The destination application where resources are written.
* If the destination does not exist, then the fields from the request are
* used to create the application. If a field is not set or not supported,
* then it will be copied from the source app, unless otherwise noted.
* Note: this field can be empty when reading app duplication jobs in cases
* where the app has been deleted or is just not visible to the caller.
* ########## Supported fields ##########
* - description
* - id - if not set, then generated automatically
* - user_id - if not set, then the calling user is used as the app owner
*
*
* .clarifai.api.App destination_app = 10;
* @return The destinationApp.
*/
com.clarifai.grpc.api.App getDestinationApp();
/**
*
* The destination application where resources are written.
* If the destination does not exist, then the fields from the request are
* used to create the application. If a field is not set or not supported,
* then it will be copied from the source app, unless otherwise noted.
* Note: this field can be empty when reading app duplication jobs in cases
* where the app has been deleted or is just not visible to the caller.
* ########## Supported fields ##########
* - description
* - id - if not set, then generated automatically
* - user_id - if not set, then the calling user is used as the app owner
*
*
* .clarifai.api.App destination_app = 10;
*/
com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder();
/**
*
* The ID of an existing app you want to copy data into.
* If not provided, then we will create a new application as the destination instead.
* The various new_app_* fields can be used to set fields of this new application.
* Deprecated: Use destination_app.id with an existing ID instead.
*
*
* string existing_app_id = 8 [deprecated = true];
* @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated.
* See proto/clarifai/api/resources.proto;l=2880
* @return The existingAppId.
*/
@java.lang.Deprecated java.lang.String getExistingAppId();
/**
*
* The ID of an existing app you want to copy data into.
* If not provided, then we will create a new application as the destination instead.
* The various new_app_* fields can be used to set fields of this new application.
* Deprecated: Use destination_app.id with an existing ID instead.
*
*
* string existing_app_id = 8 [deprecated = true];
* @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated.
* See proto/clarifai/api/resources.proto;l=2880
* @return The bytes for existingAppId.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getExistingAppIdBytes();
/**
*
* The ID to use when creating a new application.
* You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
* If not provided, then it will be generated automatically.
* Deprecated: Use destination_app.id with a new ID instead.
*
*
* string new_app_id = 2 [deprecated = true];
* @deprecated clarifai.api.AppDuplication.new_app_id is deprecated.
* See proto/clarifai/api/resources.proto;l=2888
* @return The newAppId.
*/
@java.lang.Deprecated java.lang.String getNewAppId();
/**
*
* The ID to use when creating a new application.
* You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
* If not provided, then it will be generated automatically.
* Deprecated: Use destination_app.id with a new ID instead.
*
*
* string new_app_id = 2 [deprecated = true];
* @deprecated clarifai.api.AppDuplication.new_app_id is deprecated.
* See proto/clarifai/api/resources.proto;l=2888
* @return The bytes for newAppId.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getNewAppIdBytes();
/**
*
* The name to use when creating a new application.
* You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
* If not provided, then the ID of the new application is also used as the name.
* Deprecated: Application names are deprecated, use application IDs instead.
*
*
* string new_app_name = 3 [deprecated = true];
* @deprecated clarifai.api.AppDuplication.new_app_name is deprecated.
* See proto/clarifai/api/resources.proto;l=2896
* @return The newAppName.
*/
@java.lang.Deprecated java.lang.String getNewAppName();
/**
*
* The name to use when creating a new application.
* You cannot set this field when copying into an existing app, i.e., when existing_app_is is set.
* If not provided, then the ID of the new application is also used as the name.
* Deprecated: Application names are deprecated, use application IDs instead.
*
*
* string new_app_name = 3 [deprecated = true];
* @deprecated clarifai.api.AppDuplication.new_app_name is deprecated.
* See proto/clarifai/api/resources.proto;l=2896
* @return The bytes for newAppName.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getNewAppNameBytes();
/**
*
* The status of the app duplication job.
*
*
* .clarifai.api.status.Status status = 4;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
*
* The status of the app duplication job.
*
*
* .clarifai.api.status.Status status = 4;
* @return The status.
*/
com.clarifai.grpc.api.status.Status getStatus();
/**
*
* The status of the app duplication job.
*
*
* .clarifai.api.status.Status status = 4;
*/
com.clarifai.grpc.api.status.StatusOrBuilder getStatusOrBuilder();
/**
*
* The time when the app duplication job was created.
*
*
* .google.protobuf.Timestamp created_at = 5;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
*
* The time when the app duplication job was created.
*
*
* .google.protobuf.Timestamp created_at = 5;
* @return The createdAt.
*/
com.google.protobuf.Timestamp getCreatedAt();
/**
*
* The time when the app duplication job was created.
*
*
* .google.protobuf.Timestamp created_at = 5;
*/
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
/**
*
* The last time when the app duplication job status was updated.
*
*
* .google.protobuf.Timestamp last_modified_at = 6;
* @return Whether the lastModifiedAt field is set.
*/
boolean hasLastModifiedAt();
/**
*
* The last time when the app duplication job status was updated.
*
*
* .google.protobuf.Timestamp last_modified_at = 6;
* @return The lastModifiedAt.
*/
com.google.protobuf.Timestamp getLastModifiedAt();
/**
*
* The last time when the app duplication job status was updated.
*
*
* .google.protobuf.Timestamp last_modified_at = 6;
*/
com.google.protobuf.TimestampOrBuilder getLastModifiedAtOrBuilder();
/**
*
* The filter specifies which resources are copied by the app duplication job.
*
*
* .clarifai.api.AppDuplicationFilters filter = 7;
* @return Whether the filter field is set.
*/
boolean hasFilter();
/**
*
* The filter specifies which resources are copied by the app duplication job.
*
*
* .clarifai.api.AppDuplicationFilters filter = 7;
* @return The filter.
*/
com.clarifai.grpc.api.AppDuplicationFilters getFilter();
/**
*
* The filter specifies which resources are copied by the app duplication job.
*
*
* .clarifai.api.AppDuplicationFilters filter = 7;
*/
com.clarifai.grpc.api.AppDuplicationFiltersOrBuilder getFilterOrBuilder();
/**
*
* Copy progress for each resource type requested by the filter. Possible fields:
* - inputs
* - concepts
* - annotations
* - models
* - workflows
* - installed_module_versions
*
*
* repeated .clarifai.api.AppCopyProgress progress = 9;
*/
java.util.List
getProgressList();
/**
*
* Copy progress for each resource type requested by the filter. Possible fields:
* - inputs
* - concepts
* - annotations
* - models
* - workflows
* - installed_module_versions
*
*
* repeated .clarifai.api.AppCopyProgress progress = 9;
*/
com.clarifai.grpc.api.AppCopyProgress getProgress(int index);
/**
*
* Copy progress for each resource type requested by the filter. Possible fields:
* - inputs
* - concepts
* - annotations
* - models
* - workflows
* - installed_module_versions
*
*
* repeated .clarifai.api.AppCopyProgress progress = 9;
*/
int getProgressCount();
/**
*
* Copy progress for each resource type requested by the filter. Possible fields:
* - inputs
* - concepts
* - annotations
* - models
* - workflows
* - installed_module_versions
*
*
* repeated .clarifai.api.AppCopyProgress progress = 9;
*/
java.util.List extends com.clarifai.grpc.api.AppCopyProgressOrBuilder>
getProgressOrBuilderList();
/**
*
* Copy progress for each resource type requested by the filter. Possible fields:
* - inputs
* - concepts
* - annotations
* - models
* - workflows
* - installed_module_versions
*
*
* repeated .clarifai.api.AppCopyProgress progress = 9;
*/
com.clarifai.grpc.api.AppCopyProgressOrBuilder getProgressOrBuilder(
int index);
}