com.clarifai.grpc.api.NodepoolOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface NodepoolOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Nodepool)
com.google.protobuf.MessageOrBuilder {
/**
*
* The user defined ID of the nodepool.
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* The user defined ID of the nodepool.
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* The user/org that this nodepool belongs to.
*
*
* string user_id = 2;
* @return The userId.
*/
java.lang.String getUserId();
/**
*
* The user/org that this nodepool belongs to.
*
*
* string user_id = 2;
* @return The bytes for userId.
*/
com.google.protobuf.ByteString
getUserIdBytes();
/**
*
* Which cloud region this nodepool is within.
*
*
* .clarifai.api.CloudRegion cloud_region = 3;
* @return Whether the cloudRegion field is set.
*/
boolean hasCloudRegion();
/**
*
* Which cloud region this nodepool is within.
*
*
* .clarifai.api.CloudRegion cloud_region = 3;
* @return The cloudRegion.
*/
com.clarifai.grpc.api.CloudRegion getCloudRegion();
/**
*
* Which cloud region this nodepool is within.
*
*
* .clarifai.api.CloudRegion cloud_region = 3;
*/
com.clarifai.grpc.api.CloudRegionOrBuilder getCloudRegionOrBuilder();
/**
* repeated .clarifai.api.Nodepool.CapacityType capacity_types = 4;
* @return A list containing the capacityTypes.
*/
java.util.List getCapacityTypesList();
/**
* repeated .clarifai.api.Nodepool.CapacityType capacity_types = 4;
* @return The count of capacityTypes.
*/
int getCapacityTypesCount();
/**
* repeated .clarifai.api.Nodepool.CapacityType capacity_types = 4;
* @param index The index of the element to return.
* @return The capacityTypes at the given index.
*/
com.clarifai.grpc.api.Nodepool.CapacityType getCapacityTypes(int index);
/**
* repeated .clarifai.api.Nodepool.CapacityType capacity_types = 4;
* @return A list containing the enum numeric values on the wire for capacityTypes.
*/
java.util.List
getCapacityTypesValueList();
/**
* repeated .clarifai.api.Nodepool.CapacityType capacity_types = 4;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of capacityTypes at the given index.
*/
int getCapacityTypesValue(int index);
/**
*
*////////////////////////////////////
* The instance types that will be available in this pool of nodes.
* Clarifai offers multiple different choices that combine cpu cores, memory and accelerator.
*
*
* repeated string instance_types = 8;
* @return A list containing the instanceTypes.
*/
java.util.List
getInstanceTypesList();
/**
*
*////////////////////////////////////
* The instance types that will be available in this pool of nodes.
* Clarifai offers multiple different choices that combine cpu cores, memory and accelerator.
*
*
* repeated string instance_types = 8;
* @return The count of instanceTypes.
*/
int getInstanceTypesCount();
/**
*
*////////////////////////////////////
* The instance types that will be available in this pool of nodes.
* Clarifai offers multiple different choices that combine cpu cores, memory and accelerator.
*
*
* repeated string instance_types = 8;
* @param index The index of the element to return.
* @return The instanceTypes at the given index.
*/
java.lang.String getInstanceTypes(int index);
/**
*
*////////////////////////////////////
* The instance types that will be available in this pool of nodes.
* Clarifai offers multiple different choices that combine cpu cores, memory and accelerator.
*
*
* repeated string instance_types = 8;
* @param index The index of the value to return.
* @return The bytes of the instanceTypes at the given index.
*/
com.google.protobuf.ByteString
getInstanceTypesBytes(int index);
/**
*
* Minimum number of instances in this nodepool. This allows the nodeool to scale down to this
* amount. A nodepool needs a minimum of 1 instance.
*
*
* uint32 min_instances = 9;
* @return The minInstances.
*/
int getMinInstances();
/**
*
* An upper limit on the number of instances in this nodepool. This allows the nodepool to scale
* up to this amount.
*
*
* uint32 max_instances = 10;
* @return The maxInstances.
*/
int getMaxInstances();
}