From 58ac9669b1d1869c1cc9be49d2d072ef94b9ab03 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:55:24 +0000 Subject: [PATCH] feat: updates to protobuf definitions for flipt main (#58) Co-authored-by: flipt-bot --- lib/auth/auth_pb.rb | 4 ++-- lib/evaluation/evaluation_pb.rb | 2 +- lib/flipt_pb.rb | 4 ++-- lib/meta/meta_pb.rb | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/auth/auth_pb.rb b/lib/auth/auth_pb.rb index 26098e4..41b9bb9 100644 --- a/lib/auth/auth_pb.rb +++ b/lib/auth/auth_pb.rb @@ -9,13 +9,13 @@ require 'google/protobuf/timestamp_pb' -descriptor_data = "\n\x0f\x61uth/auth.proto\x12\nflipt.auth\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb6\x01\n\nMethodInfo\x12*\n\x06method\x18\x01 \x01(\x0e\x32\x12.flipt.auth.MethodR\x06method\x12\x18\n\x07\x65nabled\x18\x02 \x01(\x08R\x07\x65nabled\x12-\n\x12session_compatible\x18\x03 \x01(\x08R\x11sessionCompatible\x12\x33\n\x08metadata\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructR\x08metadata\"U\n!ListAuthenticationMethodsResponse\x12\x30\n\x07methods\x18\x01 \x03(\x0b\x32\x16.flipt.auth.MethodInfoR\x07methods\"\x80\x03\n\x0e\x41uthentication\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12*\n\x06method\x18\x02 \x01(\x0e\x32\x12.flipt.auth.MethodR\x06method\x12\x39\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12\x39\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x44\n\x08metadata\x18\x06 \x03(\x0b\x32(.flipt.auth.Authentication.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"*\n\x18GetAuthenticationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"}\n\x1aListAuthenticationsRequest\x12*\n\x06method\x18\x01 \x01(\x0e\x32\x12.flipt.auth.MethodR\x06method\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\"\x8b\x01\n\x1bListAuthenticationsResponse\x12\x44\n\x0f\x61uthentications\x18\x01 \x03(\x0b\x32\x1a.flipt.auth.AuthenticationR\x0f\x61uthentications\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"-\n\x1b\x44\x65leteAuthenticationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"p\n\x1f\x45xpireAuthenticationSelfRequest\x12>\n\nexpires_at\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\texpiresAt\x88\x01\x01\x42\r\n\x0b_expires_at\"\x85\x01\n\x12\x43reateTokenRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\"|\n\x13\x43reateTokenResponse\x12!\n\x0c\x63lient_token\x18\x01 \x01(\tR\x0b\x63lientToken\x12\x42\n\x0e\x61uthentication\x18\x02 \x01(\x0b\x32\x1a.flipt.auth.AuthenticationR\x0e\x61uthentication\"G\n\x13\x41uthorizeURLRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x14\n\x05state\x18\x02 \x01(\tR\x05state\";\n\x14\x41uthorizeURLResponse\x12#\n\rauthorize_url\x18\x01 \x01(\tR\x0c\x61uthorizeUrl\"W\n\x0f\x43\x61llbackRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x12\n\x04\x63ode\x18\x02 \x01(\tR\x04\x63ode\x12\x14\n\x05state\x18\x03 \x01(\tR\x05state\"y\n\x10\x43\x61llbackResponse\x12!\n\x0c\x63lient_token\x18\x01 \x01(\tR\x0b\x63lientToken\x12\x42\n\x0e\x61uthentication\x18\x02 \x01(\x0b\x32\x1a.flipt.auth.AuthenticationR\x0e\x61uthentication\"Q\n\x1bVerifyServiceAccountRequest\x12\x32\n\x15service_account_token\x18\x01 \x01(\tR\x13serviceAccountToken\"\x85\x01\n\x1cVerifyServiceAccountResponse\x12!\n\x0c\x63lient_token\x18\x01 \x01(\tR\x0b\x63lientToken\x12\x42\n\x0e\x61uthentication\x18\x02 \x01(\x0b\x32\x1a.flipt.auth.AuthenticationR\x0e\x61uthentication*f\n\x06Method\x12\x0f\n\x0bMETHOD_NONE\x10\x00\x12\x10\n\x0cMETHOD_TOKEN\x10\x01\x12\x0f\n\x0bMETHOD_OIDC\x10\x02\x12\x15\n\x11METHOD_KUBERNETES\x10\x03\x12\x11\n\rMETHOD_GITHUB\x10\x04\x32\x83\x01\n\x1bPublicAuthenticationService\x12\x64\n\x19ListAuthenticationMethods\x12\x16.google.protobuf.Empty\x1a-.flipt.auth.ListAuthenticationMethodsResponse\"\x00\x32\xe7\x03\n\x15\x41uthenticationService\x12M\n\x15GetAuthenticationSelf\x12\x16.google.protobuf.Empty\x1a\x1a.flipt.auth.Authentication\"\x00\x12W\n\x11GetAuthentication\x12$.flipt.auth.GetAuthenticationRequest\x1a\x1a.flipt.auth.Authentication\"\x00\x12h\n\x13ListAuthentications\x12&.flipt.auth.ListAuthenticationsRequest\x1a\'.flipt.auth.ListAuthenticationsResponse\"\x00\x12Y\n\x14\x44\x65leteAuthentication\x12\'.flipt.auth.DeleteAuthenticationRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x61\n\x18\x45xpireAuthenticationSelf\x12+.flipt.auth.ExpireAuthenticationSelfRequest\x1a\x16.google.protobuf.Empty\"\x00\x32t\n AuthenticationMethodTokenService\x12P\n\x0b\x43reateToken\x12\x1e.flipt.auth.CreateTokenRequest\x1a\x1f.flipt.auth.CreateTokenResponse\"\x00\x32\xbf\x01\n\x1f\x41uthenticationMethodOIDCService\x12S\n\x0c\x41uthorizeURL\x12\x1f.flipt.auth.AuthorizeURLRequest\x1a .flipt.auth.AuthorizeURLResponse\"\x00\x12G\n\x08\x43\x61llback\x12\x1b.flipt.auth.CallbackRequest\x1a\x1c.flipt.auth.CallbackResponse\"\x00\x32\x94\x01\n%AuthenticationMethodKubernetesService\x12k\n\x14VerifyServiceAccount\x12\'.flipt.auth.VerifyServiceAccountRequest\x1a(.flipt.auth.VerifyServiceAccountResponse\"\x00\x32\xc1\x01\n!AuthenticationMethodGithubService\x12S\n\x0c\x41uthorizeURL\x12\x1f.flipt.auth.AuthorizeURLRequest\x1a .flipt.auth.AuthorizeURLResponse\"\x00\x12G\n\x08\x43\x61llback\x12\x1b.flipt.auth.CallbackRequest\x1a\x1c.flipt.auth.CallbackResponse\"\x00\x42\"Z go.flipt.io/flipt/rpc/flipt/authb\x06proto3" +descriptor_data = "\n\x0f\x61uth/auth.proto\x12\nflipt.auth\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb6\x01\n\nMethodInfo\x12*\n\x06method\x18\x01 \x01(\x0e\x32\x12.flipt.auth.MethodR\x06method\x12\x18\n\x07\x65nabled\x18\x02 \x01(\x08R\x07\x65nabled\x12-\n\x12session_compatible\x18\x03 \x01(\x08R\x11sessionCompatible\x12\x33\n\x08metadata\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructR\x08metadata\"U\n!ListAuthenticationMethodsResponse\x12\x30\n\x07methods\x18\x01 \x03(\x0b\x32\x16.flipt.auth.MethodInfoR\x07methods\"\x80\x03\n\x0e\x41uthentication\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12*\n\x06method\x18\x02 \x01(\x0e\x32\x12.flipt.auth.MethodR\x06method\x12\x39\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12\x39\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x44\n\x08metadata\x18\x06 \x03(\x0b\x32(.flipt.auth.Authentication.MetadataEntryR\x08metadata\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"*\n\x18GetAuthenticationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"}\n\x1aListAuthenticationsRequest\x12*\n\x06method\x18\x01 \x01(\x0e\x32\x12.flipt.auth.MethodR\x06method\x12\x14\n\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\"\x8b\x01\n\x1bListAuthenticationsResponse\x12\x44\n\x0f\x61uthentications\x18\x01 \x03(\x0b\x32\x1a.flipt.auth.AuthenticationR\x0f\x61uthentications\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"-\n\x1b\x44\x65leteAuthenticationRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"p\n\x1f\x45xpireAuthenticationSelfRequest\x12>\n\nexpires_at\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\texpiresAt\x88\x01\x01\x42\r\n\x0b_expires_at\"\xaa\x01\n\x12\x43reateTokenRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x39\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12#\n\rnamespace_key\x18\x04 \x01(\tR\x0cnamespaceKey\"|\n\x13\x43reateTokenResponse\x12!\n\x0c\x63lient_token\x18\x01 \x01(\tR\x0b\x63lientToken\x12\x42\n\x0e\x61uthentication\x18\x02 \x01(\x0b\x32\x1a.flipt.auth.AuthenticationR\x0e\x61uthentication\"G\n\x13\x41uthorizeURLRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x14\n\x05state\x18\x02 \x01(\tR\x05state\";\n\x14\x41uthorizeURLResponse\x12#\n\rauthorize_url\x18\x01 \x01(\tR\x0c\x61uthorizeUrl\"W\n\x0f\x43\x61llbackRequest\x12\x1a\n\x08provider\x18\x01 \x01(\tR\x08provider\x12\x12\n\x04\x63ode\x18\x02 \x01(\tR\x04\x63ode\x12\x14\n\x05state\x18\x03 \x01(\tR\x05state\"y\n\x10\x43\x61llbackResponse\x12!\n\x0c\x63lient_token\x18\x01 \x01(\tR\x0b\x63lientToken\x12\x42\n\x0e\x61uthentication\x18\x02 \x01(\x0b\x32\x1a.flipt.auth.AuthenticationR\x0e\x61uthentication\"Q\n\x1bVerifyServiceAccountRequest\x12\x32\n\x15service_account_token\x18\x01 \x01(\tR\x13serviceAccountToken\"\x85\x01\n\x1cVerifyServiceAccountResponse\x12!\n\x0c\x63lient_token\x18\x01 \x01(\tR\x0b\x63lientToken\x12\x42\n\x0e\x61uthentication\x18\x02 \x01(\x0b\x32\x1a.flipt.auth.AuthenticationR\x0e\x61uthentication*f\n\x06Method\x12\x0f\n\x0bMETHOD_NONE\x10\x00\x12\x10\n\x0cMETHOD_TOKEN\x10\x01\x12\x0f\n\x0bMETHOD_OIDC\x10\x02\x12\x15\n\x11METHOD_KUBERNETES\x10\x03\x12\x11\n\rMETHOD_GITHUB\x10\x04\x32\x83\x01\n\x1bPublicAuthenticationService\x12\x64\n\x19ListAuthenticationMethods\x12\x16.google.protobuf.Empty\x1a-.flipt.auth.ListAuthenticationMethodsResponse\"\x00\x32\xe7\x03\n\x15\x41uthenticationService\x12M\n\x15GetAuthenticationSelf\x12\x16.google.protobuf.Empty\x1a\x1a.flipt.auth.Authentication\"\x00\x12W\n\x11GetAuthentication\x12$.flipt.auth.GetAuthenticationRequest\x1a\x1a.flipt.auth.Authentication\"\x00\x12h\n\x13ListAuthentications\x12&.flipt.auth.ListAuthenticationsRequest\x1a\'.flipt.auth.ListAuthenticationsResponse\"\x00\x12Y\n\x14\x44\x65leteAuthentication\x12\'.flipt.auth.DeleteAuthenticationRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x61\n\x18\x45xpireAuthenticationSelf\x12+.flipt.auth.ExpireAuthenticationSelfRequest\x1a\x16.google.protobuf.Empty\"\x00\x32t\n AuthenticationMethodTokenService\x12P\n\x0b\x43reateToken\x12\x1e.flipt.auth.CreateTokenRequest\x1a\x1f.flipt.auth.CreateTokenResponse\"\x00\x32\xbf\x01\n\x1f\x41uthenticationMethodOIDCService\x12S\n\x0c\x41uthorizeURL\x12\x1f.flipt.auth.AuthorizeURLRequest\x1a .flipt.auth.AuthorizeURLResponse\"\x00\x12G\n\x08\x43\x61llback\x12\x1b.flipt.auth.CallbackRequest\x1a\x1c.flipt.auth.CallbackResponse\"\x00\x32\x94\x01\n%AuthenticationMethodKubernetesService\x12k\n\x14VerifyServiceAccount\x12\'.flipt.auth.VerifyServiceAccountRequest\x1a(.flipt.auth.VerifyServiceAccountResponse\"\x00\x32\xc1\x01\n!AuthenticationMethodGithubService\x12S\n\x0c\x41uthorizeURL\x12\x1f.flipt.auth.AuthorizeURLRequest\x1a .flipt.auth.AuthorizeURLResponse\"\x00\x12G\n\x08\x43\x61llback\x12\x1b.flipt.auth.CallbackRequest\x1a\x1c.flipt.auth.CallbackResponse\"\x00\x42\"Z go.flipt.io/flipt/rpc/flipt/authb\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) -rescue TypeError => e +rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) diff --git a/lib/evaluation/evaluation_pb.rb b/lib/evaluation/evaluation_pb.rb index 790a967..899f6a0 100644 --- a/lib/evaluation/evaluation_pb.rb +++ b/lib/evaluation/evaluation_pb.rb @@ -13,7 +13,7 @@ begin pool.add_serialized_file(descriptor_data) -rescue TypeError => e +rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) diff --git a/lib/flipt_pb.rb b/lib/flipt_pb.rb index 67800a3..06f5fc3 100644 --- a/lib/flipt_pb.rb +++ b/lib/flipt_pb.rb @@ -8,13 +8,13 @@ require 'google/protobuf/timestamp_pb' -descriptor_data = "\n\x0b\x66lipt.proto\x12\x05\x66lipt\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8c\x02\n\x11\x45valuationRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x1b\n\tentity_id\x18\x03 \x01(\tR\x08\x65ntityId\x12?\n\x07\x63ontext\x18\x04 \x03(\x0b\x32%.flipt.EvaluationRequest.ContextEntryR\x07\x63ontext\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\x1a:\n\x0c\x43ontextEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xbe\x01\n\x16\x42\x61tchEvaluationRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12\x34\n\x08requests\x18\x02 \x03(\x0b\x32\x18.flipt.EvaluationRequestR\x08requests\x12*\n\x11\x65xclude_not_found\x18\x03 \x01(\x08R\x0f\x65xcludeNotFound\x12#\n\rnamespace_key\x18\x04 \x01(\tR\x0cnamespaceKey\"\xa9\x01\n\x17\x42\x61tchEvaluationResponse\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12\x37\n\tresponses\x18\x02 \x03(\x0b\x32\x19.flipt.EvaluationResponseR\tresponses\x12\x36\n\x17request_duration_millis\x18\x03 \x01(\x01R\x15requestDurationMillis\"\xe2\x04\n\x12\x45valuationResponse\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12\x1b\n\tentity_id\x18\x02 \x01(\tR\x08\x65ntityId\x12V\n\x0frequest_context\x18\x03 \x03(\x0b\x32-.flipt.EvaluationResponse.RequestContextEntryR\x0erequestContext\x12\x14\n\x05match\x18\x04 \x01(\x08R\x05match\x12\x19\n\x08\x66lag_key\x18\x05 \x01(\tR\x07\x66lagKey\x12#\n\x0bsegment_key\x18\x06 \x01(\tB\x02\x18\x01R\nsegmentKey\x12\x38\n\ttimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12\x14\n\x05value\x18\x08 \x01(\tR\x05value\x12\x36\n\x17request_duration_millis\x18\t \x01(\x01R\x15requestDurationMillis\x12\x1e\n\nattachment\x18\n \x01(\tR\nattachment\x12/\n\x06reason\x18\x0b \x01(\x0e\x32\x17.flipt.EvaluationReasonR\x06reason\x12#\n\rnamespace_key\x18\x0c \x01(\tR\x0cnamespaceKey\x12!\n\x0csegment_keys\x18\r \x03(\tR\x0bsegmentKeys\x1a\x41\n\x13RequestContextEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xe7\x01\n\tNamespace\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\tprotected\x18\x04 \x01(\x08R\tprotected\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"\x8a\x01\n\rNamespaceList\x12\x30\n\nnamespaces\x18\x01 \x03(\x0b\x32\x10.flipt.NamespaceR\nnamespaces\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount\"\'\n\x13GetNamespaceRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\"g\n\x14ListNamespaceRequest\x12\x14\n\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x1a\n\x06offset\x18\x02 \x01(\x05\x42\x02\x18\x01R\x06offset\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\"`\n\x16\x43reateNamespaceRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\"`\n\x16UpdateNamespaceRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\"*\n\x16\x44\x65leteNamespaceRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\"\xd4\x02\n\x04\x46lag\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07\x65nabled\x18\x04 \x01(\x08R\x07\x65nabled\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12*\n\x08variants\x18\x07 \x03(\x0b\x32\x0e.flipt.VariantR\x08variants\x12#\n\rnamespace_key\x18\x08 \x01(\tR\x0cnamespaceKey\x12#\n\x04type\x18\t \x01(\x0e\x32\x0f.flipt.FlagTypeR\x04type\"v\n\x08\x46lagList\x12!\n\x05\x66lags\x18\x01 \x03(\x0b\x32\x0b.flipt.FlagR\x05\x66lags\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount\"G\n\x0eGetFlagRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\"\x87\x01\n\x0fListFlagRequest\x12\x14\n\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x1a\n\x06offset\x18\x02 \x01(\x05\x42\x02\x18\x01R\x06offset\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\x12#\n\rnamespace_key\x18\x04 \x01(\tR\x0cnamespaceKey\"\xbf\x01\n\x11\x43reateFlagRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07\x65nabled\x18\x04 \x01(\x08R\x07\x65nabled\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\x12#\n\x04type\x18\x06 \x01(\x0e\x32\x0f.flipt.FlagTypeR\x04type\"\x9a\x01\n\x11UpdateFlagRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07\x65nabled\x18\x04 \x01(\x08R\x07\x65nabled\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\"J\n\x11\x44\x65leteFlagRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\"\xb7\x02\n\x07Variant\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x1e\n\nattachment\x18\x08 \x01(\tR\nattachment\x12#\n\rnamespace_key\x18\t \x01(\tR\x0cnamespaceKey\"\xbe\x01\n\x14\x43reateVariantRequest\x12\x19\n\x08\x66lag_key\x18\x01 \x01(\tR\x07\x66lagKey\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x1e\n\nattachment\x18\x05 \x01(\tR\nattachment\x12#\n\rnamespace_key\x18\x06 \x01(\tR\x0cnamespaceKey\"\xce\x01\n\x14UpdateVariantRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\x12\x1e\n\nattachment\x18\x06 \x01(\tR\nattachment\x12#\n\rnamespace_key\x18\x07 \x01(\tR\x0cnamespaceKey\"f\n\x14\x44\x65leteVariantRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12#\n\rnamespace_key\x18\x03 \x01(\tR\x0cnamespaceKey\"\xd2\x02\n\x07Segment\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x39\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x33\n\x0b\x63onstraints\x18\x06 \x03(\x0b\x32\x11.flipt.ConstraintR\x0b\x63onstraints\x12/\n\nmatch_type\x18\x07 \x01(\x0e\x32\x10.flipt.MatchTypeR\tmatchType\x12#\n\rnamespace_key\x18\x08 \x01(\tR\x0cnamespaceKey\"\x82\x01\n\x0bSegmentList\x12*\n\x08segments\x18\x01 \x03(\x0b\x32\x0e.flipt.SegmentR\x08segments\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount\"J\n\x11GetSegmentRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\"\x8a\x01\n\x12ListSegmentRequest\x12\x14\n\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x1a\n\x06offset\x18\x02 \x01(\x05\x42\x02\x18\x01R\x06offset\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\x12#\n\rnamespace_key\x18\x04 \x01(\tR\x0cnamespaceKey\"\xb4\x01\n\x14\x43reateSegmentRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12/\n\nmatch_type\x18\x04 \x01(\x0e\x32\x10.flipt.MatchTypeR\tmatchType\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\"\xb4\x01\n\x14UpdateSegmentRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12/\n\nmatch_type\x18\x04 \x01(\x0e\x32\x10.flipt.MatchTypeR\tmatchType\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\"M\n\x14\x44\x65leteSegmentRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\"\xf3\x02\n\nConstraint\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0bsegment_key\x18\x02 \x01(\tR\nsegmentKey\x12)\n\x04type\x18\x03 \x01(\x0e\x32\x15.flipt.ComparisonTypeR\x04type\x12\x1a\n\x08property\x18\x04 \x01(\tR\x08property\x12\x1a\n\x08operator\x18\x05 \x01(\tR\x08operator\x12\x14\n\x05value\x18\x06 \x01(\tR\x05value\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12#\n\rnamespace_key\x18\t \x01(\tR\x0cnamespaceKey\x12 \n\x0b\x64\x65scription\x18\n \x01(\tR\x0b\x64\x65scription\"\xfa\x01\n\x17\x43reateConstraintRequest\x12\x1f\n\x0bsegment_key\x18\x01 \x01(\tR\nsegmentKey\x12)\n\x04type\x18\x02 \x01(\x0e\x32\x15.flipt.ComparisonTypeR\x04type\x12\x1a\n\x08property\x18\x03 \x01(\tR\x08property\x12\x1a\n\x08operator\x18\x04 \x01(\tR\x08operator\x12\x14\n\x05value\x18\x05 \x01(\tR\x05value\x12#\n\rnamespace_key\x18\x06 \x01(\tR\x0cnamespaceKey\x12 \n\x0b\x64\x65scription\x18\x07 \x01(\tR\x0b\x64\x65scription\"\x8a\x02\n\x17UpdateConstraintRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0bsegment_key\x18\x02 \x01(\tR\nsegmentKey\x12)\n\x04type\x18\x03 \x01(\x0e\x32\x15.flipt.ComparisonTypeR\x04type\x12\x1a\n\x08property\x18\x04 \x01(\tR\x08property\x12\x1a\n\x08operator\x18\x05 \x01(\tR\x08operator\x12\x14\n\x05value\x18\x06 \x01(\tR\x05value\x12#\n\rnamespace_key\x18\x07 \x01(\tR\x0cnamespaceKey\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\"o\n\x17\x44\x65leteConstraintRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0bsegment_key\x18\x02 \x01(\tR\nsegmentKey\x12#\n\rnamespace_key\x18\x03 \x01(\tR\x0cnamespaceKey\"\xa1\x03\n\x07Rollout\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\x12\x19\n\x08\x66lag_key\x18\x03 \x01(\tR\x07\x66lagKey\x12&\n\x04type\x18\x04 \x01(\x0e\x32\x12.flipt.RolloutTypeR\x04type\x12\x12\n\x04rank\x18\x05 \x01(\x05R\x04rank\x12 \n\x0b\x64\x65scription\x18\x06 \x01(\tR\x0b\x64\x65scription\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x31\n\x07segment\x18\x14 \x01(\x0b\x32\x15.flipt.RolloutSegmentH\x00R\x07segment\x12\x37\n\tthreshold\x18\x15 \x01(\x0b\x32\x17.flipt.RolloutThresholdH\x00R\tthresholdB\x06\n\x04rule\"\xb1\x01\n\x0eRolloutSegment\x12#\n\x0bsegment_key\x18\x01 \x01(\tB\x02\x18\x01R\nsegmentKey\x12\x14\n\x05value\x18\x02 \x01(\x08R\x05value\x12!\n\x0csegment_keys\x18\x03 \x03(\tR\x0bsegmentKeys\x12\x41\n\x10segment_operator\x18\x04 \x01(\x0e\x32\x16.flipt.SegmentOperatorR\x0fsegmentOperator\"H\n\x10RolloutThreshold\x12\x1e\n\npercentage\x18\x01 \x01(\x02R\npercentage\x12\x14\n\x05value\x18\x02 \x01(\x08R\x05value\"|\n\x0bRolloutList\x12$\n\x05rules\x18\x01 \x03(\x0b\x32\x0e.flipt.RolloutR\x05rules\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount\"\x89\x01\n\x12ListRolloutRequest\x12#\n\rnamespace_key\x18\x01 \x01(\tR\x0cnamespaceKey\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x14\n\x05limit\x18\x03 \x01(\x05R\x05limit\x12\x1d\n\npage_token\x18\x04 \x01(\tR\tpageToken\"c\n\x11GetRolloutRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\x12\x19\n\x08\x66lag_key\x18\x03 \x01(\tR\x07\x66lagKey\"\x80\x02\n\x14\x43reateRolloutRequest\x12#\n\rnamespace_key\x18\x01 \x01(\tR\x0cnamespaceKey\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x12\n\x04rank\x18\x03 \x01(\x05R\x04rank\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x31\n\x07segment\x18\x14 \x01(\x0b\x32\x15.flipt.RolloutSegmentH\x00R\x07segment\x12\x37\n\tthreshold\x18\x15 \x01(\x0b\x32\x17.flipt.RolloutThresholdH\x00R\tthresholdB\x06\n\x04rule\"\xfc\x01\n\x14UpdateRolloutRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\x12\x19\n\x08\x66lag_key\x18\x03 \x01(\tR\x07\x66lagKey\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x31\n\x07segment\x18\x14 \x01(\x0b\x32\x15.flipt.RolloutSegmentH\x00R\x07segment\x12\x37\n\tthreshold\x18\x15 \x01(\x0b\x32\x17.flipt.RolloutThresholdH\x00R\tthresholdB\x06\n\x04rule\"f\n\x14\x44\x65leteRolloutRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\x12\x19\n\x08\x66lag_key\x18\x03 \x01(\tR\x07\x66lagKey\"w\n\x14OrderRolloutsRequest\x12\x19\n\x08\x66lag_key\x18\x01 \x01(\tR\x07\x66lagKey\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\x12\x1f\n\x0brollout_ids\x18\x03 \x03(\tR\nrolloutIds\"\xa2\x03\n\x04Rule\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x1f\n\x0bsegment_key\x18\x03 \x01(\tR\nsegmentKey\x12\x39\n\rdistributions\x18\x04 \x03(\x0b\x32\x13.flipt.DistributionR\rdistributions\x12\x12\n\x04rank\x18\x05 \x01(\x05R\x04rank\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12#\n\rnamespace_key\x18\x08 \x01(\tR\x0cnamespaceKey\x12!\n\x0csegment_keys\x18\t \x03(\tR\x0bsegmentKeys\x12\x41\n\x10segment_operator\x18\n \x01(\x0e\x32\x16.flipt.SegmentOperatorR\x0fsegmentOperator\"v\n\x08RuleList\x12!\n\x05rules\x18\x01 \x03(\x0b\x32\x0b.flipt.RuleR\x05rules\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount\"\xa2\x01\n\x0fListRuleRequest\x12\x14\n\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x1a\n\x06offset\x18\x02 \x01(\x05\x42\x02\x18\x01R\x06offset\x12\x19\n\x08\x66lag_key\x18\x03 \x01(\tR\x07\x66lagKey\x12\x1d\n\npage_token\x18\x04 \x01(\tR\tpageToken\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\"`\n\x0eGetRuleRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12#\n\rnamespace_key\x18\x03 \x01(\tR\x0cnamespaceKey\"\xf2\x01\n\x11\x43reateRuleRequest\x12\x19\n\x08\x66lag_key\x18\x01 \x01(\tR\x07\x66lagKey\x12#\n\x0bsegment_key\x18\x02 \x01(\tB\x02\x18\x01R\nsegmentKey\x12\x12\n\x04rank\x18\x03 \x01(\x05R\x04rank\x12#\n\rnamespace_key\x18\x04 \x01(\tR\x0cnamespaceKey\x12!\n\x0csegment_keys\x18\x05 \x03(\tR\x0bsegmentKeys\x12\x41\n\x10segment_operator\x18\x06 \x01(\x0e\x32\x16.flipt.SegmentOperatorR\x0fsegmentOperator\"\xee\x01\n\x11UpdateRuleRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12#\n\x0bsegment_key\x18\x03 \x01(\tB\x02\x18\x01R\nsegmentKey\x12#\n\rnamespace_key\x18\x04 \x01(\tR\x0cnamespaceKey\x12!\n\x0csegment_keys\x18\x05 \x03(\tR\x0bsegmentKeys\x12\x41\n\x10segment_operator\x18\x06 \x01(\x0e\x32\x16.flipt.SegmentOperatorR\x0fsegmentOperator\"c\n\x11\x44\x65leteRuleRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12#\n\rnamespace_key\x18\x03 \x01(\tR\x0cnamespaceKey\"n\n\x11OrderRulesRequest\x12\x19\n\x08\x66lag_key\x18\x01 \x01(\tR\x07\x66lagKey\x12\x19\n\x08rule_ids\x18\x02 \x03(\tR\x07ruleIds\x12#\n\rnamespace_key\x18\x03 \x01(\tR\x0cnamespaceKey\"\xe6\x01\n\x0c\x44istribution\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07rule_id\x18\x02 \x01(\tR\x06ruleId\x12\x1d\n\nvariant_id\x18\x03 \x01(\tR\tvariantId\x12\x18\n\x07rollout\x18\x04 \x01(\x02R\x07rollout\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"\xad\x01\n\x19\x43reateDistributionRequest\x12\x19\n\x08\x66lag_key\x18\x01 \x01(\tR\x07\x66lagKey\x12\x17\n\x07rule_id\x18\x02 \x01(\tR\x06ruleId\x12\x1d\n\nvariant_id\x18\x03 \x01(\tR\tvariantId\x12\x18\n\x07rollout\x18\x04 \x01(\x02R\x07rollout\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\"\xbd\x01\n\x19UpdateDistributionRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x17\n\x07rule_id\x18\x03 \x01(\tR\x06ruleId\x12\x1d\n\nvariant_id\x18\x04 \x01(\tR\tvariantId\x12\x18\n\x07rollout\x18\x05 \x01(\x02R\x07rollout\x12#\n\rnamespace_key\x18\x06 \x01(\tR\x0cnamespaceKey\"\xa3\x01\n\x19\x44\x65leteDistributionRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x17\n\x07rule_id\x18\x03 \x01(\tR\x06ruleId\x12\x1d\n\nvariant_id\x18\x04 \x01(\tR\tvariantId\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey*\xb6\x01\n\x10\x45valuationReason\x12\x1d\n\x19UNKNOWN_EVALUATION_REASON\x10\x00\x12#\n\x1f\x46LAG_DISABLED_EVALUATION_REASON\x10\x01\x12$\n FLAG_NOT_FOUND_EVALUATION_REASON\x10\x02\x12\x1b\n\x17MATCH_EVALUATION_REASON\x10\x03\x12\x1b\n\x17\x45RROR_EVALUATION_REASON\x10\x04*8\n\x08\x46lagType\x12\x15\n\x11VARIANT_FLAG_TYPE\x10\x00\x12\x15\n\x11\x42OOLEAN_FLAG_TYPE\x10\x01*3\n\tMatchType\x12\x12\n\x0e\x41LL_MATCH_TYPE\x10\x00\x12\x12\n\x0e\x41NY_MATCH_TYPE\x10\x01*\xa0\x01\n\x0e\x43omparisonType\x12\x1b\n\x17UNKNOWN_COMPARISON_TYPE\x10\x00\x12\x1a\n\x16STRING_COMPARISON_TYPE\x10\x01\x12\x1a\n\x16NUMBER_COMPARISON_TYPE\x10\x02\x12\x1b\n\x17\x42OOLEAN_COMPARISON_TYPE\x10\x03\x12\x1c\n\x18\x44\x41TETIME_COMPARISON_TYPE\x10\x04*]\n\x0bRolloutType\x12\x18\n\x14UNKNOWN_ROLLOUT_TYPE\x10\x00\x12\x18\n\x14SEGMENT_ROLLOUT_TYPE\x10\x01\x12\x1a\n\x16THRESHOLD_ROLLOUT_TYPE\x10\x02*D\n\x0fSegmentOperator\x12\x17\n\x13OR_SEGMENT_OPERATOR\x10\x00\x12\x18\n\x14\x41ND_SEGMENT_OPERATOR\x10\x01\x32\xd5\x13\n\x05\x46lipt\x12\x41\n\x08\x45valuate\x12\x18.flipt.EvaluationRequest\x1a\x19.flipt.EvaluationResponse\"\x00\x12P\n\rBatchEvaluate\x12\x1d.flipt.BatchEvaluationRequest\x1a\x1e.flipt.BatchEvaluationResponse\"\x00\x12>\n\x0cGetNamespace\x12\x1a.flipt.GetNamespaceRequest\x1a\x10.flipt.Namespace\"\x00\x12\x45\n\x0eListNamespaces\x12\x1b.flipt.ListNamespaceRequest\x1a\x14.flipt.NamespaceList\"\x00\x12\x44\n\x0f\x43reateNamespace\x12\x1d.flipt.CreateNamespaceRequest\x1a\x10.flipt.Namespace\"\x00\x12\x44\n\x0fUpdateNamespace\x12\x1d.flipt.UpdateNamespaceRequest\x1a\x10.flipt.Namespace\"\x00\x12J\n\x0f\x44\x65leteNamespace\x12\x1d.flipt.DeleteNamespaceRequest\x1a\x16.google.protobuf.Empty\"\x00\x12/\n\x07GetFlag\x12\x15.flipt.GetFlagRequest\x1a\x0b.flipt.Flag\"\x00\x12\x36\n\tListFlags\x12\x16.flipt.ListFlagRequest\x1a\x0f.flipt.FlagList\"\x00\x12\x35\n\nCreateFlag\x12\x18.flipt.CreateFlagRequest\x1a\x0b.flipt.Flag\"\x00\x12\x35\n\nUpdateFlag\x12\x18.flipt.UpdateFlagRequest\x1a\x0b.flipt.Flag\"\x00\x12@\n\nDeleteFlag\x12\x18.flipt.DeleteFlagRequest\x1a\x16.google.protobuf.Empty\"\x00\x12>\n\rCreateVariant\x12\x1b.flipt.CreateVariantRequest\x1a\x0e.flipt.Variant\"\x00\x12>\n\rUpdateVariant\x12\x1b.flipt.UpdateVariantRequest\x1a\x0e.flipt.Variant\"\x00\x12\x46\n\rDeleteVariant\x12\x1b.flipt.DeleteVariantRequest\x1a\x16.google.protobuf.Empty\"\x00\x12/\n\x07GetRule\x12\x15.flipt.GetRuleRequest\x1a\x0b.flipt.Rule\"\x00\x12\x36\n\tListRules\x12\x16.flipt.ListRuleRequest\x1a\x0f.flipt.RuleList\"\x00\x12\x35\n\nCreateRule\x12\x18.flipt.CreateRuleRequest\x1a\x0b.flipt.Rule\"\x00\x12\x35\n\nUpdateRule\x12\x18.flipt.UpdateRuleRequest\x1a\x0b.flipt.Rule\"\x00\x12@\n\nOrderRules\x12\x18.flipt.OrderRulesRequest\x1a\x16.google.protobuf.Empty\"\x00\x12@\n\nDeleteRule\x12\x18.flipt.DeleteRuleRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x38\n\nGetRollout\x12\x18.flipt.GetRolloutRequest\x1a\x0e.flipt.Rollout\"\x00\x12?\n\x0cListRollouts\x12\x19.flipt.ListRolloutRequest\x1a\x12.flipt.RolloutList\"\x00\x12>\n\rCreateRollout\x12\x1b.flipt.CreateRolloutRequest\x1a\x0e.flipt.Rollout\"\x00\x12>\n\rUpdateRollout\x12\x1b.flipt.UpdateRolloutRequest\x1a\x0e.flipt.Rollout\"\x00\x12\x46\n\rDeleteRollout\x12\x1b.flipt.DeleteRolloutRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x46\n\rOrderRollouts\x12\x1b.flipt.OrderRolloutsRequest\x1a\x16.google.protobuf.Empty\"\x00\x12M\n\x12\x43reateDistribution\x12 .flipt.CreateDistributionRequest\x1a\x13.flipt.Distribution\"\x00\x12M\n\x12UpdateDistribution\x12 .flipt.UpdateDistributionRequest\x1a\x13.flipt.Distribution\"\x00\x12P\n\x12\x44\x65leteDistribution\x12 .flipt.DeleteDistributionRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x38\n\nGetSegment\x12\x18.flipt.GetSegmentRequest\x1a\x0e.flipt.Segment\"\x00\x12?\n\x0cListSegments\x12\x19.flipt.ListSegmentRequest\x1a\x12.flipt.SegmentList\"\x00\x12>\n\rCreateSegment\x12\x1b.flipt.CreateSegmentRequest\x1a\x0e.flipt.Segment\"\x00\x12>\n\rUpdateSegment\x12\x1b.flipt.UpdateSegmentRequest\x1a\x0e.flipt.Segment\"\x00\x12\x46\n\rDeleteSegment\x12\x1b.flipt.DeleteSegmentRequest\x1a\x16.google.protobuf.Empty\"\x00\x12G\n\x10\x43reateConstraint\x12\x1e.flipt.CreateConstraintRequest\x1a\x11.flipt.Constraint\"\x00\x12G\n\x10UpdateConstraint\x12\x1e.flipt.UpdateConstraintRequest\x1a\x11.flipt.Constraint\"\x00\x12L\n\x10\x44\x65leteConstraint\x12\x1e.flipt.DeleteConstraintRequest\x1a\x16.google.protobuf.Empty\"\x00\x42\x1dZ\x1bgo.flipt.io/flipt/rpc/fliptb\x06proto3" +descriptor_data = "\n\x0b\x66lipt.proto\x12\x05\x66lipt\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8c\x02\n\x11\x45valuationRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x1b\n\tentity_id\x18\x03 \x01(\tR\x08\x65ntityId\x12?\n\x07\x63ontext\x18\x04 \x03(\x0b\x32%.flipt.EvaluationRequest.ContextEntryR\x07\x63ontext\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\x1a:\n\x0c\x43ontextEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xbe\x01\n\x16\x42\x61tchEvaluationRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12\x34\n\x08requests\x18\x02 \x03(\x0b\x32\x18.flipt.EvaluationRequestR\x08requests\x12*\n\x11\x65xclude_not_found\x18\x03 \x01(\x08R\x0f\x65xcludeNotFound\x12#\n\rnamespace_key\x18\x04 \x01(\tR\x0cnamespaceKey\"\xa9\x01\n\x17\x42\x61tchEvaluationResponse\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12\x37\n\tresponses\x18\x02 \x03(\x0b\x32\x19.flipt.EvaluationResponseR\tresponses\x12\x36\n\x17request_duration_millis\x18\x03 \x01(\x01R\x15requestDurationMillis\"\xe2\x04\n\x12\x45valuationResponse\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12\x1b\n\tentity_id\x18\x02 \x01(\tR\x08\x65ntityId\x12V\n\x0frequest_context\x18\x03 \x03(\x0b\x32-.flipt.EvaluationResponse.RequestContextEntryR\x0erequestContext\x12\x14\n\x05match\x18\x04 \x01(\x08R\x05match\x12\x19\n\x08\x66lag_key\x18\x05 \x01(\tR\x07\x66lagKey\x12#\n\x0bsegment_key\x18\x06 \x01(\tB\x02\x18\x01R\nsegmentKey\x12\x38\n\ttimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12\x14\n\x05value\x18\x08 \x01(\tR\x05value\x12\x36\n\x17request_duration_millis\x18\t \x01(\x01R\x15requestDurationMillis\x12\x1e\n\nattachment\x18\n \x01(\tR\nattachment\x12/\n\x06reason\x18\x0b \x01(\x0e\x32\x17.flipt.EvaluationReasonR\x06reason\x12#\n\rnamespace_key\x18\x0c \x01(\tR\x0cnamespaceKey\x12!\n\x0csegment_keys\x18\r \x03(\tR\x0bsegmentKeys\x1a\x41\n\x13RequestContextEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xe7\x01\n\tNamespace\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1c\n\tprotected\x18\x04 \x01(\x08R\tprotected\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"\x8a\x01\n\rNamespaceList\x12\x30\n\nnamespaces\x18\x01 \x03(\x0b\x32\x10.flipt.NamespaceR\nnamespaces\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount\"\'\n\x13GetNamespaceRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\"g\n\x14ListNamespaceRequest\x12\x14\n\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x1a\n\x06offset\x18\x02 \x01(\x05\x42\x02\x18\x01R\x06offset\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\"`\n\x16\x43reateNamespaceRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\"`\n\x16UpdateNamespaceRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\"*\n\x16\x44\x65leteNamespaceRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\"\xd4\x02\n\x04\x46lag\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07\x65nabled\x18\x04 \x01(\x08R\x07\x65nabled\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12*\n\x08variants\x18\x07 \x03(\x0b\x32\x0e.flipt.VariantR\x08variants\x12#\n\rnamespace_key\x18\x08 \x01(\tR\x0cnamespaceKey\x12#\n\x04type\x18\t \x01(\x0e\x32\x0f.flipt.FlagTypeR\x04type\"v\n\x08\x46lagList\x12!\n\x05\x66lags\x18\x01 \x03(\x0b\x32\x0b.flipt.FlagR\x05\x66lags\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount\"G\n\x0eGetFlagRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\"\x87\x01\n\x0fListFlagRequest\x12\x14\n\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x1a\n\x06offset\x18\x02 \x01(\x05\x42\x02\x18\x01R\x06offset\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\x12#\n\rnamespace_key\x18\x04 \x01(\tR\x0cnamespaceKey\"\xbf\x01\n\x11\x43reateFlagRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07\x65nabled\x18\x04 \x01(\x08R\x07\x65nabled\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\x12#\n\x04type\x18\x06 \x01(\x0e\x32\x0f.flipt.FlagTypeR\x04type\"\x9a\x01\n\x11UpdateFlagRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07\x65nabled\x18\x04 \x01(\x08R\x07\x65nabled\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\"J\n\x11\x44\x65leteFlagRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\"\xb7\x02\n\x07Variant\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x1e\n\nattachment\x18\x08 \x01(\tR\nattachment\x12#\n\rnamespace_key\x18\t \x01(\tR\x0cnamespaceKey\"\xbe\x01\n\x14\x43reateVariantRequest\x12\x19\n\x08\x66lag_key\x18\x01 \x01(\tR\x07\x66lagKey\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x1e\n\nattachment\x18\x05 \x01(\tR\nattachment\x12#\n\rnamespace_key\x18\x06 \x01(\tR\x0cnamespaceKey\"\xce\x01\n\x14UpdateVariantRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x10\n\x03key\x18\x03 \x01(\tR\x03key\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\x12\x1e\n\nattachment\x18\x06 \x01(\tR\nattachment\x12#\n\rnamespace_key\x18\x07 \x01(\tR\x0cnamespaceKey\"f\n\x14\x44\x65leteVariantRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12#\n\rnamespace_key\x18\x03 \x01(\tR\x0cnamespaceKey\"\xd2\x02\n\x07Segment\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x39\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x33\n\x0b\x63onstraints\x18\x06 \x03(\x0b\x32\x11.flipt.ConstraintR\x0b\x63onstraints\x12/\n\nmatch_type\x18\x07 \x01(\x0e\x32\x10.flipt.MatchTypeR\tmatchType\x12#\n\rnamespace_key\x18\x08 \x01(\tR\x0cnamespaceKey\"\x82\x01\n\x0bSegmentList\x12*\n\x08segments\x18\x01 \x03(\x0b\x32\x0e.flipt.SegmentR\x08segments\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount\"J\n\x11GetSegmentRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\"\x8a\x01\n\x12ListSegmentRequest\x12\x14\n\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x1a\n\x06offset\x18\x02 \x01(\x05\x42\x02\x18\x01R\x06offset\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken\x12#\n\rnamespace_key\x18\x04 \x01(\tR\x0cnamespaceKey\"\xb4\x01\n\x14\x43reateSegmentRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12/\n\nmatch_type\x18\x04 \x01(\x0e\x32\x10.flipt.MatchTypeR\tmatchType\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\"\xb4\x01\n\x14UpdateSegmentRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12/\n\nmatch_type\x18\x04 \x01(\x0e\x32\x10.flipt.MatchTypeR\tmatchType\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\"M\n\x14\x44\x65leteSegmentRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\"\xf3\x02\n\nConstraint\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0bsegment_key\x18\x02 \x01(\tR\nsegmentKey\x12)\n\x04type\x18\x03 \x01(\x0e\x32\x15.flipt.ComparisonTypeR\x04type\x12\x1a\n\x08property\x18\x04 \x01(\tR\x08property\x12\x1a\n\x08operator\x18\x05 \x01(\tR\x08operator\x12\x14\n\x05value\x18\x06 \x01(\tR\x05value\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12#\n\rnamespace_key\x18\t \x01(\tR\x0cnamespaceKey\x12 \n\x0b\x64\x65scription\x18\n \x01(\tR\x0b\x64\x65scription\"\xfa\x01\n\x17\x43reateConstraintRequest\x12\x1f\n\x0bsegment_key\x18\x01 \x01(\tR\nsegmentKey\x12)\n\x04type\x18\x02 \x01(\x0e\x32\x15.flipt.ComparisonTypeR\x04type\x12\x1a\n\x08property\x18\x03 \x01(\tR\x08property\x12\x1a\n\x08operator\x18\x04 \x01(\tR\x08operator\x12\x14\n\x05value\x18\x05 \x01(\tR\x05value\x12#\n\rnamespace_key\x18\x06 \x01(\tR\x0cnamespaceKey\x12 \n\x0b\x64\x65scription\x18\x07 \x01(\tR\x0b\x64\x65scription\"\x8a\x02\n\x17UpdateConstraintRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0bsegment_key\x18\x02 \x01(\tR\nsegmentKey\x12)\n\x04type\x18\x03 \x01(\x0e\x32\x15.flipt.ComparisonTypeR\x04type\x12\x1a\n\x08property\x18\x04 \x01(\tR\x08property\x12\x1a\n\x08operator\x18\x05 \x01(\tR\x08operator\x12\x14\n\x05value\x18\x06 \x01(\tR\x05value\x12#\n\rnamespace_key\x18\x07 \x01(\tR\x0cnamespaceKey\x12 \n\x0b\x64\x65scription\x18\x08 \x01(\tR\x0b\x64\x65scription\"o\n\x17\x44\x65leteConstraintRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0bsegment_key\x18\x02 \x01(\tR\nsegmentKey\x12#\n\rnamespace_key\x18\x03 \x01(\tR\x0cnamespaceKey\"\xa1\x03\n\x07Rollout\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\x12\x19\n\x08\x66lag_key\x18\x03 \x01(\tR\x07\x66lagKey\x12&\n\x04type\x18\x04 \x01(\x0e\x32\x12.flipt.RolloutTypeR\x04type\x12\x12\n\x04rank\x18\x05 \x01(\x05R\x04rank\x12 \n\x0b\x64\x65scription\x18\x06 \x01(\tR\x0b\x64\x65scription\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x31\n\x07segment\x18\x14 \x01(\x0b\x32\x15.flipt.RolloutSegmentH\x00R\x07segment\x12\x37\n\tthreshold\x18\x15 \x01(\x0b\x32\x17.flipt.RolloutThresholdH\x00R\tthresholdB\x06\n\x04rule\"\xb1\x01\n\x0eRolloutSegment\x12#\n\x0bsegment_key\x18\x01 \x01(\tB\x02\x18\x01R\nsegmentKey\x12\x14\n\x05value\x18\x02 \x01(\x08R\x05value\x12!\n\x0csegment_keys\x18\x03 \x03(\tR\x0bsegmentKeys\x12\x41\n\x10segment_operator\x18\x04 \x01(\x0e\x32\x16.flipt.SegmentOperatorR\x0fsegmentOperator\"H\n\x10RolloutThreshold\x12\x1e\n\npercentage\x18\x01 \x01(\x02R\npercentage\x12\x14\n\x05value\x18\x02 \x01(\x08R\x05value\"|\n\x0bRolloutList\x12$\n\x05rules\x18\x01 \x03(\x0b\x32\x0e.flipt.RolloutR\x05rules\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount\"\x89\x01\n\x12ListRolloutRequest\x12#\n\rnamespace_key\x18\x01 \x01(\tR\x0cnamespaceKey\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x14\n\x05limit\x18\x03 \x01(\x05R\x05limit\x12\x1d\n\npage_token\x18\x04 \x01(\tR\tpageToken\"c\n\x11GetRolloutRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\x12\x19\n\x08\x66lag_key\x18\x03 \x01(\tR\x07\x66lagKey\"\x80\x02\n\x14\x43reateRolloutRequest\x12#\n\rnamespace_key\x18\x01 \x01(\tR\x0cnamespaceKey\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x12\n\x04rank\x18\x03 \x01(\x05R\x04rank\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x31\n\x07segment\x18\x14 \x01(\x0b\x32\x15.flipt.RolloutSegmentH\x00R\x07segment\x12\x37\n\tthreshold\x18\x15 \x01(\x0b\x32\x17.flipt.RolloutThresholdH\x00R\tthresholdB\x06\n\x04rule\"\xfc\x01\n\x14UpdateRolloutRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\x12\x19\n\x08\x66lag_key\x18\x03 \x01(\tR\x07\x66lagKey\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x31\n\x07segment\x18\x14 \x01(\x0b\x32\x15.flipt.RolloutSegmentH\x00R\x07segment\x12\x37\n\tthreshold\x18\x15 \x01(\x0b\x32\x17.flipt.RolloutThresholdH\x00R\tthresholdB\x06\n\x04rule\"f\n\x14\x44\x65leteRolloutRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\x12\x19\n\x08\x66lag_key\x18\x03 \x01(\tR\x07\x66lagKey\"w\n\x14OrderRolloutsRequest\x12\x19\n\x08\x66lag_key\x18\x01 \x01(\tR\x07\x66lagKey\x12#\n\rnamespace_key\x18\x02 \x01(\tR\x0cnamespaceKey\x12\x1f\n\x0brollout_ids\x18\x03 \x03(\tR\nrolloutIds\"\xa2\x03\n\x04Rule\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x1f\n\x0bsegment_key\x18\x03 \x01(\tR\nsegmentKey\x12\x39\n\rdistributions\x18\x04 \x03(\x0b\x32\x13.flipt.DistributionR\rdistributions\x12\x12\n\x04rank\x18\x05 \x01(\x05R\x04rank\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12#\n\rnamespace_key\x18\x08 \x01(\tR\x0cnamespaceKey\x12!\n\x0csegment_keys\x18\t \x03(\tR\x0bsegmentKeys\x12\x41\n\x10segment_operator\x18\n \x01(\x0e\x32\x16.flipt.SegmentOperatorR\x0fsegmentOperator\"v\n\x08RuleList\x12!\n\x05rules\x18\x01 \x03(\x0b\x32\x0b.flipt.RuleR\x05rules\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1f\n\x0btotal_count\x18\x03 \x01(\x05R\ntotalCount\"\xa2\x01\n\x0fListRuleRequest\x12\x14\n\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x1a\n\x06offset\x18\x02 \x01(\x05\x42\x02\x18\x01R\x06offset\x12\x19\n\x08\x66lag_key\x18\x03 \x01(\tR\x07\x66lagKey\x12\x1d\n\npage_token\x18\x04 \x01(\tR\tpageToken\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\"`\n\x0eGetRuleRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12#\n\rnamespace_key\x18\x03 \x01(\tR\x0cnamespaceKey\"\xf2\x01\n\x11\x43reateRuleRequest\x12\x19\n\x08\x66lag_key\x18\x01 \x01(\tR\x07\x66lagKey\x12#\n\x0bsegment_key\x18\x02 \x01(\tB\x02\x18\x01R\nsegmentKey\x12\x12\n\x04rank\x18\x03 \x01(\x05R\x04rank\x12#\n\rnamespace_key\x18\x04 \x01(\tR\x0cnamespaceKey\x12!\n\x0csegment_keys\x18\x05 \x03(\tR\x0bsegmentKeys\x12\x41\n\x10segment_operator\x18\x06 \x01(\x0e\x32\x16.flipt.SegmentOperatorR\x0fsegmentOperator\"\xee\x01\n\x11UpdateRuleRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12#\n\x0bsegment_key\x18\x03 \x01(\tB\x02\x18\x01R\nsegmentKey\x12#\n\rnamespace_key\x18\x04 \x01(\tR\x0cnamespaceKey\x12!\n\x0csegment_keys\x18\x05 \x03(\tR\x0bsegmentKeys\x12\x41\n\x10segment_operator\x18\x06 \x01(\x0e\x32\x16.flipt.SegmentOperatorR\x0fsegmentOperator\"c\n\x11\x44\x65leteRuleRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12#\n\rnamespace_key\x18\x03 \x01(\tR\x0cnamespaceKey\"n\n\x11OrderRulesRequest\x12\x19\n\x08\x66lag_key\x18\x01 \x01(\tR\x07\x66lagKey\x12\x19\n\x08rule_ids\x18\x02 \x03(\tR\x07ruleIds\x12#\n\rnamespace_key\x18\x03 \x01(\tR\x0cnamespaceKey\"\xe6\x01\n\x0c\x44istribution\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07rule_id\x18\x02 \x01(\tR\x06ruleId\x12\x1d\n\nvariant_id\x18\x03 \x01(\tR\tvariantId\x12\x18\n\x07rollout\x18\x04 \x01(\x02R\x07rollout\x12\x39\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\"\xad\x01\n\x19\x43reateDistributionRequest\x12\x19\n\x08\x66lag_key\x18\x01 \x01(\tR\x07\x66lagKey\x12\x17\n\x07rule_id\x18\x02 \x01(\tR\x06ruleId\x12\x1d\n\nvariant_id\x18\x03 \x01(\tR\tvariantId\x12\x18\n\x07rollout\x18\x04 \x01(\x02R\x07rollout\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey\"\xbd\x01\n\x19UpdateDistributionRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x17\n\x07rule_id\x18\x03 \x01(\tR\x06ruleId\x12\x1d\n\nvariant_id\x18\x04 \x01(\tR\tvariantId\x12\x18\n\x07rollout\x18\x05 \x01(\x02R\x07rollout\x12#\n\rnamespace_key\x18\x06 \x01(\tR\x0cnamespaceKey\"\xa3\x01\n\x19\x44\x65leteDistributionRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08\x66lag_key\x18\x02 \x01(\tR\x07\x66lagKey\x12\x17\n\x07rule_id\x18\x03 \x01(\tR\x06ruleId\x12\x1d\n\nvariant_id\x18\x04 \x01(\tR\tvariantId\x12#\n\rnamespace_key\x18\x05 \x01(\tR\x0cnamespaceKey*\xb6\x01\n\x10\x45valuationReason\x12\x1d\n\x19UNKNOWN_EVALUATION_REASON\x10\x00\x12#\n\x1f\x46LAG_DISABLED_EVALUATION_REASON\x10\x01\x12$\n FLAG_NOT_FOUND_EVALUATION_REASON\x10\x02\x12\x1b\n\x17MATCH_EVALUATION_REASON\x10\x03\x12\x1b\n\x17\x45RROR_EVALUATION_REASON\x10\x04*8\n\x08\x46lagType\x12\x15\n\x11VARIANT_FLAG_TYPE\x10\x00\x12\x15\n\x11\x42OOLEAN_FLAG_TYPE\x10\x01*3\n\tMatchType\x12\x12\n\x0e\x41LL_MATCH_TYPE\x10\x00\x12\x12\n\x0e\x41NY_MATCH_TYPE\x10\x01*\xa0\x01\n\x0e\x43omparisonType\x12\x1b\n\x17UNKNOWN_COMPARISON_TYPE\x10\x00\x12\x1a\n\x16STRING_COMPARISON_TYPE\x10\x01\x12\x1a\n\x16NUMBER_COMPARISON_TYPE\x10\x02\x12\x1b\n\x17\x42OOLEAN_COMPARISON_TYPE\x10\x03\x12\x1c\n\x18\x44\x41TETIME_COMPARISON_TYPE\x10\x04*]\n\x0bRolloutType\x12\x18\n\x14UNKNOWN_ROLLOUT_TYPE\x10\x00\x12\x18\n\x14SEGMENT_ROLLOUT_TYPE\x10\x01\x12\x1a\n\x16THRESHOLD_ROLLOUT_TYPE\x10\x02*D\n\x0fSegmentOperator\x12\x17\n\x13OR_SEGMENT_OPERATOR\x10\x00\x12\x18\n\x14\x41ND_SEGMENT_OPERATOR\x10\x01\x32\xdb\x13\n\x05\x46lipt\x12\x44\n\x08\x45valuate\x12\x18.flipt.EvaluationRequest\x1a\x19.flipt.EvaluationResponse\"\x03\x88\x02\x01\x12S\n\rBatchEvaluate\x12\x1d.flipt.BatchEvaluationRequest\x1a\x1e.flipt.BatchEvaluationResponse\"\x03\x88\x02\x01\x12>\n\x0cGetNamespace\x12\x1a.flipt.GetNamespaceRequest\x1a\x10.flipt.Namespace\"\x00\x12\x45\n\x0eListNamespaces\x12\x1b.flipt.ListNamespaceRequest\x1a\x14.flipt.NamespaceList\"\x00\x12\x44\n\x0f\x43reateNamespace\x12\x1d.flipt.CreateNamespaceRequest\x1a\x10.flipt.Namespace\"\x00\x12\x44\n\x0fUpdateNamespace\x12\x1d.flipt.UpdateNamespaceRequest\x1a\x10.flipt.Namespace\"\x00\x12J\n\x0f\x44\x65leteNamespace\x12\x1d.flipt.DeleteNamespaceRequest\x1a\x16.google.protobuf.Empty\"\x00\x12/\n\x07GetFlag\x12\x15.flipt.GetFlagRequest\x1a\x0b.flipt.Flag\"\x00\x12\x36\n\tListFlags\x12\x16.flipt.ListFlagRequest\x1a\x0f.flipt.FlagList\"\x00\x12\x35\n\nCreateFlag\x12\x18.flipt.CreateFlagRequest\x1a\x0b.flipt.Flag\"\x00\x12\x35\n\nUpdateFlag\x12\x18.flipt.UpdateFlagRequest\x1a\x0b.flipt.Flag\"\x00\x12@\n\nDeleteFlag\x12\x18.flipt.DeleteFlagRequest\x1a\x16.google.protobuf.Empty\"\x00\x12>\n\rCreateVariant\x12\x1b.flipt.CreateVariantRequest\x1a\x0e.flipt.Variant\"\x00\x12>\n\rUpdateVariant\x12\x1b.flipt.UpdateVariantRequest\x1a\x0e.flipt.Variant\"\x00\x12\x46\n\rDeleteVariant\x12\x1b.flipt.DeleteVariantRequest\x1a\x16.google.protobuf.Empty\"\x00\x12/\n\x07GetRule\x12\x15.flipt.GetRuleRequest\x1a\x0b.flipt.Rule\"\x00\x12\x36\n\tListRules\x12\x16.flipt.ListRuleRequest\x1a\x0f.flipt.RuleList\"\x00\x12\x35\n\nCreateRule\x12\x18.flipt.CreateRuleRequest\x1a\x0b.flipt.Rule\"\x00\x12\x35\n\nUpdateRule\x12\x18.flipt.UpdateRuleRequest\x1a\x0b.flipt.Rule\"\x00\x12@\n\nOrderRules\x12\x18.flipt.OrderRulesRequest\x1a\x16.google.protobuf.Empty\"\x00\x12@\n\nDeleteRule\x12\x18.flipt.DeleteRuleRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x38\n\nGetRollout\x12\x18.flipt.GetRolloutRequest\x1a\x0e.flipt.Rollout\"\x00\x12?\n\x0cListRollouts\x12\x19.flipt.ListRolloutRequest\x1a\x12.flipt.RolloutList\"\x00\x12>\n\rCreateRollout\x12\x1b.flipt.CreateRolloutRequest\x1a\x0e.flipt.Rollout\"\x00\x12>\n\rUpdateRollout\x12\x1b.flipt.UpdateRolloutRequest\x1a\x0e.flipt.Rollout\"\x00\x12\x46\n\rDeleteRollout\x12\x1b.flipt.DeleteRolloutRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x46\n\rOrderRollouts\x12\x1b.flipt.OrderRolloutsRequest\x1a\x16.google.protobuf.Empty\"\x00\x12M\n\x12\x43reateDistribution\x12 .flipt.CreateDistributionRequest\x1a\x13.flipt.Distribution\"\x00\x12M\n\x12UpdateDistribution\x12 .flipt.UpdateDistributionRequest\x1a\x13.flipt.Distribution\"\x00\x12P\n\x12\x44\x65leteDistribution\x12 .flipt.DeleteDistributionRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x38\n\nGetSegment\x12\x18.flipt.GetSegmentRequest\x1a\x0e.flipt.Segment\"\x00\x12?\n\x0cListSegments\x12\x19.flipt.ListSegmentRequest\x1a\x12.flipt.SegmentList\"\x00\x12>\n\rCreateSegment\x12\x1b.flipt.CreateSegmentRequest\x1a\x0e.flipt.Segment\"\x00\x12>\n\rUpdateSegment\x12\x1b.flipt.UpdateSegmentRequest\x1a\x0e.flipt.Segment\"\x00\x12\x46\n\rDeleteSegment\x12\x1b.flipt.DeleteSegmentRequest\x1a\x16.google.protobuf.Empty\"\x00\x12G\n\x10\x43reateConstraint\x12\x1e.flipt.CreateConstraintRequest\x1a\x11.flipt.Constraint\"\x00\x12G\n\x10UpdateConstraint\x12\x1e.flipt.UpdateConstraintRequest\x1a\x11.flipt.Constraint\"\x00\x12L\n\x10\x44\x65leteConstraint\x12\x1e.flipt.DeleteConstraintRequest\x1a\x16.google.protobuf.Empty\"\x00\x42\x1dZ\x1bgo.flipt.io/flipt/rpc/fliptb\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) -rescue TypeError => e +rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) diff --git a/lib/meta/meta_pb.rb b/lib/meta/meta_pb.rb index 8be3210..3aa6019 100644 --- a/lib/meta/meta_pb.rb +++ b/lib/meta/meta_pb.rb @@ -14,7 +14,7 @@ begin pool.add_serialized_file(descriptor_data) -rescue TypeError => e +rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)