aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/validation.proto
blob: ae8e6402c209969c93d497e0b45c4039f72e507c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
syntax = "proto3";

package yandex.cloud;

import "google/protobuf/descriptor.proto";

option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud;cloud";
option java_package = "yandex.cloud.api";

extend google.protobuf.OneofOptions {
  bool exactly_one = 101400;
}

extend google.protobuf.FieldOptions {
  bool required = 101501;
  string pattern = 101502;
  string value = 101503;
  string size = 101504;
  string length = 101505;
  bool unique = 101506;
  MapKeySpec map_key = 101510;
  string bytes = 101511;
}

message MapKeySpec {
  string value = 1;
  string pattern = 2;
  string length = 3;
}