// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface ModelVersionOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.ModelVersion)
com.google.protobuf.MessageOrBuilder {
/**
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* When the version was created.
*
*
* .google.protobuf.Timestamp created_at = 2;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
*
* When the version was created.
*
*
* .google.protobuf.Timestamp created_at = 2;
* @return The createdAt.
*/
com.google.protobuf.Timestamp getCreatedAt();
/**
*
* When the version was created.
*
*
* .google.protobuf.Timestamp created_at = 2;
*/
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
/**
*
* The status of the version (whether it's untrained, training, trained, etc.).
*
*
* .clarifai.api.status.Status status = 3;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
*
* The status of the version (whether it's untrained, training, trained, etc.).
*
*
* .clarifai.api.status.Status status = 3;
* @return The status.
*/
com.clarifai.grpc.api.status.Status getStatus();
/**
*
* The status of the version (whether it's untrained, training, trained, etc.).
*
*
* .clarifai.api.status.Status status = 3;
*/
com.clarifai.grpc.api.status.StatusOrBuilder getStatusOrBuilder();
/**
* uint32 active_concept_count = 4;
* @return The activeConceptCount.
*/
int getActiveConceptCount();
/**
* .clarifai.api.EvalMetrics metrics = 5;
* @return Whether the metrics field is set.
*/
boolean hasMetrics();
/**
* .clarifai.api.EvalMetrics metrics = 5;
* @return The metrics.
*/
com.clarifai.grpc.api.EvalMetrics getMetrics();
/**
* .clarifai.api.EvalMetrics metrics = 5;
*/
com.clarifai.grpc.api.EvalMetricsOrBuilder getMetricsOrBuilder();
/**
*
* number of inputs in the model version
*
*
* uint32 total_input_count = 6;
* @return The totalInputCount.
*/
int getTotalInputCount();
/**
* .clarifai.api.PretrainedModelConfig pretrained_model_config = 7;
* @return Whether the pretrainedModelConfig field is set.
*/
boolean hasPretrainedModelConfig();
/**
* .clarifai.api.PretrainedModelConfig pretrained_model_config = 7;
* @return The pretrainedModelConfig.
*/
com.clarifai.grpc.api.PretrainedModelConfig getPretrainedModelConfig();
/**
* .clarifai.api.PretrainedModelConfig pretrained_model_config = 7;
*/
com.clarifai.grpc.api.PretrainedModelConfigOrBuilder getPretrainedModelConfigOrBuilder();
/**
*
* When training of this version was completed.
*
*
* .google.protobuf.Timestamp completed_at = 10;
* @return Whether the completedAt field is set.
*/
boolean hasCompletedAt();
/**
*
* When training of this version was completed.
*
*
* .google.protobuf.Timestamp completed_at = 10;
* @return The completedAt.
*/
com.google.protobuf.Timestamp getCompletedAt();
/**
*
* When training of this version was completed.
*
*
* .google.protobuf.Timestamp completed_at = 10;
*/
com.google.protobuf.TimestampOrBuilder getCompletedAtOrBuilder();
/**
*
* Description about this version
*
*
* string description = 11;
* @return The description.
*/
java.lang.String getDescription();
/**
*
* Description about this version
*
*
* string description = 11;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* The visibility field represents whether this message is privately/publicly visible.
* To be visible to the public the App that contains it AND the User that contains the App must
* also be publicly visible.
*
*
* .clarifai.api.Visibility visibility = 12;
* @return Whether the visibility field is set.
*/
boolean hasVisibility();
/**
*
* The visibility field represents whether this message is privately/publicly visible.
* To be visible to the public the App that contains it AND the User that contains the App must
* also be publicly visible.
*
*
* .clarifai.api.Visibility visibility = 12;
* @return The visibility.
*/
com.clarifai.grpc.api.Visibility getVisibility();
/**
*
* The visibility field represents whether this message is privately/publicly visible.
* To be visible to the public the App that contains it AND the User that contains the App must
* also be publicly visible.
*
*
* .clarifai.api.Visibility visibility = 12;
*/
com.clarifai.grpc.api.VisibilityOrBuilder getVisibilityOrBuilder();
/**
*
* The app the model version belongs to.
*
*
* string app_id = 13;
* @return The appId.
*/
java.lang.String getAppId();
/**
*
* The app the model version belongs to.
*
*
* string app_id = 13;
* @return The bytes for appId.
*/
com.google.protobuf.ByteString
getAppIdBytes();
/**
*
* The user the model version belongs to.
*
*
* string user_id = 14;
* @return The userId.
*/
java.lang.String getUserId();
/**
*
* The user the model version belongs to.
*
*
* string user_id = 14;
* @return The bytes for userId.
*/
com.google.protobuf.ByteString
getUserIdBytes();
/**
*
* When this model version was last modified
*
*
* .google.protobuf.Timestamp modified_at = 15;
* @return Whether the modifiedAt field is set.
*/
boolean hasModifiedAt();
/**
*
* When this model version was last modified
*
*
* .google.protobuf.Timestamp modified_at = 15;
* @return The modifiedAt.
*/
com.google.protobuf.Timestamp getModifiedAt();
/**
*
* When this model version was last modified
*
*
* .google.protobuf.Timestamp modified_at = 15;
*/
com.google.protobuf.TimestampOrBuilder getModifiedAtOrBuilder();
/**
*
* To handle arbitrary json metadata you can use a struct field:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 16;
* @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
*
* To handle arbitrary json metadata you can use a struct field:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 16;
* @return The metadata.
*/
com.google.protobuf.Struct getMetadata();
/**
*
* To handle arbitrary json metadata you can use a struct field:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 16;
*/
com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
/**
* string license = 17;
* @return The license.
*/
java.lang.String getLicense();
/**
* string license = 17;
* @return The bytes for license.
*/
com.google.protobuf.ByteString
getLicenseBytes();
/**
*
* Info about the model's output. Besides `output_info.data`, these fields should
* be reserved for parameters that affect the models outputs when inferencing.
* `output_info.data` is used to specify the training concepts for this model version.
*
*
* .clarifai.api.OutputInfo output_info = 19;
* @return Whether the outputInfo field is set.
*/
boolean hasOutputInfo();
/**
*
* Info about the model's output. Besides `output_info.data`, these fields should
* be reserved for parameters that affect the models outputs when inferencing.
* `output_info.data` is used to specify the training concepts for this model version.
*
*
* .clarifai.api.OutputInfo output_info = 19;
* @return The outputInfo.
*/
com.clarifai.grpc.api.OutputInfo getOutputInfo();
/**
*
* Info about the model's output. Besides `output_info.data`, these fields should
* be reserved for parameters that affect the models outputs when inferencing.
* `output_info.data` is used to specify the training concepts for this model version.
*
*
* .clarifai.api.OutputInfo output_info = 19;
*/
com.clarifai.grpc.api.OutputInfoOrBuilder getOutputInfoOrBuilder();
/**
*
* Info about preprocessing the models inputs, before they are sent to this model for training or inferencing.
* E.g.: `input_info.base_embed_model` lets us know inputs should be ran through a base model before being sent to an embedding-classifier.
*
*
* .clarifai.api.InputInfo input_info = 20;
* @return Whether the inputInfo field is set.
*/
boolean hasInputInfo();
/**
*
* Info about preprocessing the models inputs, before they are sent to this model for training or inferencing.
* E.g.: `input_info.base_embed_model` lets us know inputs should be ran through a base model before being sent to an embedding-classifier.
*
*
* .clarifai.api.InputInfo input_info = 20;
* @return The inputInfo.
*/
com.clarifai.grpc.api.InputInfo getInputInfo();
/**
*
* Info about preprocessing the models inputs, before they are sent to this model for training or inferencing.
* E.g.: `input_info.base_embed_model` lets us know inputs should be ran through a base model before being sent to an embedding-classifier.
*
*
* .clarifai.api.InputInfo input_info = 20;
*/
com.clarifai.grpc.api.InputInfoOrBuilder getInputInfoOrBuilder();
/**
*
* Configuration for the training process of this model version.
*
*
* .clarifai.api.TrainInfo train_info = 21;
* @return Whether the trainInfo field is set.
*/
boolean hasTrainInfo();
/**
*
* Configuration for the training process of this model version.
*
*
* .clarifai.api.TrainInfo train_info = 21;
* @return The trainInfo.
*/
com.clarifai.grpc.api.TrainInfo getTrainInfo();
/**
*
* Configuration for the training process of this model version.
*
*
* .clarifai.api.TrainInfo train_info = 21;
*/
com.clarifai.grpc.api.TrainInfoOrBuilder getTrainInfoOrBuilder();
/**
*
* Configuration used to import model from third-party toolkits
*
*
* .clarifai.api.ImportInfo import_info = 22;
* @return Whether the importInfo field is set.
*/
boolean hasImportInfo();
/**
*
* Configuration used to import model from third-party toolkits
*
*
* .clarifai.api.ImportInfo import_info = 22;
* @return The importInfo.
*/
com.clarifai.grpc.api.ImportInfo getImportInfo();
/**
*
* Configuration used to import model from third-party toolkits
*
*
* .clarifai.api.ImportInfo import_info = 22;
*/
com.clarifai.grpc.api.ImportInfoOrBuilder getImportInfoOrBuilder();
/**
*
* Contains the training logs if available
*
*
* string train_log = 23;
* @return The trainLog.
*/
java.lang.String getTrainLog();
/**
*
* Contains the training logs if available
*
*
* string train_log = 23;
* @return The bytes for trainLog.
*/
com.google.protobuf.ByteString
getTrainLogBytes();
}