@superblocksteam/types 0.1859.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/agent/v1/index.d.ts +2 -0
- package/dist/src/agent/v1/index.d.ts.map +1 -0
- package/dist/src/agent/v1/index.js +18 -0
- package/dist/src/agent/v1/index.js.map +1 -0
- package/dist/src/agent/v1/service_pb.d.ts +398 -0
- package/dist/src/agent/v1/service_pb.d.ts.map +1 -0
- package/dist/src/agent/v1/service_pb.js +608 -0
- package/dist/src/agent/v1/service_pb.js.map +1 -0
- package/dist/src/ai/v1/ai_pb.d.ts +592 -0
- package/dist/src/ai/v1/ai_pb.d.ts.map +1 -0
- package/dist/src/ai/v1/ai_pb.js +775 -0
- package/dist/src/ai/v1/ai_pb.js.map +1 -0
- package/dist/src/ai/v1/metadata_pb.d.ts +101 -0
- package/dist/src/ai/v1/metadata_pb.d.ts.map +1 -0
- package/dist/src/ai/v1/metadata_pb.js +57 -0
- package/dist/src/ai/v1/metadata_pb.js.map +1 -0
- package/dist/src/ai/v1/service_pb.d.ts +79 -0
- package/dist/src/ai/v1/service_pb.d.ts.map +1 -0
- package/dist/src/ai/v1/service_pb.js +132 -0
- package/dist/src/ai/v1/service_pb.js.map +1 -0
- package/dist/src/ai/v1/vector_pb.d.ts +32 -0
- package/dist/src/ai/v1/vector_pb.d.ts.map +1 -0
- package/dist/src/ai/v1/vector_pb.js +55 -0
- package/dist/src/ai/v1/vector_pb.js.map +1 -0
- package/dist/src/api/v1/api_pb.d.ts +1540 -0
- package/dist/src/api/v1/api_pb.d.ts.map +1 -0
- package/dist/src/api/v1/api_pb.js +1657 -0
- package/dist/src/api/v1/api_pb.js.map +1 -0
- package/dist/src/api/v1/blocks_pb.d.ts +109 -0
- package/dist/src/api/v1/blocks_pb.d.ts.map +1 -0
- package/dist/src/api/v1/blocks_pb.js +162 -0
- package/dist/src/api/v1/blocks_pb.js.map +1 -0
- package/dist/src/api/v1/event_pb.d.ts +431 -0
- package/dist/src/api/v1/event_pb.d.ts.map +1 -0
- package/dist/src/api/v1/event_pb.js +600 -0
- package/dist/src/api/v1/event_pb.js.map +1 -0
- package/dist/src/api/v1/index.d.ts +7 -0
- package/dist/src/api/v1/index.d.ts.map +1 -0
- package/dist/src/api/v1/index.js +23 -0
- package/dist/src/api/v1/index.js.map +1 -0
- package/dist/src/api/v1/integration_auth_service_pb.d.ts +195 -0
- package/dist/src/api/v1/integration_auth_service_pb.d.ts.map +1 -0
- package/dist/src/api/v1/integration_auth_service_pb.js +315 -0
- package/dist/src/api/v1/integration_auth_service_pb.js.map +1 -0
- package/dist/src/api/v1/requests_pb.d.ts +525 -0
- package/dist/src/api/v1/requests_pb.d.ts.map +1 -0
- package/dist/src/api/v1/requests_pb.js +693 -0
- package/dist/src/api/v1/requests_pb.js.map +1 -0
- package/dist/src/api/v1/service_pb.d.ts +1391 -0
- package/dist/src/api/v1/service_pb.d.ts.map +1 -0
- package/dist/src/api/v1/service_pb.js +2002 -0
- package/dist/src/api/v1/service_pb.js.map +1 -0
- package/dist/src/auth/v1/auth_pb.d.ts +75 -0
- package/dist/src/auth/v1/auth_pb.d.ts.map +1 -0
- package/dist/src/auth/v1/auth_pb.js +118 -0
- package/dist/src/auth/v1/auth_pb.js.map +1 -0
- package/dist/src/buf/validate/expression_pb.d.ts +133 -0
- package/dist/src/buf/validate/expression_pb.d.ts.map +1 -0
- package/dist/src/buf/validate/expression_pb.js +195 -0
- package/dist/src/buf/validate/expression_pb.js.map +1 -0
- package/dist/src/buf/validate/priv/private_pb.d.ts +49 -0
- package/dist/src/buf/validate/priv/private_pb.d.ts.map +1 -0
- package/dist/src/buf/validate/priv/private_pb.js +94 -0
- package/dist/src/buf/validate/priv/private_pb.js.map +1 -0
- package/dist/src/buf/validate/validate_pb.d.ts +3681 -0
- package/dist/src/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/src/buf/validate/validate_pb.js +2437 -0
- package/dist/src/buf/validate/validate_pb.js.map +1 -0
- package/dist/src/cache/v1/cache_pb.d.ts +80 -0
- package/dist/src/cache/v1/cache_pb.d.ts.map +1 -0
- package/dist/src/cache/v1/cache_pb.js +127 -0
- package/dist/src/cache/v1/cache_pb.js.map +1 -0
- package/dist/src/common/v1/api_pb.d.ts +79 -0
- package/dist/src/common/v1/api_pb.d.ts.map +1 -0
- package/dist/src/common/v1/api_pb.js +138 -0
- package/dist/src/common/v1/api_pb.js.map +1 -0
- package/dist/src/common/v1/common_pb.d.ts +124 -0
- package/dist/src/common/v1/common_pb.d.ts.map +1 -0
- package/dist/src/common/v1/common_pb.js +189 -0
- package/dist/src/common/v1/common_pb.js.map +1 -0
- package/dist/src/common/v1/errors_pb.d.ts +85 -0
- package/dist/src/common/v1/errors_pb.d.ts.map +1 -0
- package/dist/src/common/v1/errors_pb.js +124 -0
- package/dist/src/common/v1/errors_pb.js.map +1 -0
- package/dist/src/common/v1/health_pb.d.ts +77 -0
- package/dist/src/common/v1/health_pb.d.ts.map +1 -0
- package/dist/src/common/v1/health_pb.js +121 -0
- package/dist/src/common/v1/health_pb.js.map +1 -0
- package/dist/src/common/v1/index.d.ts +6 -0
- package/dist/src/common/v1/index.d.ts.map +1 -0
- package/dist/src/common/v1/index.js +22 -0
- package/dist/src/common/v1/index.js.map +1 -0
- package/dist/src/common/v1/language_pb.d.ts +506 -0
- package/dist/src/common/v1/language_pb.d.ts.map +1 -0
- package/dist/src/common/v1/language_pb.js +643 -0
- package/dist/src/common/v1/language_pb.js.map +1 -0
- package/dist/src/common/v1/plugin_pb.d.ts +135 -0
- package/dist/src/common/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/common/v1/plugin_pb.js +206 -0
- package/dist/src/common/v1/plugin_pb.js.map +1 -0
- package/dist/src/common/v1/utils_pb.d.ts +20 -0
- package/dist/src/common/v1/utils_pb.d.ts.map +1 -0
- package/dist/src/common/v1/utils_pb.js +40 -0
- package/dist/src/common/v1/utils_pb.js.map +1 -0
- package/dist/src/event/v1/cloudevent_pb.d.ts +170 -0
- package/dist/src/event/v1/cloudevent_pb.d.ts.map +1 -0
- package/dist/src/event/v1/cloudevent_pb.js +124 -0
- package/dist/src/event/v1/cloudevent_pb.js.map +1 -0
- package/dist/src/event/v1/event_pb.d.ts +165 -0
- package/dist/src/event/v1/event_pb.d.ts.map +1 -0
- package/dist/src/event/v1/event_pb.js +232 -0
- package/dist/src/event/v1/event_pb.js.map +1 -0
- package/dist/src/event/v1/service_pb.d.ts +62 -0
- package/dist/src/event/v1/service_pb.d.ts.map +1 -0
- package/dist/src/event/v1/service_pb.js +112 -0
- package/dist/src/event/v1/service_pb.js.map +1 -0
- package/dist/src/event/v2/cloudevent_pb.d.ts +170 -0
- package/dist/src/event/v2/cloudevent_pb.d.ts.map +1 -0
- package/dist/src/event/v2/cloudevent_pb.js +124 -0
- package/dist/src/event/v2/cloudevent_pb.js.map +1 -0
- package/dist/src/google/api/http_pb.d.ts +454 -0
- package/dist/src/google/api/http_pb.d.ts.map +1 -0
- package/dist/src/google/api/http_pb.js +467 -0
- package/dist/src/google/api/http_pb.js.map +1 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +25 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/intake/v1/logs_pb.d.ts +20 -0
- package/dist/src/intake/v1/logs_pb.d.ts.map +1 -0
- package/dist/src/intake/v1/logs_pb.js +40 -0
- package/dist/src/intake/v1/logs_pb.js.map +1 -0
- package/dist/src/integration/v1/service_pb.d.ts +174 -0
- package/dist/src/integration/v1/service_pb.d.ts.map +1 -0
- package/dist/src/integration/v1/service_pb.js +274 -0
- package/dist/src/integration/v1/service_pb.js.map +1 -0
- package/dist/src/kafka/v1/index.d.ts +2 -0
- package/dist/src/kafka/v1/index.d.ts.map +1 -0
- package/dist/src/kafka/v1/index.js +28 -0
- package/dist/src/kafka/v1/index.js.map +1 -0
- package/dist/src/kafka/v1/kafka_pb.d.ts +66 -0
- package/dist/src/kafka/v1/kafka_pb.d.ts.map +1 -0
- package/dist/src/kafka/v1/kafka_pb.js +96 -0
- package/dist/src/kafka/v1/kafka_pb.js.map +1 -0
- package/dist/src/plugins/adls/v1/plugin_pb.d.ts +305 -0
- package/dist/src/plugins/adls/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/adls/v1/plugin_pb.js +435 -0
- package/dist/src/plugins/adls/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/athena/v1/plugin_pb.d.ts +91 -0
- package/dist/src/plugins/athena/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/athena/v1/plugin_pb.js +141 -0
- package/dist/src/plugins/athena/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/bigquery/v1/plugin_pb.d.ts +119 -0
- package/dist/src/plugins/bigquery/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/bigquery/v1/plugin_pb.js +193 -0
- package/dist/src/plugins/bigquery/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/cockroachdb/v1/plugin_pb.d.ts +110 -0
- package/dist/src/plugins/cockroachdb/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/cockroachdb/v1/plugin_pb.js +172 -0
- package/dist/src/plugins/cockroachdb/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/common/v1/auth_pb.d.ts +514 -0
- package/dist/src/plugins/common/v1/auth_pb.d.ts.map +1 -0
- package/dist/src/plugins/common/v1/auth_pb.js +711 -0
- package/dist/src/plugins/common/v1/auth_pb.js.map +1 -0
- package/dist/src/plugins/common/v1/metadata_pb.d.ts +96 -0
- package/dist/src/plugins/common/v1/metadata_pb.d.ts.map +1 -0
- package/dist/src/plugins/common/v1/metadata_pb.js +164 -0
- package/dist/src/plugins/common/v1/metadata_pb.js.map +1 -0
- package/dist/src/plugins/common/v1/plugin_pb.d.ts +294 -0
- package/dist/src/plugins/common/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/common/v1/plugin_pb.js +452 -0
- package/dist/src/plugins/common/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/cosmosdb/v1/plugin_pb.d.ts +373 -0
- package/dist/src/plugins/cosmosdb/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/cosmosdb/v1/plugin_pb.js +525 -0
- package/dist/src/plugins/cosmosdb/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/couchbase/v1/plugin_pb.d.ts +259 -0
- package/dist/src/plugins/couchbase/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/couchbase/v1/plugin_pb.js +395 -0
- package/dist/src/plugins/couchbase/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/custom/v1/plugin_pb.d.ts +32 -0
- package/dist/src/plugins/custom/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/custom/v1/plugin_pb.js +54 -0
- package/dist/src/plugins/custom/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/databricks/v1/plugin_pb.d.ts +117 -0
- package/dist/src/plugins/databricks/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/databricks/v1/plugin_pb.js +171 -0
- package/dist/src/plugins/databricks/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/dynamodb/v1/plugin_pb.d.ts +194 -0
- package/dist/src/plugins/dynamodb/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/dynamodb/v1/plugin_pb.js +316 -0
- package/dist/src/plugins/dynamodb/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/email/v1/plugin_pb.d.ts +65 -0
- package/dist/src/plugins/email/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/email/v1/plugin_pb.js +106 -0
- package/dist/src/plugins/email/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/gcs/v1/plugin_pb.d.ts +147 -0
- package/dist/src/plugins/gcs/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/gcs/v1/plugin_pb.js +228 -0
- package/dist/src/plugins/gcs/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/graphql/v1/plugin_pb.d.ts +70 -0
- package/dist/src/plugins/graphql/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/graphql/v1/plugin_pb.js +111 -0
- package/dist/src/plugins/graphql/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/gsheets/v1/plugin_pb.d.ts +123 -0
- package/dist/src/plugins/gsheets/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/gsheets/v1/plugin_pb.js +187 -0
- package/dist/src/plugins/gsheets/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/index.d.ts +19 -0
- package/dist/src/plugins/index.d.ts.map +1 -0
- package/dist/src/plugins/index.js +45 -0
- package/dist/src/plugins/index.js.map +1 -0
- package/dist/src/plugins/javascript/v1/plugin_pb.d.ts +41 -0
- package/dist/src/plugins/javascript/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/javascript/v1/plugin_pb.js +76 -0
- package/dist/src/plugins/javascript/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/kafka/v1/plugin_pb.d.ts +521 -0
- package/dist/src/plugins/kafka/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/kafka/v1/plugin_pb.js +788 -0
- package/dist/src/plugins/kafka/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/kinesis/v1/plugin_pb.d.ts +234 -0
- package/dist/src/plugins/kinesis/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/kinesis/v1/plugin_pb.js +351 -0
- package/dist/src/plugins/kinesis/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/mariadb/v1/plugin_pb.d.ts +110 -0
- package/dist/src/plugins/mariadb/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/mariadb/v1/plugin_pb.js +172 -0
- package/dist/src/plugins/mariadb/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/mongodb/v1/plugin_pb.d.ts +100 -0
- package/dist/src/plugins/mongodb/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/mongodb/v1/plugin_pb.js +149 -0
- package/dist/src/plugins/mongodb/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/mssql/v1/plugin_pb.d.ts +131 -0
- package/dist/src/plugins/mssql/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/mssql/v1/plugin_pb.js +208 -0
- package/dist/src/plugins/mssql/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/mysql/v1/plugin_pb.d.ts +131 -0
- package/dist/src/plugins/mysql/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/mysql/v1/plugin_pb.js +208 -0
- package/dist/src/plugins/mysql/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/ocr/v1/plugin_pb.d.ts +28 -0
- package/dist/src/plugins/ocr/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/ocr/v1/plugin_pb.js +50 -0
- package/dist/src/plugins/ocr/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/openai/v1/plugin_pb.d.ts +264 -0
- package/dist/src/plugins/openai/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/openai/v1/plugin_pb.js +373 -0
- package/dist/src/plugins/openai/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/oracledb/v1/plugin_pb.d.ts +86 -0
- package/dist/src/plugins/oracledb/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/oracledb/v1/plugin_pb.js +132 -0
- package/dist/src/plugins/oracledb/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/pinecone/v1/plugin_pb.d.ts +158 -0
- package/dist/src/plugins/pinecone/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/pinecone/v1/plugin_pb.js +218 -0
- package/dist/src/plugins/pinecone/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/postgresql/v1/plugin_pb.d.ts +131 -0
- package/dist/src/plugins/postgresql/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/postgresql/v1/plugin_pb.js +208 -0
- package/dist/src/plugins/postgresql/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/python/v1/plugin_pb.d.ts +41 -0
- package/dist/src/plugins/python/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/python/v1/plugin_pb.js +76 -0
- package/dist/src/plugins/python/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/redis/v1/plugin_pb.d.ts +1136 -0
- package/dist/src/plugins/redis/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/redis/v1/plugin_pb.js +1552 -0
- package/dist/src/plugins/redis/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/redshift/v1/plugin_pb.d.ts +119 -0
- package/dist/src/plugins/redshift/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/redshift/v1/plugin_pb.js +193 -0
- package/dist/src/plugins/redshift/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/restapi/v1/plugin_pb.d.ts +77 -0
- package/dist/src/plugins/restapi/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/restapi/v1/plugin_pb.js +110 -0
- package/dist/src/plugins/restapi/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/restapiintegration/v1/plugin_pb.d.ts +99 -0
- package/dist/src/plugins/restapiintegration/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/restapiintegration/v1/plugin_pb.js +137 -0
- package/dist/src/plugins/restapiintegration/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/rockset/v1/plugin_pb.d.ts +123 -0
- package/dist/src/plugins/rockset/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/rockset/v1/plugin_pb.js +198 -0
- package/dist/src/plugins/rockset/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/s3/v1/plugin_pb.d.ts +168 -0
- package/dist/src/plugins/s3/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/s3/v1/plugin_pb.js +263 -0
- package/dist/src/plugins/s3/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/salesforce/v1/plugin_pb.d.ts +293 -0
- package/dist/src/plugins/salesforce/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/salesforce/v1/plugin_pb.js +429 -0
- package/dist/src/plugins/salesforce/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/smtp/v1/plugin_pb.d.ts +96 -0
- package/dist/src/plugins/smtp/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/smtp/v1/plugin_pb.js +144 -0
- package/dist/src/plugins/smtp/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/snowflake/v1/plugin_pb.d.ts +119 -0
- package/dist/src/plugins/snowflake/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/snowflake/v1/plugin_pb.js +193 -0
- package/dist/src/plugins/snowflake/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/workflow/v1/plugin_pb.d.ts +58 -0
- package/dist/src/plugins/workflow/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/workflow/v1/plugin_pb.js +92 -0
- package/dist/src/plugins/workflow/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/workflow/v2/plugin_pb.d.ts +25 -0
- package/dist/src/plugins/workflow/v2/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/workflow/v2/plugin_pb.js +46 -0
- package/dist/src/plugins/workflow/v2/plugin_pb.js.map +1 -0
- package/dist/src/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1388 -0
- package/dist/src/protoc-gen-openapiv2/options/openapiv2_pb.d.ts.map +1 -0
- package/dist/src/protoc-gen-openapiv2/options/openapiv2_pb.js +1772 -0
- package/dist/src/protoc-gen-openapiv2/options/openapiv2_pb.js.map +1 -0
- package/dist/src/secrets/v1/index.d.ts +2 -0
- package/dist/src/secrets/v1/index.d.ts.map +1 -0
- package/dist/src/secrets/v1/index.js +28 -0
- package/dist/src/secrets/v1/index.js.map +1 -0
- package/dist/src/secrets/v1/secrets_pb.d.ts +344 -0
- package/dist/src/secrets/v1/secrets_pb.d.ts.map +1 -0
- package/dist/src/secrets/v1/secrets_pb.js +483 -0
- package/dist/src/secrets/v1/secrets_pb.js.map +1 -0
- package/dist/src/secrets/v1/store_pb.d.ts +98 -0
- package/dist/src/secrets/v1/store_pb.d.ts.map +1 -0
- package/dist/src/secrets/v1/store_pb.js +166 -0
- package/dist/src/secrets/v1/store_pb.js.map +1 -0
- package/dist/src/security/v1/index.d.ts +3 -0
- package/dist/src/security/v1/index.d.ts.map +1 -0
- package/dist/src/security/v1/index.js +19 -0
- package/dist/src/security/v1/index.js.map +1 -0
- package/dist/src/security/v1/requests_pb.d.ts +135 -0
- package/dist/src/security/v1/requests_pb.d.ts.map +1 -0
- package/dist/src/security/v1/requests_pb.js +214 -0
- package/dist/src/security/v1/requests_pb.js.map +1 -0
- package/dist/src/security/v1/service_pb.d.ts +192 -0
- package/dist/src/security/v1/service_pb.d.ts.map +1 -0
- package/dist/src/security/v1/service_pb.js +270 -0
- package/dist/src/security/v1/service_pb.js.map +1 -0
- package/dist/src/store/v1/service_pb.d.ts +81 -0
- package/dist/src/store/v1/service_pb.d.ts.map +1 -0
- package/dist/src/store/v1/service_pb.js +145 -0
- package/dist/src/store/v1/service_pb.js.map +1 -0
- package/dist/src/store/v1/store_pb.d.ts +42 -0
- package/dist/src/store/v1/store_pb.d.ts.map +1 -0
- package/dist/src/store/v1/store_pb.js +77 -0
- package/dist/src/store/v1/store_pb.js.map +1 -0
- package/dist/src/superblocks/v1/options_pb.d.ts +37 -0
- package/dist/src/superblocks/v1/options_pb.d.ts.map +1 -0
- package/dist/src/superblocks/v1/options_pb.js +71 -0
- package/dist/src/superblocks/v1/options_pb.js.map +1 -0
- package/dist/src/syncer/v1/index.d.ts +2 -0
- package/dist/src/syncer/v1/index.d.ts.map +1 -0
- package/dist/src/syncer/v1/index.js +28 -0
- package/dist/src/syncer/v1/index.js.map +1 -0
- package/dist/src/syncer/v1/service_pb.d.ts +186 -0
- package/dist/src/syncer/v1/service_pb.d.ts.map +1 -0
- package/dist/src/syncer/v1/service_pb.js +320 -0
- package/dist/src/syncer/v1/service_pb.js.map +1 -0
- package/dist/src/syncer/v1/syncer_pb.d.ts +41 -0
- package/dist/src/syncer/v1/syncer_pb.d.ts.map +1 -0
- package/dist/src/syncer/v1/syncer_pb.js +66 -0
- package/dist/src/syncer/v1/syncer_pb.js.map +1 -0
- package/dist/src/transport/v1/transport_pb.d.ts +614 -0
- package/dist/src/transport/v1/transport_pb.d.ts.map +1 -0
- package/dist/src/transport/v1/transport_pb.js +928 -0
- package/dist/src/transport/v1/transport_pb.js.map +1 -0
- package/dist/src/utils/v1/index.d.ts +2 -0
- package/dist/src/utils/v1/index.d.ts.map +1 -0
- package/dist/src/utils/v1/index.js +28 -0
- package/dist/src/utils/v1/index.js.map +1 -0
- package/dist/src/utils/v1/utils_pb.d.ts +45 -0
- package/dist/src/utils/v1/utils_pb.d.ts.map +1 -0
- package/dist/src/utils/v1/utils_pb.js +74 -0
- package/dist/src/utils/v1/utils_pb.js.map +1 -0
- package/dist/src/validate/validate_pb.d.ts +1794 -0
- package/dist/src/validate/validate_pb.d.ts.map +1 -0
- package/dist/src/validate/validate_pb.js +2044 -0
- package/dist/src/validate/validate_pb.js.map +1 -0
- package/dist/src/worker/v1/step_executor_pb.d.ts +23 -0
- package/dist/src/worker/v1/step_executor_pb.d.ts.map +1 -0
- package/dist/src/worker/v1/step_executor_pb.js +43 -0
- package/dist/src/worker/v1/step_executor_pb.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +18 -0
- package/src/agent/v1/index.ts +1 -0
- package/src/agent/v1/service_pb.ts +716 -0
- package/src/ai/v1/ai_pb.ts +977 -0
- package/src/ai/v1/metadata_pb.ts +134 -0
- package/src/ai/v1/service_pb.ts +154 -0
- package/src/ai/v1/vector_pb.ts +63 -0
- package/src/api/v1/api_pb.ts +2493 -0
- package/src/api/v1/blocks_pb.ts +182 -0
- package/src/api/v1/event_pb.ts +735 -0
- package/src/api/v1/index.ts +6 -0
- package/src/api/v1/integration_auth_service_pb.ts +372 -0
- package/src/api/v1/requests_pb.ts +906 -0
- package/src/api/v1/service_pb.ts +2464 -0
- package/src/auth/v1/auth_pb.ts +138 -0
- package/src/buf/validate/expression_pb.ts +222 -0
- package/src/buf/validate/priv/private_pb.ts +112 -0
- package/src/buf/validate/validate_pb.ts +4357 -0
- package/src/cache/v1/cache_pb.ts +146 -0
- package/src/common/v1/api_pb.ts +162 -0
- package/src/common/v1/common_pb.ts +220 -0
- package/src/common/v1/errors_pb.ts +143 -0
- package/src/common/v1/health_pb.ts +142 -0
- package/src/common/v1/index.ts +5 -0
- package/src/common/v1/language_pb.ts +765 -0
- package/src/common/v1/plugin_pb.ts +242 -0
- package/src/common/v1/utils_pb.ts +45 -0
- package/src/event/v1/cloudevent_pb.ts +225 -0
- package/src/event/v1/event_pb.ts +264 -0
- package/src/event/v1/service_pb.ts +131 -0
- package/src/event/v2/cloudevent_pb.ts +225 -0
- package/src/google/api/http_pb.ts +547 -0
- package/src/index.ts +8 -0
- package/src/intake/v1/logs_pb.ts +45 -0
- package/src/integration/v1/service_pb.ts +322 -0
- package/src/kafka/v1/index.ts +1 -0
- package/src/kafka/v1/kafka_pb.ts +118 -0
- package/src/plugins/adls/v1/plugin_pb.ts +562 -0
- package/src/plugins/athena/v1/plugin_pb.ts +163 -0
- package/src/plugins/bigquery/v1/plugin_pb.ts +228 -0
- package/src/plugins/cockroachdb/v1/plugin_pb.ts +203 -0
- package/src/plugins/common/v1/auth_pb.ts +918 -0
- package/src/plugins/common/v1/metadata_pb.ts +193 -0
- package/src/plugins/common/v1/plugin_pb.ts +527 -0
- package/src/plugins/cosmosdb/v1/plugin_pb.ts +670 -0
- package/src/plugins/couchbase/v1/plugin_pb.ts +492 -0
- package/src/plugins/custom/v1/plugin_pb.ts +61 -0
- package/src/plugins/databricks/v1/plugin_pb.ts +197 -0
- package/src/plugins/dynamodb/v1/plugin_pb.ts +375 -0
- package/src/plugins/email/v1/plugin_pb.ts +124 -0
- package/src/plugins/gcs/v1/plugin_pb.ts +270 -0
- package/src/plugins/graphql/v1/plugin_pb.ts +129 -0
- package/src/plugins/gsheets/v1/plugin_pb.ts +220 -0
- package/src/plugins/index.ts +19 -0
- package/src/plugins/javascript/v1/plugin_pb.ts +88 -0
- package/src/plugins/kafka/v1/plugin_pb.ts +921 -0
- package/src/plugins/kinesis/v1/plugin_pb.ts +406 -0
- package/src/plugins/mariadb/v1/plugin_pb.ts +203 -0
- package/src/plugins/mongodb/v1/plugin_pb.ts +175 -0
- package/src/plugins/mssql/v1/plugin_pb.ts +246 -0
- package/src/plugins/mysql/v1/plugin_pb.ts +246 -0
- package/src/plugins/ocr/v1/plugin_pb.ts +57 -0
- package/src/plugins/openai/v1/plugin_pb.ts +443 -0
- package/src/plugins/oracledb/v1/plugin_pb.ts +155 -0
- package/src/plugins/pinecone/v1/plugin_pb.ts +288 -0
- package/src/plugins/postgresql/v1/plugin_pb.ts +246 -0
- package/src/plugins/python/v1/plugin_pb.ts +88 -0
- package/src/plugins/redis/v1/plugin_pb.ts +2073 -0
- package/src/plugins/redshift/v1/plugin_pb.ts +228 -0
- package/src/plugins/restapi/v1/plugin_pb.ts +128 -0
- package/src/plugins/restapiintegration/v1/plugin_pb.ts +160 -0
- package/src/plugins/rockset/v1/plugin_pb.ts +234 -0
- package/src/plugins/s3/v1/plugin_pb.ts +311 -0
- package/src/plugins/salesforce/v1/plugin_pb.ts +516 -0
- package/src/plugins/smtp/v1/plugin_pb.ts +169 -0
- package/src/plugins/snowflake/v1/plugin_pb.ts +228 -0
- package/src/plugins/workflow/v1/plugin_pb.ts +107 -0
- package/src/plugins/workflow/v2/plugin_pb.ts +52 -0
- package/src/protoc-gen-openapiv2/options/openapiv2_pb.ts +1995 -0
- package/src/secrets/v1/index.ts +1 -0
- package/src/secrets/v1/secrets_pb.ts +609 -0
- package/src/secrets/v1/store_pb.ts +195 -0
- package/src/security/v1/index.ts +2 -0
- package/src/security/v1/requests_pb.ts +249 -0
- package/src/security/v1/service_pb.ts +350 -0
- package/src/store/v1/service_pb.ts +170 -0
- package/src/store/v1/store_pb.ts +89 -0
- package/src/superblocks/v1/options_pb.ts +82 -0
- package/src/syncer/v1/index.ts +1 -0
- package/src/syncer/v1/service_pb.ts +379 -0
- package/src/syncer/v1/syncer_pb.ts +76 -0
- package/src/transport/v1/transport_pb.ts +1099 -0
- package/src/utils/v1/index.ts +1 -0
- package/src/utils/v1/utils_pb.ts +83 -0
- package/src/validate/validate_pb.ts +2574 -0
- package/src/worker/v1/step_executor_pb.ts +48 -0
|
@@ -0,0 +1,2044 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts"
|
|
3
|
+
// @generated from file validate/validate.proto (package validate, syntax proto2)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.TimestampRules = exports.DurationRules = exports.AnyRules = exports.MapRules = exports.RepeatedRules = exports.MessageRules = exports.EnumRules = exports.BytesRules = exports.StringRules = exports.BoolRules = exports.SFixed64Rules = exports.SFixed32Rules = exports.Fixed64Rules = exports.Fixed32Rules = exports.SInt64Rules = exports.SInt32Rules = exports.UInt64Rules = exports.UInt32Rules = exports.Int64Rules = exports.Int32Rules = exports.DoubleRules = exports.FloatRules = exports.FieldRules = exports.KnownRegex = void 0;
|
|
8
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
|
+
/**
|
|
10
|
+
* WellKnownRegex contain some well-known patterns.
|
|
11
|
+
*
|
|
12
|
+
* @generated from enum validate.KnownRegex
|
|
13
|
+
*/
|
|
14
|
+
var KnownRegex;
|
|
15
|
+
(function (KnownRegex) {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from enum value: UNKNOWN = 0;
|
|
18
|
+
*/
|
|
19
|
+
KnownRegex[KnownRegex["UNKNOWN"] = 0] = "UNKNOWN";
|
|
20
|
+
/**
|
|
21
|
+
* HTTP header name as defined by RFC 7230.
|
|
22
|
+
*
|
|
23
|
+
* @generated from enum value: HTTP_HEADER_NAME = 1;
|
|
24
|
+
*/
|
|
25
|
+
KnownRegex[KnownRegex["HTTP_HEADER_NAME"] = 1] = "HTTP_HEADER_NAME";
|
|
26
|
+
/**
|
|
27
|
+
* HTTP header value as defined by RFC 7230.
|
|
28
|
+
*
|
|
29
|
+
* @generated from enum value: HTTP_HEADER_VALUE = 2;
|
|
30
|
+
*/
|
|
31
|
+
KnownRegex[KnownRegex["HTTP_HEADER_VALUE"] = 2] = "HTTP_HEADER_VALUE";
|
|
32
|
+
})(KnownRegex || (exports.KnownRegex = KnownRegex = {}));
|
|
33
|
+
// Retrieve enum metadata with: proto2.getEnumType(KnownRegex)
|
|
34
|
+
protobuf_1.proto2.util.setEnumType(KnownRegex, "validate.KnownRegex", [
|
|
35
|
+
{ no: 0, name: "UNKNOWN" },
|
|
36
|
+
{ no: 1, name: "HTTP_HEADER_NAME" },
|
|
37
|
+
{ no: 2, name: "HTTP_HEADER_VALUE" },
|
|
38
|
+
]);
|
|
39
|
+
/**
|
|
40
|
+
* FieldRules encapsulates the rules for each type of field. Depending on the
|
|
41
|
+
* field, the correct set should be used to ensure proper validations.
|
|
42
|
+
*
|
|
43
|
+
* @generated from message validate.FieldRules
|
|
44
|
+
*/
|
|
45
|
+
class FieldRules extends protobuf_1.Message {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: optional validate.MessageRules message = 17;
|
|
48
|
+
*/
|
|
49
|
+
message;
|
|
50
|
+
/**
|
|
51
|
+
* @generated from oneof validate.FieldRules.type
|
|
52
|
+
*/
|
|
53
|
+
type = { case: undefined };
|
|
54
|
+
constructor(data) {
|
|
55
|
+
super();
|
|
56
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
57
|
+
}
|
|
58
|
+
static runtime = protobuf_1.proto2;
|
|
59
|
+
static typeName = "validate.FieldRules";
|
|
60
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
61
|
+
{ no: 17, name: "message", kind: "message", T: MessageRules, opt: true },
|
|
62
|
+
{ no: 1, name: "float", kind: "message", T: FloatRules, oneof: "type" },
|
|
63
|
+
{ no: 2, name: "double", kind: "message", T: DoubleRules, oneof: "type" },
|
|
64
|
+
{ no: 3, name: "int32", kind: "message", T: Int32Rules, oneof: "type" },
|
|
65
|
+
{ no: 4, name: "int64", kind: "message", T: Int64Rules, oneof: "type" },
|
|
66
|
+
{ no: 5, name: "uint32", kind: "message", T: UInt32Rules, oneof: "type" },
|
|
67
|
+
{ no: 6, name: "uint64", kind: "message", T: UInt64Rules, oneof: "type" },
|
|
68
|
+
{ no: 7, name: "sint32", kind: "message", T: SInt32Rules, oneof: "type" },
|
|
69
|
+
{ no: 8, name: "sint64", kind: "message", T: SInt64Rules, oneof: "type" },
|
|
70
|
+
{ no: 9, name: "fixed32", kind: "message", T: Fixed32Rules, oneof: "type" },
|
|
71
|
+
{ no: 10, name: "fixed64", kind: "message", T: Fixed64Rules, oneof: "type" },
|
|
72
|
+
{ no: 11, name: "sfixed32", kind: "message", T: SFixed32Rules, oneof: "type" },
|
|
73
|
+
{ no: 12, name: "sfixed64", kind: "message", T: SFixed64Rules, oneof: "type" },
|
|
74
|
+
{ no: 13, name: "bool", kind: "message", T: BoolRules, oneof: "type" },
|
|
75
|
+
{ no: 14, name: "string", kind: "message", T: StringRules, oneof: "type" },
|
|
76
|
+
{ no: 15, name: "bytes", kind: "message", T: BytesRules, oneof: "type" },
|
|
77
|
+
{ no: 16, name: "enum", kind: "message", T: EnumRules, oneof: "type" },
|
|
78
|
+
{ no: 18, name: "repeated", kind: "message", T: RepeatedRules, oneof: "type" },
|
|
79
|
+
{ no: 19, name: "map", kind: "message", T: MapRules, oneof: "type" },
|
|
80
|
+
{ no: 20, name: "any", kind: "message", T: AnyRules, oneof: "type" },
|
|
81
|
+
{ no: 21, name: "duration", kind: "message", T: DurationRules, oneof: "type" },
|
|
82
|
+
{ no: 22, name: "timestamp", kind: "message", T: TimestampRules, oneof: "type" },
|
|
83
|
+
]);
|
|
84
|
+
static fromBinary(bytes, options) {
|
|
85
|
+
return new FieldRules().fromBinary(bytes, options);
|
|
86
|
+
}
|
|
87
|
+
static fromJson(jsonValue, options) {
|
|
88
|
+
return new FieldRules().fromJson(jsonValue, options);
|
|
89
|
+
}
|
|
90
|
+
static fromJsonString(jsonString, options) {
|
|
91
|
+
return new FieldRules().fromJsonString(jsonString, options);
|
|
92
|
+
}
|
|
93
|
+
static equals(a, b) {
|
|
94
|
+
return protobuf_1.proto2.util.equals(FieldRules, a, b);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.FieldRules = FieldRules;
|
|
98
|
+
/**
|
|
99
|
+
* FloatRules describes the constraints applied to `float` values
|
|
100
|
+
*
|
|
101
|
+
* @generated from message validate.FloatRules
|
|
102
|
+
*/
|
|
103
|
+
class FloatRules extends protobuf_1.Message {
|
|
104
|
+
/**
|
|
105
|
+
* Const specifies that this field must be exactly the specified value
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: optional float const = 1;
|
|
108
|
+
*/
|
|
109
|
+
const;
|
|
110
|
+
/**
|
|
111
|
+
* Lt specifies that this field must be less than the specified value,
|
|
112
|
+
* exclusive
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: optional float lt = 2;
|
|
115
|
+
*/
|
|
116
|
+
lt;
|
|
117
|
+
/**
|
|
118
|
+
* Lte specifies that this field must be less than or equal to the
|
|
119
|
+
* specified value, inclusive
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: optional float lte = 3;
|
|
122
|
+
*/
|
|
123
|
+
lte;
|
|
124
|
+
/**
|
|
125
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
126
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
127
|
+
* range is reversed.
|
|
128
|
+
*
|
|
129
|
+
* @generated from field: optional float gt = 4;
|
|
130
|
+
*/
|
|
131
|
+
gt;
|
|
132
|
+
/**
|
|
133
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
134
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
135
|
+
* specified Lt or Lte, the range is reversed.
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: optional float gte = 5;
|
|
138
|
+
*/
|
|
139
|
+
gte;
|
|
140
|
+
/**
|
|
141
|
+
* In specifies that this field must be equal to one of the specified
|
|
142
|
+
* values
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: repeated float in = 6;
|
|
145
|
+
*/
|
|
146
|
+
in = [];
|
|
147
|
+
/**
|
|
148
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
149
|
+
* values
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: repeated float not_in = 7;
|
|
152
|
+
*/
|
|
153
|
+
notIn = [];
|
|
154
|
+
/**
|
|
155
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
156
|
+
* evaluated only if the field is not empty
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
159
|
+
*/
|
|
160
|
+
ignoreEmpty;
|
|
161
|
+
constructor(data) {
|
|
162
|
+
super();
|
|
163
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
164
|
+
}
|
|
165
|
+
static runtime = protobuf_1.proto2;
|
|
166
|
+
static typeName = "validate.FloatRules";
|
|
167
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
168
|
+
{ no: 1, name: "const", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
169
|
+
{ no: 2, name: "lt", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
170
|
+
{ no: 3, name: "lte", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
171
|
+
{ no: 4, name: "gt", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
172
|
+
{ no: 5, name: "gte", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
173
|
+
{ no: 6, name: "in", kind: "scalar", T: 2 /* ScalarType.FLOAT */, repeated: true },
|
|
174
|
+
{ no: 7, name: "not_in", kind: "scalar", T: 2 /* ScalarType.FLOAT */, repeated: true },
|
|
175
|
+
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
176
|
+
]);
|
|
177
|
+
static fromBinary(bytes, options) {
|
|
178
|
+
return new FloatRules().fromBinary(bytes, options);
|
|
179
|
+
}
|
|
180
|
+
static fromJson(jsonValue, options) {
|
|
181
|
+
return new FloatRules().fromJson(jsonValue, options);
|
|
182
|
+
}
|
|
183
|
+
static fromJsonString(jsonString, options) {
|
|
184
|
+
return new FloatRules().fromJsonString(jsonString, options);
|
|
185
|
+
}
|
|
186
|
+
static equals(a, b) {
|
|
187
|
+
return protobuf_1.proto2.util.equals(FloatRules, a, b);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
exports.FloatRules = FloatRules;
|
|
191
|
+
/**
|
|
192
|
+
* DoubleRules describes the constraints applied to `double` values
|
|
193
|
+
*
|
|
194
|
+
* @generated from message validate.DoubleRules
|
|
195
|
+
*/
|
|
196
|
+
class DoubleRules extends protobuf_1.Message {
|
|
197
|
+
/**
|
|
198
|
+
* Const specifies that this field must be exactly the specified value
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: optional double const = 1;
|
|
201
|
+
*/
|
|
202
|
+
const;
|
|
203
|
+
/**
|
|
204
|
+
* Lt specifies that this field must be less than the specified value,
|
|
205
|
+
* exclusive
|
|
206
|
+
*
|
|
207
|
+
* @generated from field: optional double lt = 2;
|
|
208
|
+
*/
|
|
209
|
+
lt;
|
|
210
|
+
/**
|
|
211
|
+
* Lte specifies that this field must be less than or equal to the
|
|
212
|
+
* specified value, inclusive
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: optional double lte = 3;
|
|
215
|
+
*/
|
|
216
|
+
lte;
|
|
217
|
+
/**
|
|
218
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
219
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
220
|
+
* range is reversed.
|
|
221
|
+
*
|
|
222
|
+
* @generated from field: optional double gt = 4;
|
|
223
|
+
*/
|
|
224
|
+
gt;
|
|
225
|
+
/**
|
|
226
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
227
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
228
|
+
* specified Lt or Lte, the range is reversed.
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: optional double gte = 5;
|
|
231
|
+
*/
|
|
232
|
+
gte;
|
|
233
|
+
/**
|
|
234
|
+
* In specifies that this field must be equal to one of the specified
|
|
235
|
+
* values
|
|
236
|
+
*
|
|
237
|
+
* @generated from field: repeated double in = 6;
|
|
238
|
+
*/
|
|
239
|
+
in = [];
|
|
240
|
+
/**
|
|
241
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
242
|
+
* values
|
|
243
|
+
*
|
|
244
|
+
* @generated from field: repeated double not_in = 7;
|
|
245
|
+
*/
|
|
246
|
+
notIn = [];
|
|
247
|
+
/**
|
|
248
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
249
|
+
* evaluated only if the field is not empty
|
|
250
|
+
*
|
|
251
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
252
|
+
*/
|
|
253
|
+
ignoreEmpty;
|
|
254
|
+
constructor(data) {
|
|
255
|
+
super();
|
|
256
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
257
|
+
}
|
|
258
|
+
static runtime = protobuf_1.proto2;
|
|
259
|
+
static typeName = "validate.DoubleRules";
|
|
260
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
261
|
+
{ no: 1, name: "const", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
262
|
+
{ no: 2, name: "lt", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
263
|
+
{ no: 3, name: "lte", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
264
|
+
{ no: 4, name: "gt", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
265
|
+
{ no: 5, name: "gte", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
266
|
+
{ no: 6, name: "in", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, repeated: true },
|
|
267
|
+
{ no: 7, name: "not_in", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, repeated: true },
|
|
268
|
+
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
269
|
+
]);
|
|
270
|
+
static fromBinary(bytes, options) {
|
|
271
|
+
return new DoubleRules().fromBinary(bytes, options);
|
|
272
|
+
}
|
|
273
|
+
static fromJson(jsonValue, options) {
|
|
274
|
+
return new DoubleRules().fromJson(jsonValue, options);
|
|
275
|
+
}
|
|
276
|
+
static fromJsonString(jsonString, options) {
|
|
277
|
+
return new DoubleRules().fromJsonString(jsonString, options);
|
|
278
|
+
}
|
|
279
|
+
static equals(a, b) {
|
|
280
|
+
return protobuf_1.proto2.util.equals(DoubleRules, a, b);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
exports.DoubleRules = DoubleRules;
|
|
284
|
+
/**
|
|
285
|
+
* Int32Rules describes the constraints applied to `int32` values
|
|
286
|
+
*
|
|
287
|
+
* @generated from message validate.Int32Rules
|
|
288
|
+
*/
|
|
289
|
+
class Int32Rules extends protobuf_1.Message {
|
|
290
|
+
/**
|
|
291
|
+
* Const specifies that this field must be exactly the specified value
|
|
292
|
+
*
|
|
293
|
+
* @generated from field: optional int32 const = 1;
|
|
294
|
+
*/
|
|
295
|
+
const;
|
|
296
|
+
/**
|
|
297
|
+
* Lt specifies that this field must be less than the specified value,
|
|
298
|
+
* exclusive
|
|
299
|
+
*
|
|
300
|
+
* @generated from field: optional int32 lt = 2;
|
|
301
|
+
*/
|
|
302
|
+
lt;
|
|
303
|
+
/**
|
|
304
|
+
* Lte specifies that this field must be less than or equal to the
|
|
305
|
+
* specified value, inclusive
|
|
306
|
+
*
|
|
307
|
+
* @generated from field: optional int32 lte = 3;
|
|
308
|
+
*/
|
|
309
|
+
lte;
|
|
310
|
+
/**
|
|
311
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
312
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
313
|
+
* range is reversed.
|
|
314
|
+
*
|
|
315
|
+
* @generated from field: optional int32 gt = 4;
|
|
316
|
+
*/
|
|
317
|
+
gt;
|
|
318
|
+
/**
|
|
319
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
320
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
321
|
+
* specified Lt or Lte, the range is reversed.
|
|
322
|
+
*
|
|
323
|
+
* @generated from field: optional int32 gte = 5;
|
|
324
|
+
*/
|
|
325
|
+
gte;
|
|
326
|
+
/**
|
|
327
|
+
* In specifies that this field must be equal to one of the specified
|
|
328
|
+
* values
|
|
329
|
+
*
|
|
330
|
+
* @generated from field: repeated int32 in = 6;
|
|
331
|
+
*/
|
|
332
|
+
in = [];
|
|
333
|
+
/**
|
|
334
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
335
|
+
* values
|
|
336
|
+
*
|
|
337
|
+
* @generated from field: repeated int32 not_in = 7;
|
|
338
|
+
*/
|
|
339
|
+
notIn = [];
|
|
340
|
+
/**
|
|
341
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
342
|
+
* evaluated only if the field is not empty
|
|
343
|
+
*
|
|
344
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
345
|
+
*/
|
|
346
|
+
ignoreEmpty;
|
|
347
|
+
constructor(data) {
|
|
348
|
+
super();
|
|
349
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
350
|
+
}
|
|
351
|
+
static runtime = protobuf_1.proto2;
|
|
352
|
+
static typeName = "validate.Int32Rules";
|
|
353
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
354
|
+
{ no: 1, name: "const", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
355
|
+
{ no: 2, name: "lt", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
356
|
+
{ no: 3, name: "lte", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
357
|
+
{ no: 4, name: "gt", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
358
|
+
{ no: 5, name: "gte", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
359
|
+
{ no: 6, name: "in", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
|
|
360
|
+
{ no: 7, name: "not_in", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
|
|
361
|
+
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
362
|
+
]);
|
|
363
|
+
static fromBinary(bytes, options) {
|
|
364
|
+
return new Int32Rules().fromBinary(bytes, options);
|
|
365
|
+
}
|
|
366
|
+
static fromJson(jsonValue, options) {
|
|
367
|
+
return new Int32Rules().fromJson(jsonValue, options);
|
|
368
|
+
}
|
|
369
|
+
static fromJsonString(jsonString, options) {
|
|
370
|
+
return new Int32Rules().fromJsonString(jsonString, options);
|
|
371
|
+
}
|
|
372
|
+
static equals(a, b) {
|
|
373
|
+
return protobuf_1.proto2.util.equals(Int32Rules, a, b);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
exports.Int32Rules = Int32Rules;
|
|
377
|
+
/**
|
|
378
|
+
* Int64Rules describes the constraints applied to `int64` values
|
|
379
|
+
*
|
|
380
|
+
* @generated from message validate.Int64Rules
|
|
381
|
+
*/
|
|
382
|
+
class Int64Rules extends protobuf_1.Message {
|
|
383
|
+
/**
|
|
384
|
+
* Const specifies that this field must be exactly the specified value
|
|
385
|
+
*
|
|
386
|
+
* @generated from field: optional int64 const = 1;
|
|
387
|
+
*/
|
|
388
|
+
const;
|
|
389
|
+
/**
|
|
390
|
+
* Lt specifies that this field must be less than the specified value,
|
|
391
|
+
* exclusive
|
|
392
|
+
*
|
|
393
|
+
* @generated from field: optional int64 lt = 2;
|
|
394
|
+
*/
|
|
395
|
+
lt;
|
|
396
|
+
/**
|
|
397
|
+
* Lte specifies that this field must be less than or equal to the
|
|
398
|
+
* specified value, inclusive
|
|
399
|
+
*
|
|
400
|
+
* @generated from field: optional int64 lte = 3;
|
|
401
|
+
*/
|
|
402
|
+
lte;
|
|
403
|
+
/**
|
|
404
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
405
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
406
|
+
* range is reversed.
|
|
407
|
+
*
|
|
408
|
+
* @generated from field: optional int64 gt = 4;
|
|
409
|
+
*/
|
|
410
|
+
gt;
|
|
411
|
+
/**
|
|
412
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
413
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
414
|
+
* specified Lt or Lte, the range is reversed.
|
|
415
|
+
*
|
|
416
|
+
* @generated from field: optional int64 gte = 5;
|
|
417
|
+
*/
|
|
418
|
+
gte;
|
|
419
|
+
/**
|
|
420
|
+
* In specifies that this field must be equal to one of the specified
|
|
421
|
+
* values
|
|
422
|
+
*
|
|
423
|
+
* @generated from field: repeated int64 in = 6;
|
|
424
|
+
*/
|
|
425
|
+
in = [];
|
|
426
|
+
/**
|
|
427
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
428
|
+
* values
|
|
429
|
+
*
|
|
430
|
+
* @generated from field: repeated int64 not_in = 7;
|
|
431
|
+
*/
|
|
432
|
+
notIn = [];
|
|
433
|
+
/**
|
|
434
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
435
|
+
* evaluated only if the field is not empty
|
|
436
|
+
*
|
|
437
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
438
|
+
*/
|
|
439
|
+
ignoreEmpty;
|
|
440
|
+
constructor(data) {
|
|
441
|
+
super();
|
|
442
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
443
|
+
}
|
|
444
|
+
static runtime = protobuf_1.proto2;
|
|
445
|
+
static typeName = "validate.Int64Rules";
|
|
446
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
447
|
+
{ no: 1, name: "const", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
448
|
+
{ no: 2, name: "lt", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
449
|
+
{ no: 3, name: "lte", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
450
|
+
{ no: 4, name: "gt", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
451
|
+
{ no: 5, name: "gte", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
452
|
+
{ no: 6, name: "in", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
453
|
+
{ no: 7, name: "not_in", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
454
|
+
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
455
|
+
]);
|
|
456
|
+
static fromBinary(bytes, options) {
|
|
457
|
+
return new Int64Rules().fromBinary(bytes, options);
|
|
458
|
+
}
|
|
459
|
+
static fromJson(jsonValue, options) {
|
|
460
|
+
return new Int64Rules().fromJson(jsonValue, options);
|
|
461
|
+
}
|
|
462
|
+
static fromJsonString(jsonString, options) {
|
|
463
|
+
return new Int64Rules().fromJsonString(jsonString, options);
|
|
464
|
+
}
|
|
465
|
+
static equals(a, b) {
|
|
466
|
+
return protobuf_1.proto2.util.equals(Int64Rules, a, b);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
exports.Int64Rules = Int64Rules;
|
|
470
|
+
/**
|
|
471
|
+
* UInt32Rules describes the constraints applied to `uint32` values
|
|
472
|
+
*
|
|
473
|
+
* @generated from message validate.UInt32Rules
|
|
474
|
+
*/
|
|
475
|
+
class UInt32Rules extends protobuf_1.Message {
|
|
476
|
+
/**
|
|
477
|
+
* Const specifies that this field must be exactly the specified value
|
|
478
|
+
*
|
|
479
|
+
* @generated from field: optional uint32 const = 1;
|
|
480
|
+
*/
|
|
481
|
+
const;
|
|
482
|
+
/**
|
|
483
|
+
* Lt specifies that this field must be less than the specified value,
|
|
484
|
+
* exclusive
|
|
485
|
+
*
|
|
486
|
+
* @generated from field: optional uint32 lt = 2;
|
|
487
|
+
*/
|
|
488
|
+
lt;
|
|
489
|
+
/**
|
|
490
|
+
* Lte specifies that this field must be less than or equal to the
|
|
491
|
+
* specified value, inclusive
|
|
492
|
+
*
|
|
493
|
+
* @generated from field: optional uint32 lte = 3;
|
|
494
|
+
*/
|
|
495
|
+
lte;
|
|
496
|
+
/**
|
|
497
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
498
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
499
|
+
* range is reversed.
|
|
500
|
+
*
|
|
501
|
+
* @generated from field: optional uint32 gt = 4;
|
|
502
|
+
*/
|
|
503
|
+
gt;
|
|
504
|
+
/**
|
|
505
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
506
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
507
|
+
* specified Lt or Lte, the range is reversed.
|
|
508
|
+
*
|
|
509
|
+
* @generated from field: optional uint32 gte = 5;
|
|
510
|
+
*/
|
|
511
|
+
gte;
|
|
512
|
+
/**
|
|
513
|
+
* In specifies that this field must be equal to one of the specified
|
|
514
|
+
* values
|
|
515
|
+
*
|
|
516
|
+
* @generated from field: repeated uint32 in = 6;
|
|
517
|
+
*/
|
|
518
|
+
in = [];
|
|
519
|
+
/**
|
|
520
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
521
|
+
* values
|
|
522
|
+
*
|
|
523
|
+
* @generated from field: repeated uint32 not_in = 7;
|
|
524
|
+
*/
|
|
525
|
+
notIn = [];
|
|
526
|
+
/**
|
|
527
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
528
|
+
* evaluated only if the field is not empty
|
|
529
|
+
*
|
|
530
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
531
|
+
*/
|
|
532
|
+
ignoreEmpty;
|
|
533
|
+
constructor(data) {
|
|
534
|
+
super();
|
|
535
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
536
|
+
}
|
|
537
|
+
static runtime = protobuf_1.proto2;
|
|
538
|
+
static typeName = "validate.UInt32Rules";
|
|
539
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
540
|
+
{ no: 1, name: "const", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
541
|
+
{ no: 2, name: "lt", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
542
|
+
{ no: 3, name: "lte", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
543
|
+
{ no: 4, name: "gt", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
544
|
+
{ no: 5, name: "gte", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
545
|
+
{ no: 6, name: "in", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
546
|
+
{ no: 7, name: "not_in", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
|
|
547
|
+
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
548
|
+
]);
|
|
549
|
+
static fromBinary(bytes, options) {
|
|
550
|
+
return new UInt32Rules().fromBinary(bytes, options);
|
|
551
|
+
}
|
|
552
|
+
static fromJson(jsonValue, options) {
|
|
553
|
+
return new UInt32Rules().fromJson(jsonValue, options);
|
|
554
|
+
}
|
|
555
|
+
static fromJsonString(jsonString, options) {
|
|
556
|
+
return new UInt32Rules().fromJsonString(jsonString, options);
|
|
557
|
+
}
|
|
558
|
+
static equals(a, b) {
|
|
559
|
+
return protobuf_1.proto2.util.equals(UInt32Rules, a, b);
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
exports.UInt32Rules = UInt32Rules;
|
|
563
|
+
/**
|
|
564
|
+
* UInt64Rules describes the constraints applied to `uint64` values
|
|
565
|
+
*
|
|
566
|
+
* @generated from message validate.UInt64Rules
|
|
567
|
+
*/
|
|
568
|
+
class UInt64Rules extends protobuf_1.Message {
|
|
569
|
+
/**
|
|
570
|
+
* Const specifies that this field must be exactly the specified value
|
|
571
|
+
*
|
|
572
|
+
* @generated from field: optional uint64 const = 1;
|
|
573
|
+
*/
|
|
574
|
+
const;
|
|
575
|
+
/**
|
|
576
|
+
* Lt specifies that this field must be less than the specified value,
|
|
577
|
+
* exclusive
|
|
578
|
+
*
|
|
579
|
+
* @generated from field: optional uint64 lt = 2;
|
|
580
|
+
*/
|
|
581
|
+
lt;
|
|
582
|
+
/**
|
|
583
|
+
* Lte specifies that this field must be less than or equal to the
|
|
584
|
+
* specified value, inclusive
|
|
585
|
+
*
|
|
586
|
+
* @generated from field: optional uint64 lte = 3;
|
|
587
|
+
*/
|
|
588
|
+
lte;
|
|
589
|
+
/**
|
|
590
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
591
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
592
|
+
* range is reversed.
|
|
593
|
+
*
|
|
594
|
+
* @generated from field: optional uint64 gt = 4;
|
|
595
|
+
*/
|
|
596
|
+
gt;
|
|
597
|
+
/**
|
|
598
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
599
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
600
|
+
* specified Lt or Lte, the range is reversed.
|
|
601
|
+
*
|
|
602
|
+
* @generated from field: optional uint64 gte = 5;
|
|
603
|
+
*/
|
|
604
|
+
gte;
|
|
605
|
+
/**
|
|
606
|
+
* In specifies that this field must be equal to one of the specified
|
|
607
|
+
* values
|
|
608
|
+
*
|
|
609
|
+
* @generated from field: repeated uint64 in = 6;
|
|
610
|
+
*/
|
|
611
|
+
in = [];
|
|
612
|
+
/**
|
|
613
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
614
|
+
* values
|
|
615
|
+
*
|
|
616
|
+
* @generated from field: repeated uint64 not_in = 7;
|
|
617
|
+
*/
|
|
618
|
+
notIn = [];
|
|
619
|
+
/**
|
|
620
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
621
|
+
* evaluated only if the field is not empty
|
|
622
|
+
*
|
|
623
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
624
|
+
*/
|
|
625
|
+
ignoreEmpty;
|
|
626
|
+
constructor(data) {
|
|
627
|
+
super();
|
|
628
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
629
|
+
}
|
|
630
|
+
static runtime = protobuf_1.proto2;
|
|
631
|
+
static typeName = "validate.UInt64Rules";
|
|
632
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
633
|
+
{ no: 1, name: "const", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
634
|
+
{ no: 2, name: "lt", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
635
|
+
{ no: 3, name: "lte", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
636
|
+
{ no: 4, name: "gt", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
637
|
+
{ no: 5, name: "gte", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
638
|
+
{ no: 6, name: "in", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
|
|
639
|
+
{ no: 7, name: "not_in", kind: "scalar", T: 4 /* ScalarType.UINT64 */, repeated: true },
|
|
640
|
+
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
641
|
+
]);
|
|
642
|
+
static fromBinary(bytes, options) {
|
|
643
|
+
return new UInt64Rules().fromBinary(bytes, options);
|
|
644
|
+
}
|
|
645
|
+
static fromJson(jsonValue, options) {
|
|
646
|
+
return new UInt64Rules().fromJson(jsonValue, options);
|
|
647
|
+
}
|
|
648
|
+
static fromJsonString(jsonString, options) {
|
|
649
|
+
return new UInt64Rules().fromJsonString(jsonString, options);
|
|
650
|
+
}
|
|
651
|
+
static equals(a, b) {
|
|
652
|
+
return protobuf_1.proto2.util.equals(UInt64Rules, a, b);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
exports.UInt64Rules = UInt64Rules;
|
|
656
|
+
/**
|
|
657
|
+
* SInt32Rules describes the constraints applied to `sint32` values
|
|
658
|
+
*
|
|
659
|
+
* @generated from message validate.SInt32Rules
|
|
660
|
+
*/
|
|
661
|
+
class SInt32Rules extends protobuf_1.Message {
|
|
662
|
+
/**
|
|
663
|
+
* Const specifies that this field must be exactly the specified value
|
|
664
|
+
*
|
|
665
|
+
* @generated from field: optional sint32 const = 1;
|
|
666
|
+
*/
|
|
667
|
+
const;
|
|
668
|
+
/**
|
|
669
|
+
* Lt specifies that this field must be less than the specified value,
|
|
670
|
+
* exclusive
|
|
671
|
+
*
|
|
672
|
+
* @generated from field: optional sint32 lt = 2;
|
|
673
|
+
*/
|
|
674
|
+
lt;
|
|
675
|
+
/**
|
|
676
|
+
* Lte specifies that this field must be less than or equal to the
|
|
677
|
+
* specified value, inclusive
|
|
678
|
+
*
|
|
679
|
+
* @generated from field: optional sint32 lte = 3;
|
|
680
|
+
*/
|
|
681
|
+
lte;
|
|
682
|
+
/**
|
|
683
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
684
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
685
|
+
* range is reversed.
|
|
686
|
+
*
|
|
687
|
+
* @generated from field: optional sint32 gt = 4;
|
|
688
|
+
*/
|
|
689
|
+
gt;
|
|
690
|
+
/**
|
|
691
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
692
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
693
|
+
* specified Lt or Lte, the range is reversed.
|
|
694
|
+
*
|
|
695
|
+
* @generated from field: optional sint32 gte = 5;
|
|
696
|
+
*/
|
|
697
|
+
gte;
|
|
698
|
+
/**
|
|
699
|
+
* In specifies that this field must be equal to one of the specified
|
|
700
|
+
* values
|
|
701
|
+
*
|
|
702
|
+
* @generated from field: repeated sint32 in = 6;
|
|
703
|
+
*/
|
|
704
|
+
in = [];
|
|
705
|
+
/**
|
|
706
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
707
|
+
* values
|
|
708
|
+
*
|
|
709
|
+
* @generated from field: repeated sint32 not_in = 7;
|
|
710
|
+
*/
|
|
711
|
+
notIn = [];
|
|
712
|
+
/**
|
|
713
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
714
|
+
* evaluated only if the field is not empty
|
|
715
|
+
*
|
|
716
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
717
|
+
*/
|
|
718
|
+
ignoreEmpty;
|
|
719
|
+
constructor(data) {
|
|
720
|
+
super();
|
|
721
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
722
|
+
}
|
|
723
|
+
static runtime = protobuf_1.proto2;
|
|
724
|
+
static typeName = "validate.SInt32Rules";
|
|
725
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
726
|
+
{ no: 1, name: "const", kind: "scalar", T: 17 /* ScalarType.SINT32 */, opt: true },
|
|
727
|
+
{ no: 2, name: "lt", kind: "scalar", T: 17 /* ScalarType.SINT32 */, opt: true },
|
|
728
|
+
{ no: 3, name: "lte", kind: "scalar", T: 17 /* ScalarType.SINT32 */, opt: true },
|
|
729
|
+
{ no: 4, name: "gt", kind: "scalar", T: 17 /* ScalarType.SINT32 */, opt: true },
|
|
730
|
+
{ no: 5, name: "gte", kind: "scalar", T: 17 /* ScalarType.SINT32 */, opt: true },
|
|
731
|
+
{ no: 6, name: "in", kind: "scalar", T: 17 /* ScalarType.SINT32 */, repeated: true },
|
|
732
|
+
{ no: 7, name: "not_in", kind: "scalar", T: 17 /* ScalarType.SINT32 */, repeated: true },
|
|
733
|
+
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
734
|
+
]);
|
|
735
|
+
static fromBinary(bytes, options) {
|
|
736
|
+
return new SInt32Rules().fromBinary(bytes, options);
|
|
737
|
+
}
|
|
738
|
+
static fromJson(jsonValue, options) {
|
|
739
|
+
return new SInt32Rules().fromJson(jsonValue, options);
|
|
740
|
+
}
|
|
741
|
+
static fromJsonString(jsonString, options) {
|
|
742
|
+
return new SInt32Rules().fromJsonString(jsonString, options);
|
|
743
|
+
}
|
|
744
|
+
static equals(a, b) {
|
|
745
|
+
return protobuf_1.proto2.util.equals(SInt32Rules, a, b);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
exports.SInt32Rules = SInt32Rules;
|
|
749
|
+
/**
|
|
750
|
+
* SInt64Rules describes the constraints applied to `sint64` values
|
|
751
|
+
*
|
|
752
|
+
* @generated from message validate.SInt64Rules
|
|
753
|
+
*/
|
|
754
|
+
class SInt64Rules extends protobuf_1.Message {
|
|
755
|
+
/**
|
|
756
|
+
* Const specifies that this field must be exactly the specified value
|
|
757
|
+
*
|
|
758
|
+
* @generated from field: optional sint64 const = 1;
|
|
759
|
+
*/
|
|
760
|
+
const;
|
|
761
|
+
/**
|
|
762
|
+
* Lt specifies that this field must be less than the specified value,
|
|
763
|
+
* exclusive
|
|
764
|
+
*
|
|
765
|
+
* @generated from field: optional sint64 lt = 2;
|
|
766
|
+
*/
|
|
767
|
+
lt;
|
|
768
|
+
/**
|
|
769
|
+
* Lte specifies that this field must be less than or equal to the
|
|
770
|
+
* specified value, inclusive
|
|
771
|
+
*
|
|
772
|
+
* @generated from field: optional sint64 lte = 3;
|
|
773
|
+
*/
|
|
774
|
+
lte;
|
|
775
|
+
/**
|
|
776
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
777
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
778
|
+
* range is reversed.
|
|
779
|
+
*
|
|
780
|
+
* @generated from field: optional sint64 gt = 4;
|
|
781
|
+
*/
|
|
782
|
+
gt;
|
|
783
|
+
/**
|
|
784
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
785
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
786
|
+
* specified Lt or Lte, the range is reversed.
|
|
787
|
+
*
|
|
788
|
+
* @generated from field: optional sint64 gte = 5;
|
|
789
|
+
*/
|
|
790
|
+
gte;
|
|
791
|
+
/**
|
|
792
|
+
* In specifies that this field must be equal to one of the specified
|
|
793
|
+
* values
|
|
794
|
+
*
|
|
795
|
+
* @generated from field: repeated sint64 in = 6;
|
|
796
|
+
*/
|
|
797
|
+
in = [];
|
|
798
|
+
/**
|
|
799
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
800
|
+
* values
|
|
801
|
+
*
|
|
802
|
+
* @generated from field: repeated sint64 not_in = 7;
|
|
803
|
+
*/
|
|
804
|
+
notIn = [];
|
|
805
|
+
/**
|
|
806
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
807
|
+
* evaluated only if the field is not empty
|
|
808
|
+
*
|
|
809
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
810
|
+
*/
|
|
811
|
+
ignoreEmpty;
|
|
812
|
+
constructor(data) {
|
|
813
|
+
super();
|
|
814
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
815
|
+
}
|
|
816
|
+
static runtime = protobuf_1.proto2;
|
|
817
|
+
static typeName = "validate.SInt64Rules";
|
|
818
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
819
|
+
{ no: 1, name: "const", kind: "scalar", T: 18 /* ScalarType.SINT64 */, opt: true },
|
|
820
|
+
{ no: 2, name: "lt", kind: "scalar", T: 18 /* ScalarType.SINT64 */, opt: true },
|
|
821
|
+
{ no: 3, name: "lte", kind: "scalar", T: 18 /* ScalarType.SINT64 */, opt: true },
|
|
822
|
+
{ no: 4, name: "gt", kind: "scalar", T: 18 /* ScalarType.SINT64 */, opt: true },
|
|
823
|
+
{ no: 5, name: "gte", kind: "scalar", T: 18 /* ScalarType.SINT64 */, opt: true },
|
|
824
|
+
{ no: 6, name: "in", kind: "scalar", T: 18 /* ScalarType.SINT64 */, repeated: true },
|
|
825
|
+
{ no: 7, name: "not_in", kind: "scalar", T: 18 /* ScalarType.SINT64 */, repeated: true },
|
|
826
|
+
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
827
|
+
]);
|
|
828
|
+
static fromBinary(bytes, options) {
|
|
829
|
+
return new SInt64Rules().fromBinary(bytes, options);
|
|
830
|
+
}
|
|
831
|
+
static fromJson(jsonValue, options) {
|
|
832
|
+
return new SInt64Rules().fromJson(jsonValue, options);
|
|
833
|
+
}
|
|
834
|
+
static fromJsonString(jsonString, options) {
|
|
835
|
+
return new SInt64Rules().fromJsonString(jsonString, options);
|
|
836
|
+
}
|
|
837
|
+
static equals(a, b) {
|
|
838
|
+
return protobuf_1.proto2.util.equals(SInt64Rules, a, b);
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
exports.SInt64Rules = SInt64Rules;
|
|
842
|
+
/**
|
|
843
|
+
* Fixed32Rules describes the constraints applied to `fixed32` values
|
|
844
|
+
*
|
|
845
|
+
* @generated from message validate.Fixed32Rules
|
|
846
|
+
*/
|
|
847
|
+
class Fixed32Rules extends protobuf_1.Message {
|
|
848
|
+
/**
|
|
849
|
+
* Const specifies that this field must be exactly the specified value
|
|
850
|
+
*
|
|
851
|
+
* @generated from field: optional fixed32 const = 1;
|
|
852
|
+
*/
|
|
853
|
+
const;
|
|
854
|
+
/**
|
|
855
|
+
* Lt specifies that this field must be less than the specified value,
|
|
856
|
+
* exclusive
|
|
857
|
+
*
|
|
858
|
+
* @generated from field: optional fixed32 lt = 2;
|
|
859
|
+
*/
|
|
860
|
+
lt;
|
|
861
|
+
/**
|
|
862
|
+
* Lte specifies that this field must be less than or equal to the
|
|
863
|
+
* specified value, inclusive
|
|
864
|
+
*
|
|
865
|
+
* @generated from field: optional fixed32 lte = 3;
|
|
866
|
+
*/
|
|
867
|
+
lte;
|
|
868
|
+
/**
|
|
869
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
870
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
871
|
+
* range is reversed.
|
|
872
|
+
*
|
|
873
|
+
* @generated from field: optional fixed32 gt = 4;
|
|
874
|
+
*/
|
|
875
|
+
gt;
|
|
876
|
+
/**
|
|
877
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
878
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
879
|
+
* specified Lt or Lte, the range is reversed.
|
|
880
|
+
*
|
|
881
|
+
* @generated from field: optional fixed32 gte = 5;
|
|
882
|
+
*/
|
|
883
|
+
gte;
|
|
884
|
+
/**
|
|
885
|
+
* In specifies that this field must be equal to one of the specified
|
|
886
|
+
* values
|
|
887
|
+
*
|
|
888
|
+
* @generated from field: repeated fixed32 in = 6;
|
|
889
|
+
*/
|
|
890
|
+
in = [];
|
|
891
|
+
/**
|
|
892
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
893
|
+
* values
|
|
894
|
+
*
|
|
895
|
+
* @generated from field: repeated fixed32 not_in = 7;
|
|
896
|
+
*/
|
|
897
|
+
notIn = [];
|
|
898
|
+
/**
|
|
899
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
900
|
+
* evaluated only if the field is not empty
|
|
901
|
+
*
|
|
902
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
903
|
+
*/
|
|
904
|
+
ignoreEmpty;
|
|
905
|
+
constructor(data) {
|
|
906
|
+
super();
|
|
907
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
908
|
+
}
|
|
909
|
+
static runtime = protobuf_1.proto2;
|
|
910
|
+
static typeName = "validate.Fixed32Rules";
|
|
911
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
912
|
+
{ no: 1, name: "const", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, opt: true },
|
|
913
|
+
{ no: 2, name: "lt", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, opt: true },
|
|
914
|
+
{ no: 3, name: "lte", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, opt: true },
|
|
915
|
+
{ no: 4, name: "gt", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, opt: true },
|
|
916
|
+
{ no: 5, name: "gte", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, opt: true },
|
|
917
|
+
{ no: 6, name: "in", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, repeated: true },
|
|
918
|
+
{ no: 7, name: "not_in", kind: "scalar", T: 7 /* ScalarType.FIXED32 */, repeated: true },
|
|
919
|
+
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
920
|
+
]);
|
|
921
|
+
static fromBinary(bytes, options) {
|
|
922
|
+
return new Fixed32Rules().fromBinary(bytes, options);
|
|
923
|
+
}
|
|
924
|
+
static fromJson(jsonValue, options) {
|
|
925
|
+
return new Fixed32Rules().fromJson(jsonValue, options);
|
|
926
|
+
}
|
|
927
|
+
static fromJsonString(jsonString, options) {
|
|
928
|
+
return new Fixed32Rules().fromJsonString(jsonString, options);
|
|
929
|
+
}
|
|
930
|
+
static equals(a, b) {
|
|
931
|
+
return protobuf_1.proto2.util.equals(Fixed32Rules, a, b);
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
exports.Fixed32Rules = Fixed32Rules;
|
|
935
|
+
/**
|
|
936
|
+
* Fixed64Rules describes the constraints applied to `fixed64` values
|
|
937
|
+
*
|
|
938
|
+
* @generated from message validate.Fixed64Rules
|
|
939
|
+
*/
|
|
940
|
+
class Fixed64Rules extends protobuf_1.Message {
|
|
941
|
+
/**
|
|
942
|
+
* Const specifies that this field must be exactly the specified value
|
|
943
|
+
*
|
|
944
|
+
* @generated from field: optional fixed64 const = 1;
|
|
945
|
+
*/
|
|
946
|
+
const;
|
|
947
|
+
/**
|
|
948
|
+
* Lt specifies that this field must be less than the specified value,
|
|
949
|
+
* exclusive
|
|
950
|
+
*
|
|
951
|
+
* @generated from field: optional fixed64 lt = 2;
|
|
952
|
+
*/
|
|
953
|
+
lt;
|
|
954
|
+
/**
|
|
955
|
+
* Lte specifies that this field must be less than or equal to the
|
|
956
|
+
* specified value, inclusive
|
|
957
|
+
*
|
|
958
|
+
* @generated from field: optional fixed64 lte = 3;
|
|
959
|
+
*/
|
|
960
|
+
lte;
|
|
961
|
+
/**
|
|
962
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
963
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
964
|
+
* range is reversed.
|
|
965
|
+
*
|
|
966
|
+
* @generated from field: optional fixed64 gt = 4;
|
|
967
|
+
*/
|
|
968
|
+
gt;
|
|
969
|
+
/**
|
|
970
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
971
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
972
|
+
* specified Lt or Lte, the range is reversed.
|
|
973
|
+
*
|
|
974
|
+
* @generated from field: optional fixed64 gte = 5;
|
|
975
|
+
*/
|
|
976
|
+
gte;
|
|
977
|
+
/**
|
|
978
|
+
* In specifies that this field must be equal to one of the specified
|
|
979
|
+
* values
|
|
980
|
+
*
|
|
981
|
+
* @generated from field: repeated fixed64 in = 6;
|
|
982
|
+
*/
|
|
983
|
+
in = [];
|
|
984
|
+
/**
|
|
985
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
986
|
+
* values
|
|
987
|
+
*
|
|
988
|
+
* @generated from field: repeated fixed64 not_in = 7;
|
|
989
|
+
*/
|
|
990
|
+
notIn = [];
|
|
991
|
+
/**
|
|
992
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
993
|
+
* evaluated only if the field is not empty
|
|
994
|
+
*
|
|
995
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
996
|
+
*/
|
|
997
|
+
ignoreEmpty;
|
|
998
|
+
constructor(data) {
|
|
999
|
+
super();
|
|
1000
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
1001
|
+
}
|
|
1002
|
+
static runtime = protobuf_1.proto2;
|
|
1003
|
+
static typeName = "validate.Fixed64Rules";
|
|
1004
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
1005
|
+
{ no: 1, name: "const", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, opt: true },
|
|
1006
|
+
{ no: 2, name: "lt", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, opt: true },
|
|
1007
|
+
{ no: 3, name: "lte", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, opt: true },
|
|
1008
|
+
{ no: 4, name: "gt", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, opt: true },
|
|
1009
|
+
{ no: 5, name: "gte", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, opt: true },
|
|
1010
|
+
{ no: 6, name: "in", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, repeated: true },
|
|
1011
|
+
{ no: 7, name: "not_in", kind: "scalar", T: 6 /* ScalarType.FIXED64 */, repeated: true },
|
|
1012
|
+
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1013
|
+
]);
|
|
1014
|
+
static fromBinary(bytes, options) {
|
|
1015
|
+
return new Fixed64Rules().fromBinary(bytes, options);
|
|
1016
|
+
}
|
|
1017
|
+
static fromJson(jsonValue, options) {
|
|
1018
|
+
return new Fixed64Rules().fromJson(jsonValue, options);
|
|
1019
|
+
}
|
|
1020
|
+
static fromJsonString(jsonString, options) {
|
|
1021
|
+
return new Fixed64Rules().fromJsonString(jsonString, options);
|
|
1022
|
+
}
|
|
1023
|
+
static equals(a, b) {
|
|
1024
|
+
return protobuf_1.proto2.util.equals(Fixed64Rules, a, b);
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
exports.Fixed64Rules = Fixed64Rules;
|
|
1028
|
+
/**
|
|
1029
|
+
* SFixed32Rules describes the constraints applied to `sfixed32` values
|
|
1030
|
+
*
|
|
1031
|
+
* @generated from message validate.SFixed32Rules
|
|
1032
|
+
*/
|
|
1033
|
+
class SFixed32Rules extends protobuf_1.Message {
|
|
1034
|
+
/**
|
|
1035
|
+
* Const specifies that this field must be exactly the specified value
|
|
1036
|
+
*
|
|
1037
|
+
* @generated from field: optional sfixed32 const = 1;
|
|
1038
|
+
*/
|
|
1039
|
+
const;
|
|
1040
|
+
/**
|
|
1041
|
+
* Lt specifies that this field must be less than the specified value,
|
|
1042
|
+
* exclusive
|
|
1043
|
+
*
|
|
1044
|
+
* @generated from field: optional sfixed32 lt = 2;
|
|
1045
|
+
*/
|
|
1046
|
+
lt;
|
|
1047
|
+
/**
|
|
1048
|
+
* Lte specifies that this field must be less than or equal to the
|
|
1049
|
+
* specified value, inclusive
|
|
1050
|
+
*
|
|
1051
|
+
* @generated from field: optional sfixed32 lte = 3;
|
|
1052
|
+
*/
|
|
1053
|
+
lte;
|
|
1054
|
+
/**
|
|
1055
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
1056
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
1057
|
+
* range is reversed.
|
|
1058
|
+
*
|
|
1059
|
+
* @generated from field: optional sfixed32 gt = 4;
|
|
1060
|
+
*/
|
|
1061
|
+
gt;
|
|
1062
|
+
/**
|
|
1063
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
1064
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
1065
|
+
* specified Lt or Lte, the range is reversed.
|
|
1066
|
+
*
|
|
1067
|
+
* @generated from field: optional sfixed32 gte = 5;
|
|
1068
|
+
*/
|
|
1069
|
+
gte;
|
|
1070
|
+
/**
|
|
1071
|
+
* In specifies that this field must be equal to one of the specified
|
|
1072
|
+
* values
|
|
1073
|
+
*
|
|
1074
|
+
* @generated from field: repeated sfixed32 in = 6;
|
|
1075
|
+
*/
|
|
1076
|
+
in = [];
|
|
1077
|
+
/**
|
|
1078
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
1079
|
+
* values
|
|
1080
|
+
*
|
|
1081
|
+
* @generated from field: repeated sfixed32 not_in = 7;
|
|
1082
|
+
*/
|
|
1083
|
+
notIn = [];
|
|
1084
|
+
/**
|
|
1085
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
1086
|
+
* evaluated only if the field is not empty
|
|
1087
|
+
*
|
|
1088
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
1089
|
+
*/
|
|
1090
|
+
ignoreEmpty;
|
|
1091
|
+
constructor(data) {
|
|
1092
|
+
super();
|
|
1093
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
1094
|
+
}
|
|
1095
|
+
static runtime = protobuf_1.proto2;
|
|
1096
|
+
static typeName = "validate.SFixed32Rules";
|
|
1097
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
1098
|
+
{ no: 1, name: "const", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, opt: true },
|
|
1099
|
+
{ no: 2, name: "lt", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, opt: true },
|
|
1100
|
+
{ no: 3, name: "lte", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, opt: true },
|
|
1101
|
+
{ no: 4, name: "gt", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, opt: true },
|
|
1102
|
+
{ no: 5, name: "gte", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, opt: true },
|
|
1103
|
+
{ no: 6, name: "in", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, repeated: true },
|
|
1104
|
+
{ no: 7, name: "not_in", kind: "scalar", T: 15 /* ScalarType.SFIXED32 */, repeated: true },
|
|
1105
|
+
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1106
|
+
]);
|
|
1107
|
+
static fromBinary(bytes, options) {
|
|
1108
|
+
return new SFixed32Rules().fromBinary(bytes, options);
|
|
1109
|
+
}
|
|
1110
|
+
static fromJson(jsonValue, options) {
|
|
1111
|
+
return new SFixed32Rules().fromJson(jsonValue, options);
|
|
1112
|
+
}
|
|
1113
|
+
static fromJsonString(jsonString, options) {
|
|
1114
|
+
return new SFixed32Rules().fromJsonString(jsonString, options);
|
|
1115
|
+
}
|
|
1116
|
+
static equals(a, b) {
|
|
1117
|
+
return protobuf_1.proto2.util.equals(SFixed32Rules, a, b);
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
exports.SFixed32Rules = SFixed32Rules;
|
|
1121
|
+
/**
|
|
1122
|
+
* SFixed64Rules describes the constraints applied to `sfixed64` values
|
|
1123
|
+
*
|
|
1124
|
+
* @generated from message validate.SFixed64Rules
|
|
1125
|
+
*/
|
|
1126
|
+
class SFixed64Rules extends protobuf_1.Message {
|
|
1127
|
+
/**
|
|
1128
|
+
* Const specifies that this field must be exactly the specified value
|
|
1129
|
+
*
|
|
1130
|
+
* @generated from field: optional sfixed64 const = 1;
|
|
1131
|
+
*/
|
|
1132
|
+
const;
|
|
1133
|
+
/**
|
|
1134
|
+
* Lt specifies that this field must be less than the specified value,
|
|
1135
|
+
* exclusive
|
|
1136
|
+
*
|
|
1137
|
+
* @generated from field: optional sfixed64 lt = 2;
|
|
1138
|
+
*/
|
|
1139
|
+
lt;
|
|
1140
|
+
/**
|
|
1141
|
+
* Lte specifies that this field must be less than or equal to the
|
|
1142
|
+
* specified value, inclusive
|
|
1143
|
+
*
|
|
1144
|
+
* @generated from field: optional sfixed64 lte = 3;
|
|
1145
|
+
*/
|
|
1146
|
+
lte;
|
|
1147
|
+
/**
|
|
1148
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
1149
|
+
* exclusive. If the value of Gt is larger than a specified Lt or Lte, the
|
|
1150
|
+
* range is reversed.
|
|
1151
|
+
*
|
|
1152
|
+
* @generated from field: optional sfixed64 gt = 4;
|
|
1153
|
+
*/
|
|
1154
|
+
gt;
|
|
1155
|
+
/**
|
|
1156
|
+
* Gte specifies that this field must be greater than or equal to the
|
|
1157
|
+
* specified value, inclusive. If the value of Gte is larger than a
|
|
1158
|
+
* specified Lt or Lte, the range is reversed.
|
|
1159
|
+
*
|
|
1160
|
+
* @generated from field: optional sfixed64 gte = 5;
|
|
1161
|
+
*/
|
|
1162
|
+
gte;
|
|
1163
|
+
/**
|
|
1164
|
+
* In specifies that this field must be equal to one of the specified
|
|
1165
|
+
* values
|
|
1166
|
+
*
|
|
1167
|
+
* @generated from field: repeated sfixed64 in = 6;
|
|
1168
|
+
*/
|
|
1169
|
+
in = [];
|
|
1170
|
+
/**
|
|
1171
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
1172
|
+
* values
|
|
1173
|
+
*
|
|
1174
|
+
* @generated from field: repeated sfixed64 not_in = 7;
|
|
1175
|
+
*/
|
|
1176
|
+
notIn = [];
|
|
1177
|
+
/**
|
|
1178
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
1179
|
+
* evaluated only if the field is not empty
|
|
1180
|
+
*
|
|
1181
|
+
* @generated from field: optional bool ignore_empty = 8;
|
|
1182
|
+
*/
|
|
1183
|
+
ignoreEmpty;
|
|
1184
|
+
constructor(data) {
|
|
1185
|
+
super();
|
|
1186
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
1187
|
+
}
|
|
1188
|
+
static runtime = protobuf_1.proto2;
|
|
1189
|
+
static typeName = "validate.SFixed64Rules";
|
|
1190
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
1191
|
+
{ no: 1, name: "const", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, opt: true },
|
|
1192
|
+
{ no: 2, name: "lt", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, opt: true },
|
|
1193
|
+
{ no: 3, name: "lte", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, opt: true },
|
|
1194
|
+
{ no: 4, name: "gt", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, opt: true },
|
|
1195
|
+
{ no: 5, name: "gte", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, opt: true },
|
|
1196
|
+
{ no: 6, name: "in", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, repeated: true },
|
|
1197
|
+
{ no: 7, name: "not_in", kind: "scalar", T: 16 /* ScalarType.SFIXED64 */, repeated: true },
|
|
1198
|
+
{ no: 8, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1199
|
+
]);
|
|
1200
|
+
static fromBinary(bytes, options) {
|
|
1201
|
+
return new SFixed64Rules().fromBinary(bytes, options);
|
|
1202
|
+
}
|
|
1203
|
+
static fromJson(jsonValue, options) {
|
|
1204
|
+
return new SFixed64Rules().fromJson(jsonValue, options);
|
|
1205
|
+
}
|
|
1206
|
+
static fromJsonString(jsonString, options) {
|
|
1207
|
+
return new SFixed64Rules().fromJsonString(jsonString, options);
|
|
1208
|
+
}
|
|
1209
|
+
static equals(a, b) {
|
|
1210
|
+
return protobuf_1.proto2.util.equals(SFixed64Rules, a, b);
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
exports.SFixed64Rules = SFixed64Rules;
|
|
1214
|
+
/**
|
|
1215
|
+
* BoolRules describes the constraints applied to `bool` values
|
|
1216
|
+
*
|
|
1217
|
+
* @generated from message validate.BoolRules
|
|
1218
|
+
*/
|
|
1219
|
+
class BoolRules extends protobuf_1.Message {
|
|
1220
|
+
/**
|
|
1221
|
+
* Const specifies that this field must be exactly the specified value
|
|
1222
|
+
*
|
|
1223
|
+
* @generated from field: optional bool const = 1;
|
|
1224
|
+
*/
|
|
1225
|
+
const;
|
|
1226
|
+
constructor(data) {
|
|
1227
|
+
super();
|
|
1228
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
1229
|
+
}
|
|
1230
|
+
static runtime = protobuf_1.proto2;
|
|
1231
|
+
static typeName = "validate.BoolRules";
|
|
1232
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
1233
|
+
{ no: 1, name: "const", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1234
|
+
]);
|
|
1235
|
+
static fromBinary(bytes, options) {
|
|
1236
|
+
return new BoolRules().fromBinary(bytes, options);
|
|
1237
|
+
}
|
|
1238
|
+
static fromJson(jsonValue, options) {
|
|
1239
|
+
return new BoolRules().fromJson(jsonValue, options);
|
|
1240
|
+
}
|
|
1241
|
+
static fromJsonString(jsonString, options) {
|
|
1242
|
+
return new BoolRules().fromJsonString(jsonString, options);
|
|
1243
|
+
}
|
|
1244
|
+
static equals(a, b) {
|
|
1245
|
+
return protobuf_1.proto2.util.equals(BoolRules, a, b);
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
exports.BoolRules = BoolRules;
|
|
1249
|
+
/**
|
|
1250
|
+
* StringRules describe the constraints applied to `string` values
|
|
1251
|
+
*
|
|
1252
|
+
* @generated from message validate.StringRules
|
|
1253
|
+
*/
|
|
1254
|
+
class StringRules extends protobuf_1.Message {
|
|
1255
|
+
/**
|
|
1256
|
+
* Const specifies that this field must be exactly the specified value
|
|
1257
|
+
*
|
|
1258
|
+
* @generated from field: optional string const = 1;
|
|
1259
|
+
*/
|
|
1260
|
+
const;
|
|
1261
|
+
/**
|
|
1262
|
+
* Len specifies that this field must be the specified number of
|
|
1263
|
+
* characters (Unicode code points). Note that the number of
|
|
1264
|
+
* characters may differ from the number of bytes in the string.
|
|
1265
|
+
*
|
|
1266
|
+
* @generated from field: optional uint64 len = 19;
|
|
1267
|
+
*/
|
|
1268
|
+
len;
|
|
1269
|
+
/**
|
|
1270
|
+
* MinLen specifies that this field must be the specified number of
|
|
1271
|
+
* characters (Unicode code points) at a minimum. Note that the number of
|
|
1272
|
+
* characters may differ from the number of bytes in the string.
|
|
1273
|
+
*
|
|
1274
|
+
* @generated from field: optional uint64 min_len = 2;
|
|
1275
|
+
*/
|
|
1276
|
+
minLen;
|
|
1277
|
+
/**
|
|
1278
|
+
* MaxLen specifies that this field must be the specified number of
|
|
1279
|
+
* characters (Unicode code points) at a maximum. Note that the number of
|
|
1280
|
+
* characters may differ from the number of bytes in the string.
|
|
1281
|
+
*
|
|
1282
|
+
* @generated from field: optional uint64 max_len = 3;
|
|
1283
|
+
*/
|
|
1284
|
+
maxLen;
|
|
1285
|
+
/**
|
|
1286
|
+
* LenBytes specifies that this field must be the specified number of bytes
|
|
1287
|
+
*
|
|
1288
|
+
* @generated from field: optional uint64 len_bytes = 20;
|
|
1289
|
+
*/
|
|
1290
|
+
lenBytes;
|
|
1291
|
+
/**
|
|
1292
|
+
* MinBytes specifies that this field must be the specified number of bytes
|
|
1293
|
+
* at a minimum
|
|
1294
|
+
*
|
|
1295
|
+
* @generated from field: optional uint64 min_bytes = 4;
|
|
1296
|
+
*/
|
|
1297
|
+
minBytes;
|
|
1298
|
+
/**
|
|
1299
|
+
* MaxBytes specifies that this field must be the specified number of bytes
|
|
1300
|
+
* at a maximum
|
|
1301
|
+
*
|
|
1302
|
+
* @generated from field: optional uint64 max_bytes = 5;
|
|
1303
|
+
*/
|
|
1304
|
+
maxBytes;
|
|
1305
|
+
/**
|
|
1306
|
+
* Pattern specifes that this field must match against the specified
|
|
1307
|
+
* regular expression (RE2 syntax). The included expression should elide
|
|
1308
|
+
* any delimiters.
|
|
1309
|
+
*
|
|
1310
|
+
* @generated from field: optional string pattern = 6;
|
|
1311
|
+
*/
|
|
1312
|
+
pattern;
|
|
1313
|
+
/**
|
|
1314
|
+
* Prefix specifies that this field must have the specified substring at
|
|
1315
|
+
* the beginning of the string.
|
|
1316
|
+
*
|
|
1317
|
+
* @generated from field: optional string prefix = 7;
|
|
1318
|
+
*/
|
|
1319
|
+
prefix;
|
|
1320
|
+
/**
|
|
1321
|
+
* Suffix specifies that this field must have the specified substring at
|
|
1322
|
+
* the end of the string.
|
|
1323
|
+
*
|
|
1324
|
+
* @generated from field: optional string suffix = 8;
|
|
1325
|
+
*/
|
|
1326
|
+
suffix;
|
|
1327
|
+
/**
|
|
1328
|
+
* Contains specifies that this field must have the specified substring
|
|
1329
|
+
* anywhere in the string.
|
|
1330
|
+
*
|
|
1331
|
+
* @generated from field: optional string contains = 9;
|
|
1332
|
+
*/
|
|
1333
|
+
contains;
|
|
1334
|
+
/**
|
|
1335
|
+
* NotContains specifies that this field cannot have the specified substring
|
|
1336
|
+
* anywhere in the string.
|
|
1337
|
+
*
|
|
1338
|
+
* @generated from field: optional string not_contains = 23;
|
|
1339
|
+
*/
|
|
1340
|
+
notContains;
|
|
1341
|
+
/**
|
|
1342
|
+
* In specifies that this field must be equal to one of the specified
|
|
1343
|
+
* values
|
|
1344
|
+
*
|
|
1345
|
+
* @generated from field: repeated string in = 10;
|
|
1346
|
+
*/
|
|
1347
|
+
in = [];
|
|
1348
|
+
/**
|
|
1349
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
1350
|
+
* values
|
|
1351
|
+
*
|
|
1352
|
+
* @generated from field: repeated string not_in = 11;
|
|
1353
|
+
*/
|
|
1354
|
+
notIn = [];
|
|
1355
|
+
/**
|
|
1356
|
+
* WellKnown rules provide advanced constraints against common string
|
|
1357
|
+
* patterns
|
|
1358
|
+
*
|
|
1359
|
+
* @generated from oneof validate.StringRules.well_known
|
|
1360
|
+
*/
|
|
1361
|
+
wellKnown = { case: undefined };
|
|
1362
|
+
/**
|
|
1363
|
+
* This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable
|
|
1364
|
+
* strict header validation.
|
|
1365
|
+
* By default, this is true, and HTTP header validations are RFC-compliant.
|
|
1366
|
+
* Setting to false will enable a looser validations that only disallows
|
|
1367
|
+
* \r\n\0 characters, which can be used to bypass header matching rules.
|
|
1368
|
+
*
|
|
1369
|
+
* @generated from field: optional bool strict = 25 [default = true];
|
|
1370
|
+
*/
|
|
1371
|
+
strict;
|
|
1372
|
+
/**
|
|
1373
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
1374
|
+
* evaluated only if the field is not empty
|
|
1375
|
+
*
|
|
1376
|
+
* @generated from field: optional bool ignore_empty = 26;
|
|
1377
|
+
*/
|
|
1378
|
+
ignoreEmpty;
|
|
1379
|
+
constructor(data) {
|
|
1380
|
+
super();
|
|
1381
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
1382
|
+
}
|
|
1383
|
+
static runtime = protobuf_1.proto2;
|
|
1384
|
+
static typeName = "validate.StringRules";
|
|
1385
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
1386
|
+
{ no: 1, name: "const", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1387
|
+
{ no: 19, name: "len", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1388
|
+
{ no: 2, name: "min_len", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1389
|
+
{ no: 3, name: "max_len", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1390
|
+
{ no: 20, name: "len_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1391
|
+
{ no: 4, name: "min_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1392
|
+
{ no: 5, name: "max_bytes", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1393
|
+
{ no: 6, name: "pattern", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1394
|
+
{ no: 7, name: "prefix", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1395
|
+
{ no: 8, name: "suffix", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1396
|
+
{ no: 9, name: "contains", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1397
|
+
{ no: 23, name: "not_contains", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1398
|
+
{ no: 10, name: "in", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1399
|
+
{ no: 11, name: "not_in", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1400
|
+
{ no: 12, name: "email", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1401
|
+
{ no: 13, name: "hostname", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1402
|
+
{ no: 14, name: "ip", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1403
|
+
{ no: 15, name: "ipv4", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1404
|
+
{ no: 16, name: "ipv6", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1405
|
+
{ no: 17, name: "uri", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1406
|
+
{ no: 18, name: "uri_ref", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1407
|
+
{ no: 21, name: "address", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1408
|
+
{ no: 22, name: "uuid", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1409
|
+
{ no: 24, name: "well_known_regex", kind: "enum", T: protobuf_1.proto2.getEnumType(KnownRegex), oneof: "well_known" },
|
|
1410
|
+
{ no: 25, name: "strict", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: true },
|
|
1411
|
+
{ no: 26, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1412
|
+
]);
|
|
1413
|
+
static fromBinary(bytes, options) {
|
|
1414
|
+
return new StringRules().fromBinary(bytes, options);
|
|
1415
|
+
}
|
|
1416
|
+
static fromJson(jsonValue, options) {
|
|
1417
|
+
return new StringRules().fromJson(jsonValue, options);
|
|
1418
|
+
}
|
|
1419
|
+
static fromJsonString(jsonString, options) {
|
|
1420
|
+
return new StringRules().fromJsonString(jsonString, options);
|
|
1421
|
+
}
|
|
1422
|
+
static equals(a, b) {
|
|
1423
|
+
return protobuf_1.proto2.util.equals(StringRules, a, b);
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
exports.StringRules = StringRules;
|
|
1427
|
+
/**
|
|
1428
|
+
* BytesRules describe the constraints applied to `bytes` values
|
|
1429
|
+
*
|
|
1430
|
+
* @generated from message validate.BytesRules
|
|
1431
|
+
*/
|
|
1432
|
+
class BytesRules extends protobuf_1.Message {
|
|
1433
|
+
/**
|
|
1434
|
+
* Const specifies that this field must be exactly the specified value
|
|
1435
|
+
*
|
|
1436
|
+
* @generated from field: optional bytes const = 1;
|
|
1437
|
+
*/
|
|
1438
|
+
const;
|
|
1439
|
+
/**
|
|
1440
|
+
* Len specifies that this field must be the specified number of bytes
|
|
1441
|
+
*
|
|
1442
|
+
* @generated from field: optional uint64 len = 13;
|
|
1443
|
+
*/
|
|
1444
|
+
len;
|
|
1445
|
+
/**
|
|
1446
|
+
* MinLen specifies that this field must be the specified number of bytes
|
|
1447
|
+
* at a minimum
|
|
1448
|
+
*
|
|
1449
|
+
* @generated from field: optional uint64 min_len = 2;
|
|
1450
|
+
*/
|
|
1451
|
+
minLen;
|
|
1452
|
+
/**
|
|
1453
|
+
* MaxLen specifies that this field must be the specified number of bytes
|
|
1454
|
+
* at a maximum
|
|
1455
|
+
*
|
|
1456
|
+
* @generated from field: optional uint64 max_len = 3;
|
|
1457
|
+
*/
|
|
1458
|
+
maxLen;
|
|
1459
|
+
/**
|
|
1460
|
+
* Pattern specifes that this field must match against the specified
|
|
1461
|
+
* regular expression (RE2 syntax). The included expression should elide
|
|
1462
|
+
* any delimiters.
|
|
1463
|
+
*
|
|
1464
|
+
* @generated from field: optional string pattern = 4;
|
|
1465
|
+
*/
|
|
1466
|
+
pattern;
|
|
1467
|
+
/**
|
|
1468
|
+
* Prefix specifies that this field must have the specified bytes at the
|
|
1469
|
+
* beginning of the string.
|
|
1470
|
+
*
|
|
1471
|
+
* @generated from field: optional bytes prefix = 5;
|
|
1472
|
+
*/
|
|
1473
|
+
prefix;
|
|
1474
|
+
/**
|
|
1475
|
+
* Suffix specifies that this field must have the specified bytes at the
|
|
1476
|
+
* end of the string.
|
|
1477
|
+
*
|
|
1478
|
+
* @generated from field: optional bytes suffix = 6;
|
|
1479
|
+
*/
|
|
1480
|
+
suffix;
|
|
1481
|
+
/**
|
|
1482
|
+
* Contains specifies that this field must have the specified bytes
|
|
1483
|
+
* anywhere in the string.
|
|
1484
|
+
*
|
|
1485
|
+
* @generated from field: optional bytes contains = 7;
|
|
1486
|
+
*/
|
|
1487
|
+
contains;
|
|
1488
|
+
/**
|
|
1489
|
+
* In specifies that this field must be equal to one of the specified
|
|
1490
|
+
* values
|
|
1491
|
+
*
|
|
1492
|
+
* @generated from field: repeated bytes in = 8;
|
|
1493
|
+
*/
|
|
1494
|
+
in = [];
|
|
1495
|
+
/**
|
|
1496
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
1497
|
+
* values
|
|
1498
|
+
*
|
|
1499
|
+
* @generated from field: repeated bytes not_in = 9;
|
|
1500
|
+
*/
|
|
1501
|
+
notIn = [];
|
|
1502
|
+
/**
|
|
1503
|
+
* WellKnown rules provide advanced constraints against common byte
|
|
1504
|
+
* patterns
|
|
1505
|
+
*
|
|
1506
|
+
* @generated from oneof validate.BytesRules.well_known
|
|
1507
|
+
*/
|
|
1508
|
+
wellKnown = { case: undefined };
|
|
1509
|
+
/**
|
|
1510
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
1511
|
+
* evaluated only if the field is not empty
|
|
1512
|
+
*
|
|
1513
|
+
* @generated from field: optional bool ignore_empty = 14;
|
|
1514
|
+
*/
|
|
1515
|
+
ignoreEmpty;
|
|
1516
|
+
constructor(data) {
|
|
1517
|
+
super();
|
|
1518
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
1519
|
+
}
|
|
1520
|
+
static runtime = protobuf_1.proto2;
|
|
1521
|
+
static typeName = "validate.BytesRules";
|
|
1522
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
1523
|
+
{ no: 1, name: "const", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
1524
|
+
{ no: 13, name: "len", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1525
|
+
{ no: 2, name: "min_len", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1526
|
+
{ no: 3, name: "max_len", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1527
|
+
{ no: 4, name: "pattern", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1528
|
+
{ no: 5, name: "prefix", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
1529
|
+
{ no: 6, name: "suffix", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
1530
|
+
{ no: 7, name: "contains", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
1531
|
+
{ no: 8, name: "in", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true },
|
|
1532
|
+
{ no: 9, name: "not_in", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true },
|
|
1533
|
+
{ no: 10, name: "ip", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1534
|
+
{ no: 11, name: "ipv4", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1535
|
+
{ no: 12, name: "ipv6", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "well_known" },
|
|
1536
|
+
{ no: 14, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1537
|
+
]);
|
|
1538
|
+
static fromBinary(bytes, options) {
|
|
1539
|
+
return new BytesRules().fromBinary(bytes, options);
|
|
1540
|
+
}
|
|
1541
|
+
static fromJson(jsonValue, options) {
|
|
1542
|
+
return new BytesRules().fromJson(jsonValue, options);
|
|
1543
|
+
}
|
|
1544
|
+
static fromJsonString(jsonString, options) {
|
|
1545
|
+
return new BytesRules().fromJsonString(jsonString, options);
|
|
1546
|
+
}
|
|
1547
|
+
static equals(a, b) {
|
|
1548
|
+
return protobuf_1.proto2.util.equals(BytesRules, a, b);
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
exports.BytesRules = BytesRules;
|
|
1552
|
+
/**
|
|
1553
|
+
* EnumRules describe the constraints applied to enum values
|
|
1554
|
+
*
|
|
1555
|
+
* @generated from message validate.EnumRules
|
|
1556
|
+
*/
|
|
1557
|
+
class EnumRules extends protobuf_1.Message {
|
|
1558
|
+
/**
|
|
1559
|
+
* Const specifies that this field must be exactly the specified value
|
|
1560
|
+
*
|
|
1561
|
+
* @generated from field: optional int32 const = 1;
|
|
1562
|
+
*/
|
|
1563
|
+
const;
|
|
1564
|
+
/**
|
|
1565
|
+
* DefinedOnly specifies that this field must be only one of the defined
|
|
1566
|
+
* values for this enum, failing on any undefined value.
|
|
1567
|
+
*
|
|
1568
|
+
* @generated from field: optional bool defined_only = 2;
|
|
1569
|
+
*/
|
|
1570
|
+
definedOnly;
|
|
1571
|
+
/**
|
|
1572
|
+
* In specifies that this field must be equal to one of the specified
|
|
1573
|
+
* values
|
|
1574
|
+
*
|
|
1575
|
+
* @generated from field: repeated int32 in = 3;
|
|
1576
|
+
*/
|
|
1577
|
+
in = [];
|
|
1578
|
+
/**
|
|
1579
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
1580
|
+
* values
|
|
1581
|
+
*
|
|
1582
|
+
* @generated from field: repeated int32 not_in = 4;
|
|
1583
|
+
*/
|
|
1584
|
+
notIn = [];
|
|
1585
|
+
constructor(data) {
|
|
1586
|
+
super();
|
|
1587
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
1588
|
+
}
|
|
1589
|
+
static runtime = protobuf_1.proto2;
|
|
1590
|
+
static typeName = "validate.EnumRules";
|
|
1591
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
1592
|
+
{ no: 1, name: "const", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
1593
|
+
{ no: 2, name: "defined_only", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1594
|
+
{ no: 3, name: "in", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
|
|
1595
|
+
{ no: 4, name: "not_in", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
|
|
1596
|
+
]);
|
|
1597
|
+
static fromBinary(bytes, options) {
|
|
1598
|
+
return new EnumRules().fromBinary(bytes, options);
|
|
1599
|
+
}
|
|
1600
|
+
static fromJson(jsonValue, options) {
|
|
1601
|
+
return new EnumRules().fromJson(jsonValue, options);
|
|
1602
|
+
}
|
|
1603
|
+
static fromJsonString(jsonString, options) {
|
|
1604
|
+
return new EnumRules().fromJsonString(jsonString, options);
|
|
1605
|
+
}
|
|
1606
|
+
static equals(a, b) {
|
|
1607
|
+
return protobuf_1.proto2.util.equals(EnumRules, a, b);
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
exports.EnumRules = EnumRules;
|
|
1611
|
+
/**
|
|
1612
|
+
* MessageRules describe the constraints applied to embedded message values.
|
|
1613
|
+
* For message-type fields, validation is performed recursively.
|
|
1614
|
+
*
|
|
1615
|
+
* @generated from message validate.MessageRules
|
|
1616
|
+
*/
|
|
1617
|
+
class MessageRules extends protobuf_1.Message {
|
|
1618
|
+
/**
|
|
1619
|
+
* Skip specifies that the validation rules of this field should not be
|
|
1620
|
+
* evaluated
|
|
1621
|
+
*
|
|
1622
|
+
* @generated from field: optional bool skip = 1;
|
|
1623
|
+
*/
|
|
1624
|
+
skip;
|
|
1625
|
+
/**
|
|
1626
|
+
* Required specifies that this field must be set
|
|
1627
|
+
*
|
|
1628
|
+
* @generated from field: optional bool required = 2;
|
|
1629
|
+
*/
|
|
1630
|
+
required;
|
|
1631
|
+
constructor(data) {
|
|
1632
|
+
super();
|
|
1633
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
1634
|
+
}
|
|
1635
|
+
static runtime = protobuf_1.proto2;
|
|
1636
|
+
static typeName = "validate.MessageRules";
|
|
1637
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
1638
|
+
{ no: 1, name: "skip", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1639
|
+
{ no: 2, name: "required", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1640
|
+
]);
|
|
1641
|
+
static fromBinary(bytes, options) {
|
|
1642
|
+
return new MessageRules().fromBinary(bytes, options);
|
|
1643
|
+
}
|
|
1644
|
+
static fromJson(jsonValue, options) {
|
|
1645
|
+
return new MessageRules().fromJson(jsonValue, options);
|
|
1646
|
+
}
|
|
1647
|
+
static fromJsonString(jsonString, options) {
|
|
1648
|
+
return new MessageRules().fromJsonString(jsonString, options);
|
|
1649
|
+
}
|
|
1650
|
+
static equals(a, b) {
|
|
1651
|
+
return protobuf_1.proto2.util.equals(MessageRules, a, b);
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1654
|
+
exports.MessageRules = MessageRules;
|
|
1655
|
+
/**
|
|
1656
|
+
* RepeatedRules describe the constraints applied to `repeated` values
|
|
1657
|
+
*
|
|
1658
|
+
* @generated from message validate.RepeatedRules
|
|
1659
|
+
*/
|
|
1660
|
+
class RepeatedRules extends protobuf_1.Message {
|
|
1661
|
+
/**
|
|
1662
|
+
* MinItems specifies that this field must have the specified number of
|
|
1663
|
+
* items at a minimum
|
|
1664
|
+
*
|
|
1665
|
+
* @generated from field: optional uint64 min_items = 1;
|
|
1666
|
+
*/
|
|
1667
|
+
minItems;
|
|
1668
|
+
/**
|
|
1669
|
+
* MaxItems specifies that this field must have the specified number of
|
|
1670
|
+
* items at a maximum
|
|
1671
|
+
*
|
|
1672
|
+
* @generated from field: optional uint64 max_items = 2;
|
|
1673
|
+
*/
|
|
1674
|
+
maxItems;
|
|
1675
|
+
/**
|
|
1676
|
+
* Unique specifies that all elements in this field must be unique. This
|
|
1677
|
+
* contraint is only applicable to scalar and enum types (messages are not
|
|
1678
|
+
* supported).
|
|
1679
|
+
*
|
|
1680
|
+
* @generated from field: optional bool unique = 3;
|
|
1681
|
+
*/
|
|
1682
|
+
unique;
|
|
1683
|
+
/**
|
|
1684
|
+
* Items specifies the contraints to be applied to each item in the field.
|
|
1685
|
+
* Repeated message fields will still execute validation against each item
|
|
1686
|
+
* unless skip is specified here.
|
|
1687
|
+
*
|
|
1688
|
+
* @generated from field: optional validate.FieldRules items = 4;
|
|
1689
|
+
*/
|
|
1690
|
+
items;
|
|
1691
|
+
/**
|
|
1692
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
1693
|
+
* evaluated only if the field is not empty
|
|
1694
|
+
*
|
|
1695
|
+
* @generated from field: optional bool ignore_empty = 5;
|
|
1696
|
+
*/
|
|
1697
|
+
ignoreEmpty;
|
|
1698
|
+
constructor(data) {
|
|
1699
|
+
super();
|
|
1700
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
1701
|
+
}
|
|
1702
|
+
static runtime = protobuf_1.proto2;
|
|
1703
|
+
static typeName = "validate.RepeatedRules";
|
|
1704
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
1705
|
+
{ no: 1, name: "min_items", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1706
|
+
{ no: 2, name: "max_items", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1707
|
+
{ no: 3, name: "unique", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1708
|
+
{ no: 4, name: "items", kind: "message", T: FieldRules, opt: true },
|
|
1709
|
+
{ no: 5, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1710
|
+
]);
|
|
1711
|
+
static fromBinary(bytes, options) {
|
|
1712
|
+
return new RepeatedRules().fromBinary(bytes, options);
|
|
1713
|
+
}
|
|
1714
|
+
static fromJson(jsonValue, options) {
|
|
1715
|
+
return new RepeatedRules().fromJson(jsonValue, options);
|
|
1716
|
+
}
|
|
1717
|
+
static fromJsonString(jsonString, options) {
|
|
1718
|
+
return new RepeatedRules().fromJsonString(jsonString, options);
|
|
1719
|
+
}
|
|
1720
|
+
static equals(a, b) {
|
|
1721
|
+
return protobuf_1.proto2.util.equals(RepeatedRules, a, b);
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
exports.RepeatedRules = RepeatedRules;
|
|
1725
|
+
/**
|
|
1726
|
+
* MapRules describe the constraints applied to `map` values
|
|
1727
|
+
*
|
|
1728
|
+
* @generated from message validate.MapRules
|
|
1729
|
+
*/
|
|
1730
|
+
class MapRules extends protobuf_1.Message {
|
|
1731
|
+
/**
|
|
1732
|
+
* MinPairs specifies that this field must have the specified number of
|
|
1733
|
+
* KVs at a minimum
|
|
1734
|
+
*
|
|
1735
|
+
* @generated from field: optional uint64 min_pairs = 1;
|
|
1736
|
+
*/
|
|
1737
|
+
minPairs;
|
|
1738
|
+
/**
|
|
1739
|
+
* MaxPairs specifies that this field must have the specified number of
|
|
1740
|
+
* KVs at a maximum
|
|
1741
|
+
*
|
|
1742
|
+
* @generated from field: optional uint64 max_pairs = 2;
|
|
1743
|
+
*/
|
|
1744
|
+
maxPairs;
|
|
1745
|
+
/**
|
|
1746
|
+
* NoSparse specifies values in this field cannot be unset. This only
|
|
1747
|
+
* applies to map's with message value types.
|
|
1748
|
+
*
|
|
1749
|
+
* @generated from field: optional bool no_sparse = 3;
|
|
1750
|
+
*/
|
|
1751
|
+
noSparse;
|
|
1752
|
+
/**
|
|
1753
|
+
* Keys specifies the constraints to be applied to each key in the field.
|
|
1754
|
+
*
|
|
1755
|
+
* @generated from field: optional validate.FieldRules keys = 4;
|
|
1756
|
+
*/
|
|
1757
|
+
keys;
|
|
1758
|
+
/**
|
|
1759
|
+
* Values specifies the constraints to be applied to the value of each key
|
|
1760
|
+
* in the field. Message values will still have their validations evaluated
|
|
1761
|
+
* unless skip is specified here.
|
|
1762
|
+
*
|
|
1763
|
+
* @generated from field: optional validate.FieldRules values = 5;
|
|
1764
|
+
*/
|
|
1765
|
+
values;
|
|
1766
|
+
/**
|
|
1767
|
+
* IgnoreEmpty specifies that the validation rules of this field should be
|
|
1768
|
+
* evaluated only if the field is not empty
|
|
1769
|
+
*
|
|
1770
|
+
* @generated from field: optional bool ignore_empty = 6;
|
|
1771
|
+
*/
|
|
1772
|
+
ignoreEmpty;
|
|
1773
|
+
constructor(data) {
|
|
1774
|
+
super();
|
|
1775
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
1776
|
+
}
|
|
1777
|
+
static runtime = protobuf_1.proto2;
|
|
1778
|
+
static typeName = "validate.MapRules";
|
|
1779
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
1780
|
+
{ no: 1, name: "min_pairs", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1781
|
+
{ no: 2, name: "max_pairs", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
1782
|
+
{ no: 3, name: "no_sparse", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1783
|
+
{ no: 4, name: "keys", kind: "message", T: FieldRules, opt: true },
|
|
1784
|
+
{ no: 5, name: "values", kind: "message", T: FieldRules, opt: true },
|
|
1785
|
+
{ no: 6, name: "ignore_empty", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1786
|
+
]);
|
|
1787
|
+
static fromBinary(bytes, options) {
|
|
1788
|
+
return new MapRules().fromBinary(bytes, options);
|
|
1789
|
+
}
|
|
1790
|
+
static fromJson(jsonValue, options) {
|
|
1791
|
+
return new MapRules().fromJson(jsonValue, options);
|
|
1792
|
+
}
|
|
1793
|
+
static fromJsonString(jsonString, options) {
|
|
1794
|
+
return new MapRules().fromJsonString(jsonString, options);
|
|
1795
|
+
}
|
|
1796
|
+
static equals(a, b) {
|
|
1797
|
+
return protobuf_1.proto2.util.equals(MapRules, a, b);
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
exports.MapRules = MapRules;
|
|
1801
|
+
/**
|
|
1802
|
+
* AnyRules describe constraints applied exclusively to the
|
|
1803
|
+
* `google.protobuf.Any` well-known type
|
|
1804
|
+
*
|
|
1805
|
+
* @generated from message validate.AnyRules
|
|
1806
|
+
*/
|
|
1807
|
+
class AnyRules extends protobuf_1.Message {
|
|
1808
|
+
/**
|
|
1809
|
+
* Required specifies that this field must be set
|
|
1810
|
+
*
|
|
1811
|
+
* @generated from field: optional bool required = 1;
|
|
1812
|
+
*/
|
|
1813
|
+
required;
|
|
1814
|
+
/**
|
|
1815
|
+
* In specifies that this field's `type_url` must be equal to one of the
|
|
1816
|
+
* specified values.
|
|
1817
|
+
*
|
|
1818
|
+
* @generated from field: repeated string in = 2;
|
|
1819
|
+
*/
|
|
1820
|
+
in = [];
|
|
1821
|
+
/**
|
|
1822
|
+
* NotIn specifies that this field's `type_url` must not be equal to any of
|
|
1823
|
+
* the specified values.
|
|
1824
|
+
*
|
|
1825
|
+
* @generated from field: repeated string not_in = 3;
|
|
1826
|
+
*/
|
|
1827
|
+
notIn = [];
|
|
1828
|
+
constructor(data) {
|
|
1829
|
+
super();
|
|
1830
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
1831
|
+
}
|
|
1832
|
+
static runtime = protobuf_1.proto2;
|
|
1833
|
+
static typeName = "validate.AnyRules";
|
|
1834
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
1835
|
+
{ no: 1, name: "required", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1836
|
+
{ no: 2, name: "in", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1837
|
+
{ no: 3, name: "not_in", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
1838
|
+
]);
|
|
1839
|
+
static fromBinary(bytes, options) {
|
|
1840
|
+
return new AnyRules().fromBinary(bytes, options);
|
|
1841
|
+
}
|
|
1842
|
+
static fromJson(jsonValue, options) {
|
|
1843
|
+
return new AnyRules().fromJson(jsonValue, options);
|
|
1844
|
+
}
|
|
1845
|
+
static fromJsonString(jsonString, options) {
|
|
1846
|
+
return new AnyRules().fromJsonString(jsonString, options);
|
|
1847
|
+
}
|
|
1848
|
+
static equals(a, b) {
|
|
1849
|
+
return protobuf_1.proto2.util.equals(AnyRules, a, b);
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
exports.AnyRules = AnyRules;
|
|
1853
|
+
/**
|
|
1854
|
+
* DurationRules describe the constraints applied exclusively to the
|
|
1855
|
+
* `google.protobuf.Duration` well-known type
|
|
1856
|
+
*
|
|
1857
|
+
* @generated from message validate.DurationRules
|
|
1858
|
+
*/
|
|
1859
|
+
class DurationRules extends protobuf_1.Message {
|
|
1860
|
+
/**
|
|
1861
|
+
* Required specifies that this field must be set
|
|
1862
|
+
*
|
|
1863
|
+
* @generated from field: optional bool required = 1;
|
|
1864
|
+
*/
|
|
1865
|
+
required;
|
|
1866
|
+
/**
|
|
1867
|
+
* Const specifies that this field must be exactly the specified value
|
|
1868
|
+
*
|
|
1869
|
+
* @generated from field: optional google.protobuf.Duration const = 2;
|
|
1870
|
+
*/
|
|
1871
|
+
const;
|
|
1872
|
+
/**
|
|
1873
|
+
* Lt specifies that this field must be less than the specified value,
|
|
1874
|
+
* exclusive
|
|
1875
|
+
*
|
|
1876
|
+
* @generated from field: optional google.protobuf.Duration lt = 3;
|
|
1877
|
+
*/
|
|
1878
|
+
lt;
|
|
1879
|
+
/**
|
|
1880
|
+
* Lt specifies that this field must be less than the specified value,
|
|
1881
|
+
* inclusive
|
|
1882
|
+
*
|
|
1883
|
+
* @generated from field: optional google.protobuf.Duration lte = 4;
|
|
1884
|
+
*/
|
|
1885
|
+
lte;
|
|
1886
|
+
/**
|
|
1887
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
1888
|
+
* exclusive
|
|
1889
|
+
*
|
|
1890
|
+
* @generated from field: optional google.protobuf.Duration gt = 5;
|
|
1891
|
+
*/
|
|
1892
|
+
gt;
|
|
1893
|
+
/**
|
|
1894
|
+
* Gte specifies that this field must be greater than the specified value,
|
|
1895
|
+
* inclusive
|
|
1896
|
+
*
|
|
1897
|
+
* @generated from field: optional google.protobuf.Duration gte = 6;
|
|
1898
|
+
*/
|
|
1899
|
+
gte;
|
|
1900
|
+
/**
|
|
1901
|
+
* In specifies that this field must be equal to one of the specified
|
|
1902
|
+
* values
|
|
1903
|
+
*
|
|
1904
|
+
* @generated from field: repeated google.protobuf.Duration in = 7;
|
|
1905
|
+
*/
|
|
1906
|
+
in = [];
|
|
1907
|
+
/**
|
|
1908
|
+
* NotIn specifies that this field cannot be equal to one of the specified
|
|
1909
|
+
* values
|
|
1910
|
+
*
|
|
1911
|
+
* @generated from field: repeated google.protobuf.Duration not_in = 8;
|
|
1912
|
+
*/
|
|
1913
|
+
notIn = [];
|
|
1914
|
+
constructor(data) {
|
|
1915
|
+
super();
|
|
1916
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
1917
|
+
}
|
|
1918
|
+
static runtime = protobuf_1.proto2;
|
|
1919
|
+
static typeName = "validate.DurationRules";
|
|
1920
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
1921
|
+
{ no: 1, name: "required", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
1922
|
+
{ no: 2, name: "const", kind: "message", T: protobuf_1.Duration, opt: true },
|
|
1923
|
+
{ no: 3, name: "lt", kind: "message", T: protobuf_1.Duration, opt: true },
|
|
1924
|
+
{ no: 4, name: "lte", kind: "message", T: protobuf_1.Duration, opt: true },
|
|
1925
|
+
{ no: 5, name: "gt", kind: "message", T: protobuf_1.Duration, opt: true },
|
|
1926
|
+
{ no: 6, name: "gte", kind: "message", T: protobuf_1.Duration, opt: true },
|
|
1927
|
+
{ no: 7, name: "in", kind: "message", T: protobuf_1.Duration, repeated: true },
|
|
1928
|
+
{ no: 8, name: "not_in", kind: "message", T: protobuf_1.Duration, repeated: true },
|
|
1929
|
+
]);
|
|
1930
|
+
static fromBinary(bytes, options) {
|
|
1931
|
+
return new DurationRules().fromBinary(bytes, options);
|
|
1932
|
+
}
|
|
1933
|
+
static fromJson(jsonValue, options) {
|
|
1934
|
+
return new DurationRules().fromJson(jsonValue, options);
|
|
1935
|
+
}
|
|
1936
|
+
static fromJsonString(jsonString, options) {
|
|
1937
|
+
return new DurationRules().fromJsonString(jsonString, options);
|
|
1938
|
+
}
|
|
1939
|
+
static equals(a, b) {
|
|
1940
|
+
return protobuf_1.proto2.util.equals(DurationRules, a, b);
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
exports.DurationRules = DurationRules;
|
|
1944
|
+
/**
|
|
1945
|
+
* TimestampRules describe the constraints applied exclusively to the
|
|
1946
|
+
* `google.protobuf.Timestamp` well-known type
|
|
1947
|
+
*
|
|
1948
|
+
* @generated from message validate.TimestampRules
|
|
1949
|
+
*/
|
|
1950
|
+
class TimestampRules extends protobuf_1.Message {
|
|
1951
|
+
/**
|
|
1952
|
+
* Required specifies that this field must be set
|
|
1953
|
+
*
|
|
1954
|
+
* @generated from field: optional bool required = 1;
|
|
1955
|
+
*/
|
|
1956
|
+
required;
|
|
1957
|
+
/**
|
|
1958
|
+
* Const specifies that this field must be exactly the specified value
|
|
1959
|
+
*
|
|
1960
|
+
* @generated from field: optional google.protobuf.Timestamp const = 2;
|
|
1961
|
+
*/
|
|
1962
|
+
const;
|
|
1963
|
+
/**
|
|
1964
|
+
* Lt specifies that this field must be less than the specified value,
|
|
1965
|
+
* exclusive
|
|
1966
|
+
*
|
|
1967
|
+
* @generated from field: optional google.protobuf.Timestamp lt = 3;
|
|
1968
|
+
*/
|
|
1969
|
+
lt;
|
|
1970
|
+
/**
|
|
1971
|
+
* Lte specifies that this field must be less than the specified value,
|
|
1972
|
+
* inclusive
|
|
1973
|
+
*
|
|
1974
|
+
* @generated from field: optional google.protobuf.Timestamp lte = 4;
|
|
1975
|
+
*/
|
|
1976
|
+
lte;
|
|
1977
|
+
/**
|
|
1978
|
+
* Gt specifies that this field must be greater than the specified value,
|
|
1979
|
+
* exclusive
|
|
1980
|
+
*
|
|
1981
|
+
* @generated from field: optional google.protobuf.Timestamp gt = 5;
|
|
1982
|
+
*/
|
|
1983
|
+
gt;
|
|
1984
|
+
/**
|
|
1985
|
+
* Gte specifies that this field must be greater than the specified value,
|
|
1986
|
+
* inclusive
|
|
1987
|
+
*
|
|
1988
|
+
* @generated from field: optional google.protobuf.Timestamp gte = 6;
|
|
1989
|
+
*/
|
|
1990
|
+
gte;
|
|
1991
|
+
/**
|
|
1992
|
+
* LtNow specifies that this must be less than the current time. LtNow
|
|
1993
|
+
* can only be used with the Within rule.
|
|
1994
|
+
*
|
|
1995
|
+
* @generated from field: optional bool lt_now = 7;
|
|
1996
|
+
*/
|
|
1997
|
+
ltNow;
|
|
1998
|
+
/**
|
|
1999
|
+
* GtNow specifies that this must be greater than the current time. GtNow
|
|
2000
|
+
* can only be used with the Within rule.
|
|
2001
|
+
*
|
|
2002
|
+
* @generated from field: optional bool gt_now = 8;
|
|
2003
|
+
*/
|
|
2004
|
+
gtNow;
|
|
2005
|
+
/**
|
|
2006
|
+
* Within specifies that this field must be within this duration of the
|
|
2007
|
+
* current time. This constraint can be used alone or with the LtNow and
|
|
2008
|
+
* GtNow rules.
|
|
2009
|
+
*
|
|
2010
|
+
* @generated from field: optional google.protobuf.Duration within = 9;
|
|
2011
|
+
*/
|
|
2012
|
+
within;
|
|
2013
|
+
constructor(data) {
|
|
2014
|
+
super();
|
|
2015
|
+
protobuf_1.proto2.util.initPartial(data, this);
|
|
2016
|
+
}
|
|
2017
|
+
static runtime = protobuf_1.proto2;
|
|
2018
|
+
static typeName = "validate.TimestampRules";
|
|
2019
|
+
static fields = protobuf_1.proto2.util.newFieldList(() => [
|
|
2020
|
+
{ no: 1, name: "required", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2021
|
+
{ no: 2, name: "const", kind: "message", T: protobuf_1.Timestamp, opt: true },
|
|
2022
|
+
{ no: 3, name: "lt", kind: "message", T: protobuf_1.Timestamp, opt: true },
|
|
2023
|
+
{ no: 4, name: "lte", kind: "message", T: protobuf_1.Timestamp, opt: true },
|
|
2024
|
+
{ no: 5, name: "gt", kind: "message", T: protobuf_1.Timestamp, opt: true },
|
|
2025
|
+
{ no: 6, name: "gte", kind: "message", T: protobuf_1.Timestamp, opt: true },
|
|
2026
|
+
{ no: 7, name: "lt_now", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2027
|
+
{ no: 8, name: "gt_now", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
2028
|
+
{ no: 9, name: "within", kind: "message", T: protobuf_1.Duration, opt: true },
|
|
2029
|
+
]);
|
|
2030
|
+
static fromBinary(bytes, options) {
|
|
2031
|
+
return new TimestampRules().fromBinary(bytes, options);
|
|
2032
|
+
}
|
|
2033
|
+
static fromJson(jsonValue, options) {
|
|
2034
|
+
return new TimestampRules().fromJson(jsonValue, options);
|
|
2035
|
+
}
|
|
2036
|
+
static fromJsonString(jsonString, options) {
|
|
2037
|
+
return new TimestampRules().fromJsonString(jsonString, options);
|
|
2038
|
+
}
|
|
2039
|
+
static equals(a, b) {
|
|
2040
|
+
return protobuf_1.proto2.util.equals(TimestampRules, a, b);
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
exports.TimestampRules = TimestampRules;
|
|
2044
|
+
//# sourceMappingURL=validate_pb.js.map
|