syntax = "proto3";

import "google/protobuf/descriptor.proto";

package clarifai.api.utils;

option go_package = "github.com/Clarifai/clarifai-go-grpc/proto/clarifai/api/utils";
option java_multiple_files = true;
option java_package = "com.clarifai.grpc.api.utils";
option objc_class_prefix = "CAIP";

extend google.protobuf.FieldOptions {
  // If True then we will return this field with it's zero value even if not set.
  // This means in json responses empty lists will appear instead of not being returned (which is
  // the default convention for proto3). For int's we will show 0, for floats 0.0, etc.
  bool cl_show_if_empty = 50000;

  string cl_moretags = 50001;

  // For float fields where this is set, this value will be used by the server when parsing the
  // request and the field is not present in the request. If the field is present in the request,
  // then the value of the field will be used instead. This is ONLY used for json requests as binary
  // proto requests are expected to always set the field.
  float cl_default_float = 50010;
}

extend google.protobuf.EnumValueOptions {
  // A description of the enum value.
  string description = 1000;
}
