com.clarifai.grpc.api.NodepoolOrBuilder 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 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();
/**
*
* Short description about the nodepool.
*
*
* string description = 2;
* @return The description.
*/
java.lang.String getDescription();
/**
*
* Short description about the nodepool.
*
*
* string description = 2;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* When the nodepool was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
*
* When the nodepool was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
* @return The createdAt.
*/
com.google.protobuf.Timestamp getCreatedAt();
/**
*
* When the nodepool was created.
*
*
* .google.protobuf.Timestamp created_at = 3;
*/
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
/**
*
* When the nodepool was last modified.
*
*
* .google.protobuf.Timestamp modified_at = 4;
* @return Whether the modifiedAt field is set.
*/
boolean hasModifiedAt();
/**
*
* When the nodepool was last modified.
*
*
* .google.protobuf.Timestamp modified_at = 4;
* @return The modifiedAt.
*/
com.google.protobuf.Timestamp getModifiedAt();
/**
*
* When the nodepool was last modified.
*
*
* .google.protobuf.Timestamp modified_at = 4;
*/
com.google.protobuf.TimestampOrBuilder getModifiedAtOrBuilder();
/**
*
* The user/org that this nodepool belongs to.
*
*
* string user_id = 5;
* @return The userId.
*/
java.lang.String getUserId();
/**
*
* The user/org that this nodepool belongs to.
*
*
* string user_id = 5;
* @return The bytes for userId.
*/
com.google.protobuf.ByteString
getUserIdBytes();
/**
*
* Which cluster this nodepool is within.
*
*
* .clarifai.api.ComputeCluster compute_cluster = 6;
* @return Whether the computeCluster field is set.
*/
boolean hasComputeCluster();
/**
*
* Which cluster this nodepool is within.
*
*
* .clarifai.api.ComputeCluster compute_cluster = 6;
* @return The computeCluster.
*/
com.clarifai.grpc.api.ComputeCluster getComputeCluster();
/**
*
* Which cluster this nodepool is within.
*
*
* .clarifai.api.ComputeCluster compute_cluster = 6;
*/
com.clarifai.grpc.api.ComputeClusterOrBuilder getComputeClusterOrBuilder();
/**
* .clarifai.api.NodeCapacityType node_capacity_type = 7;
* @return Whether the nodeCapacityType field is set.
*/
boolean hasNodeCapacityType();
/**
* .clarifai.api.NodeCapacityType node_capacity_type = 7;
* @return The nodeCapacityType.
*/
com.clarifai.grpc.api.NodeCapacityType getNodeCapacityType();
/**
* .clarifai.api.NodeCapacityType node_capacity_type = 7;
*/
com.clarifai.grpc.api.NodeCapacityTypeOrBuilder getNodeCapacityTypeOrBuilder();
/**
* repeated .clarifai.api.InstanceType instance_types = 8;
*/
java.util.List
getInstanceTypesList();
/**
* repeated .clarifai.api.InstanceType instance_types = 8;
*/
com.clarifai.grpc.api.InstanceType getInstanceTypes(int index);
/**
* repeated .clarifai.api.InstanceType instance_types = 8;
*/
int getInstanceTypesCount();
/**
* repeated .clarifai.api.InstanceType instance_types = 8;
*/
java.util.List extends com.clarifai.grpc.api.InstanceTypeOrBuilder>
getInstanceTypesOrBuilderList();
/**
* repeated .clarifai.api.InstanceType instance_types = 8;
*/
com.clarifai.grpc.api.InstanceTypeOrBuilder getInstanceTypesOrBuilder(
int index);
/**
*
* Minimum number of instances in this nodepool. This allows the nodepool to scale down to this
* amount.
*
*
* 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();
/**
*
* 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 = 11;
* @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 = 11;
* @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 = 11;
*/
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 = 12;
* @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 = 12;
* @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 = 12;
*/
com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
}