All Downloads are FREE. Search and download functionalities are using the official Maven repository.

a.clickzetta-java.1.3.15.source-code.virtual_cluster_meta.proto Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
syntax = "proto3";
package cz.proto;
import "virtual_cluster.proto";

message AnalyticsProperties {
  optional int32 min_replicas = 1;
  optional int32 max_replicas = 2;
  optional int32 max_concurrency_per_replica = 3;
  optional com.clickzetta.rm.ScalePolicy scale_policy = 4;
  optional int32 cur_replicas = 5;
  optional string preload_tables = 6;
}

message GeneralProperties {
  optional com.clickzetta.rm.VClusterSize cluster_max_size = 1;
}

message JobInfo {
  optional int32 jobs_running = 1;
  optional int32 jobs_in_queue = 2;
}

message VirtualClusterMeta {
  com.clickzetta.rm.VClusterType cluster_type = 1;
  optional com.clickzetta.rm.VClusterSize cluster_size = 2;
  oneof resource_oneof {
    AnalyticsProperties analytics_properties = 3;
    GeneralProperties general_properties = 4;
  }
  optional int32 auto_stop_latency_sec = 5;
  optional bool auto_start_enabled = 6;
  map tag = 7;
  optional int32 query_process_time_limit_sec = 9;
  optional com.clickzetta.rm.VirtualClusterState state = 10;
  optional com.clickzetta.rm.VirtualClusterState pre_state = 11;
  optional string error_msg = 12;
  // job info is not stored in meta
  optional JobInfo job_info = 13;
  optional int64 workspace_id = 14;
  optional int64 vc_id = 15;

  optional string state_info = 16;
  optional string version = 17;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy