Package ai.chalk.protos.chalk.usage.v1
Interface MachineRateOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MachineRate,MachineRate.Builder
public interface MachineRateOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCloud().chalk.usage.v1.BillingCloud cloud = 5 [json_name = "cloud"];int.chalk.usage.v1.BillingCloud cloud = 5 [json_name = "cloud"];doublegetCpus()double cpus = 2 [json_name = "cpus"];doubledouble credits_per_hour = 4 [json_name = "creditsPerHour"];string machine_family = 6 [json_name = "machineFamily"];com.google.protobuf.ByteStringstring machine_family = 6 [json_name = "machineFamily"];string machine_type = 1 [json_name = "machineType"];com.google.protobuf.ByteStringstring machine_type = 1 [json_name = "machineType"];doubledouble memory_gb = 3 [json_name = "memoryGb"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMachineType
String getMachineType()string machine_type = 1 [json_name = "machineType"];- Returns:
- The machineType.
-
getMachineTypeBytes
com.google.protobuf.ByteString getMachineTypeBytes()string machine_type = 1 [json_name = "machineType"];- Returns:
- The bytes for machineType.
-
getCpus
double getCpus()double cpus = 2 [json_name = "cpus"];- Returns:
- The cpus.
-
getMemoryGb
double getMemoryGb()double memory_gb = 3 [json_name = "memoryGb"];- Returns:
- The memoryGb.
-
getCreditsPerHour
double getCreditsPerHour()double credits_per_hour = 4 [json_name = "creditsPerHour"];- Returns:
- The creditsPerHour.
-
getCloudValue
int getCloudValue().chalk.usage.v1.BillingCloud cloud = 5 [json_name = "cloud"];- Returns:
- The enum numeric value on the wire for cloud.
-
getCloud
BillingCloud getCloud().chalk.usage.v1.BillingCloud cloud = 5 [json_name = "cloud"];- Returns:
- The cloud.
-
getMachineFamily
String getMachineFamily()string machine_family = 6 [json_name = "machineFamily"];- Returns:
- The machineFamily.
-
getMachineFamilyBytes
com.google.protobuf.ByteString getMachineFamilyBytes()string machine_family = 6 [json_name = "machineFamily"];- Returns:
- The bytes for machineFamily.
-