├── example ├── Dockerfile ├── pubspec.yaml └── app.yaml ├── lib └── src │ ├── grpc_api │ ├── protos │ │ └── google │ │ │ ├── datastore │ │ │ ├── README.md │ │ │ ├── BUILD.bazel │ │ │ ├── v1 │ │ │ │ ├── datastore_gapic.yaml │ │ │ │ ├── datastore_v1.yaml │ │ │ │ └── datastore_grpc_service_config.json │ │ │ └── admin │ │ │ │ └── v1 │ │ │ │ ├── datastore_admin_gapic.yaml │ │ │ │ └── datastore_admin_grpc_service_config.json │ │ │ ├── api │ │ │ ├── expr │ │ │ │ └── BUILD.bazel │ │ │ ├── apikeys │ │ │ │ ├── v2 │ │ │ │ │ └── apikeys_grpc_service_config.json │ │ │ │ └── BUILD.bazel │ │ │ ├── serviceusage │ │ │ │ ├── v1 │ │ │ │ │ └── serviceusage_grpc_service_config.json │ │ │ │ └── v1beta1 │ │ │ │ │ └── serviceusage_grpc_service_config.json │ │ │ ├── servicemanagement │ │ │ │ └── v1 │ │ │ │ │ ├── servicemanagement_gapic.yaml │ │ │ │ │ └── servicemanagement_grpc_service_config.json │ │ │ ├── servicecontrol │ │ │ │ ├── v2 │ │ │ │ │ └── servicecontrol_grpc_service_config.json │ │ │ │ └── v1 │ │ │ │ │ └── servicecontrol_grpc_service_config.json │ │ │ ├── serviceconfig.yaml │ │ │ ├── cloudquotas │ │ │ │ ├── v1 │ │ │ │ │ └── cloudquotas_v1_grpc_service_config.json │ │ │ │ └── BUILD.bazel │ │ │ ├── annotations.proto │ │ │ ├── source_info.proto │ │ │ ├── README.md │ │ │ ├── label.proto │ │ │ └── control.proto │ │ │ ├── logging │ │ │ ├── BUILD.bazel │ │ │ ├── README.md │ │ │ ├── type │ │ │ │ └── README.md │ │ │ └── v2 │ │ │ │ └── logging_gapic.yaml │ │ │ ├── iam │ │ │ ├── admin │ │ │ │ └── v1 │ │ │ │ │ ├── iam_gapic.yaml │ │ │ │ │ └── iam.yaml │ │ │ ├── v1beta │ │ │ │ └── iam_gapic.yaml │ │ │ ├── credentials │ │ │ │ └── v1 │ │ │ │ │ ├── iamcredentials_v1.yaml │ │ │ │ │ └── iamcredentials_grpc_service_config.json │ │ │ ├── v2 │ │ │ │ ├── iam_grpc_service_config.json │ │ │ │ └── iam_v2.yaml │ │ │ ├── v2beta │ │ │ │ ├── iam_v2beta.yaml │ │ │ │ └── iam_grpc_service_config.json │ │ │ ├── README.md │ │ │ ├── v1 │ │ │ │ └── logging │ │ │ │ │ └── audit_data.proto │ │ │ └── BUILD.bazel │ │ │ ├── protobuf │ │ │ ├── unittest_delimited_import.proto │ │ │ ├── unittest_lite_edition_2024.proto │ │ │ ├── unittest_proto3_extensions.proto │ │ │ ├── unittest_string_view.proto │ │ │ ├── unittest_string_type.proto │ │ │ ├── unittest_import_public.proto │ │ │ ├── unittest_import_public_lite.proto │ │ │ ├── any_test.proto │ │ │ ├── unittest_empty.proto │ │ │ ├── unittest_legacy_features.proto │ │ │ ├── unittest_arena.proto │ │ │ ├── unittest_invalid_features.proto │ │ │ ├── unittest_lite_imports_nonlite.proto │ │ │ ├── unittest_no_generic_services.proto │ │ │ ├── unittest_extension_set.proto │ │ │ ├── unittest_import_lite.proto │ │ │ ├── map_proto3_unittest.proto │ │ │ ├── unittest_preserve_unknown_enum2.proto │ │ │ ├── unittest_drop_unknown_fields.proto │ │ │ ├── unittest_embed_optimize_for.proto │ │ │ ├── unittest_optimize_for.proto │ │ │ ├── unittest_mset_wire_format.proto │ │ │ ├── unittest_preserve_unknown_enum.proto │ │ │ └── unittest_import.proto │ │ │ ├── type │ │ │ ├── README.md │ │ │ ├── fraction.proto │ │ │ ├── type.yaml │ │ │ ├── dayofweek.proto │ │ │ ├── localized_text.proto │ │ │ └── latlng.proto │ │ │ ├── appengine │ │ │ ├── README.md │ │ │ ├── v1 │ │ │ │ ├── appengine_grpc_service_config.json │ │ │ │ └── deployed_files.proto │ │ │ ├── legacy │ │ │ │ └── audit_data.proto │ │ │ └── BUILD.bazel │ │ │ ├── rpc │ │ │ ├── rpc_publish.yaml │ │ │ └── README.md │ │ │ └── longrunning │ │ │ ├── longrunning_grpc_service_config.json │ │ │ └── longrunning_gapic.yaml │ ├── dart │ │ └── google │ │ │ ├── api │ │ │ ├── auth.pbenum.dart │ │ │ ├── http.pbenum.dart │ │ │ ├── log.pbenum.dart │ │ │ ├── quota.pbenum.dart │ │ │ ├── usage.pbenum.dart │ │ │ ├── billing.pbenum.dart │ │ │ ├── context.pbenum.dart │ │ │ ├── control.pbenum.dart │ │ │ ├── logging.pbenum.dart │ │ │ ├── policy.pbenum.dart │ │ │ ├── routing.pbenum.dart │ │ │ ├── service.pbenum.dart │ │ │ ├── endpoint.pbenum.dart │ │ │ ├── httpbody.pbenum.dart │ │ │ ├── monitoring.pbenum.dart │ │ │ ├── visibility.pbenum.dart │ │ │ ├── annotations.pbenum.dart │ │ │ ├── distribution.pbenum.dart │ │ │ ├── source_info.pbenum.dart │ │ │ ├── documentation.pbenum.dart │ │ │ ├── expr │ │ │ │ ├── v1beta1 │ │ │ │ │ ├── decl.pbenum.dart │ │ │ │ │ ├── eval.pbenum.dart │ │ │ │ │ ├── expr.pbenum.dart │ │ │ │ │ ├── source.pbenum.dart │ │ │ │ │ └── value.pbenum.dart │ │ │ │ └── v1alpha1 │ │ │ │ │ ├── eval.pbenum.dart │ │ │ │ │ ├── value.pbenum.dart │ │ │ │ │ └── explain.pbenum.dart │ │ │ ├── system_parameter.pbenum.dart │ │ │ ├── apikeys │ │ │ │ └── v2 │ │ │ │ │ ├── apikeys.pbenum.dart │ │ │ │ │ └── resources.pbenum.dart │ │ │ ├── monitored_resource.pbenum.dart │ │ │ ├── cloudquotas │ │ │ │ └── v1 │ │ │ │ │ └── cloudquotas.pbenum.dart │ │ │ ├── servicecontrol │ │ │ │ ├── v1 │ │ │ │ │ ├── log_entry.pbenum.dart │ │ │ │ │ ├── distribution.pbenum.dart │ │ │ │ │ ├── http_request.pbenum.dart │ │ │ │ │ ├── metric_value.pbenum.dart │ │ │ │ │ └── operation.pbenum.dart │ │ │ │ └── v2 │ │ │ │ │ └── service_controller.pbenum.dart │ │ │ ├── error_reason.pb.dart │ │ │ ├── launch_stage.pb.dart │ │ │ ├── annotations.pbjson.dart │ │ │ ├── source_info.pbjson.dart │ │ │ ├── annotations.pb.dart │ │ │ ├── control.pbjson.dart │ │ │ ├── endpoint.pbjson.dart │ │ │ ├── field_behavior.pb.dart │ │ │ ├── httpbody.pbjson.dart │ │ │ ├── launch_stage.pbjson.dart │ │ │ ├── serviceusage │ │ │ │ └── v1 │ │ │ │ │ └── resources.pbenum.dart │ │ │ ├── log.pbjson.dart │ │ │ ├── field_behavior.pbjson.dart │ │ │ ├── servicemanagement │ │ │ │ └── v1 │ │ │ │ │ └── servicemanager.pbenum.dart │ │ │ ├── label.pbenum.dart │ │ │ └── config_change.pbenum.dart │ │ │ ├── rpc │ │ │ ├── http.pbenum.dart │ │ │ ├── status.pbenum.dart │ │ │ ├── error_details.pbenum.dart │ │ │ ├── context │ │ │ │ ├── audit_context.pbenum.dart │ │ │ │ └── attribute_context.pbenum.dart │ │ │ ├── code.pb.dart │ │ │ └── status.pbjson.dart │ │ │ ├── type │ │ │ ├── date.pbenum.dart │ │ │ ├── expr.pbenum.dart │ │ │ ├── color.pbenum.dart │ │ │ ├── latlng.pbenum.dart │ │ │ ├── money.pbenum.dart │ │ │ ├── datetime.pbenum.dart │ │ │ ├── decimal.pbenum.dart │ │ │ ├── fraction.pbenum.dart │ │ │ ├── interval.pbenum.dart │ │ │ ├── timeofday.pbenum.dart │ │ │ ├── quaternion.pbenum.dart │ │ │ ├── localized_text.pbenum.dart │ │ │ ├── phone_number.pbenum.dart │ │ │ ├── postal_address.pbenum.dart │ │ │ ├── month.pb.dart │ │ │ ├── dayofweek.pb.dart │ │ │ ├── calendar_period.pb.dart │ │ │ ├── decimal.pbjson.dart │ │ │ ├── latlng.pbjson.dart │ │ │ ├── date.pbjson.dart │ │ │ ├── fraction.pbjson.dart │ │ │ ├── localized_text.pbjson.dart │ │ │ ├── money.pbjson.dart │ │ │ ├── quaternion.pbjson.dart │ │ │ ├── timeofday.pbjson.dart │ │ │ ├── expr.pbjson.dart │ │ │ ├── dayofweek.pbjson.dart │ │ │ ├── color.pbjson.dart │ │ │ ├── calendar_period.pbjson.dart │ │ │ ├── interval.pbjson.dart │ │ │ └── month.pbjson.dart │ │ │ ├── iam │ │ │ ├── v2 │ │ │ │ ├── deny.pbenum.dart │ │ │ │ └── policy.pbenum.dart │ │ │ ├── v1 │ │ │ │ ├── options.pbenum.dart │ │ │ │ ├── iam_policy.pbenum.dart │ │ │ │ ├── logging │ │ │ │ │ ├── audit_data.pbenum.dart │ │ │ │ │ └── audit_data.pbjson.dart │ │ │ │ └── options.pbjson.dart │ │ │ ├── v2beta │ │ │ │ ├── deny.pbenum.dart │ │ │ │ └── policy.pbenum.dart │ │ │ ├── admin │ │ │ │ └── v1 │ │ │ │ │ └── audit_data.pbenum.dart │ │ │ └── credentials │ │ │ │ └── v1 │ │ │ │ ├── common.pbenum.dart │ │ │ │ ├── iamcredentials.pbenum.dart │ │ │ │ ├── iamcredentials.pb.dart │ │ │ │ └── iamcredentials.pbjson.dart │ │ │ ├── protobuf │ │ │ ├── any.pbenum.dart │ │ │ ├── api.pbenum.dart │ │ │ ├── empty.pbenum.dart │ │ │ ├── any_test.pbenum.dart │ │ │ ├── duration.pbenum.dart │ │ │ ├── field_mask.pbenum.dart │ │ │ ├── timestamp.pbenum.dart │ │ │ ├── wrappers.pbenum.dart │ │ │ ├── source_context.pbenum.dart │ │ │ ├── empty.pbjson.dart │ │ │ ├── field_mask.pbjson.dart │ │ │ ├── source_context.pbjson.dart │ │ │ ├── any.pbjson.dart │ │ │ ├── duration.pbjson.dart │ │ │ ├── timestamp.pbjson.dart │ │ │ ├── struct.pbenum.dart │ │ │ └── any_test.pbjson.dart │ │ │ ├── appengine │ │ │ ├── v1 │ │ │ │ ├── deploy.pbenum.dart │ │ │ │ ├── domain.pbenum.dart │ │ │ │ ├── location.pbenum.dart │ │ │ │ ├── audit_data.pbenum.dart │ │ │ │ ├── operation.pbenum.dart │ │ │ │ ├── deployed_files.pbenum.dart │ │ │ │ ├── deployed_files.pb.dart │ │ │ │ ├── deployed_files.pbjson.dart │ │ │ │ ├── domain.pbjson.dart │ │ │ │ └── firewall.pbenum.dart │ │ │ ├── v1beta │ │ │ │ ├── deploy.pbenum.dart │ │ │ │ ├── domain.pbenum.dart │ │ │ │ ├── location.pbenum.dart │ │ │ │ ├── operation.pbenum.dart │ │ │ │ ├── audit_data.pbenum.dart │ │ │ │ ├── domain.pbjson.dart │ │ │ │ └── firewall.pbenum.dart │ │ │ ├── legacy │ │ │ │ └── audit_data.pbenum.dart │ │ │ └── logging │ │ │ │ └── v1 │ │ │ │ └── request_log.pbenum.dart │ │ │ ├── datastore │ │ │ ├── v1 │ │ │ │ ├── entity.pbenum.dart │ │ │ │ ├── query_profile.pbenum.dart │ │ │ │ └── aggregation_result.pbenum.dart │ │ │ └── v1beta3 │ │ │ │ └── entity.pbenum.dart │ │ │ ├── logging │ │ │ ├── v2 │ │ │ │ ├── log_entry.pbenum.dart │ │ │ │ └── logging_metrics.pbenum.dart │ │ │ └── type │ │ │ │ ├── http_request.pbenum.dart │ │ │ │ ├── log_severity.pb.dart │ │ │ │ └── log_severity.pbjson.dart │ │ │ └── longrunning │ │ │ └── operations.pbenum.dart │ ├── datastore_api.dart │ └── logging_api.dart │ ├── appengine_context.dart │ ├── client_context.dart │ └── errors.dart ├── .gitignore ├── .test_config ├── tool ├── protoc-gen-dart └── utils.sh ├── AUTHORS ├── analysis_options.yaml ├── .github ├── dependabot.yaml └── workflows │ ├── publish.yaml │ └── build.yaml ├── pubspec.yaml ├── test ├── integration │ └── index.yaml └── utils │ └── error_matchers.dart └── LICENSE /example/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM google/dart-runtime 2 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/datastore/README.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .dart_tool 2 | .packages 3 | .pub/ 4 | pubspec.lock 5 | tmp/ 6 | -------------------------------------------------------------------------------- /.test_config: -------------------------------------------------------------------------------- 1 | { 2 | "test_package": { 3 | "platforms" : ["vm"] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/expr/BUILD.bazel: -------------------------------------------------------------------------------- 1 | exports_files(glob(["*.yaml"])) 2 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/datastore/BUILD.bazel: -------------------------------------------------------------------------------- 1 | exports_files(glob(["*.yaml"])) 2 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/logging/BUILD.bazel: -------------------------------------------------------------------------------- 1 | exports_files(glob(["*.yaml"])) 2 | -------------------------------------------------------------------------------- /tool/protoc-gen-dart: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | dart run protoc_plugin:protoc_plugin $* 3 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/logging/README.md: -------------------------------------------------------------------------------- 1 | # Introduction 2 | 3 | The Stackdriver Logging service. 4 | -------------------------------------------------------------------------------- /example/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: hello_world 2 | publish_to: none 3 | environment: 4 | sdk: '>=2.12.0 <3.0.0' 5 | 6 | dependencies: 7 | appengine: ^0.13.0 8 | logging: 9 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | # Below is a list of people and organizations that have contributed 2 | # to the Dart project. Names should be added to the list like so: 3 | # 4 | # Name/Organization 5 | 6 | Google Inc. 7 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/iam/admin/v1/iam_gapic.yaml: -------------------------------------------------------------------------------- 1 | type: com.google.api.codegen.ConfigProto 2 | config_schema_version: 2.0.0 3 | language_settings: 4 | java: 5 | package_name: com.google.cloud.iam.admin.v1 6 | -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:pedantic/analysis_options.1.8.0.yaml 2 | 3 | analyzer: 4 | errors: 5 | # This is triggered in generated code. 6 | unnecessary_import: ignore 7 | 8 | exclude: 9 | - tmp/** -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/datastore/v1/datastore_gapic.yaml: -------------------------------------------------------------------------------- 1 | type: com.google.api.codegen.ConfigProto 2 | config_schema_version: 2.0.0 3 | language_settings: 4 | java: 5 | package_name: com.google.cloud.datastore.v1 6 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/apikeys/v2/apikeys_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [{ 3 | "name": [ 4 | { "service": "google.api.apikeys.v2.ApiKeys" } 5 | ], 6 | "timeout": "10s" 7 | }] 8 | } 9 | -------------------------------------------------------------------------------- /example/app.yaml: -------------------------------------------------------------------------------- 1 | runtime: custom 2 | env: flex 3 | service: default 4 | 5 | manual_scaling: 6 | instances: 1 7 | 8 | liveness_check: 9 | path: '/liveness_check' 10 | 11 | readiness_check: 12 | path: '/readiness_check' 13 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/serviceusage/v1/serviceusage_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [{ 3 | "name": [ 4 | { "service": "google.api.serviceusage.v1.ServiceUsage" } 5 | ], 6 | "timeout": "60s" 7 | }] 8 | } 9 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_delimited_import.proto: -------------------------------------------------------------------------------- 1 | edition = "2023"; 2 | 3 | package editions_unittest; 4 | 5 | option java_multiple_files = true; 6 | 7 | message MessageImport { 8 | int32 a = 1; 9 | int32 b = 2; 10 | } 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/serviceusage/v1beta1/serviceusage_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [{ 3 | "name": [ 4 | { "service": "google.api.serviceusage.v1beta1.ServiceUsage" } 5 | ], 6 | "timeout": "5s" 7 | }] 8 | } 9 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/iam/v1beta/iam_gapic.yaml: -------------------------------------------------------------------------------- 1 | type: com.google.api.codegen.ConfigProto 2 | config_schema_version: 2.0.0 3 | # The settings of generated code in a specific language. 4 | language_settings: 5 | java: 6 | package_name: com.google.cloud.iam.v1beta 7 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/datastore/admin/v1/datastore_admin_gapic.yaml: -------------------------------------------------------------------------------- 1 | type: com.google.api.codegen.ConfigProto 2 | config_schema_version: 2.0.0 3 | # The settings of generated code in a specific language. 4 | language_settings: 5 | java: 6 | package_name: com.google.cloud.datastore.admin.v1 7 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_lite_edition_2024.proto: -------------------------------------------------------------------------------- 1 | edition = "2024"; 2 | 3 | package protobuf_unittest; 4 | 5 | option optimize_for = LITE_RUNTIME; 6 | 7 | enum EnumNameStringView { 8 | ENUM_NAME_STRING_VIEW_DEFAULT = 0; 9 | ENUM_NAME_STRING_VIEW_ANOTHER_VALUE = 1; 10 | } 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/servicemanagement/v1/servicemanagement_gapic.yaml: -------------------------------------------------------------------------------- 1 | type: com.google.api.codegen.ConfigProto 2 | config_schema_version: 2.0.0 3 | # The settings of generated code in a specific language. 4 | language_settings: 5 | java: 6 | package_name: com.google.cloud.api.servicemanagement.v1 7 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/servicemanagement/v1/servicemanagement_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [ 3 | { 4 | "name": [ 5 | { 6 | "service": "google.api.servicemanagement.v1.ServiceManager" 7 | } 8 | ], 9 | "timeout": "10s" 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /.github/dependabot.yaml: -------------------------------------------------------------------------------- 1 | # Dependabot configuration file. 2 | version: 2 3 | 4 | updates: 5 | - package-ecosystem: github-actions 6 | directory: / 7 | schedule: 8 | interval: monthly 9 | labels: 10 | - autosubmit 11 | groups: 12 | github-actions: 13 | patterns: 14 | - "*" 15 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/type/README.md: -------------------------------------------------------------------------------- 1 | ## Google Common Types 2 | 3 | This package contains definitions of common types for Google APIs. 4 | All types defined in this package are suitable for different APIs to 5 | exchange data, and will never break binary compatibility. They should 6 | have design quality comparable to major programming languages like 7 | Java and C#. 8 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/auth.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/auth.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/http.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/http.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/log.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/log.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/quota.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/quota.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/usage.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/usage.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/rpc/http.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/rpc/http.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/date.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/date.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/expr.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/expr.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/billing.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/billing.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/context.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/context.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/control.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/control.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/logging.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/logging.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/policy.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/policy.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/routing.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/routing.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/service.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/service.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/v2/deny.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/v2/deny.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/rpc/status.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/rpc/status.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/color.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/color.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/latlng.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/latlng.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/money.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/money.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/endpoint.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/endpoint.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/httpbody.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/httpbody.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/monitoring.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/monitoring.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/visibility.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/visibility.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/v1/options.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/v1/options.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/v2/policy.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/v2/policy.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/any.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/any.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/api.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/api.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/empty.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/empty.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/datetime.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/datetime.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/decimal.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/decimal.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/fraction.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/fraction.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/interval.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/interval.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/timeofday.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/timeofday.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/annotations.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/annotations.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/distribution.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/distribution.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/source_info.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/source_info.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/v2beta/deny.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/v2beta/deny.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/quaternion.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/quaternion.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_proto3_extensions.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package protobuf_unittest; 4 | 5 | import "google/protobuf/descriptor.proto"; 6 | 7 | option java_outer_classname = "UnittestProto3Extensions"; 8 | 9 | // For testing proto3 extension behaviors. 10 | message Proto3FileExtensions { 11 | extend google.protobuf.FileOptions { 12 | int32 singular_int = 1001; 13 | repeated int32 repeated_int = 1002; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/documentation.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/documentation.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1/deploy.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1/deploy.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1/domain.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1/domain.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/datastore/v1/entity.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/datastore/v1/entity.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/v1/iam_policy.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/v1/iam_policy.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/v2beta/policy.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/v2beta/policy.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/any_test.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/any_test.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/duration.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/duration.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/field_mask.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/field_mask.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/timestamp.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/timestamp.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/wrappers.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/wrappers.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/rpc/error_details.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/rpc/error_details.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/localized_text.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/localized_text.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/phone_number.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/phone_number.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/postal_address.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/postal_address.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/expr/v1beta1/decl.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/expr/v1beta1/decl.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/expr/v1beta1/eval.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/expr/v1beta1/eval.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/expr/v1beta1/expr.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/expr/v1beta1/expr.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/system_parameter.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/system_parameter.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1/location.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1/location.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/logging/v2/log_entry.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/logging/v2/log_entry.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/apikeys/v2/apikeys.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/apikeys/v2/apikeys.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/apikeys/v2/resources.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/apikeys/v2/resources.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/expr/v1alpha1/eval.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/expr/v1alpha1/eval.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/expr/v1alpha1/value.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/expr/v1alpha1/value.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/expr/v1beta1/source.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/expr/v1beta1/source.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/expr/v1beta1/value.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/expr/v1beta1/value.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/monitored_resource.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/monitored_resource.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1/audit_data.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1/audit_data.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1/operation.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1/operation.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1beta/deploy.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1beta/deploy.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1beta/domain.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1beta/domain.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/datastore/v1beta3/entity.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/datastore/v1beta3/entity.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/admin/v1/audit_data.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/admin/v1/audit_data.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/longrunning/operations.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/longrunning/operations.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/source_context.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/source_context.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/expr/v1alpha1/explain.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/expr/v1alpha1/explain.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1beta/location.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1beta/location.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1beta/operation.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1beta/operation.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/datastore/v1/query_profile.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/datastore/v1/query_profile.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/credentials/v1/common.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/credentials/v1/common.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/v1/logging/audit_data.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/v1/logging/audit_data.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/logging/type/http_request.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/logging/type/http_request.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/rpc/context/audit_context.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/rpc/context/audit_context.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/legacy/audit_data.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/legacy/audit_data.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1/deployed_files.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1/deployed_files.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1beta/audit_data.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1beta/audit_data.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/rpc/context/attribute_context.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/rpc/context/attribute_context.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/cloudquotas/v1/cloudquotas.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/cloudquotas/v1/cloudquotas.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/servicecontrol/v1/log_entry.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/servicecontrol/v1/log_entry.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/datastore/v1/aggregation_result.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/datastore/v1/aggregation_result.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/servicecontrol/v1/distribution.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/servicecontrol/v1/distribution.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/servicecontrol/v1/http_request.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/servicecontrol/v1/http_request.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/servicecontrol/v1/metric_value.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/servicecontrol/v1/metric_value.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/logging/v1/request_log.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/logging/v1/request_log.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/credentials/v1/iamcredentials.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/credentials/v1/iamcredentials.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/servicecontrol/v2/service_controller.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/servicecontrol/v2/service_controller.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_string_view.proto: -------------------------------------------------------------------------------- 1 | edition = "2023"; 2 | 3 | package protobuf_unittest; 4 | 5 | import "google/protobuf/cpp_features.proto"; 6 | 7 | option java_multiple_files = true; 8 | option optimize_for = SPEED; 9 | option features.(pb.cpp).string_type = VIEW; 10 | 11 | // NEXT_TAG = 5; 12 | message TestStringView { 13 | string singular_string = 1; 14 | bytes singular_bytes = 2; 15 | 16 | repeated string repeated_string = 3; 17 | repeated bytes repeated_bytes = 4; 18 | } 19 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1/deployed_files.pb.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1/deployed_files.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/rpc/code.pb.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/rpc/code.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | export 'code.pbenum.dart'; 15 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/month.pb.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/month.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | export 'month.pbenum.dart'; 15 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/credentials/v1/iamcredentials.pb.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/credentials/v1/iamcredentials.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | -------------------------------------------------------------------------------- /.github/workflows/publish.yaml: -------------------------------------------------------------------------------- 1 | # A CI configuration to auto-publish pub packages. 2 | 3 | name: Publish 4 | 5 | on: 6 | pull_request: 7 | branches: [ master ] 8 | push: 9 | tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ] 10 | 11 | jobs: 12 | publish: 13 | if: ${{ github.repository_owner == 'dart-lang' }} 14 | uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main 15 | permissions: 16 | id-token: write # Required for authentication using OIDC 17 | pull-requests: write # Required for writing the pull request note 18 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/dayofweek.pb.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/dayofweek.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | export 'dayofweek.pbenum.dart'; 15 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/appengine/README.md: -------------------------------------------------------------------------------- 1 | # Google App Engine Admin API 2 | 3 | ## Overview 4 | 5 | The Google App Engine Admin API is a RESTful API for managing App Engine 6 | applications. The Admin API provides programmatic access to several of the App 7 | Engine administrative operations that are found in the 8 | [Google Cloud Platform Console](https://cloud.google.com/appengine/docs/developers-console). 9 | 10 | ## Documentation 11 | 12 | [Google App Engine Admin API Documentation](https://cloud.google.com/appengine/docs/admin-api/) -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/error_reason.pb.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/error_reason.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | export 'error_reason.pbenum.dart'; 15 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/launch_stage.pb.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/launch_stage.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | export 'launch_stage.pbenum.dart'; 15 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/calendar_period.pb.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/calendar_period.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | export 'calendar_period.pbenum.dart'; 15 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/logging/type/log_severity.pb.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/logging/type/log_severity.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | export 'log_severity.pbenum.dart'; 15 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/logging/type/README.md: -------------------------------------------------------------------------------- 1 | ## Logging types 2 | 3 | This package contains shared [protocol buffer][protobuf] types that are populated 4 | by the Cloud Logging API and consumed by other APIs. 5 | 6 | ### Key Concepts 7 | 8 | - **HttpRequest**: Contains the complete set of information about a particular 9 | HTTP request, such as HTTP method, request URL, status code, and other things. 10 | - **LogSeverity**: The severity of a log entry (e.g. `DEBUG`, `INFO`, `WARNING`). 11 | 12 | [protobuf]: https://developers.google.com/protocol-buffers/ 13 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/servicecontrol/v2/servicecontrol_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [ 3 | { 4 | "name": [ 5 | { 6 | "service": "google.api.servicecontrol.v2.ServiceController", 7 | "method": "Check" 8 | } 9 | ], 10 | "timeout": "5s", 11 | "retryPolicy": { 12 | "maxAttempts": 5, 13 | "initialBackoff": "1s", 14 | "maxBackoff": "10s", 15 | "backoffMultiplier": 1.3, 16 | "retryableStatusCodes": ["UNAVAILABLE"] 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_string_type.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | edition = "2023"; 9 | 10 | package protobuf_unittest; 11 | 12 | import "google/protobuf/cpp_features.proto"; 13 | 14 | message EntryProto { 15 | bytes value = 3 [features.(pb.cpp).string_type = CORD]; 16 | } 17 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/annotations.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/annotations.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/iam/credentials/v1/iamcredentials_v1.yaml: -------------------------------------------------------------------------------- 1 | type: google.api.Service 2 | config_version: 3 3 | name: iamcredentials.googleapis.com 4 | title: IAM Service Account Credentials API 5 | 6 | apis: 7 | - name: google.iam.credentials.v1.IAMCredentials 8 | 9 | documentation: 10 | summary: 'Creates short-lived, limited-privilege credentials for IAM service accounts.' 11 | 12 | authentication: 13 | rules: 14 | - selector: 'google.iam.credentials.v1.IAMCredentials.*' 15 | oauth: 16 | canonical_scopes: |- 17 | https://www.googleapis.com/auth/cloud-platform 18 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1/deployed_files.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1/deployed_files.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_import_public.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | // Author: liujisi@google.com (Pherl Liu) 9 | 10 | syntax = "proto2"; 11 | 12 | package protobuf_unittest_import; 13 | 14 | option java_package = "com.google.protobuf.test"; 15 | 16 | message PublicImportMessage { 17 | optional int32 e = 1; 18 | } 19 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/credentials/v1/iamcredentials.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/credentials/v1/iamcredentials.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_import_public_lite.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | // Author: liujisi@google.com (Pherl Liu) 9 | 10 | edition = "2023"; 11 | 12 | package protobuf_unittest_import; 13 | 14 | option optimize_for = LITE_RUNTIME; 15 | option java_package = "com.google.protobuf"; 16 | 17 | message PublicImportMessageLite { 18 | int32 e = 1; 19 | } 20 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: appengine 2 | version: 0.13.8 3 | description: > 4 | Support for using Dart as a custom runtime on Google App Engine Flexible 5 | Environment 6 | repository: https://github.com/dart-lang/appengine 7 | 8 | topics: 9 | - cloud 10 | - gcp 11 | 12 | environment: 13 | sdk: '>=2.19.0 <3.0.0' 14 | 15 | dependencies: 16 | fixnum: ^1.0.0 17 | gcloud: ^0.8.10 18 | googleapis_auth: ^1.1.0 19 | grpc: ^3.1.0 20 | http: '>=0.13.3 <2.0.0' 21 | logging: ^1.0.1 22 | path: ^1.8.0 23 | protobuf: ^3.1.0 24 | stack_trace: ^1.10.0 25 | 26 | dev_dependencies: 27 | pedantic: ^1.11.0 28 | protoc_plugin: ^21.1.2 29 | test: ^1.17.5 30 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/any_test.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | syntax = "proto3"; 9 | 10 | package protobuf_unittest; 11 | 12 | import "google/protobuf/any.proto"; 13 | 14 | option java_outer_classname = "TestAnyProto"; 15 | 16 | message TestAny { 17 | int32 int32_value = 1; 18 | google.protobuf.Any any_value = 2; 19 | repeated google.protobuf.Any repeated_any_value = 3; 20 | string text = 4; 21 | } 22 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_empty.proto: -------------------------------------------------------------------------------- 1 | // NOLINT(no_package_specified): Test proto with no package 2 | 3 | // Protocol Buffers - Google's data interchange format 4 | // Copyright 2008 Google Inc. All rights reserved. 5 | // 6 | // Use of this source code is governed by a BSD-style 7 | // license that can be found in the LICENSE file or at 8 | // https://developers.google.com/open-source/licenses/bsd 9 | // 10 | // Author: kenton@google.com (Kenton Varda) 11 | // Based on original Protocol Buffers design by 12 | // Sanjay Ghemawat, Jeff Dean, and others. 13 | // 14 | // This file intentionally left blank. (At one point this wouldn't compile 15 | // correctly.) 16 | 17 | syntax = "proto2"; 18 | 19 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_legacy_features.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | // Test that features with legacy descriptor helpers get properly converted. 9 | 10 | edition = "2023"; 11 | 12 | package legacy_features_unittest; 13 | 14 | message TestEditionsMessage { 15 | int32 required_field = 1 [features.field_presence = LEGACY_REQUIRED]; 16 | TestEditionsMessage delimited_field = 2 17 | [features.message_encoding = DELIMITED]; 18 | } 19 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_arena.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | edition = "2023"; 9 | 10 | package proto2_arena_unittest; 11 | 12 | // Use expanded encoding for repeated fields by default (proto2 behavior). 13 | option features.repeated_field_encoding = EXPANDED; 14 | option cc_enable_arenas = true; 15 | 16 | message NestedMessage { 17 | int32 d = 1; 18 | } 19 | 20 | message ArenaMessage { 21 | repeated NestedMessage repeated_nested_message = 1; 22 | } 23 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/appengine/v1/appengine_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [{ 3 | "name": [ 4 | { "service": "google.appengine.v1.Applications" }, 5 | { "service": "google.appengine.v1.Services" }, 6 | { "service": "google.appengine.v1.Versions" }, 7 | { "service": "google.appengine.v1.DeployedFiles" }, 8 | { "service": "google.appengine.v1.Instances" }, 9 | { "service": "google.appengine.v1.EmailSenders" }, 10 | { "service": "google.appengine.v1.Firewall" }, 11 | { "service": "google.appengine.v1.AuthorizedDomains" }, 12 | { "service": "google.appengine.v1.AuthorizedCertificates" }, 13 | { "service": "google.appengine.v1.DomainMappings" } 14 | ], 15 | "timeout": "60s" 16 | }] 17 | } 18 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/servicecontrol/v1/servicecontrol_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [ 3 | { 4 | "name": [ 5 | { 6 | "service": "google.api.servicecontrol.v1.ServiceController", 7 | "method": "Check" 8 | } 9 | ], 10 | "timeout": "5s", 11 | "retryPolicy": { 12 | "maxAttempts": 5, 13 | "initialBackoff": "1s", 14 | "maxBackoff": "10s", 15 | "backoffMultiplier": 1.3, 16 | "retryableStatusCodes": ["UNAVAILABLE"] 17 | } 18 | }, 19 | { 20 | "name": [ 21 | { 22 | "service": "google.api.servicecontrol.v1.ServiceController", 23 | "method": "Report" 24 | } 25 | ], 26 | "timeout": "16s" 27 | } 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_invalid_features.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2023 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | syntax = "proto2"; 9 | 10 | package pb; 11 | 12 | import "google/protobuf/descriptor.proto"; 13 | 14 | extend google.protobuf.FeatureSet { 15 | optional TestInvalidFeatures test_invalid = 9996; 16 | } 17 | 18 | message TestInvalidFeatures { 19 | repeated int32 repeated_feature = 1 [ 20 | retention = RETENTION_RUNTIME, 21 | targets = TARGET_TYPE_FIELD, 22 | edition_defaults = { edition: EDITION_2023, value: "3" } 23 | ]; 24 | } 25 | -------------------------------------------------------------------------------- /test/integration/index.yaml: -------------------------------------------------------------------------------- 1 | # gcloud --project=$E2E_TEST_PROJECT datastore indexes create test/integration/index.yaml 2 | indexes: 3 | - kind: User 4 | ancestor: no 5 | properties: 6 | - name: name 7 | direction: asc 8 | - name: nickname 9 | direction: desc 10 | - kind: User 11 | ancestor: no 12 | properties: 13 | - name: name 14 | direction: desc 15 | - name: nickname 16 | direction: desc 17 | - kind: User 18 | ancestor: no 19 | properties: 20 | - name: name 21 | direction: desc 22 | - name: nickname 23 | direction: asc 24 | - kind: User 25 | ancestor: no 26 | properties: 27 | - name: language 28 | direction: asc 29 | - name: name 30 | direction: asc 31 | - kind: TestQueryKind 32 | properties: 33 | - name: listproperty 34 | - name: test_property 35 | direction: desc 36 | -------------------------------------------------------------------------------- /lib/src/grpc_api/datastore_api.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | library grpc_api; 6 | 7 | export 'package:fixnum/fixnum.dart' show Int32, Int64; 8 | 9 | export '../grpc_api/dart/google/datastore/v1/datastore.pb.dart'; 10 | export '../grpc_api/dart/google/datastore/v1/datastore.pbgrpc.dart'; 11 | export '../grpc_api/dart/google/datastore/v1/entity.pb.dart'; 12 | export '../grpc_api/dart/google/datastore/v1/query.pb.dart'; 13 | export '../grpc_api/dart/google/protobuf/struct.pbenum.dart'; 14 | export '../grpc_api/dart/google/protobuf/timestamp.pb.dart' show Timestamp; 15 | export '../grpc_api/dart/google/protobuf/wrappers.pb.dart' show Int32Value; 16 | -------------------------------------------------------------------------------- /.github/workflows/build.yaml: -------------------------------------------------------------------------------- 1 | name: Build 2 | 3 | on: 4 | schedule: 5 | # “At 00:00 (UTC) on Sunday.” 6 | - cron: '0 0 * * 0' 7 | push: 8 | branches: [ master ] 9 | pull_request: 10 | branches: [ master ] 11 | 12 | jobs: 13 | build: 14 | runs-on: ubuntu-latest 15 | 16 | steps: 17 | - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 18 | - uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 19 | 20 | - name: Install dependencies 21 | run: dart pub get 22 | 23 | # Disabled - this would format ~492 files. 24 | # - name: Verify formatting 25 | # run: dart format --output=none --set-exit-if-changed . 26 | 27 | - name: Analyze project source 28 | run: dart analyze --fatal-infos 29 | 30 | - name: Run tests 31 | run: dart test 32 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_lite_imports_nonlite.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | // Author: kenton@google.com (Kenton Varda) 9 | // 10 | // Tests that a "lite" message can import a regular message. 11 | 12 | syntax = "proto2"; 13 | 14 | package protobuf_unittest; 15 | 16 | import "google/protobuf/unittest.proto"; 17 | 18 | option optimize_for = LITE_RUNTIME; 19 | 20 | message TestLiteImportsNonlite { 21 | optional TestAllTypes message = 1; 22 | 23 | // Verifies that transitive required fields generates valid code. 24 | optional TestRequired message_with_required = 2; 25 | } 26 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/rpc/rpc_publish.yaml: -------------------------------------------------------------------------------- 1 | type: google.api.Service 2 | config_version: 1 3 | name: rpc.googleapis.com 4 | title: Google RPC Types 5 | 6 | types: 7 | - name: google.rpc.Status 8 | - name: google.rpc.RetryInfo 9 | - name: google.rpc.DebugInfo 10 | - name: google.rpc.QuotaFailure 11 | - name: google.rpc.BadRequest 12 | - name: google.rpc.PreconditionFailure 13 | - name: google.rpc.RequestInfo 14 | - name: google.rpc.ResourceInfo 15 | - name: google.rpc.Help 16 | - name: google.rpc.LocalizedMessage 17 | 18 | enums: 19 | - name: google.rpc.Code 20 | 21 | documentation: 22 | summary: Defines RPC types. 23 | overview: |- 24 | # Google RPC 25 | 26 | This package contains type definitions for general RPC systems. While 27 | [gRPC](https://github.com/grpc) is using these defintions, they are not 28 | designed specifically to support gRPC. 29 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/empty.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/empty.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use emptyDescriptor instead') 17 | const Empty$json = { 18 | '1': 'Empty', 19 | }; 20 | 21 | /// Descriptor for `Empty`. Decode as a `google.protobuf.DescriptorProto`. 22 | final $typed_data.Uint8List emptyDescriptor = 23 | $convert.base64Decode('CgVFbXB0eQ=='); 24 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_no_generic_services.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | // Author: kenton@google.com (Kenton Varda) 9 | 10 | syntax = "proto2"; 11 | 12 | package protobuf_unittest.no_generic_services_test; 13 | 14 | 15 | // *_generic_services are false by default. 16 | 17 | message TestMessage { 18 | optional int32 a = 1; 19 | extensions 1000 to max; 20 | } 21 | 22 | enum TestEnum { 23 | FOO = 1; 24 | } 25 | 26 | extend TestMessage { 27 | optional int32 test_extension = 1000; 28 | } 29 | 30 | service TestService { 31 | rpc Foo(TestMessage) returns (TestMessage); 32 | } 33 | -------------------------------------------------------------------------------- /lib/src/appengine_context.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | library appengine.appengine_context; 6 | 7 | class AppEngineContext { 8 | final String applicationID; 9 | final String partition; 10 | final String version; 11 | final String module; 12 | final String instance; 13 | final String? instanceId; 14 | final bool isDevelopmentEnvironment; 15 | 16 | AppEngineContext( 17 | this.isDevelopmentEnvironment, 18 | this.applicationID, 19 | this.version, 20 | this.module, 21 | this.instance, 22 | this.instanceId, 23 | Uri? pubServeUrl) 24 | : partition = ''; 25 | 26 | String get fullQualifiedApplicationId => '$partition~$applicationID'; 27 | } 28 | -------------------------------------------------------------------------------- /tool/utils.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | function start_phase { 4 | echo "===============================================" 5 | echo "= Phase: $1" 6 | echo "===============================================" 7 | } 8 | 9 | function error { 10 | echo "===============================================" 11 | echo "= Error: $1" 12 | echo "===============================================" 13 | } 14 | 15 | function die { 16 | echo "$1" 17 | exit 1 18 | } 19 | 20 | function check_env_variable { 21 | NAME="$1" 22 | env | grep "$NAME" &> /dev/null 23 | if [ $? -ne 0 ]; then 24 | die "Couldn't find environment variable '$NAME'!" 25 | fi 26 | } 27 | 28 | function test_file { 29 | echo "Testing file '$1'." 30 | "$DART_SDK/bin/dart" --checked "$1" 31 | if [ $? -ne 0 ]; then 32 | cd .. 33 | error "Running tests in '$1' failed." 34 | return 1 35 | fi 36 | cd .. 37 | return 0 38 | } 39 | 40 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/serviceconfig.yaml: -------------------------------------------------------------------------------- 1 | type: google.api.Service 2 | config_version: 3 3 | name: serviceconfig.googleapis.com 4 | title: Service Config API 5 | 6 | types: 7 | - name: google.api.ConfigChange 8 | - name: google.api.Distribution 9 | - name: google.api.DocumentationRule 10 | - name: google.api.FieldInfo 11 | - name: google.api.HttpBody 12 | - name: google.api.LabelDescriptor 13 | - name: google.api.Metric 14 | - name: google.api.MonitoredResource 15 | - name: google.api.MonitoredResourceDescriptor 16 | - name: google.api.MonitoredResourceMetadata 17 | - name: google.api.ResourceDescriptor 18 | - name: google.api.ResourceReference 19 | - name: google.api.RoutingRule 20 | - name: google.api.Service 21 | - name: google.api.Visibility 22 | 23 | enums: 24 | - name: google.api.ErrorReason 25 | - name: google.api.FieldBehavior 26 | 27 | documentation: 28 | summary: Lets you define and config your API service. 29 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_extension_set.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | // Author: kenton@google.com (Kenton Varda) 9 | // Based on original Protocol Buffers design by 10 | // Sanjay Ghemawat, Jeff Dean, and others. 11 | // 12 | // This file contains messages for testing extensions. 13 | 14 | syntax = "proto2"; 15 | 16 | package protobuf_unittest; 17 | 18 | option optimize_for = SPEED; 19 | option csharp_namespace = "Google.ProtocolBuffers.TestProtos"; 20 | 21 | // A message with message_set_wire_format. 22 | message TestExtensionSet { 23 | extensions 4 to max; 24 | } 25 | 26 | message TestExtensionSetContainer { 27 | optional TestExtensionSet extension = 1; 28 | } 29 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/longrunning/longrunning_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [ 3 | { 4 | "name": [ 5 | { 6 | "service": "google.longrunning.Operations", 7 | "method": "GetOperation" 8 | }, 9 | { 10 | "service": "google.longrunning.Operations", 11 | "method": "ListOperations" 12 | }, 13 | { 14 | "service": "google.longrunning.Operations", 15 | "method": "CancelOperation" 16 | }, 17 | { 18 | "service": "google.longrunning.Operations", 19 | "method": "DeleteOperation" 20 | } 21 | ], 22 | "timeout": "10s", 23 | "retryPolicy": { 24 | "maxAttempts": 5, 25 | "initialBackoff": "0.5s", 26 | "maxBackoff": "10s", 27 | "backoffMultiplier": 2.0, 28 | "retryableStatusCodes": [ 29 | "UNAVAILABLE" 30 | ] 31 | } 32 | } 33 | ] 34 | } 35 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_import_lite.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | // Author: kenton@google.com (Kenton Varda) 9 | // 10 | // This is like unittest_import.proto but with optimize_for = LITE_RUNTIME. 11 | 12 | edition = "2023"; 13 | 14 | package protobuf_unittest_import; 15 | 16 | import public "google/protobuf/unittest_import_public_lite.proto"; 17 | 18 | option optimize_for = LITE_RUNTIME; 19 | option java_package = "com.google.protobuf"; 20 | 21 | message ImportMessageLite { 22 | int32 d = 1; 23 | } 24 | 25 | enum ImportEnumLite { 26 | option features.enum_type = CLOSED; 27 | 28 | IMPORT_LITE_FOO = 7; 29 | IMPORT_LITE_BAR = 8; 30 | IMPORT_LITE_BAZ = 9; 31 | } 32 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/cloudquotas/v1/cloudquotas_v1_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [{ 3 | "name": [ 4 | { "service": "google.api.cloudquotas.v1.CloudQuotas", "method": "ListQuotaInfos" }, 5 | { "service": "google.api.cloudquotas.v1.CloudQuotas", "method": "GetQuotaInfo" }, 6 | { "service": "google.api.cloudquotas.v1.CloudQuotas", "method": "ListQuotaPreferences" }, 7 | { "service": "google.api.cloudquotas.v1.CloudQuotas", "method": "GetQuotaPreference" }, 8 | { "service": "google.api.cloudquotas.v1.CloudQuotas", "method": "CreateQuotaPreference" }, 9 | { "service": "google.api.cloudquotas.v1.CloudQuotas", "method": "UpdateQuotaPreference" } 10 | ], 11 | "timeout": "60s", 12 | "retryPolicy": { 13 | "maxAttempts": 5, 14 | "initialBackoff": "1s", 15 | "maxBackoff": "10s", 16 | "backoffMultiplier": 1.3, 17 | "retryableStatusCodes": ["UNAVAILABLE"] 18 | } 19 | }] 20 | } 21 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/rpc/README.md: -------------------------------------------------------------------------------- 1 | ## RPC (Remote Procedure Call) Types 2 | 3 | This package contains [protocol buffer][protobuf] types that represent remote procedure 4 | call concepts. While [gRPC](https://grpc.io) uses these types, we encourage their 5 | use in any interested RPC implementation to promote compatibility and consistency. 6 | 7 | ### Key Concepts 8 | 9 | - **Code**: An enum that represents an error code returned by an RPC. These error codes 10 | map to HTTP codes, but are slightly finer-grained. Every gRPC code has exactly one 11 | corresponding HTTP code; however, some HTTP codes have more than one corresponding 12 | gRPC code. 13 | - **Error details**: Any of the types contained in `error_details.proto` which provide 14 | extra details about particular types of failures. 15 | - **Status**: Combines a code, message, and error details to represent the success or 16 | failure details of an RPC call. 17 | 18 | [protobuf]: https://developers.google.com/protocol-buffers/ 19 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/decimal.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/decimal.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use decimalDescriptor instead') 17 | const Decimal$json = { 18 | '1': 'Decimal', 19 | '2': [ 20 | {'1': 'value', '3': 1, '4': 1, '5': 9, '10': 'value'}, 21 | ], 22 | }; 23 | 24 | /// Descriptor for `Decimal`. Decode as a `google.protobuf.DescriptorProto`. 25 | final $typed_data.Uint8List decimalDescriptor = 26 | $convert.base64Decode('CgdEZWNpbWFsEhQKBXZhbHVlGAEgASgJUgV2YWx1ZQ=='); 27 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/field_mask.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/field_mask.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use fieldMaskDescriptor instead') 17 | const FieldMask$json = { 18 | '1': 'FieldMask', 19 | '2': [ 20 | {'1': 'paths', '3': 1, '4': 3, '5': 9, '10': 'paths'}, 21 | ], 22 | }; 23 | 24 | /// Descriptor for `FieldMask`. Decode as a `google.protobuf.DescriptorProto`. 25 | final $typed_data.Uint8List fieldMaskDescriptor = 26 | $convert.base64Decode('CglGaWVsZE1hc2sSFAoFcGF0aHMYASADKAlSBXBhdGhz'); 27 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/logging/v2/logging_gapic.yaml: -------------------------------------------------------------------------------- 1 | type: com.google.api.codegen.ConfigProto 2 | config_schema_version: 2.0.0 3 | language_settings: 4 | java: 5 | package_name: com.google.cloud.logging.v2 6 | interface_names: 7 | google.logging.v2.ConfigServiceV2: Config 8 | google.logging.v2.LoggingServiceV2: Logging 9 | google.logging.v2.MetricsServiceV2: Metrics 10 | interfaces: 11 | - name: google.logging.v2.LoggingServiceV2 12 | methods: 13 | - name: WriteLogEntries 14 | retry_codes_name: idempotent 15 | batching: 16 | thresholds: 17 | element_count_threshold: 1000 18 | request_byte_threshold: 1048576 19 | delay_threshold_millis: 50 20 | flow_control_element_limit: 100000 21 | flow_control_byte_limit: 10485760 22 | flow_control_limit_exceeded_behavior: THROW_EXCEPTION 23 | batch_descriptor: 24 | batched_field: entries 25 | discriminator_fields: 26 | - log_name 27 | - resource 28 | - labels 29 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/iam/v2/iam_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [ 3 | { 4 | "name": [ 5 | { 6 | "service": "google.iam.v2.Policies", 7 | "method": "ListPolicies" 8 | }, 9 | { 10 | "service": "google.iam.v2.Policies", 11 | "method": "GetPolicy" 12 | }, 13 | { 14 | "service": "google.iam.v2.Policies", 15 | "method": "CreatePolicy" 16 | }, 17 | { 18 | "service": "google.iam.v2.Policies", 19 | "method": "UpdatePolicy" 20 | }, 21 | { 22 | "service": "google.iam.v2.Policies", 23 | "method": "DeletePolicy" 24 | } 25 | ], 26 | "timeout": "60s", 27 | "retryPolicy": { 28 | "maxAttempts": 5, 29 | "initialBackoff": "1s", 30 | "maxBackoff": "10s", 31 | "backoffMultiplier": 1.3, 32 | "retryableStatusCodes": [ 33 | "UNAVAILABLE" 34 | ] 35 | } 36 | } 37 | ] 38 | } 39 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/iam/credentials/v1/iamcredentials_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [ 3 | { 4 | "name": [ 5 | { 6 | "service": "google.iam.credentials.v1.IAMCredentials", 7 | "method": "GenerateAccessToken" 8 | }, 9 | { 10 | "service": "google.iam.credentials.v1.IAMCredentials", 11 | "method": "GenerateIdToken" 12 | }, 13 | { 14 | "service": "google.iam.credentials.v1.IAMCredentials", 15 | "method": "SignBlob" 16 | }, 17 | { 18 | "service": "google.iam.credentials.v1.IAMCredentials", 19 | "method": "SignJwt" 20 | } 21 | ], 22 | "timeout": "60s", 23 | "retryPolicy": { 24 | "maxAttempts": 5, 25 | "initialBackoff": "0.100s", 26 | "maxBackoff": "60s", 27 | "backoffMultiplier": 1.3, 28 | "retryableStatusCodes": [ 29 | "UNAVAILABLE", 30 | "DEADLINE_EXCEEDED" 31 | ] 32 | } 33 | } 34 | ] 35 | } 36 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/map_proto3_unittest.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | edition = "2023"; 9 | 10 | // Treat all fields as implicit present by default (proto3 behavior). 11 | option features.field_presence = IMPLICIT; 12 | 13 | // This file contains definitions that have different behavior in proto3. 14 | 15 | // We don't put this in a package within proto2 because we need to make sure 16 | // that the generated code doesn't depend on being in the proto2 namespace. 17 | // In map_test_util.h we do "using namespace unittest = protobuf_unittest". 18 | package proto3_unittest; 19 | 20 | message TestProto3BytesMap { 21 | map map_bytes = 1; 22 | map map_string = 2; 23 | } 24 | 25 | message TestI32StrMap { 26 | map m_32_str = 1; 27 | } 28 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/source_context.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/source_context.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use sourceContextDescriptor instead') 17 | const SourceContext$json = { 18 | '1': 'SourceContext', 19 | '2': [ 20 | {'1': 'file_name', '3': 1, '4': 1, '5': 9, '10': 'fileName'}, 21 | ], 22 | }; 23 | 24 | /// Descriptor for `SourceContext`. Decode as a `google.protobuf.DescriptorProto`. 25 | final $typed_data.Uint8List sourceContextDescriptor = $convert.base64Decode( 26 | 'Cg1Tb3VyY2VDb250ZXh0EhsKCWZpbGVfbmFtZRgBIAEoCVIIZmlsZU5hbWU='); 27 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/iam/v2/iam_v2.yaml: -------------------------------------------------------------------------------- 1 | type: google.api.Service 2 | config_version: 3 3 | name: iam.googleapis.com 4 | title: Identity and Access Management (IAM) API 5 | 6 | apis: 7 | - name: google.iam.v2.Policies 8 | - name: google.longrunning.Operations 9 | 10 | types: 11 | - name: google.iam.v2.PolicyOperationMetadata 12 | 13 | documentation: 14 | summary: |- 15 | Manages identity and access control for Google Cloud Platform resources, 16 | including the creation of service accounts, which you can use to 17 | authenticate to Google and make API calls. 18 | 19 | http: 20 | rules: 21 | - selector: google.longrunning.Operations.GetOperation 22 | get: '/v2/{name=policies/*/*/*/operations/*}' 23 | 24 | authentication: 25 | rules: 26 | - selector: 'google.iam.v2.Policies.*' 27 | oauth: 28 | canonical_scopes: |- 29 | https://www.googleapis.com/auth/cloud-platform 30 | - selector: google.longrunning.Operations.GetOperation 31 | oauth: 32 | canonical_scopes: |- 33 | https://www.googleapis.com/auth/cloud-platform 34 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/any.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/any.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use anyDescriptor instead') 17 | const Any$json = { 18 | '1': 'Any', 19 | '2': [ 20 | {'1': 'type_url', '3': 1, '4': 1, '5': 9, '10': 'typeUrl'}, 21 | {'1': 'value', '3': 2, '4': 1, '5': 12, '10': 'value'}, 22 | ], 23 | }; 24 | 25 | /// Descriptor for `Any`. Decode as a `google.protobuf.DescriptorProto`. 26 | final $typed_data.Uint8List anyDescriptor = $convert.base64Decode( 27 | 'CgNBbnkSGQoIdHlwZV91cmwYASABKAlSB3R5cGVVcmwSFAoFdmFsdWUYAiABKAxSBXZhbHVl'); 28 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_preserve_unknown_enum2.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | edition = "2023"; 9 | 10 | package proto2_preserve_unknown_enum_unittest; 11 | 12 | // Treat all enums as closed and use expanded encoding for repeated fields by 13 | // default (proto2 behavior). 14 | option features.enum_type = CLOSED; 15 | option features.repeated_field_encoding = EXPANDED; 16 | 17 | enum MyEnum { 18 | FOO = 0; 19 | BAR = 1; 20 | BAZ = 2; 21 | } 22 | 23 | message MyMessage { 24 | MyEnum e = 1; 25 | repeated MyEnum repeated_e = 2; 26 | repeated MyEnum repeated_packed_e = 3 27 | [features.repeated_field_encoding = PACKED]; 28 | repeated MyEnum repeated_packed_unexpected_e = 4; // not packed 29 | oneof o { 30 | MyEnum oneof_e_1 = 5; 31 | MyEnum oneof_e_2 = 6; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_drop_unknown_fields.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | edition = "2023"; 9 | 10 | package unittest_drop_unknown_fields; 11 | 12 | // Treat all fields as implicit present by default (proto3 behavior). 13 | option features.field_presence = IMPLICIT; 14 | option objc_class_prefix = "DropUnknowns"; 15 | option csharp_namespace = "Google.Protobuf.TestProtos"; 16 | 17 | message Foo { 18 | enum NestedEnum { 19 | FOO = 0; 20 | BAR = 1; 21 | BAZ = 2; 22 | } 23 | int32 int32_value = 1; 24 | NestedEnum enum_value = 2; 25 | } 26 | 27 | message FooWithExtraFields { 28 | enum NestedEnum { 29 | FOO = 0; 30 | BAR = 1; 31 | BAZ = 2; 32 | MOO = 3; 33 | } 34 | int32 int32_value = 1; 35 | NestedEnum enum_value = 2; 36 | int32 extra_int32_value = 3; 37 | } 38 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/iam/v2beta/iam_v2beta.yaml: -------------------------------------------------------------------------------- 1 | type: google.api.Service 2 | config_version: 3 3 | name: iam.googleapis.com 4 | title: Identity and Access Management (IAM) API 5 | 6 | apis: 7 | - name: google.iam.v2beta.Policies 8 | - name: google.longrunning.Operations 9 | 10 | types: 11 | - name: google.iam.v2beta.PolicyOperationMetadata 12 | 13 | documentation: 14 | summary: |- 15 | Manages identity and access control for Google Cloud Platform resources, 16 | including the creation of service accounts, which you can use to 17 | authenticate to Google and make API calls. 18 | 19 | http: 20 | rules: 21 | - selector: google.longrunning.Operations.GetOperation 22 | get: '/v2beta/{name=policies/*/*/*/operations/*}' 23 | 24 | authentication: 25 | rules: 26 | - selector: 'google.iam.v2beta.Policies.*' 27 | oauth: 28 | canonical_scopes: |- 29 | https://www.googleapis.com/auth/cloud-platform 30 | - selector: google.longrunning.Operations.GetOperation 31 | oauth: 32 | canonical_scopes: |- 33 | https://www.googleapis.com/auth/cloud-platform 34 | -------------------------------------------------------------------------------- /test/utils/error_matchers.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | library error_matchers; 6 | 7 | import 'package:test/test.dart'; 8 | 9 | import 'package:appengine/src/errors.dart'; 10 | import 'package:gcloud/datastore.dart' as datastore; 11 | 12 | const isNetworkError = TypeMatcher(); 13 | const isProtocolError = TypeMatcher(); 14 | const isServiceError = TypeMatcher(); 15 | const isApplicationError = TypeMatcher(); 16 | const isAppEngineApplicationError = TypeMatcher(); 17 | 18 | const isDatastoreApplicationError = TypeMatcher(); 19 | const isTransactionAbortedError = 20 | TypeMatcher(); 21 | const isNeedIndexError = TypeMatcher(); 22 | const isTimeoutError = TypeMatcher(); 23 | 24 | const isInt = TypeMatcher(); 25 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/latlng.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/latlng.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use latLngDescriptor instead') 17 | const LatLng$json = { 18 | '1': 'LatLng', 19 | '2': [ 20 | {'1': 'latitude', '3': 1, '4': 1, '5': 1, '10': 'latitude'}, 21 | {'1': 'longitude', '3': 2, '4': 1, '5': 1, '10': 'longitude'}, 22 | ], 23 | }; 24 | 25 | /// Descriptor for `LatLng`. Decode as a `google.protobuf.DescriptorProto`. 26 | final $typed_data.Uint8List latLngDescriptor = $convert.base64Decode( 27 | 'CgZMYXRMbmcSGgoIbGF0aXR1ZGUYASABKAFSCGxhdGl0dWRlEhwKCWxvbmdpdHVkZRgCIAEoAV' 28 | 'IJbG9uZ2l0dWRl'); 29 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/duration.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/duration.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use durationDescriptor instead') 17 | const Duration$json = { 18 | '1': 'Duration', 19 | '2': [ 20 | {'1': 'seconds', '3': 1, '4': 1, '5': 3, '10': 'seconds'}, 21 | {'1': 'nanos', '3': 2, '4': 1, '5': 5, '10': 'nanos'}, 22 | ], 23 | }; 24 | 25 | /// Descriptor for `Duration`. Decode as a `google.protobuf.DescriptorProto`. 26 | final $typed_data.Uint8List durationDescriptor = $convert.base64Decode( 27 | 'CghEdXJhdGlvbhIYCgdzZWNvbmRzGAEgASgDUgdzZWNvbmRzEhQKBW5hbm9zGAIgASgFUgVuYW' 28 | '5vcw=='); 29 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/timestamp.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/timestamp.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use timestampDescriptor instead') 17 | const Timestamp$json = { 18 | '1': 'Timestamp', 19 | '2': [ 20 | {'1': 'seconds', '3': 1, '4': 1, '5': 3, '10': 'seconds'}, 21 | {'1': 'nanos', '3': 2, '4': 1, '5': 5, '10': 'nanos'}, 22 | ], 23 | }; 24 | 25 | /// Descriptor for `Timestamp`. Decode as a `google.protobuf.DescriptorProto`. 26 | final $typed_data.Uint8List timestampDescriptor = $convert.base64Decode( 27 | 'CglUaW1lc3RhbXASGAoHc2Vjb25kcxgBIAEoA1IHc2Vjb25kcxIUCgVuYW5vcxgCIAEoBVIFbm' 28 | 'Fub3M='); 29 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1/domain.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1/domain.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use authorizedDomainDescriptor instead') 17 | const AuthorizedDomain$json = { 18 | '1': 'AuthorizedDomain', 19 | '2': [ 20 | {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, 21 | {'1': 'id', '3': 2, '4': 1, '5': 9, '10': 'id'}, 22 | ], 23 | }; 24 | 25 | /// Descriptor for `AuthorizedDomain`. Decode as a `google.protobuf.DescriptorProto`. 26 | final $typed_data.Uint8List authorizedDomainDescriptor = $convert.base64Decode( 27 | 'ChBBdXRob3JpemVkRG9tYWluEhIKBG5hbWUYASABKAlSBG5hbWUSDgoCaWQYAiABKAlSAmlk'); 28 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1beta/domain.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1beta/domain.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use authorizedDomainDescriptor instead') 17 | const AuthorizedDomain$json = { 18 | '1': 'AuthorizedDomain', 19 | '2': [ 20 | {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, 21 | {'1': 'id', '3': 2, '4': 1, '5': 9, '10': 'id'}, 22 | ], 23 | }; 24 | 25 | /// Descriptor for `AuthorizedDomain`. Decode as a `google.protobuf.DescriptorProto`. 26 | final $typed_data.Uint8List authorizedDomainDescriptor = $convert.base64Decode( 27 | 'ChBBdXRob3JpemVkRG9tYWluEhIKBG5hbWUYASABKAlSBG5hbWUSDgoCaWQYAiABKAlSAmlk'); 28 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/date.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/date.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use dateDescriptor instead') 17 | const Date$json = { 18 | '1': 'Date', 19 | '2': [ 20 | {'1': 'year', '3': 1, '4': 1, '5': 5, '10': 'year'}, 21 | {'1': 'month', '3': 2, '4': 1, '5': 5, '10': 'month'}, 22 | {'1': 'day', '3': 3, '4': 1, '5': 5, '10': 'day'}, 23 | ], 24 | }; 25 | 26 | /// Descriptor for `Date`. Decode as a `google.protobuf.DescriptorProto`. 27 | final $typed_data.Uint8List dateDescriptor = $convert.base64Decode( 28 | 'CgREYXRlEhIKBHllYXIYASABKAVSBHllYXISFAoFbW9udGgYAiABKAVSBW1vbnRoEhAKA2RheR' 29 | 'gDIAEoBVIDZGF5'); 30 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/fraction.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/fraction.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use fractionDescriptor instead') 17 | const Fraction$json = { 18 | '1': 'Fraction', 19 | '2': [ 20 | {'1': 'numerator', '3': 1, '4': 1, '5': 3, '10': 'numerator'}, 21 | {'1': 'denominator', '3': 2, '4': 1, '5': 3, '10': 'denominator'}, 22 | ], 23 | }; 24 | 25 | /// Descriptor for `Fraction`. Decode as a `google.protobuf.DescriptorProto`. 26 | final $typed_data.Uint8List fractionDescriptor = $convert.base64Decode( 27 | 'CghGcmFjdGlvbhIcCgludW1lcmF0b3IYASABKANSCW51bWVyYXRvchIgCgtkZW5vbWluYXRvch' 28 | 'gCIAEoA1ILZGVub21pbmF0b3I='); 29 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_embed_optimize_for.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | // Author: kenton@google.com (Kenton Varda) 9 | // Based on original Protocol Buffers design by 10 | // Sanjay Ghemawat, Jeff Dean, and others. 11 | // 12 | // A proto file which imports a proto file that uses optimize_for = CODE_SIZE. 13 | 14 | syntax = "proto2"; 15 | 16 | package protobuf_unittest; 17 | 18 | import "google/protobuf/unittest_optimize_for.proto"; 19 | 20 | // We optimize for speed here, but we are importing a proto that is optimized 21 | // for code size. 22 | option optimize_for = SPEED; 23 | 24 | message TestEmbedOptimizedForSize { 25 | // Test that embedding a message which has optimize_for = CODE_SIZE into 26 | // one optimized for speed works. 27 | optional TestOptimizedForSize optional_message = 1; 28 | repeated TestOptimizedForSize repeated_message = 2; 29 | } 30 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/appengine/v1/deployed_files.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 | syntax = "proto3"; 16 | 17 | package google.appengine.v1; 18 | 19 | option csharp_namespace = "Google.Cloud.AppEngine.V1"; 20 | option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; 21 | option java_multiple_files = true; 22 | option java_outer_classname = "DeployedFilesProto"; 23 | option java_package = "com.google.appengine.v1"; 24 | option php_namespace = "Google\\Cloud\\AppEngine\\V1"; 25 | option ruby_package = "Google::Cloud::AppEngine::V1"; 26 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/localized_text.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/localized_text.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use localizedTextDescriptor instead') 17 | const LocalizedText$json = { 18 | '1': 'LocalizedText', 19 | '2': [ 20 | {'1': 'text', '3': 1, '4': 1, '5': 9, '10': 'text'}, 21 | {'1': 'language_code', '3': 2, '4': 1, '5': 9, '10': 'languageCode'}, 22 | ], 23 | }; 24 | 25 | /// Descriptor for `LocalizedText`. Decode as a `google.protobuf.DescriptorProto`. 26 | final $typed_data.Uint8List localizedTextDescriptor = $convert.base64Decode( 27 | 'Cg1Mb2NhbGl6ZWRUZXh0EhIKBHRleHQYASABKAlSBHRleHQSIwoNbGFuZ3VhZ2VfY29kZRgCIA' 28 | 'EoCVIMbGFuZ3VhZ2VDb2Rl'); 29 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/iam/v2beta/iam_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [ 3 | { 4 | "name": [ 5 | { 6 | "service": "google.iam.v2beta.Policies", 7 | "method": "ListPolicies" 8 | }, 9 | { 10 | "service": "google.iam.v2beta.Policies", 11 | "method": "GetPolicy" 12 | }, 13 | { 14 | "service": "google.iam.v2beta.Policies", 15 | "method": "CreatePolicy" 16 | }, 17 | { 18 | "service": "google.iam.v2beta.Policies", 19 | "method": "UpdatePolicy" 20 | }, 21 | { 22 | "service": "google.iam.v2beta.Policies", 23 | "method": "DeletePolicy" 24 | }, 25 | { 26 | "service": "google.iam.v2beta.Policies", 27 | "method": "GetEffectivePolicies" 28 | } 29 | ], 30 | "timeout": "60s", 31 | "retryPolicy": { 32 | "maxAttempts": 5, 33 | "initialBackoff": "1s", 34 | "maxBackoff": "10s", 35 | "backoffMultiplier": 1.3, 36 | "retryableStatusCodes": [ 37 | "UNAVAILABLE" 38 | ] 39 | } 40 | } 41 | ] 42 | } 43 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/source_info.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/source_info.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use sourceInfoDescriptor instead') 17 | const SourceInfo$json = { 18 | '1': 'SourceInfo', 19 | '2': [ 20 | { 21 | '1': 'source_files', 22 | '3': 1, 23 | '4': 3, 24 | '5': 11, 25 | '6': '.google.protobuf.Any', 26 | '10': 'sourceFiles' 27 | }, 28 | ], 29 | }; 30 | 31 | /// Descriptor for `SourceInfo`. Decode as a `google.protobuf.DescriptorProto`. 32 | final $typed_data.Uint8List sourceInfoDescriptor = $convert.base64Decode( 33 | 'CgpTb3VyY2VJbmZvEjcKDHNvdXJjZV9maWxlcxgBIAMoCzIULmdvb2dsZS5wcm90b2J1Zi5Bbn' 34 | 'lSC3NvdXJjZUZpbGVz'); 35 | -------------------------------------------------------------------------------- /lib/src/grpc_api/logging_api.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | library logging_api; 6 | 7 | export 'package:fixnum/fixnum.dart' show Int64; 8 | 9 | export '../grpc_api/dart/google/api/monitored_resource.pb.dart'; 10 | export '../grpc_api/dart/google/logging/type/http_request.pb.dart'; 11 | export '../grpc_api/dart/google/logging/type/log_severity.pbenum.dart'; 12 | export '../grpc_api/dart/google/logging/v2/log_entry.pb.dart'; 13 | export '../grpc_api/dart/google/logging/v2/logging.pb.dart'; 14 | export '../grpc_api/dart/google/logging/v2/logging.pbgrpc.dart'; 15 | export '../grpc_api/dart/google/logging/v2/logging_config.pb.dart'; 16 | export '../grpc_api/dart/google/logging/v2/logging_metrics.pb.dart'; 17 | export '../grpc_api/dart/google/protobuf/any.pb.dart' show Any; 18 | export '../grpc_api/dart/google/protobuf/duration.pb.dart' show Duration; 19 | export '../grpc_api/dart/google/protobuf/struct.pb.dart' show Struct, Value; 20 | export '../grpc_api/dart/google/protobuf/timestamp.pb.dart' show Timestamp; 21 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/annotations.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 | syntax = "proto3"; 16 | 17 | package google.api; 18 | 19 | import "google/api/http.proto"; 20 | import "google/protobuf/descriptor.proto"; 21 | 22 | option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; 23 | option java_multiple_files = true; 24 | option java_outer_classname = "AnnotationsProto"; 25 | option java_package = "com.google.api"; 26 | option objc_class_prefix = "GAPI"; 27 | 28 | extend google.protobuf.MethodOptions { 29 | // See `HttpRule`. 30 | HttpRule http = 72295728; 31 | } 32 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/money.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/money.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use moneyDescriptor instead') 17 | const Money$json = { 18 | '1': 'Money', 19 | '2': [ 20 | {'1': 'currency_code', '3': 1, '4': 1, '5': 9, '10': 'currencyCode'}, 21 | {'1': 'units', '3': 2, '4': 1, '5': 3, '10': 'units'}, 22 | {'1': 'nanos', '3': 3, '4': 1, '5': 5, '10': 'nanos'}, 23 | ], 24 | }; 25 | 26 | /// Descriptor for `Money`. Decode as a `google.protobuf.DescriptorProto`. 27 | final $typed_data.Uint8List moneyDescriptor = $convert.base64Decode( 28 | 'CgVNb25leRIjCg1jdXJyZW5jeV9jb2RlGAEgASgJUgxjdXJyZW5jeUNvZGUSFAoFdW5pdHMYAi' 29 | 'ABKANSBXVuaXRzEhQKBW5hbm9zGAMgASgFUgVuYW5vcw=='); 30 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/v1/options.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/v1/options.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use getPolicyOptionsDescriptor instead') 17 | const GetPolicyOptions$json = { 18 | '1': 'GetPolicyOptions', 19 | '2': [ 20 | { 21 | '1': 'requested_policy_version', 22 | '3': 1, 23 | '4': 1, 24 | '5': 5, 25 | '10': 'requestedPolicyVersion' 26 | }, 27 | ], 28 | }; 29 | 30 | /// Descriptor for `GetPolicyOptions`. Decode as a `google.protobuf.DescriptorProto`. 31 | final $typed_data.Uint8List getPolicyOptionsDescriptor = $convert.base64Decode( 32 | 'ChBHZXRQb2xpY3lPcHRpb25zEjgKGHJlcXVlc3RlZF9wb2xpY3lfdmVyc2lvbhgBIAEoBVIWcm' 33 | 'VxdWVzdGVkUG9saWN5VmVyc2lvbg=='); 34 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/iam/v1/logging/audit_data.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/iam/v1/logging/audit_data.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use auditDataDescriptor instead') 17 | const AuditData$json = { 18 | '1': 'AuditData', 19 | '2': [ 20 | { 21 | '1': 'policy_delta', 22 | '3': 2, 23 | '4': 1, 24 | '5': 11, 25 | '6': '.google.iam.v1.PolicyDelta', 26 | '10': 'policyDelta' 27 | }, 28 | ], 29 | }; 30 | 31 | /// Descriptor for `AuditData`. Decode as a `google.protobuf.DescriptorProto`. 32 | final $typed_data.Uint8List auditDataDescriptor = $convert.base64Decode( 33 | 'CglBdWRpdERhdGESPQoMcG9saWN5X2RlbHRhGAIgASgLMhouZ29vZ2xlLmlhbS52MS5Qb2xpY3' 34 | 'lEZWx0YVILcG9saWN5RGVsdGE='); 35 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/quaternion.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/quaternion.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use quaternionDescriptor instead') 17 | const Quaternion$json = { 18 | '1': 'Quaternion', 19 | '2': [ 20 | {'1': 'x', '3': 1, '4': 1, '5': 1, '10': 'x'}, 21 | {'1': 'y', '3': 2, '4': 1, '5': 1, '10': 'y'}, 22 | {'1': 'z', '3': 3, '4': 1, '5': 1, '10': 'z'}, 23 | {'1': 'w', '3': 4, '4': 1, '5': 1, '10': 'w'}, 24 | ], 25 | }; 26 | 27 | /// Descriptor for `Quaternion`. Decode as a `google.protobuf.DescriptorProto`. 28 | final $typed_data.Uint8List quaternionDescriptor = $convert.base64Decode( 29 | 'CgpRdWF0ZXJuaW9uEgwKAXgYASABKAFSAXgSDAoBeRgCIAEoAVIBeRIMCgF6GAMgASgBUgF6Eg' 30 | 'wKAXcYBCABKAFSAXc='); 31 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/annotations.pb.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/annotations.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | import 'package:protobuf/protobuf.dart' as $pb; 15 | 16 | import 'http.pb.dart' as $55; 17 | 18 | class Annotations { 19 | static final http = $pb.Extension<$55.HttpRule>( 20 | _omitMessageNames ? '' : 'google.protobuf.MethodOptions', 21 | _omitFieldNames ? '' : 'http', 22 | 72295728, 23 | $pb.PbFieldType.OM, 24 | defaultOrMaker: $55.HttpRule.getDefault, 25 | subBuilder: $55.HttpRule.create); 26 | static void registerAllExtensions($pb.ExtensionRegistry registry) { 27 | registry.add(http); 28 | } 29 | } 30 | 31 | const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); 32 | const _omitMessageNames = 33 | $core.bool.fromEnvironment('protobuf.omit_message_names'); 34 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/source_info.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 | syntax = "proto3"; 16 | 17 | package google.api; 18 | 19 | import "google/protobuf/any.proto"; 20 | 21 | option go_package = "google.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig"; 22 | option java_multiple_files = true; 23 | option java_outer_classname = "SourceInfoProto"; 24 | option java_package = "com.google.api"; 25 | option objc_class_prefix = "GAPI"; 26 | 27 | // Source information used to create a Service Config 28 | message SourceInfo { 29 | // All files used during config generation. 30 | repeated google.protobuf.Any source_files = 1; 31 | } 32 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/iam/README.md: -------------------------------------------------------------------------------- 1 | ## IAM (Identity and Access Management) Protos 2 | 3 | This folder contains [protocol buffer][protobuf] types which represent IAM 4 | (Identity and Access Management) concepts plus a mix-in service declaration (IAMPolicy) 5 | which can be inherited by APIs so that they follow a consistent pattern for 6 | IAM operations. 7 | 8 | ### Key Concepts 9 | 10 | - **Binding**: Associates a list of identities with a particular role. An identity can 11 | match things like all users, all authenticated users, a single user, a single service 12 | account, a single group, or a single domain. A role is a permission defined by IAM, such as 13 | `roles/viewer`, `roles/editor`, or `roles/owner`. 14 | - **Policy**: A list of bindings where each role can only appear once. It also contains 15 | a version to track iterations of the bindings. 16 | 17 | ### Key Service definitions 18 | 19 | - **IAMPolicy**: This is a mix-in service which defines three operations: 20 | - `SetIamPolicy`: Sets the access control policy on the specified resource. 21 | - `GetIamPolicy`: Gets the access control policy for a resource. 22 | - `TestIamPermissions`: Returns permissions that a caller has on the specified resource. 23 | 24 | [protobuf]: https://developers.google.com/protocol-buffers/ 25 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/control.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/control.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use controlDescriptor instead') 17 | const Control$json = { 18 | '1': 'Control', 19 | '2': [ 20 | {'1': 'environment', '3': 1, '4': 1, '5': 9, '10': 'environment'}, 21 | { 22 | '1': 'method_policies', 23 | '3': 4, 24 | '4': 3, 25 | '5': 11, 26 | '6': '.google.api.MethodPolicy', 27 | '10': 'methodPolicies' 28 | }, 29 | ], 30 | }; 31 | 32 | /// Descriptor for `Control`. Decode as a `google.protobuf.DescriptorProto`. 33 | final $typed_data.Uint8List controlDescriptor = $convert.base64Decode( 34 | 'CgdDb250cm9sEiAKC2Vudmlyb25tZW50GAEgASgJUgtlbnZpcm9ubWVudBJBCg9tZXRob2RfcG' 35 | '9saWNpZXMYBCADKAsyGC5nb29nbGUuYXBpLk1ldGhvZFBvbGljeVIObWV0aG9kUG9saWNpZXM='); 36 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/cloudquotas/BUILD.bazel: -------------------------------------------------------------------------------- 1 | # This build file includes a target for the Ruby wrapper library for 2 | # google-cloud-cloud_quotas. 3 | 4 | # This is an API workspace, having public visibility by default makes perfect sense. 5 | package(default_visibility = ["//visibility:public"]) 6 | 7 | # Export yaml configs. 8 | exports_files(glob(["*.yaml"])) 9 | 10 | load( 11 | "@com_google_googleapis_imports//:imports.bzl", 12 | "ruby_cloud_gapic_library", 13 | "ruby_gapic_assembly_pkg", 14 | ) 15 | 16 | # Generates a Ruby wrapper client for cloudquotas. 17 | # Ruby wrapper clients are versionless, but are generated from source protos 18 | # for a particular service version, v1 in this case. 19 | ruby_cloud_gapic_library( 20 | name = "cloudquotas_ruby_wrapper", 21 | srcs = ["//google/api/cloudquotas/v1:cloudquotas_proto_with_info"], 22 | extra_protoc_parameters = [ 23 | "ruby-cloud-gem-name=google-cloud-cloud_quotas", 24 | "ruby-cloud-wrapper-of=v1:0.2", 25 | ], 26 | service_yaml = "//google/api/cloudquotas/v1:cloudquotas_v1.yaml", 27 | transport = "grpc+rest", 28 | ) 29 | 30 | # Open Source package. 31 | ruby_gapic_assembly_pkg( 32 | name = "google-cloud-cloudquotas-ruby", 33 | deps = [ 34 | ":cloudquotas_ruby_wrapper", 35 | ], 36 | ) -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/timeofday.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/timeofday.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use timeOfDayDescriptor instead') 17 | const TimeOfDay$json = { 18 | '1': 'TimeOfDay', 19 | '2': [ 20 | {'1': 'hours', '3': 1, '4': 1, '5': 5, '10': 'hours'}, 21 | {'1': 'minutes', '3': 2, '4': 1, '5': 5, '10': 'minutes'}, 22 | {'1': 'seconds', '3': 3, '4': 1, '5': 5, '10': 'seconds'}, 23 | {'1': 'nanos', '3': 4, '4': 1, '5': 5, '10': 'nanos'}, 24 | ], 25 | }; 26 | 27 | /// Descriptor for `TimeOfDay`. Decode as a `google.protobuf.DescriptorProto`. 28 | final $typed_data.Uint8List timeOfDayDescriptor = $convert.base64Decode( 29 | 'CglUaW1lT2ZEYXkSFAoFaG91cnMYASABKAVSBWhvdXJzEhgKB21pbnV0ZXMYAiABKAVSB21pbn' 30 | 'V0ZXMSGAoHc2Vjb25kcxgDIAEoBVIHc2Vjb25kcxIUCgVuYW5vcxgEIAEoBVIFbmFub3M='); 31 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/endpoint.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/endpoint.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use endpointDescriptor instead') 17 | const Endpoint$json = { 18 | '1': 'Endpoint', 19 | '2': [ 20 | {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, 21 | {'1': 'aliases', '3': 2, '4': 3, '5': 9, '10': 'aliases'}, 22 | {'1': 'target', '3': 101, '4': 1, '5': 9, '10': 'target'}, 23 | {'1': 'allow_cors', '3': 5, '4': 1, '5': 8, '10': 'allowCors'}, 24 | ], 25 | }; 26 | 27 | /// Descriptor for `Endpoint`. Decode as a `google.protobuf.DescriptorProto`. 28 | final $typed_data.Uint8List endpointDescriptor = $convert.base64Decode( 29 | 'CghFbmRwb2ludBISCgRuYW1lGAEgASgJUgRuYW1lEhgKB2FsaWFzZXMYAiADKAlSB2FsaWFzZX' 30 | 'MSFgoGdGFyZ2V0GGUgASgJUgZ0YXJnZXQSHQoKYWxsb3dfY29ycxgFIAEoCFIJYWxsb3dDb3Jz'); 31 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/type/fraction.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 | syntax = "proto3"; 16 | 17 | package google.type; 18 | 19 | option go_package = "google.golang.org/genproto/googleapis/type/fraction;fraction"; 20 | option java_multiple_files = true; 21 | option java_outer_classname = "FractionProto"; 22 | option java_package = "com.google.type"; 23 | option objc_class_prefix = "GTP"; 24 | 25 | // Represents a fraction in terms of a numerator divided by a denominator. 26 | message Fraction { 27 | // The numerator in the fraction, e.g. 2 in 2/3. 28 | int64 numerator = 1; 29 | 30 | // The value by which the numerator is divided, e.g. 3 in 2/3. Must be 31 | // positive. 32 | int64 denominator = 2; 33 | } 34 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/rpc/status.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/rpc/status.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use statusDescriptor instead') 17 | const Status$json = { 18 | '1': 'Status', 19 | '2': [ 20 | {'1': 'code', '3': 1, '4': 1, '5': 5, '10': 'code'}, 21 | {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'}, 22 | { 23 | '1': 'details', 24 | '3': 3, 25 | '4': 3, 26 | '5': 11, 27 | '6': '.google.protobuf.Any', 28 | '10': 'details' 29 | }, 30 | ], 31 | }; 32 | 33 | /// Descriptor for `Status`. Decode as a `google.protobuf.DescriptorProto`. 34 | final $typed_data.Uint8List statusDescriptor = $convert.base64Decode( 35 | 'CgZTdGF0dXMSEgoEY29kZRgBIAEoBVIEY29kZRIYCgdtZXNzYWdlGAIgASgJUgdtZXNzYWdlEi' 36 | '4KB2RldGFpbHMYAyADKAsyFC5nb29nbGUucHJvdG9idWYuQW55UgdkZXRhaWxz'); 37 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/expr.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/expr.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use exprDescriptor instead') 17 | const Expr$json = { 18 | '1': 'Expr', 19 | '2': [ 20 | {'1': 'expression', '3': 1, '4': 1, '5': 9, '10': 'expression'}, 21 | {'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'}, 22 | {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, 23 | {'1': 'location', '3': 4, '4': 1, '5': 9, '10': 'location'}, 24 | ], 25 | }; 26 | 27 | /// Descriptor for `Expr`. Decode as a `google.protobuf.DescriptorProto`. 28 | final $typed_data.Uint8List exprDescriptor = $convert.base64Decode( 29 | 'CgRFeHByEh4KCmV4cHJlc3Npb24YASABKAlSCmV4cHJlc3Npb24SFAoFdGl0bGUYAiABKAlSBX' 30 | 'RpdGxlEiAKC2Rlc2NyaXB0aW9uGAMgASgJUgtkZXNjcmlwdGlvbhIaCghsb2NhdGlvbhgEIAEo' 31 | 'CVIIbG9jYXRpb24='); 32 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_optimize_for.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | // Author: kenton@google.com (Kenton Varda) 9 | // Based on original Protocol Buffers design by 10 | // Sanjay Ghemawat, Jeff Dean, and others. 11 | // 12 | // A proto file which uses optimize_for = CODE_SIZE. 13 | 14 | syntax = "proto2"; 15 | 16 | package protobuf_unittest; 17 | 18 | import "google/protobuf/unittest.proto"; 19 | 20 | option optimize_for = CODE_SIZE; 21 | 22 | message TestOptimizedForSize { 23 | optional int32 i = 1; 24 | optional ForeignMessage msg = 19; 25 | 26 | extensions 1000 to max; 27 | 28 | extend TestOptimizedForSize { 29 | optional int32 test_extension = 1234; 30 | optional TestRequiredOptimizedForSize test_extension2 = 1235; 31 | } 32 | 33 | oneof foo { 34 | int32 integer_field = 2; 35 | string string_field = 3; 36 | } 37 | } 38 | 39 | message TestRequiredOptimizedForSize { 40 | required int32 x = 1; 41 | } 42 | 43 | message TestOptionalOptimizedForSize { 44 | optional TestRequiredOptimizedForSize o = 1; 45 | } 46 | -------------------------------------------------------------------------------- /lib/src/client_context.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | library appengine.client_context; 6 | 7 | import 'package:gcloud/db.dart'; 8 | import 'package:gcloud/storage.dart'; 9 | 10 | import 'appengine_context.dart'; 11 | import 'logging.dart'; 12 | 13 | abstract class ClientContext { 14 | /// Whether the application is currently running in the development 15 | /// environment. 16 | bool get isDevelopmentEnvironment; 17 | 18 | /// Whether the application is currently running in the production 19 | /// environment. 20 | bool get isProductionEnvironment; 21 | 22 | Services get services; 23 | 24 | AppEngineContext get applicationContext; 25 | 26 | /// The `TRACE_ID` value from the `X-Cloud-Trace-Context` request header. 27 | /// 28 | /// If `X-Cloud-Trace-Context` was not included in the request, the value will 29 | /// be `null`. 30 | /// 31 | /// See https://cloud.google.com/trace/docs/support for details. 32 | String? get traceId; 33 | } 34 | 35 | class Services { 36 | final DatastoreDB db; 37 | final Storage storage; 38 | final Logging logging; 39 | 40 | Services(this.db, this.storage, this.logging); 41 | } 42 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_mset_wire_format.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | // Author: kenton@google.com (Kenton Varda) 9 | // Based on original Protocol Buffers design by 10 | // Sanjay Ghemawat, Jeff Dean, and others. 11 | // 12 | // This file contains messages for testing message_set_wire_format. 13 | 14 | syntax = "proto2"; 15 | 16 | package proto2_wireformat_unittest; 17 | 18 | option cc_enable_arenas = true; 19 | option optimize_for = SPEED; 20 | option csharp_namespace = "Google.ProtocolBuffers.TestProtos"; 21 | 22 | // A message with message_set_wire_format. 23 | message TestMessageSet { 24 | option message_set_wire_format = true; 25 | 26 | extensions 4 to 529999999; 27 | 28 | extensions 530000000 to max 29 | [declaration = { 30 | number: 1952731290, 31 | full_name: ".protobuf_unittest_v1api.TestMessageSetExtension3.message_set_extension", 32 | type: ".protobuf_unittest_v1api.TestMessageSetExtension3" 33 | }]; 34 | } 35 | 36 | message TestMessageSetWireFormatContainer { 37 | optional TestMessageSet message_set = 1; 38 | } 39 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/struct.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/struct.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | import 'package:protobuf/protobuf.dart' as $pb; 15 | 16 | /// `NullValue` is a singleton enumeration to represent the null value for the 17 | /// `Value` type union. 18 | /// 19 | /// The JSON representation for `NullValue` is JSON `null`. 20 | class NullValue extends $pb.ProtobufEnum { 21 | static const NullValue NULL_VALUE = 22 | NullValue._(0, _omitEnumNames ? '' : 'NULL_VALUE'); 23 | 24 | static const $core.List values = [ 25 | NULL_VALUE, 26 | ]; 27 | 28 | static final $core.Map<$core.int, NullValue> _byValue = 29 | $pb.ProtobufEnum.initByValue(values); 30 | static NullValue? valueOf($core.int value) => _byValue[value]; 31 | 32 | const NullValue._($core.int v, $core.String n) : super(v, n); 33 | } 34 | 35 | const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); 36 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/appengine/legacy/audit_data.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 | syntax = "proto3"; 16 | 17 | package google.appengine.legacy; 18 | 19 | option go_package = "google.golang.org/genproto/googleapis/appengine/legacy;legacy"; 20 | option java_multiple_files = true; 21 | option java_outer_classname = "AuditDataProto"; 22 | option java_package = "com.google.appengine.legacy"; 23 | 24 | // Admin Console legacy audit log. 25 | message AuditData { 26 | // Text description of the admin event. 27 | // This is the "Event" column in Admin Console's Admin Logs. 28 | string event_message = 1; 29 | 30 | // Arbitrary event data. 31 | // This is the "Result" column in Admin Console's Admin Logs. 32 | map event_data = 2; 33 | } 34 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/field_behavior.pb.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/field_behavior.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | import 'package:protobuf/protobuf.dart' as $pb; 15 | 16 | import 'field_behavior.pbenum.dart'; 17 | 18 | export 'field_behavior.pbenum.dart'; 19 | 20 | class Field_behavior { 21 | static final fieldBehavior = $pb.Extension.repeated( 22 | _omitMessageNames ? '' : 'google.protobuf.FieldOptions', 23 | _omitFieldNames ? '' : 'fieldBehavior', 24 | 1052, 25 | $pb.PbFieldType.PE, 26 | check: $pb.getCheckFunction($pb.PbFieldType.PE), 27 | valueOf: FieldBehavior.valueOf, 28 | enumValues: FieldBehavior.values); 29 | static void registerAllExtensions($pb.ExtensionRegistry registry) { 30 | registry.add(fieldBehavior); 31 | } 32 | } 33 | 34 | const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); 35 | const _omitMessageNames = 36 | $core.bool.fromEnvironment('protobuf.omit_message_names'); 37 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/iam/admin/v1/iam.yaml: -------------------------------------------------------------------------------- 1 | type: google.api.Service 2 | config_version: 3 3 | name: iam.googleapis.com 4 | title: Identity and Access Management (IAM) API 5 | 6 | apis: 7 | - name: google.iam.admin.v1.IAM 8 | 9 | types: 10 | - name: google.iam.admin.v1.AuditData 11 | 12 | documentation: 13 | summary: |- 14 | Manages identity and access control for Google Cloud Platform resources, 15 | including the creation of service accounts, which you can use to 16 | authenticate to Google and make API calls. 17 | 18 | http: 19 | rules: 20 | - selector: google.longrunning.Operations.GetOperation 21 | get: '/v1beta/{name=projects/*/locations/*/workloadIdentityPools/*/operations/*}' 22 | additional_bindings: 23 | - get: '/v1beta/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*/operations/*}' 24 | - get: '/v1/{name=projects/*/locations/*/workloadIdentityPools/*/operations/*}' 25 | - get: '/v1/{name=projects/*/locations/*/workloadIdentityPools/*/providers/*/operations/*}' 26 | 27 | authentication: 28 | rules: 29 | - selector: 'google.iam.admin.v1.IAM.*' 30 | oauth: 31 | canonical_scopes: |- 32 | https://www.googleapis.com/auth/cloud-platform 33 | - selector: google.longrunning.Operations.GetOperation 34 | oauth: 35 | canonical_scopes: |- 36 | https://www.googleapis.com/auth/cloud-platform 37 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/datastore/v1/datastore_v1.yaml: -------------------------------------------------------------------------------- 1 | type: google.api.Service 2 | config_version: 3 3 | name: datastore.googleapis.com 4 | title: Cloud Datastore API 5 | 6 | apis: 7 | - name: google.datastore.v1.Datastore 8 | - name: google.longrunning.Operations 9 | 10 | documentation: 11 | summary: |- 12 | Accesses the schemaless NoSQL database to provide fully managed, robust, 13 | scalable storage for your application. 14 | 15 | http: 16 | rules: 17 | - selector: google.longrunning.Operations.CancelOperation 18 | post: '/v1/{name=projects/*/operations/*}:cancel' 19 | - selector: google.longrunning.Operations.DeleteOperation 20 | delete: '/v1/{name=projects/*/operations/*}' 21 | - selector: google.longrunning.Operations.GetOperation 22 | get: '/v1/{name=projects/*/operations/*}' 23 | - selector: google.longrunning.Operations.ListOperations 24 | get: '/v1/{name=projects/*}/operations' 25 | 26 | authentication: 27 | rules: 28 | - selector: 'google.datastore.v1.Datastore.*' 29 | oauth: 30 | canonical_scopes: |- 31 | https://www.googleapis.com/auth/cloud-platform, 32 | https://www.googleapis.com/auth/datastore 33 | - selector: 'google.longrunning.Operations.*' 34 | oauth: 35 | canonical_scopes: |- 36 | https://www.googleapis.com/auth/cloud-platform, 37 | https://www.googleapis.com/auth/datastore 38 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/httpbody.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/httpbody.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use httpBodyDescriptor instead') 17 | const HttpBody$json = { 18 | '1': 'HttpBody', 19 | '2': [ 20 | {'1': 'content_type', '3': 1, '4': 1, '5': 9, '10': 'contentType'}, 21 | {'1': 'data', '3': 2, '4': 1, '5': 12, '10': 'data'}, 22 | { 23 | '1': 'extensions', 24 | '3': 3, 25 | '4': 3, 26 | '5': 11, 27 | '6': '.google.protobuf.Any', 28 | '10': 'extensions' 29 | }, 30 | ], 31 | }; 32 | 33 | /// Descriptor for `HttpBody`. Decode as a `google.protobuf.DescriptorProto`. 34 | final $typed_data.Uint8List httpBodyDescriptor = $convert.base64Decode( 35 | 'CghIdHRwQm9keRIhCgxjb250ZW50X3R5cGUYASABKAlSC2NvbnRlbnRUeXBlEhIKBGRhdGEYAi' 36 | 'ABKAxSBGRhdGESNAoKZXh0ZW5zaW9ucxgDIAMoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnlSCmV4' 37 | 'dGVuc2lvbnM='); 38 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/dayofweek.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/dayofweek.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use dayOfWeekDescriptor instead') 17 | const DayOfWeek$json = { 18 | '1': 'DayOfWeek', 19 | '2': [ 20 | {'1': 'DAY_OF_WEEK_UNSPECIFIED', '2': 0}, 21 | {'1': 'MONDAY', '2': 1}, 22 | {'1': 'TUESDAY', '2': 2}, 23 | {'1': 'WEDNESDAY', '2': 3}, 24 | {'1': 'THURSDAY', '2': 4}, 25 | {'1': 'FRIDAY', '2': 5}, 26 | {'1': 'SATURDAY', '2': 6}, 27 | {'1': 'SUNDAY', '2': 7}, 28 | ], 29 | }; 30 | 31 | /// Descriptor for `DayOfWeek`. Decode as a `google.protobuf.EnumDescriptorProto`. 32 | final $typed_data.Uint8List dayOfWeekDescriptor = $convert.base64Decode( 33 | 'CglEYXlPZldlZWsSGwoXREFZX09GX1dFRUtfVU5TUEVDSUZJRUQQABIKCgZNT05EQVkQARILCg' 34 | 'dUVUVTREFZEAISDQoJV0VETkVTREFZEAMSDAoIVEhVUlNEQVkQBBIKCgZGUklEQVkQBRIMCghT' 35 | 'QVRVUkRBWRAGEgoKBlNVTkRBWRAH'); 36 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/logging/v2/logging_metrics.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/logging/v2/logging_metrics.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | import 'package:protobuf/protobuf.dart' as $pb; 15 | 16 | /// Logging API version. 17 | class LogMetric_ApiVersion extends $pb.ProtobufEnum { 18 | static const LogMetric_ApiVersion V2 = 19 | LogMetric_ApiVersion._(0, _omitEnumNames ? '' : 'V2'); 20 | static const LogMetric_ApiVersion V1 = 21 | LogMetric_ApiVersion._(1, _omitEnumNames ? '' : 'V1'); 22 | 23 | static const $core.List values = [ 24 | V2, 25 | V1, 26 | ]; 27 | 28 | static final $core.Map<$core.int, LogMetric_ApiVersion> _byValue = 29 | $pb.ProtobufEnum.initByValue(values); 30 | static LogMetric_ApiVersion? valueOf($core.int value) => _byValue[value]; 31 | 32 | const LogMetric_ApiVersion._($core.int v, $core.String n) : super(v, n); 33 | } 34 | 35 | const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); 36 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/datastore/admin/v1/datastore_admin_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [ 3 | { 4 | "name": [ 5 | { 6 | "service": "google.datastore.admin.v1.DatastoreAdmin", 7 | "method": "ExportEntities" 8 | }, 9 | { 10 | "service": "google.datastore.admin.v1.DatastoreAdmin", 11 | "method": "ImportEntities" 12 | }, 13 | { 14 | "service": "google.datastore.admin.v1.DatastoreAdmin", 15 | "method": "CreateIndex" 16 | }, 17 | { 18 | "service": "google.datastore.admin.v1.DatastoreAdmin", 19 | "method": "DeleteIndex" 20 | } 21 | ], 22 | "timeout": "60s" 23 | }, 24 | { 25 | "name": [ 26 | { 27 | "service": "google.datastore.admin.v1.DatastoreAdmin", 28 | "method": "GetIndex" 29 | }, 30 | { 31 | "service": "google.datastore.admin.v1.DatastoreAdmin", 32 | "method": "ListIndexes" 33 | } 34 | ], 35 | "timeout": "60s", 36 | "retryPolicy": { 37 | "maxAttempts": 5, 38 | "initialBackoff": "0.100s", 39 | "maxBackoff": "60s", 40 | "backoffMultiplier": 1.3, 41 | "retryableStatusCodes": [ 42 | "UNAVAILABLE", 43 | "DEADLINE_EXCEEDED" 44 | ] 45 | } 46 | } 47 | ] 48 | } 49 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/type/type.yaml: -------------------------------------------------------------------------------- 1 | type: google.api.Service 2 | config_version: 3 3 | name: type.googleapis.com 4 | title: Common Types 5 | 6 | types: 7 | - name: google.type.Color 8 | - name: google.type.Date 9 | - name: google.type.DateTime 10 | - name: google.type.Decimal 11 | - name: google.type.Expr 12 | - name: google.type.Fraction 13 | - name: google.type.Interval 14 | - name: google.type.LatLng 15 | - name: google.type.LocalizedText 16 | - name: google.type.Money 17 | - name: google.type.PhoneNumber 18 | - name: google.type.PostalAddress 19 | - name: google.type.Quaternion 20 | - name: google.type.TimeOfDay 21 | 22 | enums: 23 | - name: google.type.CalendarPeriod 24 | - name: google.type.DayOfWeek 25 | - name: google.type.Month 26 | 27 | documentation: 28 | summary: Defines common types for Google APIs. 29 | overview: |- 30 | # Google Common Types 31 | 32 | This package contains definitions of common types for Google APIs. 33 | All types defined in this package are suitable for different APIs to 34 | exchange data, and will never break binary compatibility. They should 35 | have design quality comparable to major programming languages like 36 | Java and C#. 37 | 38 | NOTE: Some common types are defined in the package `google.protobuf` 39 | as they are directly supported by Protocol Buffers compiler and 40 | runtime. Those types are called Well-Known Types. 41 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/color.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/color.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use colorDescriptor instead') 17 | const Color$json = { 18 | '1': 'Color', 19 | '2': [ 20 | {'1': 'red', '3': 1, '4': 1, '5': 2, '10': 'red'}, 21 | {'1': 'green', '3': 2, '4': 1, '5': 2, '10': 'green'}, 22 | {'1': 'blue', '3': 3, '4': 1, '5': 2, '10': 'blue'}, 23 | { 24 | '1': 'alpha', 25 | '3': 4, 26 | '4': 1, 27 | '5': 11, 28 | '6': '.google.protobuf.FloatValue', 29 | '10': 'alpha' 30 | }, 31 | ], 32 | }; 33 | 34 | /// Descriptor for `Color`. Decode as a `google.protobuf.DescriptorProto`. 35 | final $typed_data.Uint8List colorDescriptor = $convert.base64Decode( 36 | 'CgVDb2xvchIQCgNyZWQYASABKAJSA3JlZBIUCgVncmVlbhgCIAEoAlIFZ3JlZW4SEgoEYmx1ZR' 37 | 'gDIAEoAlIEYmx1ZRIxCgVhbHBoYRgEIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GbG9hdFZhbHVl' 38 | 'UgVhbHBoYQ=='); 39 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/calendar_period.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/calendar_period.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use calendarPeriodDescriptor instead') 17 | const CalendarPeriod$json = { 18 | '1': 'CalendarPeriod', 19 | '2': [ 20 | {'1': 'CALENDAR_PERIOD_UNSPECIFIED', '2': 0}, 21 | {'1': 'DAY', '2': 1}, 22 | {'1': 'WEEK', '2': 2}, 23 | {'1': 'FORTNIGHT', '2': 3}, 24 | {'1': 'MONTH', '2': 4}, 25 | {'1': 'QUARTER', '2': 5}, 26 | {'1': 'HALF', '2': 6}, 27 | {'1': 'YEAR', '2': 7}, 28 | ], 29 | }; 30 | 31 | /// Descriptor for `CalendarPeriod`. Decode as a `google.protobuf.EnumDescriptorProto`. 32 | final $typed_data.Uint8List calendarPeriodDescriptor = $convert.base64Decode( 33 | 'Cg5DYWxlbmRhclBlcmlvZBIfChtDQUxFTkRBUl9QRVJJT0RfVU5TUEVDSUZJRUQQABIHCgNEQV' 34 | 'kQARIICgRXRUVLEAISDQoJRk9SVE5JR0hUEAMSCQoFTU9OVEgQBBILCgdRVUFSVEVSEAUSCAoE' 35 | 'SEFMRhAGEggKBFlFQVIQBw=='); 36 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/iam/v1/logging/audit_data.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 | syntax = "proto3"; 16 | 17 | package google.iam.v1.logging; 18 | 19 | import "google/iam/v1/policy.proto"; 20 | 21 | option csharp_namespace = "Google.Cloud.Iam.V1.Logging"; 22 | option go_package = "cloud.google.com/go/iam/apiv1/logging/loggingpb;loggingpb"; 23 | option java_multiple_files = true; 24 | option java_outer_classname = "AuditDataProto"; 25 | option java_package = "com.google.iam.v1.logging"; 26 | 27 | // Audit log information specific to Cloud IAM. This message is serialized 28 | // as an `Any` type in the `ServiceData` message of an 29 | // `AuditLog` message. 30 | message AuditData { 31 | // Policy delta between the original policy and the newly set policy. 32 | google.iam.v1.PolicyDelta policy_delta = 2; 33 | } 34 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/launch_stage.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/launch_stage.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use launchStageDescriptor instead') 17 | const LaunchStage$json = { 18 | '1': 'LaunchStage', 19 | '2': [ 20 | {'1': 'LAUNCH_STAGE_UNSPECIFIED', '2': 0}, 21 | {'1': 'UNIMPLEMENTED', '2': 6}, 22 | {'1': 'PRELAUNCH', '2': 7}, 23 | {'1': 'EARLY_ACCESS', '2': 1}, 24 | {'1': 'ALPHA', '2': 2}, 25 | {'1': 'BETA', '2': 3}, 26 | {'1': 'GA', '2': 4}, 27 | {'1': 'DEPRECATED', '2': 5}, 28 | ], 29 | }; 30 | 31 | /// Descriptor for `LaunchStage`. Decode as a `google.protobuf.EnumDescriptorProto`. 32 | final $typed_data.Uint8List launchStageDescriptor = $convert.base64Decode( 33 | 'CgtMYXVuY2hTdGFnZRIcChhMQVVOQ0hfU1RBR0VfVU5TUEVDSUZJRUQQABIRCg1VTklNUExFTU' 34 | 'VOVEVEEAYSDQoJUFJFTEFVTkNIEAcSEAoMRUFSTFlfQUNDRVNTEAESCQoFQUxQSEEQAhIICgRC' 35 | 'RVRBEAMSBgoCR0EQBBIOCgpERVBSRUNBVEVEEAU='); 36 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/serviceusage/v1/resources.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/serviceusage/v1/resources.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | import 'package:protobuf/protobuf.dart' as $pb; 15 | 16 | /// Whether or not a service has been enabled for use by a consumer. 17 | class State extends $pb.ProtobufEnum { 18 | static const State STATE_UNSPECIFIED = 19 | State._(0, _omitEnumNames ? '' : 'STATE_UNSPECIFIED'); 20 | static const State DISABLED = State._(1, _omitEnumNames ? '' : 'DISABLED'); 21 | static const State ENABLED = State._(2, _omitEnumNames ? '' : 'ENABLED'); 22 | 23 | static const $core.List values = [ 24 | STATE_UNSPECIFIED, 25 | DISABLED, 26 | ENABLED, 27 | ]; 28 | 29 | static final $core.Map<$core.int, State> _byValue = 30 | $pb.ProtobufEnum.initByValue(values); 31 | static State? valueOf($core.int value) => _byValue[value]; 32 | 33 | const State._($core.int v, $core.String n) : super(v, n); 34 | } 35 | 36 | const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); 37 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/interval.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/interval.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use intervalDescriptor instead') 17 | const Interval$json = { 18 | '1': 'Interval', 19 | '2': [ 20 | { 21 | '1': 'start_time', 22 | '3': 1, 23 | '4': 1, 24 | '5': 11, 25 | '6': '.google.protobuf.Timestamp', 26 | '10': 'startTime' 27 | }, 28 | { 29 | '1': 'end_time', 30 | '3': 2, 31 | '4': 1, 32 | '5': 11, 33 | '6': '.google.protobuf.Timestamp', 34 | '10': 'endTime' 35 | }, 36 | ], 37 | }; 38 | 39 | /// Descriptor for `Interval`. Decode as a `google.protobuf.DescriptorProto`. 40 | final $typed_data.Uint8List intervalDescriptor = $convert.base64Decode( 41 | 'CghJbnRlcnZhbBI5CgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' 42 | 'FtcFIJc3RhcnRUaW1lEjUKCGVuZF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVz' 43 | 'dGFtcFIHZW5kVGltZQ=='); 44 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/logging/type/log_severity.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/logging/type/log_severity.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use logSeverityDescriptor instead') 17 | const LogSeverity$json = { 18 | '1': 'LogSeverity', 19 | '2': [ 20 | {'1': 'DEFAULT', '2': 0}, 21 | {'1': 'DEBUG', '2': 100}, 22 | {'1': 'INFO', '2': 200}, 23 | {'1': 'NOTICE', '2': 300}, 24 | {'1': 'WARNING', '2': 400}, 25 | {'1': 'ERROR', '2': 500}, 26 | {'1': 'CRITICAL', '2': 600}, 27 | {'1': 'ALERT', '2': 700}, 28 | {'1': 'EMERGENCY', '2': 800}, 29 | ], 30 | }; 31 | 32 | /// Descriptor for `LogSeverity`. Decode as a `google.protobuf.EnumDescriptorProto`. 33 | final $typed_data.Uint8List logSeverityDescriptor = $convert.base64Decode( 34 | 'CgtMb2dTZXZlcml0eRILCgdERUZBVUxUEAASCQoFREVCVUcQZBIJCgRJTkZPEMgBEgsKBk5PVE' 35 | 'lDRRCsAhIMCgdXQVJOSU5HEJADEgoKBUVSUk9SEPQDEg0KCENSSVRJQ0FMENgEEgoKBUFMRVJU' 36 | 'ELwFEg4KCUVNRVJHRU5DWRCgBg=='); 37 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/type/dayofweek.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 | syntax = "proto3"; 16 | 17 | package google.type; 18 | 19 | option go_package = "google.golang.org/genproto/googleapis/type/dayofweek;dayofweek"; 20 | option java_multiple_files = true; 21 | option java_outer_classname = "DayOfWeekProto"; 22 | option java_package = "com.google.type"; 23 | option objc_class_prefix = "GTP"; 24 | 25 | // Represents a day of the week. 26 | enum DayOfWeek { 27 | // The day of the week is unspecified. 28 | DAY_OF_WEEK_UNSPECIFIED = 0; 29 | 30 | // Monday 31 | MONDAY = 1; 32 | 33 | // Tuesday 34 | TUESDAY = 2; 35 | 36 | // Wednesday 37 | WEDNESDAY = 3; 38 | 39 | // Thursday 40 | THURSDAY = 4; 41 | 42 | // Friday 43 | FRIDAY = 5; 44 | 45 | // Saturday 46 | SATURDAY = 6; 47 | 48 | // Sunday 49 | SUNDAY = 7; 50 | } 51 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/servicecontrol/v1/operation.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/servicecontrol/v1/operation.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | import 'package:protobuf/protobuf.dart' as $pb; 15 | 16 | /// Defines the importance of the data contained in the operation. 17 | class Operation_Importance extends $pb.ProtobufEnum { 18 | static const Operation_Importance LOW = 19 | Operation_Importance._(0, _omitEnumNames ? '' : 'LOW'); 20 | static const Operation_Importance HIGH = 21 | Operation_Importance._(1, _omitEnumNames ? '' : 'HIGH'); 22 | 23 | static const $core.List values = [ 24 | LOW, 25 | HIGH, 26 | ]; 27 | 28 | static final $core.Map<$core.int, Operation_Importance> _byValue = 29 | $pb.ProtobufEnum.initByValue(values); 30 | static Operation_Importance? valueOf($core.int value) => _byValue[value]; 31 | 32 | const Operation_Importance._($core.int v, $core.String n) : super(v, n); 33 | } 34 | 35 | const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); 36 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/iam/BUILD.bazel: -------------------------------------------------------------------------------- 1 | # This build file includes a target for the Ruby wrapper library for 2 | # google-iam. 3 | 4 | # This is an API workspace, having public visibility by default makes perfect sense. 5 | package(default_visibility = ["//visibility:public"]) 6 | 7 | # Export yaml configs. 8 | exports_files(glob(["*.yaml"])) 9 | 10 | load( 11 | "@com_google_googleapis_imports//:imports.bzl", 12 | "ruby_cloud_gapic_library", 13 | "ruby_gapic_assembly_pkg", 14 | ) 15 | 16 | # Generates a Ruby wrapper client for iam. 17 | # Ruby wrapper clients are versionless, but are generated from source protos 18 | # for a particular service version, v2 in this case. 19 | ruby_cloud_gapic_library( 20 | name = "iam_ruby_wrapper", 21 | srcs = ["//google/iam/v2:iam_proto_with_info"], 22 | extra_protoc_parameters = [ 23 | "ruby-cloud-gem-name=google-iam", 24 | "ruby-cloud-wrapper-of=v2:0.5", 25 | "ruby-cloud-product-url=https://cloud.google.com/iam", 26 | "ruby-cloud-api-id=iam.googleapis.com", 27 | "ruby-cloud-api-shortname=iam", 28 | ], 29 | ruby_cloud_description = "Manages identity and access control policies for Google Cloud Platform resources.", 30 | ruby_cloud_title = "IAM", 31 | transport = "grpc+rest", 32 | ) 33 | 34 | # Open Source package. 35 | ruby_gapic_assembly_pkg( 36 | name = "google-iam-ruby", 37 | deps = [ 38 | ":iam_ruby_wrapper", 39 | ], 40 | ) 41 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/type/localized_text.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 | syntax = "proto3"; 16 | 17 | package google.type; 18 | 19 | option cc_enable_arenas = true; 20 | option go_package = "google.golang.org/genproto/googleapis/type/localized_text;localized_text"; 21 | option java_multiple_files = true; 22 | option java_outer_classname = "LocalizedTextProto"; 23 | option java_package = "com.google.type"; 24 | option objc_class_prefix = "GTP"; 25 | 26 | // Localized variant of a text in a particular language. 27 | message LocalizedText { 28 | // Localized string in the language corresponding to `language_code' below. 29 | string text = 1; 30 | 31 | // The text's BCP-47 language code, such as "en-US" or "sr-Latn". 32 | // 33 | // For more information, see 34 | // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. 35 | string language_code = 2; 36 | } 37 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/datastore/v1/datastore_grpc_service_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "methodConfig": [ 3 | { 4 | "name": [ 5 | { 6 | "service": "google.datastore.v1.Datastore", 7 | "method": "Lookup" 8 | }, 9 | { 10 | "service": "google.datastore.v1.Datastore", 11 | "method": "RunQuery" 12 | }, 13 | { 14 | "service": "google.datastore.v1.Datastore", 15 | "method": "RunAggregationQuery" 16 | }, 17 | { 18 | "service": "google.datastore.v1.Datastore", 19 | "method": "ReserveIds" 20 | } 21 | ], 22 | "timeout": "60s", 23 | "retryPolicy": { 24 | "initialBackoff": "0.100s", 25 | "maxBackoff": "60s", 26 | "backoffMultiplier": 1.3, 27 | "retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"] 28 | } 29 | }, 30 | { 31 | "name": [ 32 | { 33 | "service": "google.datastore.v1.Datastore", 34 | "method": "BeginTransaction" 35 | }, 36 | { 37 | "service": "google.datastore.v1.Datastore", 38 | "method": "Commit" 39 | }, 40 | { 41 | "service": "google.datastore.v1.Datastore", 42 | "method": "Rollback" 43 | }, 44 | { 45 | "service": "google.datastore.v1.Datastore", 46 | "method": "AllocateIds" 47 | } 48 | ], 49 | "timeout": "60s" 50 | } 51 | ] 52 | } 53 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/README.md: -------------------------------------------------------------------------------- 1 | ## API Protos 2 | 3 | This folder contains the schema of the configuration model for Google's 4 | internal API serving platform, which handles routing, quotas, monitoring, 5 | logging, and the like. 6 | 7 | Google refers to this configuration colloquially as the "service config", 8 | and the `service.proto` file in this directory is the entry point for 9 | understanding these. 10 | 11 | ## Using these protos 12 | 13 | To be honest, we probably open sourced way too much of this (basically by 14 | accident). There are a couple files in here you are most likely to be 15 | interested in: `http.proto`, `documentation.proto`, `auth.proto`, and 16 | `annotations.proto`. 17 | 18 | ### HTTP and REST 19 | 20 | The `http.proto` file contains the `Http` message (which then is wrapped 21 | in an annotation in `annotations.proto`), which provides a specification 22 | for REST endpoints and verbs (`GET`, `POST`, etc.) on RPC methods. 23 | We recommend use of this annotation for describing the relationship 24 | between RPCs and REST endpoints. 25 | 26 | ### Documentation 27 | 28 | The `documentation.proto` file contains a `Documentation` message which 29 | provides a mechanism to fully describe an API, allowing a tool to build 30 | structured documentation artifacts. 31 | 32 | ### Authentication 33 | 34 | The `auth.proto` file contains descriptions of both authentication rules 35 | and authentication providers, allowing you to describe what your services 36 | expect and accept from clients. 37 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_preserve_unknown_enum.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | edition = "2023"; 9 | 10 | package proto3_preserve_unknown_enum_unittest; 11 | 12 | // Treat all fields as implicit present by default (proto3 behavior). 13 | option features.field_presence = IMPLICIT; 14 | option objc_class_prefix = "UnknownEnums"; 15 | option csharp_namespace = "Google.Protobuf.TestProtos"; 16 | 17 | enum MyEnum { 18 | FOO = 0; 19 | BAR = 1; 20 | BAZ = 2; 21 | } 22 | 23 | enum MyEnumPlusExtra { 24 | E_FOO = 0; 25 | E_BAR = 1; 26 | E_BAZ = 2; 27 | E_EXTRA = 3; 28 | } 29 | 30 | message MyMessage { 31 | MyEnum e = 1; 32 | repeated MyEnum repeated_e = 2; 33 | repeated MyEnum repeated_packed_e = 3; 34 | repeated MyEnumPlusExtra repeated_packed_unexpected_e = 4; // not packed 35 | oneof o { 36 | MyEnum oneof_e_1 = 5; 37 | MyEnum oneof_e_2 = 6; 38 | } 39 | } 40 | 41 | message MyMessagePlusExtra { 42 | MyEnumPlusExtra e = 1; 43 | repeated MyEnumPlusExtra repeated_e = 2; 44 | repeated MyEnumPlusExtra repeated_packed_e = 3; 45 | repeated MyEnumPlusExtra repeated_packed_unexpected_e = 4; 46 | oneof o { 47 | MyEnumPlusExtra oneof_e_1 = 5; 48 | MyEnumPlusExtra oneof_e_2 = 6; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /lib/src/errors.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | library appengine.api.errors; 6 | 7 | import 'dart:io'; 8 | 9 | class AppEngineError implements Exception { 10 | final String message; 11 | 12 | const AppEngineError(this.message); 13 | 14 | @override 15 | String toString() => 'AppEngineException: $message'; 16 | } 17 | 18 | class NetworkError extends AppEngineError implements IOException { 19 | NetworkError(String message) : super(message); 20 | 21 | @override 22 | String toString() => 'NetworkError: $message'; 23 | } 24 | 25 | class ProtocolError extends AppEngineError implements IOException { 26 | static const ProtocolError INVALID_RESPONSE = 27 | ProtocolError('Invalid response'); 28 | 29 | const ProtocolError(String message) : super(message); 30 | 31 | @override 32 | String toString() => 'ProtocolError: $message'; 33 | } 34 | 35 | class ServiceError extends AppEngineError { 36 | final String serviceName; 37 | 38 | ServiceError(String message, {this.serviceName = 'ServiceError'}) 39 | : super(message); 40 | 41 | @override 42 | String toString() => '$serviceName: $message'; 43 | } 44 | 45 | class ApplicationError extends AppEngineError { 46 | ApplicationError(String message) : super(message); 47 | 48 | @override 49 | String toString() => 'ApplicationError: $message'; 50 | } 51 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/log.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/log.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use logDescriptorDescriptor instead') 17 | const LogDescriptor$json = { 18 | '1': 'LogDescriptor', 19 | '2': [ 20 | {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, 21 | { 22 | '1': 'labels', 23 | '3': 2, 24 | '4': 3, 25 | '5': 11, 26 | '6': '.google.api.LabelDescriptor', 27 | '10': 'labels' 28 | }, 29 | {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, 30 | {'1': 'display_name', '3': 4, '4': 1, '5': 9, '10': 'displayName'}, 31 | ], 32 | }; 33 | 34 | /// Descriptor for `LogDescriptor`. Decode as a `google.protobuf.DescriptorProto`. 35 | final $typed_data.Uint8List logDescriptorDescriptor = $convert.base64Decode( 36 | 'Cg1Mb2dEZXNjcmlwdG9yEhIKBG5hbWUYASABKAlSBG5hbWUSMwoGbGFiZWxzGAIgAygLMhsuZ2' 37 | '9vZ2xlLmFwaS5MYWJlbERlc2NyaXB0b3JSBmxhYmVscxIgCgtkZXNjcmlwdGlvbhgDIAEoCVIL' 38 | 'ZGVzY3JpcHRpb24SIQoMZGlzcGxheV9uYW1lGAQgASgJUgtkaXNwbGF5TmFtZQ=='); 39 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/field_behavior.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/field_behavior.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use fieldBehaviorDescriptor instead') 17 | const FieldBehavior$json = { 18 | '1': 'FieldBehavior', 19 | '2': [ 20 | {'1': 'FIELD_BEHAVIOR_UNSPECIFIED', '2': 0}, 21 | {'1': 'OPTIONAL', '2': 1}, 22 | {'1': 'REQUIRED', '2': 2}, 23 | {'1': 'OUTPUT_ONLY', '2': 3}, 24 | {'1': 'INPUT_ONLY', '2': 4}, 25 | {'1': 'IMMUTABLE', '2': 5}, 26 | {'1': 'UNORDERED_LIST', '2': 6}, 27 | {'1': 'NON_EMPTY_DEFAULT', '2': 7}, 28 | {'1': 'IDENTIFIER', '2': 8}, 29 | ], 30 | }; 31 | 32 | /// Descriptor for `FieldBehavior`. Decode as a `google.protobuf.EnumDescriptorProto`. 33 | final $typed_data.Uint8List fieldBehaviorDescriptor = $convert.base64Decode( 34 | 'Cg1GaWVsZEJlaGF2aW9yEh4KGkZJRUxEX0JFSEFWSU9SX1VOU1BFQ0lGSUVEEAASDAoIT1BUSU' 35 | '9OQUwQARIMCghSRVFVSVJFRBACEg8KC09VVFBVVF9PTkxZEAMSDgoKSU5QVVRfT05MWRAEEg0K' 36 | 'CUlNTVVUQUJMRRAFEhIKDlVOT1JERVJFRF9MSVNUEAYSFQoRTk9OX0VNUFRZX0RFRkFVTFQQBx' 37 | 'IOCgpJREVOVElGSUVSEAg='); 38 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/servicemanagement/v1/servicemanager.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/servicemanagement/v1/servicemanager.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | import 'package:protobuf/protobuf.dart' as $pb; 15 | 16 | class GetServiceConfigRequest_ConfigView extends $pb.ProtobufEnum { 17 | static const GetServiceConfigRequest_ConfigView BASIC = 18 | GetServiceConfigRequest_ConfigView._(0, _omitEnumNames ? '' : 'BASIC'); 19 | static const GetServiceConfigRequest_ConfigView FULL = 20 | GetServiceConfigRequest_ConfigView._(1, _omitEnumNames ? '' : 'FULL'); 21 | 22 | static const $core.List values = 23 | [ 24 | BASIC, 25 | FULL, 26 | ]; 27 | 28 | static final $core.Map<$core.int, GetServiceConfigRequest_ConfigView> 29 | _byValue = $pb.ProtobufEnum.initByValue(values); 30 | static GetServiceConfigRequest_ConfigView? valueOf($core.int value) => 31 | _byValue[value]; 32 | 33 | const GetServiceConfigRequest_ConfigView._($core.int v, $core.String n) 34 | : super(v, n); 35 | } 36 | 37 | const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); 38 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014, the Dart project authors. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of Google LLC nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1/firewall.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1/firewall.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | import 'package:protobuf/protobuf.dart' as $pb; 15 | 16 | /// Available actions to take on matching requests. 17 | class FirewallRule_Action extends $pb.ProtobufEnum { 18 | static const FirewallRule_Action UNSPECIFIED_ACTION = 19 | FirewallRule_Action._(0, _omitEnumNames ? '' : 'UNSPECIFIED_ACTION'); 20 | static const FirewallRule_Action ALLOW = 21 | FirewallRule_Action._(1, _omitEnumNames ? '' : 'ALLOW'); 22 | static const FirewallRule_Action DENY = 23 | FirewallRule_Action._(2, _omitEnumNames ? '' : 'DENY'); 24 | 25 | static const $core.List values = [ 26 | UNSPECIFIED_ACTION, 27 | ALLOW, 28 | DENY, 29 | ]; 30 | 31 | static final $core.Map<$core.int, FirewallRule_Action> _byValue = 32 | $pb.ProtobufEnum.initByValue(values); 33 | static FirewallRule_Action? valueOf($core.int value) => _byValue[value]; 34 | 35 | const FirewallRule_Action._($core.int v, $core.String n) : super(v, n); 36 | } 37 | 38 | const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); 39 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/appengine/v1beta/firewall.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/appengine/v1beta/firewall.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | import 'package:protobuf/protobuf.dart' as $pb; 15 | 16 | /// Available actions to take on matching requests. 17 | class FirewallRule_Action extends $pb.ProtobufEnum { 18 | static const FirewallRule_Action UNSPECIFIED_ACTION = 19 | FirewallRule_Action._(0, _omitEnumNames ? '' : 'UNSPECIFIED_ACTION'); 20 | static const FirewallRule_Action ALLOW = 21 | FirewallRule_Action._(1, _omitEnumNames ? '' : 'ALLOW'); 22 | static const FirewallRule_Action DENY = 23 | FirewallRule_Action._(2, _omitEnumNames ? '' : 'DENY'); 24 | 25 | static const $core.List values = [ 26 | UNSPECIFIED_ACTION, 27 | ALLOW, 28 | DENY, 29 | ]; 30 | 31 | static final $core.Map<$core.int, FirewallRule_Action> _byValue = 32 | $pb.ProtobufEnum.initByValue(values); 33 | static FirewallRule_Action? valueOf($core.int value) => _byValue[value]; 34 | 35 | const FirewallRule_Action._($core.int v, $core.String n) : super(v, n); 36 | } 37 | 38 | const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); 39 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/type/month.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/type/month.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use monthDescriptor instead') 17 | const Month$json = { 18 | '1': 'Month', 19 | '2': [ 20 | {'1': 'MONTH_UNSPECIFIED', '2': 0}, 21 | {'1': 'JANUARY', '2': 1}, 22 | {'1': 'FEBRUARY', '2': 2}, 23 | {'1': 'MARCH', '2': 3}, 24 | {'1': 'APRIL', '2': 4}, 25 | {'1': 'MAY', '2': 5}, 26 | {'1': 'JUNE', '2': 6}, 27 | {'1': 'JULY', '2': 7}, 28 | {'1': 'AUGUST', '2': 8}, 29 | {'1': 'SEPTEMBER', '2': 9}, 30 | {'1': 'OCTOBER', '2': 10}, 31 | {'1': 'NOVEMBER', '2': 11}, 32 | {'1': 'DECEMBER', '2': 12}, 33 | ], 34 | }; 35 | 36 | /// Descriptor for `Month`. Decode as a `google.protobuf.EnumDescriptorProto`. 37 | final $typed_data.Uint8List monthDescriptor = $convert.base64Decode( 38 | 'CgVNb250aBIVChFNT05USF9VTlNQRUNJRklFRBAAEgsKB0pBTlVBUlkQARIMCghGRUJSVUFSWR' 39 | 'ACEgkKBU1BUkNIEAMSCQoFQVBSSUwQBBIHCgNNQVkQBRIICgRKVU5FEAYSCAoESlVMWRAHEgoK' 40 | 'BkFVR1VTVBAIEg0KCVNFUFRFTUJFUhAJEgsKB09DVE9CRVIQChIMCghOT1ZFTUJFUhALEgwKCE' 41 | 'RFQ0VNQkVSEAw='); 42 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/label.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/label.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | import 'package:protobuf/protobuf.dart' as $pb; 15 | 16 | /// Value types that can be used as label values. 17 | class LabelDescriptor_ValueType extends $pb.ProtobufEnum { 18 | static const LabelDescriptor_ValueType STRING = 19 | LabelDescriptor_ValueType._(0, _omitEnumNames ? '' : 'STRING'); 20 | static const LabelDescriptor_ValueType BOOL = 21 | LabelDescriptor_ValueType._(1, _omitEnumNames ? '' : 'BOOL'); 22 | static const LabelDescriptor_ValueType INT64 = 23 | LabelDescriptor_ValueType._(2, _omitEnumNames ? '' : 'INT64'); 24 | 25 | static const $core.List values = 26 | [ 27 | STRING, 28 | BOOL, 29 | INT64, 30 | ]; 31 | 32 | static final $core.Map<$core.int, LabelDescriptor_ValueType> _byValue = 33 | $pb.ProtobufEnum.initByValue(values); 34 | static LabelDescriptor_ValueType? valueOf($core.int value) => _byValue[value]; 35 | 36 | const LabelDescriptor_ValueType._($core.int v, $core.String n) : super(v, n); 37 | } 38 | 39 | const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); 40 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/protobuf/unittest_import.proto: -------------------------------------------------------------------------------- 1 | // Protocol Buffers - Google's data interchange format 2 | // Copyright 2008 Google Inc. All rights reserved. 3 | // 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file or at 6 | // https://developers.google.com/open-source/licenses/bsd 7 | 8 | // Author: kenton@google.com (Kenton Varda) 9 | // Based on original Protocol Buffers design by 10 | // Sanjay Ghemawat, Jeff Dean, and others. 11 | // 12 | // A proto file which is imported by unittest.proto to test importing. 13 | 14 | syntax = "proto2"; 15 | 16 | // We don't put this in a package within proto2 because we need to make sure 17 | // that the generated code doesn't depend on being in the proto2 namespace. 18 | // In test_util.h we do 19 | // "using namespace unittest_import = protobuf_unittest_import". 20 | package protobuf_unittest_import; 21 | 22 | option optimize_for = SPEED; 23 | option cc_enable_arenas = true; 24 | 25 | // Exercise the java_package option. 26 | option java_package = "com.google.protobuf.test"; 27 | 28 | // Do not set a java_outer_classname here to verify that Proto2 works without 29 | // one. 30 | 31 | // Test public import 32 | import public "google/protobuf/unittest_import_public.proto"; 33 | 34 | message ImportMessage { 35 | optional int32 d = 1; 36 | } 37 | 38 | enum ImportEnum { 39 | IMPORT_FOO = 7; 40 | IMPORT_BAR = 8; 41 | IMPORT_BAZ = 9; 42 | } 43 | 44 | // To use an enum in a map, it must has the first value as 0. 45 | enum ImportEnumForMap { 46 | UNKNOWN = 0; 47 | FOO = 1; 48 | BAR = 2; 49 | } 50 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/label.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 | syntax = "proto3"; 16 | 17 | package google.api; 18 | 19 | option cc_enable_arenas = true; 20 | option go_package = "google.golang.org/genproto/googleapis/api/label;label"; 21 | option java_multiple_files = true; 22 | option java_outer_classname = "LabelProto"; 23 | option java_package = "com.google.api"; 24 | option objc_class_prefix = "GAPI"; 25 | 26 | // A description of a label. 27 | message LabelDescriptor { 28 | // Value types that can be used as label values. 29 | enum ValueType { 30 | // A variable-length string. This is the default. 31 | STRING = 0; 32 | 33 | // Boolean; true or false. 34 | BOOL = 1; 35 | 36 | // A 64-bit signed integer. 37 | INT64 = 2; 38 | } 39 | 40 | // The label key. 41 | string key = 1; 42 | 43 | // The type of data that can be assigned to the label. 44 | ValueType value_type = 2; 45 | 46 | // A human-readable description for the label. 47 | string description = 3; 48 | } 49 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/appengine/BUILD.bazel: -------------------------------------------------------------------------------- 1 | # This build file includes a target for the Ruby wrapper library for 2 | # google-cloud-app_engine. 3 | 4 | # This is an API workspace, having public visibility by default makes perfect sense. 5 | package(default_visibility = ["//visibility:public"]) 6 | 7 | # Export yaml configs. 8 | exports_files(glob(["*.yaml"])) 9 | 10 | load( 11 | "@com_google_googleapis_imports//:imports.bzl", 12 | "ruby_cloud_gapic_library", 13 | "ruby_gapic_assembly_pkg", 14 | ) 15 | 16 | # Generates a Ruby wrapper client for appengine. 17 | # Ruby wrapper clients are versionless, but are generated from source protos 18 | # for a particular service version, v1 in this case. 19 | ruby_cloud_gapic_library( 20 | name = "appengine_ruby_wrapper", 21 | srcs = ["//google/appengine/v1:appengine_proto_with_info"], 22 | extra_protoc_parameters = [ 23 | "ruby-cloud-gem-name=google-cloud-app_engine", 24 | "ruby-cloud-env-prefix=APP_ENGINE", 25 | "ruby-cloud-wrapper-of=v1:0.9", 26 | "ruby-cloud-product-url=https://cloud.google.com/appengine/docs/admin-api/", 27 | "ruby-cloud-api-id=appengine.googleapis.com", 28 | "ruby-cloud-api-shortname=appengine", 29 | ], 30 | ruby_cloud_description = "The App Engine Admin API provisions and manages your App Engine applications.", 31 | ruby_cloud_title = "App Engine Admin", 32 | transport = "grpc+rest", 33 | ) 34 | 35 | # Open Source package. 36 | ruby_gapic_assembly_pkg( 37 | name = "google-cloud-appengine-ruby", 38 | deps = [ 39 | ":appengine_ruby_wrapper", 40 | ], 41 | ) 42 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/type/latlng.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 | syntax = "proto3"; 16 | 17 | package google.type; 18 | 19 | option cc_enable_arenas = true; 20 | option go_package = "google.golang.org/genproto/googleapis/type/latlng;latlng"; 21 | option java_multiple_files = true; 22 | option java_outer_classname = "LatLngProto"; 23 | option java_package = "com.google.type"; 24 | option objc_class_prefix = "GTP"; 25 | 26 | // An object that represents a latitude/longitude pair. This is expressed as a 27 | // pair of doubles to represent degrees latitude and degrees longitude. Unless 28 | // specified otherwise, this must conform to the 29 | // WGS84 30 | // standard. Values must be within normalized ranges. 31 | message LatLng { 32 | // The latitude in degrees. It must be in the range [-90.0, +90.0]. 33 | double latitude = 1; 34 | 35 | // The longitude in degrees. It must be in the range [-180.0, +180.0]. 36 | double longitude = 2; 37 | } 38 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/apikeys/BUILD.bazel: -------------------------------------------------------------------------------- 1 | # This build file includes a target for the Ruby wrapper library for 2 | # google-cloud-api_keys. 3 | 4 | # This is an API workspace, having public visibility by default makes perfect sense. 5 | package(default_visibility = ["//visibility:public"]) 6 | 7 | # Export yaml configs. 8 | exports_files(glob(["*.yaml"])) 9 | 10 | load( 11 | "@com_google_googleapis_imports//:imports.bzl", 12 | "ruby_cloud_gapic_library", 13 | "ruby_gapic_assembly_pkg", 14 | ) 15 | 16 | # Generates a Ruby wrapper client for apikeys. 17 | # Ruby wrapper clients are versionless, but are generated from source protos 18 | # for a particular service version, v2 in this case. 19 | ruby_cloud_gapic_library( 20 | name = "apikeys_ruby_wrapper", 21 | srcs = ["//google/api/apikeys/v2:apikeys_proto_with_info"], 22 | extra_protoc_parameters = [ 23 | "ruby-cloud-api-id=apikeys.googleapis.com", 24 | "ruby-cloud-api-shortname=apikeys", 25 | "ruby-cloud-gem-name=google-cloud-api_keys", 26 | "ruby-cloud-product-url=https://cloud.google.com/api-keys/", 27 | "ruby-cloud-wrapper-of=v2:0.5", 28 | ], 29 | ruby_cloud_description = "An API key is a simple encrypted string that you can use when calling Google Cloud APIs. The API Keys service manages the API keys associated with developer projects.", 30 | ruby_cloud_title = "API Keys", 31 | transport = "grpc+rest", 32 | ) 33 | 34 | # Open Source package. 35 | ruby_gapic_assembly_pkg( 36 | name = "google-cloud-apikeys-ruby", 37 | deps = [ 38 | ":apikeys_ruby_wrapper", 39 | ], 40 | ) 41 | 42 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/api/control.proto: -------------------------------------------------------------------------------- 1 | // Copyright 2024 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 | syntax = "proto3"; 16 | 17 | package google.api; 18 | 19 | import "google/api/policy.proto"; 20 | 21 | option go_package = "google.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig"; 22 | option java_multiple_files = true; 23 | option java_outer_classname = "ControlProto"; 24 | option java_package = "com.google.api"; 25 | option objc_class_prefix = "GAPI"; 26 | 27 | // Selects and configures the service controller used by the service. 28 | // 29 | // Example: 30 | // 31 | // control: 32 | // environment: servicecontrol.googleapis.com 33 | message Control { 34 | // The service controller environment to use. If empty, no control plane 35 | // feature (like quota and billing) will be enabled. The recommended value for 36 | // most services is servicecontrol.googleapis.com 37 | string environment = 1; 38 | 39 | // Defines policies applying to the API methods of the service. 40 | repeated MethodPolicy method_policies = 4; 41 | } 42 | -------------------------------------------------------------------------------- /lib/src/grpc_api/protos/google/longrunning/longrunning_gapic.yaml: -------------------------------------------------------------------------------- 1 | type: com.google.api.codegen.ConfigProto 2 | config_schema_version: 2.0.0 3 | language_settings: 4 | java: 5 | package_name: com.google.longrunning 6 | python: 7 | package_name: google.longrunning.gapic 8 | go: 9 | package_name: cloud.google.com/go/longrunning/autogen 10 | domain_layer_location: cloud.google.com/go/longrunning 11 | csharp: 12 | package_name: Google.LongRunning 13 | ruby: 14 | package_name: Google::Longrunning 15 | php: 16 | package_name: Google\LongRunning 17 | nodejs: 18 | package_name: longrunning 19 | interfaces: 20 | - name: google.longrunning.Operations 21 | required_constructor_params: 22 | - service_address 23 | - scopes 24 | retry_params_def: 25 | - name: default 26 | initial_retry_delay_millis: 100 27 | retry_delay_multiplier: 1.3 28 | max_retry_delay_millis: 60000 29 | initial_rpc_timeout_millis: 90000 30 | rpc_timeout_multiplier: 1 31 | max_rpc_timeout_millis: 90000 32 | total_timeout_millis: 600000 33 | methods: 34 | - name: GetOperation 35 | retry_params_name: default 36 | - name: ListOperations 37 | retry_params_name: default 38 | - name: CancelOperation 39 | retry_codes_name: idempotent 40 | retry_params_name: default 41 | - name: DeleteOperation 42 | retry_codes_name: idempotent 43 | retry_params_name: default 44 | - name: WaitOperation 45 | surface_treatments: 46 | - include_languages: 47 | - go 48 | - java 49 | - csharp 50 | - ruby 51 | - nodejs 52 | - python 53 | - php 54 | visibility: DISABLED 55 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/api/config_change.pbenum.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/api/config_change.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:core' as $core; 13 | 14 | import 'package:protobuf/protobuf.dart' as $pb; 15 | 16 | /// Classifies set of possible modifications to an object in the service 17 | /// configuration. 18 | class ChangeType extends $pb.ProtobufEnum { 19 | static const ChangeType CHANGE_TYPE_UNSPECIFIED = 20 | ChangeType._(0, _omitEnumNames ? '' : 'CHANGE_TYPE_UNSPECIFIED'); 21 | static const ChangeType ADDED = 22 | ChangeType._(1, _omitEnumNames ? '' : 'ADDED'); 23 | static const ChangeType REMOVED = 24 | ChangeType._(2, _omitEnumNames ? '' : 'REMOVED'); 25 | static const ChangeType MODIFIED = 26 | ChangeType._(3, _omitEnumNames ? '' : 'MODIFIED'); 27 | 28 | static const $core.List values = [ 29 | CHANGE_TYPE_UNSPECIFIED, 30 | ADDED, 31 | REMOVED, 32 | MODIFIED, 33 | ]; 34 | 35 | static final $core.Map<$core.int, ChangeType> _byValue = 36 | $pb.ProtobufEnum.initByValue(values); 37 | static ChangeType? valueOf($core.int value) => _byValue[value]; 38 | 39 | const ChangeType._($core.int v, $core.String n) : super(v, n); 40 | } 41 | 42 | const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); 43 | -------------------------------------------------------------------------------- /lib/src/grpc_api/dart/google/protobuf/any_test.pbjson.dart: -------------------------------------------------------------------------------- 1 | // 2 | // Generated code. Do not modify. 3 | // source: google/protobuf/any_test.proto 4 | // 5 | // @dart = 2.12 6 | 7 | // ignore_for_file: annotate_overrides, camel_case_types, comment_references 8 | // ignore_for_file: constant_identifier_names, library_prefixes 9 | // ignore_for_file: non_constant_identifier_names, prefer_final_fields 10 | // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 11 | 12 | import 'dart:convert' as $convert; 13 | import 'dart:core' as $core; 14 | import 'dart:typed_data' as $typed_data; 15 | 16 | @$core.Deprecated('Use testAnyDescriptor instead') 17 | const TestAny$json = { 18 | '1': 'TestAny', 19 | '2': [ 20 | {'1': 'int32_value', '3': 1, '4': 1, '5': 5, '10': 'int32Value'}, 21 | { 22 | '1': 'any_value', 23 | '3': 2, 24 | '4': 1, 25 | '5': 11, 26 | '6': '.google.protobuf.Any', 27 | '10': 'anyValue' 28 | }, 29 | { 30 | '1': 'repeated_any_value', 31 | '3': 3, 32 | '4': 3, 33 | '5': 11, 34 | '6': '.google.protobuf.Any', 35 | '10': 'repeatedAnyValue' 36 | }, 37 | {'1': 'text', '3': 4, '4': 1, '5': 9, '10': 'text'}, 38 | ], 39 | }; 40 | 41 | /// Descriptor for `TestAny`. Decode as a `google.protobuf.DescriptorProto`. 42 | final $typed_data.Uint8List testAnyDescriptor = $convert.base64Decode( 43 | 'CgdUZXN0QW55Eh8KC2ludDMyX3ZhbHVlGAEgASgFUgppbnQzMlZhbHVlEjEKCWFueV92YWx1ZR' 44 | 'gCIAEoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnlSCGFueVZhbHVlEkIKEnJlcGVhdGVkX2FueV92' 45 | 'YWx1ZRgDIAMoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnlSEHJlcGVhdGVkQW55VmFsdWUSEgoEdG' 46 | 'V4dBgEIAEoCVIEdGV4dA=='); 47 | --------------------------------------------------------------------------------