@xeonr/upload-pool-sdk 1.0.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/README.md +83 -0
- package/dist/errors.d.ts +14 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +15 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -0
- package/dist/job-context.d.ts +18 -0
- package/dist/job-context.d.ts.map +1 -0
- package/dist/job-context.js +176 -0
- package/dist/job-context.js.map +1 -0
- package/dist/pool.d.ts +16 -0
- package/dist/pool.d.ts.map +1 -0
- package/dist/pool.js +111 -0
- package/dist/pool.js.map +1 -0
- package/dist/protocol/buf/validate/expression_pb.d.ts +128 -0
- package/dist/protocol/buf/validate/expression_pb.d.ts.map +1 -0
- package/dist/protocol/buf/validate/expression_pb.js +34 -0
- package/dist/protocol/buf/validate/expression_pb.js.map +1 -0
- package/dist/protocol/buf/validate/priv/private_pb.d.ts +54 -0
- package/dist/protocol/buf/validate/priv/private_pb.d.ts.map +1 -0
- package/dist/protocol/buf/validate/priv/private_pb.js +36 -0
- package/dist/protocol/buf/validate/priv/private_pb.js.map +1 -0
- package/dist/protocol/buf/validate/validate_pb.d.ts +3685 -0
- package/dist/protocol/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/protocol/buf/validate/validate_pb.js +223 -0
- package/dist/protocol/buf/validate/validate_pb.js.map +1 -0
- package/dist/protocol/gnostic/discovery/v1/discovery_pb.d.ts +816 -0
- package/dist/protocol/gnostic/discovery/v1/discovery_pb.d.ts.map +1 -0
- package/dist/protocol/gnostic/discovery/v1/discovery_pb.js +160 -0
- package/dist/protocol/gnostic/discovery/v1/discovery_pb.js.map +1 -0
- package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.d.ts +2229 -0
- package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.d.ts.map +1 -0
- package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.js +320 -0
- package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.js.map +1 -0
- package/dist/protocol/gnostic/openapi/v3/annotations_pb.d.ts +24 -0
- package/dist/protocol/gnostic/openapi/v3/annotations_pb.d.ts.map +1 -0
- package/dist/protocol/gnostic/openapi/v3/annotations_pb.js +37 -0
- package/dist/protocol/gnostic/openapi/v3/annotations_pb.js.map +1 -0
- package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.d.ts +2245 -0
- package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.d.ts.map +1 -0
- package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.js +410 -0
- package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.js.map +1 -0
- package/dist/protocol/google/api/annotations_pb.d.ts +14 -0
- package/dist/protocol/google/api/annotations_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/annotations_pb.js +27 -0
- package/dist/protocol/google/api/annotations_pb.js.map +1 -0
- package/dist/protocol/google/api/client_pb.d.ts +1034 -0
- package/dist/protocol/google/api/client_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/client_pb.js +338 -0
- package/dist/protocol/google/api/client_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/checked_pb.d.ts +672 -0
- package/dist/protocol/google/api/expr/v1alpha1/checked_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/checked_pb.js +176 -0
- package/dist/protocol/google/api/expr/v1alpha1/checked_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/eval_pb.d.ts +185 -0
- package/dist/protocol/google/api/expr/v1alpha1/eval_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/eval_pb.js +46 -0
- package/dist/protocol/google/api/expr/v1alpha1/eval_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/explain_pb.d.ts +68 -0
- package/dist/protocol/google/api/expr/v1alpha1/explain_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/explain_pb.js +32 -0
- package/dist/protocol/google/api/expr/v1alpha1/explain_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.d.ts +796 -0
- package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.js +128 -0
- package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/value_pb.d.ts +224 -0
- package/dist/protocol/google/api/expr/v1alpha1/value_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/value_pb.js +45 -0
- package/dist/protocol/google/api/expr/v1alpha1/value_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/decl_pb.d.ts +151 -0
- package/dist/protocol/google/api/expr/v1beta1/decl_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/decl_pb.js +41 -0
- package/dist/protocol/google/api/expr/v1beta1/decl_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/eval_pb.d.ts +203 -0
- package/dist/protocol/google/api/expr/v1beta1/eval_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/eval_pb.js +52 -0
- package/dist/protocol/google/api/expr/v1beta1/eval_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/expr_pb.d.ts +504 -0
- package/dist/protocol/google/api/expr/v1beta1/expr_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/expr_pb.js +72 -0
- package/dist/protocol/google/api/expr/v1beta1/expr_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/source_pb.d.ts +86 -0
- package/dist/protocol/google/api/expr/v1beta1/source_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/source_pb.js +30 -0
- package/dist/protocol/google/api/expr/v1beta1/source_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/value_pb.d.ts +224 -0
- package/dist/protocol/google/api/expr/v1beta1/value_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/value_pb.js +46 -0
- package/dist/protocol/google/api/expr/v1beta1/value_pb.js.map +1 -0
- package/dist/protocol/google/api/field_behavior_pb.d.ts +122 -0
- package/dist/protocol/google/api/field_behavior_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/field_behavior_pb.js +136 -0
- package/dist/protocol/google/api/field_behavior_pb.js.map +1 -0
- package/dist/protocol/google/api/field_info_pb.d.ts +140 -0
- package/dist/protocol/google/api/field_info_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/field_info_pb.js +108 -0
- package/dist/protocol/google/api/field_info_pb.js.map +1 -0
- package/dist/protocol/google/api/http_pb.d.ts +441 -0
- package/dist/protocol/google/api/http_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/http_pb.js +34 -0
- package/dist/protocol/google/api/http_pb.js.map +1 -0
- package/dist/protocol/google/api/httpbody_pb.d.ts +81 -0
- package/dist/protocol/google/api/httpbody_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/httpbody_pb.js +25 -0
- package/dist/protocol/google/api/httpbody_pb.js.map +1 -0
- package/dist/protocol/google/api/launch_stage_pb.d.ts +87 -0
- package/dist/protocol/google/api/launch_stage_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/launch_stage_pb.js +101 -0
- package/dist/protocol/google/api/launch_stage_pb.js.map +1 -0
- package/dist/protocol/google/api/resource_pb.d.ts +304 -0
- package/dist/protocol/google/api/resource_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/resource_pb.js +116 -0
- package/dist/protocol/google/api/resource_pb.js.map +1 -0
- package/dist/protocol/google/api/routing_pb.d.ts +476 -0
- package/dist/protocol/google/api/routing_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/routing_pb.js +36 -0
- package/dist/protocol/google/api/routing_pb.js.map +1 -0
- package/dist/protocol/google/api/visibility_pb.d.ts +128 -0
- package/dist/protocol/google/api/visibility_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/visibility_pb.js +66 -0
- package/dist/protocol/google/api/visibility_pb.js.map +1 -0
- package/dist/protocol/google/bytestream/bytestream_pb.d.ts +278 -0
- package/dist/protocol/google/bytestream/bytestream_pb.d.ts.map +1 -0
- package/dist/protocol/google/bytestream/bytestream_pb.js +77 -0
- package/dist/protocol/google/bytestream/bytestream_pb.js.map +1 -0
- package/dist/protocol/google/geo/type/viewport_pb.d.ts +66 -0
- package/dist/protocol/google/geo/type/viewport_pb.d.ts.map +1 -0
- package/dist/protocol/google/geo/type/viewport_pb.js +26 -0
- package/dist/protocol/google/geo/type/viewport_pb.js.map +1 -0
- package/dist/protocol/google/iam/v1/iam_policy_pb.d.ts +193 -0
- package/dist/protocol/google/iam/v1/iam_policy_pb.d.ts.map +1 -0
- package/dist/protocol/google/iam/v1/iam_policy_pb.js +76 -0
- package/dist/protocol/google/iam/v1/iam_policy_pb.js.map +1 -0
- package/dist/protocol/google/iam/v1/options_pb.d.ts +42 -0
- package/dist/protocol/google/iam/v1/options_pb.d.ts.map +1 -0
- package/dist/protocol/google/iam/v1/options_pb.js +24 -0
- package/dist/protocol/google/iam/v1/options_pb.js.map +1 -0
- package/dist/protocol/google/iam/v1/policy_pb.d.ts +571 -0
- package/dist/protocol/google/iam/v1/policy_pb.d.ts.map +1 -0
- package/dist/protocol/google/iam/v1/policy_pb.js +152 -0
- package/dist/protocol/google/iam/v1/policy_pb.js.map +1 -0
- package/dist/protocol/google/longrunning/operations_pb.d.ts +398 -0
- package/dist/protocol/google/longrunning/operations_pb.d.ts.map +1 -0
- package/dist/protocol/google/longrunning/operations_pb.js +89 -0
- package/dist/protocol/google/longrunning/operations_pb.js.map +1 -0
- package/dist/protocol/google/rpc/code_pb.d.ts +228 -0
- package/dist/protocol/google/rpc/code_pb.d.ts.map +1 -0
- package/dist/protocol/google/rpc/code_pb.js +242 -0
- package/dist/protocol/google/rpc/code_pb.js.map +1 -0
- package/dist/protocol/google/rpc/context/attribute_context_pb.d.ts +560 -0
- package/dist/protocol/google/rpc/context/attribute_context_pb.d.ts.map +1 -0
- package/dist/protocol/google/rpc/context/attribute_context_pb.js +55 -0
- package/dist/protocol/google/rpc/context/attribute_context_pb.js.map +1 -0
- package/dist/protocol/google/rpc/error_details_pb.d.ts +581 -0
- package/dist/protocol/google/rpc/error_details_pb.d.ts.map +1 -0
- package/dist/protocol/google/rpc/error_details_pb.js +90 -0
- package/dist/protocol/google/rpc/error_details_pb.js.map +1 -0
- package/dist/protocol/google/rpc/status_pb.d.ts +49 -0
- package/dist/protocol/google/rpc/status_pb.d.ts.map +1 -0
- package/dist/protocol/google/rpc/status_pb.js +25 -0
- package/dist/protocol/google/rpc/status_pb.js.map +1 -0
- package/dist/protocol/google/type/calendar_period_pb.d.ts +71 -0
- package/dist/protocol/google/type/calendar_period_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/calendar_period_pb.js +85 -0
- package/dist/protocol/google/type/calendar_period_pb.js.map +1 -0
- package/dist/protocol/google/type/color_pb.d.ts +176 -0
- package/dist/protocol/google/type/color_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/color_pb.js +25 -0
- package/dist/protocol/google/type/color_pb.js.map +1 -0
- package/dist/protocol/google/type/date_pb.d.ts +56 -0
- package/dist/protocol/google/type/date_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/date_pb.js +24 -0
- package/dist/protocol/google/type/date_pb.js.map +1 -0
- package/dist/protocol/google/type/datetime_pb.d.ts +148 -0
- package/dist/protocol/google/type/datetime_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/datetime_pb.js +30 -0
- package/dist/protocol/google/type/datetime_pb.js.map +1 -0
- package/dist/protocol/google/type/dayofweek_pb.d.ts +65 -0
- package/dist/protocol/google/type/dayofweek_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/dayofweek_pb.js +79 -0
- package/dist/protocol/google/type/dayofweek_pb.js.map +1 -0
- package/dist/protocol/google/type/decimal_pb.d.ts +89 -0
- package/dist/protocol/google/type/decimal_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/decimal_pb.js +24 -0
- package/dist/protocol/google/type/decimal_pb.js.map +1 -0
- package/dist/protocol/google/type/expr_pb.d.ts +78 -0
- package/dist/protocol/google/type/expr_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/expr_pb.js +24 -0
- package/dist/protocol/google/type/expr_pb.js.map +1 -0
- package/dist/protocol/google/type/fraction_pb.d.ts +32 -0
- package/dist/protocol/google/type/fraction_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/fraction_pb.js +24 -0
- package/dist/protocol/google/type/fraction_pb.js.map +1 -0
- package/dist/protocol/google/type/interval_pb.d.ts +43 -0
- package/dist/protocol/google/type/interval_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/interval_pb.js +25 -0
- package/dist/protocol/google/type/interval_pb.js.map +1 -0
- package/dist/protocol/google/type/latlng_pb.d.ts +35 -0
- package/dist/protocol/google/type/latlng_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/latlng_pb.js +24 -0
- package/dist/protocol/google/type/latlng_pb.js.map +1 -0
- package/dist/protocol/google/type/localized_text_pb.d.ts +35 -0
- package/dist/protocol/google/type/localized_text_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/localized_text_pb.js +24 -0
- package/dist/protocol/google/type/localized_text_pb.js.map +1 -0
- package/dist/protocol/google/type/money_pb.d.ts +43 -0
- package/dist/protocol/google/type/money_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/money_pb.js +24 -0
- package/dist/protocol/google/type/money_pb.js.map +1 -0
- package/dist/protocol/google/type/month_pb.d.ts +95 -0
- package/dist/protocol/google/type/month_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/month_pb.js +109 -0
- package/dist/protocol/google/type/month_pb.js.map +1 -0
- package/dist/protocol/google/type/phone_number_pb.d.ts +145 -0
- package/dist/protocol/google/type/phone_number_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/phone_number_pb.js +29 -0
- package/dist/protocol/google/type/phone_number_pb.js.map +1 -0
- package/dist/protocol/google/type/postal_address_pb.d.ts +160 -0
- package/dist/protocol/google/type/postal_address_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/postal_address_pb.js +24 -0
- package/dist/protocol/google/type/postal_address_pb.js.map +1 -0
- package/dist/protocol/google/type/quaternion_pb.d.ts +99 -0
- package/dist/protocol/google/type/quaternion_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/quaternion_pb.js +24 -0
- package/dist/protocol/google/type/quaternion_pb.js.map +1 -0
- package/dist/protocol/google/type/timeofday_pb.d.ts +52 -0
- package/dist/protocol/google/type/timeofday_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/timeofday_pb.js +24 -0
- package/dist/protocol/google/type/timeofday_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/account_pb.d.ts +144 -0
- package/dist/protocol/uplim/api/v1/account_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/account_pb.js +100 -0
- package/dist/protocol/uplim/api/v1/account_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/auth_pb.d.ts +231 -0
- package/dist/protocol/uplim/api/v1/auth_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/auth_pb.js +65 -0
- package/dist/protocol/uplim/api/v1/auth_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/buckets_pb.d.ts +1920 -0
- package/dist/protocol/uplim/api/v1/buckets_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/buckets_pb.js +471 -0
- package/dist/protocol/uplim/api/v1/buckets_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/content_type_matcher_pb.d.ts +398 -0
- package/dist/protocol/uplim/api/v1/content_type_matcher_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/content_type_matcher_pb.js +79 -0
- package/dist/protocol/uplim/api/v1/content_type_matcher_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/events_pb.d.ts +767 -0
- package/dist/protocol/uplim/api/v1/events_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/events_pb.js +242 -0
- package/dist/protocol/uplim/api/v1/events_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_admin_pb.d.ts +1059 -0
- package/dist/protocol/uplim/api/v1/integration_admin_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_admin_pb.js +209 -0
- package/dist/protocol/uplim/api/v1/integration_admin_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_install_pb.d.ts +313 -0
- package/dist/protocol/uplim/api/v1/integration_install_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_install_pb.js +129 -0
- package/dist/protocol/uplim/api/v1/integration_install_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_types_pb.d.ts +767 -0
- package/dist/protocol/uplim/api/v1/integration_types_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_types_pb.js +221 -0
- package/dist/protocol/uplim/api/v1/integration_types_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/integrations_pb.d.ts +807 -0
- package/dist/protocol/uplim/api/v1/integrations_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/integrations_pb.js +169 -0
- package/dist/protocol/uplim/api/v1/integrations_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/internal_pb.d.ts +204 -0
- package/dist/protocol/uplim/api/v1/internal_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/internal_pb.js +118 -0
- package/dist/protocol/uplim/api/v1/internal_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/metadata_pb.d.ts +265 -0
- package/dist/protocol/uplim/api/v1/metadata_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/metadata_pb.js +50 -0
- package/dist/protocol/uplim/api/v1/metadata_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/public-buckets_pb.d.ts +64 -0
- package/dist/protocol/uplim/api/v1/public-buckets_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/public-buckets_pb.js +28 -0
- package/dist/protocol/uplim/api/v1/public-buckets_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/public-uploads_pb.d.ts +461 -0
- package/dist/protocol/uplim/api/v1/public-uploads_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/public-uploads_pb.js +139 -0
- package/dist/protocol/uplim/api/v1/public-uploads_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/upload-aliases_pb.d.ts +396 -0
- package/dist/protocol/uplim/api/v1/upload-aliases_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/upload-aliases_pb.js +69 -0
- package/dist/protocol/uplim/api/v1/upload-aliases_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/uploads_pb.d.ts +3736 -0
- package/dist/protocol/uplim/api/v1/uploads_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/uploads_pb.js +732 -0
- package/dist/protocol/uplim/api/v1/uploads_pb.js.map +1 -0
- package/dist/protocol/uplim/workflow/v1/activities_pb.d.ts +394 -0
- package/dist/protocol/uplim/workflow/v1/activities_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/workflow/v1/activities_pb.js +122 -0
- package/dist/protocol/uplim/workflow/v1/activities_pb.js.map +1 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.d.ts +486 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.js +158 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.js.map +1 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_pb.d.ts +289 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_pb.js +66 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_pb.js.map +1 -0
- package/dist/protocol/uplim/workflow/v1/workflows_pb.d.ts +602 -0
- package/dist/protocol/uplim/workflow/v1/workflows_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/workflow/v1/workflows_pb.js +194 -0
- package/dist/protocol/uplim/workflow/v1/workflows_pb.js.map +1 -0
- package/dist/rpc-clients.d.ts +9 -0
- package/dist/rpc-clients.d.ts.map +1 -0
- package/dist/rpc-clients.js +24 -0
- package/dist/rpc-clients.js.map +1 -0
- package/dist/sse-client.d.ts +20 -0
- package/dist/sse-client.d.ts.map +1 -0
- package/dist/sse-client.js +68 -0
- package/dist/sse-client.js.map +1 -0
- package/dist/types.d.ts +174 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +17 -0
- package/dist/types.js.map +1 -0
- package/package.json +47 -0
- package/src/errors.ts +14 -0
- package/src/index.ts +41 -0
- package/src/job-context.ts +244 -0
- package/src/pool.ts +143 -0
- package/src/protocol/buf/validate/expression_pb.ts +163 -0
- package/src/protocol/buf/validate/priv/private_pb.ts +86 -0
- package/src/protocol/buf/validate/validate_pb.ts +3802 -0
- package/src/protocol/gnostic/discovery/v1/discovery_pb.ts +1020 -0
- package/src/protocol/gnostic/openapi/v2/openapiv2_pb.ts +2679 -0
- package/src/protocol/gnostic/openapi/v3/annotations_pb.ts +55 -0
- package/src/protocol/gnostic/openapi/v3/openapiv3_pb.ts +2660 -0
- package/src/protocol/google/api/annotations_pb.ts +39 -0
- package/src/protocol/google/api/client_pb.ts +1183 -0
- package/src/protocol/google/api/expr/v1alpha1/checked_pb.ts +751 -0
- package/src/protocol/google/api/expr/v1alpha1/eval_pb.ts +222 -0
- package/src/protocol/google/api/expr/v1alpha1/explain_pb.ts +98 -0
- package/src/protocol/google/api/expr/v1alpha1/syntax_pb.ts +882 -0
- package/src/protocol/google/api/expr/v1alpha1/value_pb.ts +260 -0
- package/src/protocol/google/api/expr/v1beta1/decl_pb.ts +191 -0
- package/src/protocol/google/api/expr/v1beta1/eval_pb.ts +244 -0
- package/src/protocol/google/api/expr/v1beta1/expr_pb.ts +565 -0
- package/src/protocol/google/api/expr/v1beta1/source_pb.ts +117 -0
- package/src/protocol/google/api/expr/v1beta1/value_pb.ts +261 -0
- package/src/protocol/google/api/field_behavior_pb.ts +157 -0
- package/src/protocol/google/api/field_info_pb.ts +178 -0
- package/src/protocol/google/api/http_pb.ts +474 -0
- package/src/protocol/google/api/httpbody_pb.ts +108 -0
- package/src/protocol/google/api/launch_stage_pb.ts +118 -0
- package/src/protocol/google/api/resource_pb.ts +354 -0
- package/src/protocol/google/api/routing_pb.ts +507 -0
- package/src/protocol/google/api/visibility_pb.ts +169 -0
- package/src/protocol/google/bytestream/bytestream_pb.ts +325 -0
- package/src/protocol/google/geo/type/viewport_pb.ts +93 -0
- package/src/protocol/google/iam/v1/iam_policy_pb.ts +239 -0
- package/src/protocol/google/iam/v1/options_pb.ts +66 -0
- package/src/protocol/google/iam/v1/policy_pb.ts +644 -0
- package/src/protocol/google/longrunning/operations_pb.ts +460 -0
- package/src/protocol/google/rpc/code_pb.ts +268 -0
- package/src/protocol/google/rpc/context/attribute_context_pb.ts +638 -0
- package/src/protocol/google/rpc/error_details_pb.ts +662 -0
- package/src/protocol/google/rpc/status_pb.ts +76 -0
- package/src/protocol/google/type/calendar_period_pb.ts +102 -0
- package/src/protocol/google/type/color_pb.ts +204 -0
- package/src/protocol/google/type/date_pb.ts +82 -0
- package/src/protocol/google/type/datetime_pb.ts +181 -0
- package/src/protocol/google/type/dayofweek_pb.ts +96 -0
- package/src/protocol/google/type/decimal_pb.ts +113 -0
- package/src/protocol/google/type/expr_pb.ts +105 -0
- package/src/protocol/google/type/fraction_pb.ts +57 -0
- package/src/protocol/google/type/interval_pb.ts +69 -0
- package/src/protocol/google/type/latlng_pb.ts +60 -0
- package/src/protocol/google/type/localized_text_pb.ts +60 -0
- package/src/protocol/google/type/money_pb.ts +69 -0
- package/src/protocol/google/type/month_pb.ts +131 -0
- package/src/protocol/google/type/phone_number_pb.ts +171 -0
- package/src/protocol/google/type/postal_address_pb.ts +194 -0
- package/src/protocol/google/type/quaternion_pb.ts +126 -0
- package/src/protocol/google/type/timeofday_pb.ts +79 -0
- package/src/protocol/uplim/api/v1/account_pb.ts +178 -0
- package/src/protocol/uplim/api/v1/auth_pb.ts +278 -0
- package/src/protocol/uplim/api/v1/buckets_pb.ts +2214 -0
- package/src/protocol/uplim/api/v1/content_type_matcher_pb.ts +448 -0
- package/src/protocol/uplim/api/v1/events_pb.ts +874 -0
- package/src/protocol/uplim/api/v1/integration_admin_pb.ts +1237 -0
- package/src/protocol/uplim/api/v1/integration_install_pb.ts +386 -0
- package/src/protocol/uplim/api/v1/integration_types_pb.ts +896 -0
- package/src/protocol/uplim/api/v1/integrations_pb.ts +944 -0
- package/src/protocol/uplim/api/v1/internal_pb.ts +234 -0
- package/src/protocol/uplim/api/v1/metadata_pb.ts +305 -0
- package/src/protocol/uplim/api/v1/public-buckets_pb.ts +83 -0
- package/src/protocol/uplim/api/v1/public-uploads_pb.ts +543 -0
- package/src/protocol/uplim/api/v1/upload-aliases_pb.ts +468 -0
- package/src/protocol/uplim/api/v1/uploads_pb.ts +4294 -0
- package/src/protocol/uplim/workflow/v1/activities_pb.ts +488 -0
- package/src/protocol/uplim/workflow/v1/integration_queue_admin_pb.ts +594 -0
- package/src/protocol/uplim/workflow/v1/integration_queue_pb.ts +353 -0
- package/src/protocol/uplim/workflow/v1/workflows_pb.ts +746 -0
- package/src/rpc-clients.ts +29 -0
- package/src/sse-client.ts +83 -0
- package/src/types.ts +169 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
import { extDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
15
|
+
import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt";
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file google/api/visibility.proto.
|
|
18
|
+
*/
|
|
19
|
+
export const file_google_api_visibility = /*@__PURE__*/ fileDesc("Chtnb29nbGUvYXBpL3Zpc2liaWxpdHkucHJvdG8SCmdvb2dsZS5hcGkiNwoKVmlzaWJpbGl0eRIpCgVydWxlcxgBIAMoCzIaLmdvb2dsZS5hcGkuVmlzaWJpbGl0eVJ1bGUiNwoOVmlzaWJpbGl0eVJ1bGUSEAoIc2VsZWN0b3IYASABKAkSEwoLcmVzdHJpY3Rpb24YAiABKAk6ZAoPZW51bV92aXNpYmlsaXR5EhwuZ29vZ2xlLnByb3RvYnVmLkVudW1PcHRpb25zGK/KvCIgASgLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZVIOZW51bVZpc2liaWxpdHk6awoQdmFsdWVfdmlzaWJpbGl0eRIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zGK/KvCIgASgLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZVIPdmFsdWVWaXNpYmlsaXR5OmcKEGZpZWxkX3Zpc2liaWxpdHkSHS5nb29nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGK/KvCIgASgLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZVIPZmllbGRWaXNpYmlsaXR5Om0KEm1lc3NhZ2VfdmlzaWJpbGl0eRIfLmdvb2dsZS5wcm90b2J1Zi5NZXNzYWdlT3B0aW9ucxivyrwiIAEoCzIaLmdvb2dsZS5hcGkuVmlzaWJpbGl0eVJ1bGVSEW1lc3NhZ2VWaXNpYmlsaXR5OmoKEW1ldGhvZF92aXNpYmlsaXR5Eh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYr8q8IiABKAsyGi5nb29nbGUuYXBpLlZpc2liaWxpdHlSdWxlUhBtZXRob2RWaXNpYmlsaXR5OmUKDmFwaV92aXNpYmlsaXR5Eh8uZ29vZ2xlLnByb3RvYnVmLlNlcnZpY2VPcHRpb25zGK/KvCIgASgLMhouZ29vZ2xlLmFwaS5WaXNpYmlsaXR5UnVsZVINYXBpVmlzaWJpbGl0eUKrAQoOY29tLmdvb2dsZS5hcGlCD1Zpc2liaWxpdHlQcm90b1ABWj9nb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS92aXNpYmlsaXR5O3Zpc2liaWxpdHmiAgNHQViqAgpHb29nbGUuQXBpygIKR29vZ2xlXEFwaeICFkdvb2dsZVxBcGlcR1BCTWV0YWRhdGHqAgtHb29nbGU6OkFwaWIGcHJvdG8z", [file_google_protobuf_descriptor]);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message google.api.Visibility.
|
|
22
|
+
* Use `create(VisibilitySchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const VisibilitySchema = /*@__PURE__*/ messageDesc(file_google_api_visibility, 0);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message google.api.VisibilityRule.
|
|
27
|
+
* Use `create(VisibilityRuleSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const VisibilityRuleSchema = /*@__PURE__*/ messageDesc(file_google_api_visibility, 1);
|
|
30
|
+
/**
|
|
31
|
+
* See `VisibilityRule`.
|
|
32
|
+
*
|
|
33
|
+
* @generated from extension: google.api.VisibilityRule enum_visibility = 72295727;
|
|
34
|
+
*/
|
|
35
|
+
export const enum_visibility = /*@__PURE__*/ extDesc(file_google_api_visibility, 0);
|
|
36
|
+
/**
|
|
37
|
+
* See `VisibilityRule`.
|
|
38
|
+
*
|
|
39
|
+
* @generated from extension: google.api.VisibilityRule value_visibility = 72295727;
|
|
40
|
+
*/
|
|
41
|
+
export const value_visibility = /*@__PURE__*/ extDesc(file_google_api_visibility, 1);
|
|
42
|
+
/**
|
|
43
|
+
* See `VisibilityRule`.
|
|
44
|
+
*
|
|
45
|
+
* @generated from extension: google.api.VisibilityRule field_visibility = 72295727;
|
|
46
|
+
*/
|
|
47
|
+
export const field_visibility = /*@__PURE__*/ extDesc(file_google_api_visibility, 2);
|
|
48
|
+
/**
|
|
49
|
+
* See `VisibilityRule`.
|
|
50
|
+
*
|
|
51
|
+
* @generated from extension: google.api.VisibilityRule message_visibility = 72295727;
|
|
52
|
+
*/
|
|
53
|
+
export const message_visibility = /*@__PURE__*/ extDesc(file_google_api_visibility, 3);
|
|
54
|
+
/**
|
|
55
|
+
* See `VisibilityRule`.
|
|
56
|
+
*
|
|
57
|
+
* @generated from extension: google.api.VisibilityRule method_visibility = 72295727;
|
|
58
|
+
*/
|
|
59
|
+
export const method_visibility = /*@__PURE__*/ extDesc(file_google_api_visibility, 4);
|
|
60
|
+
/**
|
|
61
|
+
* See `VisibilityRule`.
|
|
62
|
+
*
|
|
63
|
+
* @generated from extension: google.api.VisibilityRule api_visibility = 72295727;
|
|
64
|
+
*/
|
|
65
|
+
export const api_visibility = /*@__PURE__*/ extDesc(file_google_api_visibility, 5);
|
|
66
|
+
//# sourceMappingURL=visibility_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visibility_pb.js","sourceRoot":"","sources":["../../../../src/protocol/google/api/visibility_pb.ts"],"names":[],"mappings":"AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAOjC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AAGzE;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAY,aAAa,CAC9D,QAAQ,CAAC,sxCAAsxC,EAAE,CAAC,+BAA+B,CAAC,CAAC,CAAC;AAwCt0C;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC;AAyC7C;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC;AAE7C;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAA8C,aAAa,CACrF,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC;AAEzC;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAmD,aAAa,CAC3F,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC;AAEzC;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA+C,aAAa,CACvF,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC;AAEzC;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAiD,aAAa,CAC3F,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC;AAEzC;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAgD,aAAa,CACzF,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC;AAEzC;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAiD,aAAa,CACvF,OAAO,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file google/bytestream/bytestream.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_google_bytestream_bytestream: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* Request object for ByteStream.Read.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message google.bytestream.ReadRequest
|
|
11
|
+
*/
|
|
12
|
+
export type ReadRequest = Message<"google.bytestream.ReadRequest"> & {
|
|
13
|
+
/**
|
|
14
|
+
* The name of the resource to read.
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string resource_name = 1;
|
|
17
|
+
*/
|
|
18
|
+
resourceName: string;
|
|
19
|
+
/**
|
|
20
|
+
* The offset for the first byte to return in the read, relative to the start
|
|
21
|
+
* of the resource.
|
|
22
|
+
*
|
|
23
|
+
* A `read_offset` that is negative or greater than the size of the resource
|
|
24
|
+
* will cause an `OUT_OF_RANGE` error.
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: int64 read_offset = 2 [jstype = JS_STRING];
|
|
27
|
+
*/
|
|
28
|
+
readOffset: string;
|
|
29
|
+
/**
|
|
30
|
+
* The maximum number of `data` bytes the server is allowed to return in the
|
|
31
|
+
* sum of all `ReadResponse` messages. A `read_limit` of zero indicates that
|
|
32
|
+
* there is no limit, and a negative `read_limit` will cause an error.
|
|
33
|
+
*
|
|
34
|
+
* If the stream returns fewer bytes than allowed by the `read_limit` and no
|
|
35
|
+
* error occurred, the stream includes all data from the `read_offset` to the
|
|
36
|
+
* end of the resource.
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: int64 read_limit = 3 [jstype = JS_STRING];
|
|
39
|
+
*/
|
|
40
|
+
readLimit: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message google.bytestream.ReadRequest.
|
|
44
|
+
* Use `create(ReadRequestSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export declare const ReadRequestSchema: GenMessage<ReadRequest>;
|
|
47
|
+
/**
|
|
48
|
+
* Response object for ByteStream.Read.
|
|
49
|
+
*
|
|
50
|
+
* @generated from message google.bytestream.ReadResponse
|
|
51
|
+
*/
|
|
52
|
+
export type ReadResponse = Message<"google.bytestream.ReadResponse"> & {
|
|
53
|
+
/**
|
|
54
|
+
* A portion of the data for the resource. The service **may** leave `data`
|
|
55
|
+
* empty for any given `ReadResponse`. This enables the service to inform the
|
|
56
|
+
* client that the request is still live while it is running an operation to
|
|
57
|
+
* generate more data.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: bytes data = 10;
|
|
60
|
+
*/
|
|
61
|
+
data: Uint8Array;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message google.bytestream.ReadResponse.
|
|
65
|
+
* Use `create(ReadResponseSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export declare const ReadResponseSchema: GenMessage<ReadResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Request object for ByteStream.Write.
|
|
70
|
+
*
|
|
71
|
+
* @generated from message google.bytestream.WriteRequest
|
|
72
|
+
*/
|
|
73
|
+
export type WriteRequest = Message<"google.bytestream.WriteRequest"> & {
|
|
74
|
+
/**
|
|
75
|
+
* The name of the resource to write. This **must** be set on the first
|
|
76
|
+
* `WriteRequest` of each `Write()` action. If it is set on subsequent calls,
|
|
77
|
+
* it **must** match the value of the first request.
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: string resource_name = 1;
|
|
80
|
+
*/
|
|
81
|
+
resourceName: string;
|
|
82
|
+
/**
|
|
83
|
+
* The offset from the beginning of the resource at which the data should be
|
|
84
|
+
* written. It is required on all `WriteRequest`s.
|
|
85
|
+
*
|
|
86
|
+
* In the first `WriteRequest` of a `Write()` action, it indicates
|
|
87
|
+
* the initial offset for the `Write()` call. The value **must** be equal to
|
|
88
|
+
* the `committed_size` that a call to `QueryWriteStatus()` would return.
|
|
89
|
+
*
|
|
90
|
+
* On subsequent calls, this value **must** be set and **must** be equal to
|
|
91
|
+
* the sum of the first `write_offset` and the sizes of all `data` bundles
|
|
92
|
+
* sent previously on this stream.
|
|
93
|
+
*
|
|
94
|
+
* An incorrect value will cause an error.
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: int64 write_offset = 2 [jstype = JS_STRING];
|
|
97
|
+
*/
|
|
98
|
+
writeOffset: string;
|
|
99
|
+
/**
|
|
100
|
+
* If `true`, this indicates that the write is complete. Sending any
|
|
101
|
+
* `WriteRequest`s subsequent to one in which `finish_write` is `true` will
|
|
102
|
+
* cause an error.
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: bool finish_write = 3;
|
|
105
|
+
*/
|
|
106
|
+
finishWrite: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* A portion of the data for the resource. The client **may** leave `data`
|
|
109
|
+
* empty for any given `WriteRequest`. This enables the client to inform the
|
|
110
|
+
* service that the request is still live while it is running an operation to
|
|
111
|
+
* generate more data.
|
|
112
|
+
*
|
|
113
|
+
* @generated from field: bytes data = 10;
|
|
114
|
+
*/
|
|
115
|
+
data: Uint8Array;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Describes the message google.bytestream.WriteRequest.
|
|
119
|
+
* Use `create(WriteRequestSchema)` to create a new message.
|
|
120
|
+
*/
|
|
121
|
+
export declare const WriteRequestSchema: GenMessage<WriteRequest>;
|
|
122
|
+
/**
|
|
123
|
+
* Response object for ByteStream.Write.
|
|
124
|
+
*
|
|
125
|
+
* @generated from message google.bytestream.WriteResponse
|
|
126
|
+
*/
|
|
127
|
+
export type WriteResponse = Message<"google.bytestream.WriteResponse"> & {
|
|
128
|
+
/**
|
|
129
|
+
* The number of bytes that have been processed for the given resource.
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: int64 committed_size = 1 [jstype = JS_STRING];
|
|
132
|
+
*/
|
|
133
|
+
committedSize: string;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Describes the message google.bytestream.WriteResponse.
|
|
137
|
+
* Use `create(WriteResponseSchema)` to create a new message.
|
|
138
|
+
*/
|
|
139
|
+
export declare const WriteResponseSchema: GenMessage<WriteResponse>;
|
|
140
|
+
/**
|
|
141
|
+
* Request object for ByteStream.QueryWriteStatus.
|
|
142
|
+
*
|
|
143
|
+
* @generated from message google.bytestream.QueryWriteStatusRequest
|
|
144
|
+
*/
|
|
145
|
+
export type QueryWriteStatusRequest = Message<"google.bytestream.QueryWriteStatusRequest"> & {
|
|
146
|
+
/**
|
|
147
|
+
* The name of the resource whose write status is being requested.
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: string resource_name = 1;
|
|
150
|
+
*/
|
|
151
|
+
resourceName: string;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message google.bytestream.QueryWriteStatusRequest.
|
|
155
|
+
* Use `create(QueryWriteStatusRequestSchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export declare const QueryWriteStatusRequestSchema: GenMessage<QueryWriteStatusRequest>;
|
|
158
|
+
/**
|
|
159
|
+
* Response object for ByteStream.QueryWriteStatus.
|
|
160
|
+
*
|
|
161
|
+
* @generated from message google.bytestream.QueryWriteStatusResponse
|
|
162
|
+
*/
|
|
163
|
+
export type QueryWriteStatusResponse = Message<"google.bytestream.QueryWriteStatusResponse"> & {
|
|
164
|
+
/**
|
|
165
|
+
* The number of bytes that have been processed for the given resource.
|
|
166
|
+
*
|
|
167
|
+
* @generated from field: int64 committed_size = 1 [jstype = JS_STRING];
|
|
168
|
+
*/
|
|
169
|
+
committedSize: string;
|
|
170
|
+
/**
|
|
171
|
+
* `complete` is `true` only if the client has sent a `WriteRequest` with
|
|
172
|
+
* `finish_write` set to true, and the server has processed that request.
|
|
173
|
+
*
|
|
174
|
+
* @generated from field: bool complete = 2;
|
|
175
|
+
*/
|
|
176
|
+
complete: boolean;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Describes the message google.bytestream.QueryWriteStatusResponse.
|
|
180
|
+
* Use `create(QueryWriteStatusResponseSchema)` to create a new message.
|
|
181
|
+
*/
|
|
182
|
+
export declare const QueryWriteStatusResponseSchema: GenMessage<QueryWriteStatusResponse>;
|
|
183
|
+
/**
|
|
184
|
+
* #### Introduction
|
|
185
|
+
*
|
|
186
|
+
* The Byte Stream API enables a client to read and write a stream of bytes to
|
|
187
|
+
* and from a resource. Resources have names, and these names are supplied in
|
|
188
|
+
* the API calls below to identify the resource that is being read from or
|
|
189
|
+
* written to.
|
|
190
|
+
*
|
|
191
|
+
* All implementations of the Byte Stream API export the interface defined here:
|
|
192
|
+
*
|
|
193
|
+
* * `Read()`: Reads the contents of a resource.
|
|
194
|
+
*
|
|
195
|
+
* * `Write()`: Writes the contents of a resource. The client can call `Write()`
|
|
196
|
+
* multiple times with the same resource and can check the status of the write
|
|
197
|
+
* by calling `QueryWriteStatus()`.
|
|
198
|
+
*
|
|
199
|
+
* #### Service parameters and metadata
|
|
200
|
+
*
|
|
201
|
+
* The ByteStream API provides no direct way to access/modify any metadata
|
|
202
|
+
* associated with the resource.
|
|
203
|
+
*
|
|
204
|
+
* #### Errors
|
|
205
|
+
*
|
|
206
|
+
* The errors returned by the service are in the Google canonical error space.
|
|
207
|
+
*
|
|
208
|
+
* @generated from service google.bytestream.ByteStream
|
|
209
|
+
*/
|
|
210
|
+
export declare const ByteStream: GenService<{
|
|
211
|
+
/**
|
|
212
|
+
* `Read()` is used to retrieve the contents of a resource as a sequence
|
|
213
|
+
* of bytes. The bytes are returned in a sequence of responses, and the
|
|
214
|
+
* responses are delivered as the results of a server-side streaming RPC.
|
|
215
|
+
*
|
|
216
|
+
* @generated from rpc google.bytestream.ByteStream.Read
|
|
217
|
+
*/
|
|
218
|
+
read: {
|
|
219
|
+
methodKind: "server_streaming";
|
|
220
|
+
input: typeof ReadRequestSchema;
|
|
221
|
+
output: typeof ReadResponseSchema;
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* `Write()` is used to send the contents of a resource as a sequence of
|
|
225
|
+
* bytes. The bytes are sent in a sequence of request protos of a client-side
|
|
226
|
+
* streaming RPC.
|
|
227
|
+
*
|
|
228
|
+
* A `Write()` action is resumable. If there is an error or the connection is
|
|
229
|
+
* broken during the `Write()`, the client should check the status of the
|
|
230
|
+
* `Write()` by calling `QueryWriteStatus()` and continue writing from the
|
|
231
|
+
* returned `committed_size`. This may be less than the amount of data the
|
|
232
|
+
* client previously sent.
|
|
233
|
+
*
|
|
234
|
+
* Calling `Write()` on a resource name that was previously written and
|
|
235
|
+
* finalized could cause an error, depending on whether the underlying service
|
|
236
|
+
* allows over-writing of previously written resources.
|
|
237
|
+
*
|
|
238
|
+
* When the client closes the request channel, the service will respond with
|
|
239
|
+
* a `WriteResponse`. The service will not view the resource as `complete`
|
|
240
|
+
* until the client has sent a `WriteRequest` with `finish_write` set to
|
|
241
|
+
* `true`. Sending any requests on a stream after sending a request with
|
|
242
|
+
* `finish_write` set to `true` will cause an error. The client **should**
|
|
243
|
+
* check the `WriteResponse` it receives to determine how much data the
|
|
244
|
+
* service was able to commit and whether the service views the resource as
|
|
245
|
+
* `complete` or not.
|
|
246
|
+
*
|
|
247
|
+
* @generated from rpc google.bytestream.ByteStream.Write
|
|
248
|
+
*/
|
|
249
|
+
write: {
|
|
250
|
+
methodKind: "client_streaming";
|
|
251
|
+
input: typeof WriteRequestSchema;
|
|
252
|
+
output: typeof WriteResponseSchema;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* `QueryWriteStatus()` is used to find the `committed_size` for a resource
|
|
256
|
+
* that is being written, which can then be used as the `write_offset` for
|
|
257
|
+
* the next `Write()` call.
|
|
258
|
+
*
|
|
259
|
+
* If the resource does not exist (i.e., the resource has been deleted, or the
|
|
260
|
+
* first `Write()` has not yet reached the service), this method returns the
|
|
261
|
+
* error `NOT_FOUND`.
|
|
262
|
+
*
|
|
263
|
+
* The client **may** call `QueryWriteStatus()` at any time to determine how
|
|
264
|
+
* much data has been processed for this resource. This is useful if the
|
|
265
|
+
* client is buffering data and needs to know which data can be safely
|
|
266
|
+
* evicted. For any sequence of `QueryWriteStatus()` calls for a given
|
|
267
|
+
* resource name, the sequence of returned `committed_size` values will be
|
|
268
|
+
* non-decreasing.
|
|
269
|
+
*
|
|
270
|
+
* @generated from rpc google.bytestream.ByteStream.QueryWriteStatus
|
|
271
|
+
*/
|
|
272
|
+
queryWriteStatus: {
|
|
273
|
+
methodKind: "unary";
|
|
274
|
+
input: typeof QueryWriteStatusRequestSchema;
|
|
275
|
+
output: typeof QueryWriteStatusResponseSchema;
|
|
276
|
+
};
|
|
277
|
+
}>;
|
|
278
|
+
//# sourceMappingURL=bytestream_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bytestream_pb.d.ts","sourceRoot":"","sources":["../../../../src/protocol/google/bytestream/bytestream_pb.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,OACyrC,CAAC;AAE1uC;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,+BAA+B,CAAC,GAAG;IACnE;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;;;;;OAQG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;;;;;OAUG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,WAAW,CACH,CAAC;AAEpD;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,gCAAgC,CAAC,GAAG;IACrE;;;;;;;OAOG;IACH,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,YAAY,CACL,CAAC;AAEpD;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,gCAAgC,CAAC,GAAG;IACrE;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;;;;;;;;;;;;OAeG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;;;;;;OAOG;IACH,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,YAAY,CACL,CAAC;AAEpD;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,iCAAiC,CAAC,GAAG;IACvE;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,aAAa,CACP,CAAC;AAEpD;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,2CAA2C,CAAC,GAAG;IAC3F;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,UAAU,CAAC,uBAAuB,CAC3B,CAAC;AAEpD;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,4CAA4C,CAAC,GAAG;IAC7F;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,UAAU,CAAC,wBAAwB,CAC7B,CAAC;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC;IAClC;;;;;;OAMG;IACH,IAAI,EAAE;QACJ,UAAU,EAAE,kBAAkB,CAAC;QAC/B,KAAK,EAAE,OAAO,iBAAiB,CAAC;QAChC,MAAM,EAAE,OAAO,kBAAkB,CAAC;KACnC,CAAC;IACF;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,KAAK,EAAE;QACL,UAAU,EAAE,kBAAkB,CAAC;QAC/B,KAAK,EAAE,OAAO,kBAAkB,CAAC;QACjC,MAAM,EAAE,OAAO,mBAAmB,CAAC;KACpC,CAAC;IACF;;;;;;;;;;;;;;;;;OAiBG;IACH,gBAAgB,EAAE;QAChB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,6BAA6B,CAAC;QAC5C,MAAM,EAAE,OAAO,8BAA8B,CAAC;KAC/C,CAAC;CACH,CACkD,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
15
|
+
/**
|
|
16
|
+
* Describes the file google/bytestream/bytestream.proto.
|
|
17
|
+
*/
|
|
18
|
+
export const file_google_bytestream_bytestream = /*@__PURE__*/ fileDesc("CiJnb29nbGUvYnl0ZXN0cmVhbS9ieXRlc3RyZWFtLnByb3RvEhFnb29nbGUuYnl0ZXN0cmVhbSJVCgtSZWFkUmVxdWVzdBIVCg1yZXNvdXJjZV9uYW1lGAEgASgJEhcKC3JlYWRfb2Zmc2V0GAIgASgDQgIwARIWCgpyZWFkX2xpbWl0GAMgASgDQgIwASIcCgxSZWFkUmVzcG9uc2USDAoEZGF0YRgKIAEoDCJjCgxXcml0ZVJlcXVlc3QSFQoNcmVzb3VyY2VfbmFtZRgBIAEoCRIYCgx3cml0ZV9vZmZzZXQYAiABKANCAjABEhQKDGZpbmlzaF93cml0ZRgDIAEoCBIMCgRkYXRhGAogASgMIisKDVdyaXRlUmVzcG9uc2USGgoOY29tbWl0dGVkX3NpemUYASABKANCAjABIjAKF1F1ZXJ5V3JpdGVTdGF0dXNSZXF1ZXN0EhUKDXJlc291cmNlX25hbWUYASABKAkiSAoYUXVlcnlXcml0ZVN0YXR1c1Jlc3BvbnNlEhoKDmNvbW1pdHRlZF9zaXplGAEgASgDQgIwARIQCghjb21wbGV0ZRgCIAEoCDKSAgoKQnl0ZVN0cmVhbRJJCgRSZWFkEh4uZ29vZ2xlLmJ5dGVzdHJlYW0uUmVhZFJlcXVlc3QaHy5nb29nbGUuYnl0ZXN0cmVhbS5SZWFkUmVzcG9uc2UwARJMCgVXcml0ZRIfLmdvb2dsZS5ieXRlc3RyZWFtLldyaXRlUmVxdWVzdBogLmdvb2dsZS5ieXRlc3RyZWFtLldyaXRlUmVzcG9uc2UoARJrChBRdWVyeVdyaXRlU3RhdHVzEiouZ29vZ2xlLmJ5dGVzdHJlYW0uUXVlcnlXcml0ZVN0YXR1c1JlcXVlc3QaKy5nb29nbGUuYnl0ZXN0cmVhbS5RdWVyeVdyaXRlU3RhdHVzUmVzcG9uc2VCygEKFWNvbS5nb29nbGUuYnl0ZXN0cmVhbUIPQnl0ZXN0cmVhbVByb3RvUAFaO2dvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYnl0ZXN0cmVhbTtieXRlc3RyZWFtogIDR0JYqgIRR29vZ2xlLkJ5dGVzdHJlYW3KAhFHb29nbGVcQnl0ZXN0cmVhbeICHUdvb2dsZVxCeXRlc3RyZWFtXEdQQk1ldGFkYXRh6gISR29vZ2xlOjpCeXRlc3RyZWFtYgZwcm90bzM");
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message google.bytestream.ReadRequest.
|
|
21
|
+
* Use `create(ReadRequestSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const ReadRequestSchema = /*@__PURE__*/ messageDesc(file_google_bytestream_bytestream, 0);
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message google.bytestream.ReadResponse.
|
|
26
|
+
* Use `create(ReadResponseSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export const ReadResponseSchema = /*@__PURE__*/ messageDesc(file_google_bytestream_bytestream, 1);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message google.bytestream.WriteRequest.
|
|
31
|
+
* Use `create(WriteRequestSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const WriteRequestSchema = /*@__PURE__*/ messageDesc(file_google_bytestream_bytestream, 2);
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message google.bytestream.WriteResponse.
|
|
36
|
+
* Use `create(WriteResponseSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const WriteResponseSchema = /*@__PURE__*/ messageDesc(file_google_bytestream_bytestream, 3);
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message google.bytestream.QueryWriteStatusRequest.
|
|
41
|
+
* Use `create(QueryWriteStatusRequestSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export const QueryWriteStatusRequestSchema = /*@__PURE__*/ messageDesc(file_google_bytestream_bytestream, 4);
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message google.bytestream.QueryWriteStatusResponse.
|
|
46
|
+
* Use `create(QueryWriteStatusResponseSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const QueryWriteStatusResponseSchema = /*@__PURE__*/ messageDesc(file_google_bytestream_bytestream, 5);
|
|
49
|
+
/**
|
|
50
|
+
* #### Introduction
|
|
51
|
+
*
|
|
52
|
+
* The Byte Stream API enables a client to read and write a stream of bytes to
|
|
53
|
+
* and from a resource. Resources have names, and these names are supplied in
|
|
54
|
+
* the API calls below to identify the resource that is being read from or
|
|
55
|
+
* written to.
|
|
56
|
+
*
|
|
57
|
+
* All implementations of the Byte Stream API export the interface defined here:
|
|
58
|
+
*
|
|
59
|
+
* * `Read()`: Reads the contents of a resource.
|
|
60
|
+
*
|
|
61
|
+
* * `Write()`: Writes the contents of a resource. The client can call `Write()`
|
|
62
|
+
* multiple times with the same resource and can check the status of the write
|
|
63
|
+
* by calling `QueryWriteStatus()`.
|
|
64
|
+
*
|
|
65
|
+
* #### Service parameters and metadata
|
|
66
|
+
*
|
|
67
|
+
* The ByteStream API provides no direct way to access/modify any metadata
|
|
68
|
+
* associated with the resource.
|
|
69
|
+
*
|
|
70
|
+
* #### Errors
|
|
71
|
+
*
|
|
72
|
+
* The errors returned by the service are in the Google canonical error space.
|
|
73
|
+
*
|
|
74
|
+
* @generated from service google.bytestream.ByteStream
|
|
75
|
+
*/
|
|
76
|
+
export const ByteStream = /*@__PURE__*/ serviceDesc(file_google_bytestream_bytestream, 0);
|
|
77
|
+
//# sourceMappingURL=bytestream_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bytestream_pb.js","sourceRoot":"","sources":["../../../../src/protocol/google/bytestream/bytestream_pb.ts"],"names":[],"mappings":"AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAOjC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGlF;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAY,aAAa,CACrE,QAAQ,CAAC,6tCAA6tC,CAAC,CAAC;AAwC1uC;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC;AAmBpD;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC;AAuDpD;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC;AAgBpD;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC;AAgBpD;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwC,aAAa,CAC7F,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC;AAwBpD;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAyC,aAAa,CAC/F,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC;AAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,UAAU,GAmElB,aAAa,CAChB,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { LatLng } from "../../type/latlng_pb.js";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file google/geo/type/viewport.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_google_geo_type_viewport: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* A latitude-longitude viewport, represented as two diagonally opposite `low`
|
|
10
|
+
* and `high` points. A viewport is considered a closed region, i.e. it includes
|
|
11
|
+
* its boundary. The latitude bounds must range between -90 to 90 degrees
|
|
12
|
+
* inclusive, and the longitude bounds must range between -180 to 180 degrees
|
|
13
|
+
* inclusive. Various cases include:
|
|
14
|
+
*
|
|
15
|
+
* - If `low` = `high`, the viewport consists of that single point.
|
|
16
|
+
*
|
|
17
|
+
* - If `low.longitude` > `high.longitude`, the longitude range is inverted
|
|
18
|
+
* (the viewport crosses the 180 degree longitude line).
|
|
19
|
+
*
|
|
20
|
+
* - If `low.longitude` = -180 degrees and `high.longitude` = 180 degrees,
|
|
21
|
+
* the viewport includes all longitudes.
|
|
22
|
+
*
|
|
23
|
+
* - If `low.longitude` = 180 degrees and `high.longitude` = -180 degrees,
|
|
24
|
+
* the longitude range is empty.
|
|
25
|
+
*
|
|
26
|
+
* - If `low.latitude` > `high.latitude`, the latitude range is empty.
|
|
27
|
+
*
|
|
28
|
+
* Both `low` and `high` must be populated, and the represented box cannot be
|
|
29
|
+
* empty (as specified by the definitions above). An empty viewport will result
|
|
30
|
+
* in an error.
|
|
31
|
+
*
|
|
32
|
+
* For example, this viewport fully encloses New York City:
|
|
33
|
+
*
|
|
34
|
+
* {
|
|
35
|
+
* "low": {
|
|
36
|
+
* "latitude": 40.477398,
|
|
37
|
+
* "longitude": -74.259087
|
|
38
|
+
* },
|
|
39
|
+
* "high": {
|
|
40
|
+
* "latitude": 40.91618,
|
|
41
|
+
* "longitude": -73.70018
|
|
42
|
+
* }
|
|
43
|
+
* }
|
|
44
|
+
*
|
|
45
|
+
* @generated from message google.geo.type.Viewport
|
|
46
|
+
*/
|
|
47
|
+
export type Viewport = Message<"google.geo.type.Viewport"> & {
|
|
48
|
+
/**
|
|
49
|
+
* Required. The low point of the viewport.
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: google.type.LatLng low = 1;
|
|
52
|
+
*/
|
|
53
|
+
low?: LatLng;
|
|
54
|
+
/**
|
|
55
|
+
* Required. The high point of the viewport.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: google.type.LatLng high = 2;
|
|
58
|
+
*/
|
|
59
|
+
high?: LatLng;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message google.geo.type.Viewport.
|
|
63
|
+
* Use `create(ViewportSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export declare const ViewportSchema: GenMessage<Viewport>;
|
|
66
|
+
//# sourceMappingURL=viewport_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewport_pb.d.ts","sourceRoot":"","sources":["../../../../../src/protocol/google/geo/type/viewport_pb.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,6BAA6B,EAAE,OAC+b,CAAC;AAE5e;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,0BAA0B,CAAC,GAAG;IAC3D;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,QAAQ,CACD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Copyright 2025 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
//
|
|
15
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
16
|
+
import { file_google_type_latlng } from "../../type/latlng_pb.js";
|
|
17
|
+
/**
|
|
18
|
+
* Describes the file google/geo/type/viewport.proto.
|
|
19
|
+
*/
|
|
20
|
+
export const file_google_geo_type_viewport = /*@__PURE__*/ fileDesc("Ch5nb29nbGUvZ2VvL3R5cGUvdmlld3BvcnQucHJvdG8SD2dvb2dsZS5nZW8udHlwZSJPCghWaWV3cG9ydBIgCgNsb3cYASABKAsyEy5nb29nbGUudHlwZS5MYXRMbmcSIQoEaGlnaBgCIAEoCzITLmdvb2dsZS50eXBlLkxhdExuZ0LEAQoTY29tLmdvb2dsZS5nZW8udHlwZUINVmlld3BvcnRQcm90b1ABWkBnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2dlby90eXBlL3ZpZXdwb3J0O3ZpZXdwb3J0ogIDR0dUqgIPR29vZ2xlLkdlby5UeXBlygIPR29vZ2xlXEdlb1xUeXBl4gIbR29vZ2xlXEdlb1xUeXBlXEdQQk1ldGFkYXRh6gIRR29vZ2xlOjpHZW86OlR5cGViBnByb3RvMw", [file_google_type_latlng]);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message google.geo.type.Viewport.
|
|
23
|
+
* Use `create(ViewportSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const ViewportSchema = /*@__PURE__*/ messageDesc(file_google_geo_type_viewport, 0);
|
|
26
|
+
//# sourceMappingURL=viewport_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viewport_pb.js","sourceRoot":"","sources":["../../../../../src/protocol/google/geo/type/viewport_pb.ts"],"names":[],"mappings":"AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AAOF,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAGlE;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAY,aAAa,CACjE,QAAQ,CAAC,ocAAoc,EAAE,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAyD5e;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAC"}
|