com.clarifai.grpc.api.DeploymentOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface DeploymentOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Deployment)
com.google.protobuf.MessageOrBuilder {
/**
*
* An id for this configured deployment.
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* An id for this configured deployment.
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* The user who owns the deployment. These live in the user/org account.
*
*
* string user_id = 2;
* @return The userId.
*/
java.lang.String getUserId();
/**
*
* The user who owns the deployment. These live in the user/org account.
*
*
* string user_id = 2;
* @return The bytes for userId.
*/
com.google.protobuf.ByteString
getUserIdBytes();
/**
*
* How to autoscale the object.
*
*
* .clarifai.api.AutoscaleConfig autoscale_config = 3;
* @return Whether the autoscaleConfig field is set.
*/
boolean hasAutoscaleConfig();
/**
*
* How to autoscale the object.
*
*
* .clarifai.api.AutoscaleConfig autoscale_config = 3;
* @return The autoscaleConfig.
*/
com.clarifai.grpc.api.AutoscaleConfig getAutoscaleConfig();
/**
*
* How to autoscale the object.
*
*
* .clarifai.api.AutoscaleConfig autoscale_config = 3;
*/
com.clarifai.grpc.api.AutoscaleConfigOrBuilder getAutoscaleConfigOrBuilder();
/**
*
* You can configure different autoscaling per nodepool(s).
* These nodepools have to be also owned by the same user_id/org as this deployment.
* If there is more than one nodepool we use the model's ComputeInfo to match
* with what the nodepool provides to decide which one can handle it combined with the
* NodepoolRank below. Note: even within a single nodepool if it is heterogeneous then
* we need a way to rank scheduling choices when we don't know how to decide (like a model
* supports
*
*
* repeated .clarifai.api.Nodepool nodepools = 4;
*/
java.util.List
getNodepoolsList();
/**
*
* You can configure different autoscaling per nodepool(s).
* These nodepools have to be also owned by the same user_id/org as this deployment.
* If there is more than one nodepool we use the model's ComputeInfo to match
* with what the nodepool provides to decide which one can handle it combined with the
* NodepoolRank below. Note: even within a single nodepool if it is heterogeneous then
* we need a way to rank scheduling choices when we don't know how to decide (like a model
* supports
*
*
* repeated .clarifai.api.Nodepool nodepools = 4;
*/
com.clarifai.grpc.api.Nodepool getNodepools(int index);
/**
*
* You can configure different autoscaling per nodepool(s).
* These nodepools have to be also owned by the same user_id/org as this deployment.
* If there is more than one nodepool we use the model's ComputeInfo to match
* with what the nodepool provides to decide which one can handle it combined with the
* NodepoolRank below. Note: even within a single nodepool if it is heterogeneous then
* we need a way to rank scheduling choices when we don't know how to decide (like a model
* supports
*
*
* repeated .clarifai.api.Nodepool nodepools = 4;
*/
int getNodepoolsCount();
/**
*
* You can configure different autoscaling per nodepool(s).
* These nodepools have to be also owned by the same user_id/org as this deployment.
* If there is more than one nodepool we use the model's ComputeInfo to match
* with what the nodepool provides to decide which one can handle it combined with the
* NodepoolRank below. Note: even within a single nodepool if it is heterogeneous then
* we need a way to rank scheduling choices when we don't know how to decide (like a model
* supports
*
*
* repeated .clarifai.api.Nodepool nodepools = 4;
*/
java.util.List extends com.clarifai.grpc.api.NodepoolOrBuilder>
getNodepoolsOrBuilderList();
/**
*
* You can configure different autoscaling per nodepool(s).
* These nodepools have to be also owned by the same user_id/org as this deployment.
* If there is more than one nodepool we use the model's ComputeInfo to match
* with what the nodepool provides to decide which one can handle it combined with the
* NodepoolRank below. Note: even within a single nodepool if it is heterogeneous then
* we need a way to rank scheduling choices when we don't know how to decide (like a model
* supports
*
*
* repeated .clarifai.api.Nodepool nodepools = 4;
*/
com.clarifai.grpc.api.NodepoolOrBuilder getNodepoolsOrBuilder(
int index);
/**
* .clarifai.api.Deployment.SchedulingChoice scheduling_choice = 7;
* @return The enum numeric value on the wire for schedulingChoice.
*/
int getSchedulingChoiceValue();
/**
* .clarifai.api.Deployment.SchedulingChoice scheduling_choice = 7;
* @return The schedulingChoice.
*/
com.clarifai.grpc.api.Deployment.SchedulingChoice getSchedulingChoice();
/**
*
* 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 = 8;
* @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 = 8;
* @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 = 8;
*/
com.clarifai.grpc.api.VisibilityOrBuilder getVisibilityOrBuilder();
/**
*
* To handle arbitrary json metadata:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 9;
* @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
*
* To handle arbitrary json metadata:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 9;
* @return The metadata.
*/
com.google.protobuf.Struct getMetadata();
/**
*
* To handle arbitrary json metadata:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 9;
*/
com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
/**
*
* Short description of deployment.
*
*
* string description = 10;
* @return The description.
*/
java.lang.String getDescription();
/**
*
* Short description of deployment.
*
*
* string description = 10;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* The thing that the autoscaling config applies to for this nodepool.
* For a given user_id, nodepool_id, and object ID we can only have one deployment as it defines
*
*
* .clarifai.api.Worker worker = 11;
* @return Whether the worker field is set.
*/
boolean hasWorker();
/**
*
* The thing that the autoscaling config applies to for this nodepool.
* For a given user_id, nodepool_id, and object ID we can only have one deployment as it defines
*
*
* .clarifai.api.Worker worker = 11;
* @return The worker.
*/
com.clarifai.grpc.api.Worker getWorker();
/**
*
* The thing that the autoscaling config applies to for this nodepool.
* For a given user_id, nodepool_id, and object ID we can only have one deployment as it defines
*
*
* .clarifai.api.Worker worker = 11;
*/
com.clarifai.grpc.api.WorkerOrBuilder getWorkerOrBuilder();
/**
*
* When the deployment was created.
*
*
* .google.protobuf.Timestamp created_at = 12;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
*
* When the deployment was created.
*
*
* .google.protobuf.Timestamp created_at = 12;
* @return The createdAt.
*/
com.google.protobuf.Timestamp getCreatedAt();
/**
*
* When the deployment was created.
*
*
* .google.protobuf.Timestamp created_at = 12;
*/
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
/**
*
* When the deployment was last modified.
*
*
* .google.protobuf.Timestamp modified_at = 13;
* @return Whether the modifiedAt field is set.
*/
boolean hasModifiedAt();
/**
*
* When the deployment was last modified.
*
*
* .google.protobuf.Timestamp modified_at = 13;
* @return The modifiedAt.
*/
com.google.protobuf.Timestamp getModifiedAt();
/**
*
* When the deployment was last modified.
*
*
* .google.protobuf.Timestamp modified_at = 13;
*/
com.google.protobuf.TimestampOrBuilder getModifiedAtOrBuilder();
}