planetscale 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.github/workflows/ci.yml +24 -0
- data/.github/workflows/gem-push.yml +38 -0
- data/.github/workflows/licensed.yml +43 -0
- data/.gitignore +10 -0
- data/.licensed.yml +9 -0
- data/.licenses/go/github.com/armon/circbuf.dep.yml +31 -0
- data/.licenses/go/github.com/gorilla/mux.dep.yml +41 -0
- data/.licenses/go/github.com/hashicorp/go-cleanhttp.dep.yml +375 -0
- data/.licenses/go/github.com/mitchellh/go-homedir.dep.yml +32 -0
- data/.licenses/go/github.com/pkg/errors.dep.yml +36 -0
- data/.licenses/go/github.com/planetscale/planetscale-go/planetscale.dep.yml +160 -0
- data/.licenses/go/github.com/planetscale/sql-proxy/proxy.dep.yml +180 -0
- data/.licenses/go/go.uber.org/atomic.dep.yml +31 -0
- data/.licenses/go/go.uber.org/multierr.dep.yml +30 -0
- data/.licenses/go/go.uber.org/zap.dep.yml +30 -0
- data/.licenses/go/go.uber.org/zap/buffer.dep.yml +30 -0
- data/.licenses/go/go.uber.org/zap/internal/bufferpool.dep.yml +30 -0
- data/.licenses/go/go.uber.org/zap/internal/color.dep.yml +30 -0
- data/.licenses/go/go.uber.org/zap/internal/exit.dep.yml +31 -0
- data/.licenses/go/go.uber.org/zap/zapcore.dep.yml +31 -0
- data/.licenses/go/golang.org/x/net/context/ctxhttp.dep.yml +63 -0
- data/.licenses/go/golang.org/x/oauth2.dep.yml +44 -0
- data/.licenses/go/golang.org/x/oauth2/internal.dep.yml +38 -0
- data/.ruby_version +1 -0
- data/Gemfile +8 -0
- data/LICENSE +201 -0
- data/README.md +88 -0
- data/Rakefile +10 -0
- data/bin/console +15 -0
- data/bin/setup +17 -0
- data/controller.go +255 -0
- data/go.mod +16 -0
- data/go.sum +428 -0
- data/lib/generators/planetscale/install_generator.rb +58 -0
- data/lib/planetscale.rb +137 -0
- data/lib/planetscale/version.rb +5 -0
- data/planetscale.gemspec +44 -0
- data/proxy.go +128 -0
- data/vendor/github.com/armon/circbuf/.gitignore +22 -0
- data/vendor/github.com/armon/circbuf/LICENSE +20 -0
- data/vendor/github.com/armon/circbuf/README.md +28 -0
- data/vendor/github.com/armon/circbuf/circbuf.go +92 -0
- data/vendor/github.com/armon/circbuf/go.mod +1 -0
- data/vendor/github.com/golang/protobuf/AUTHORS +3 -0
- data/vendor/github.com/golang/protobuf/CONTRIBUTORS +3 -0
- data/vendor/github.com/golang/protobuf/LICENSE +28 -0
- data/vendor/github.com/golang/protobuf/proto/buffer.go +324 -0
- data/vendor/github.com/golang/protobuf/proto/defaults.go +63 -0
- data/vendor/github.com/golang/protobuf/proto/deprecated.go +113 -0
- data/vendor/github.com/golang/protobuf/proto/discard.go +58 -0
- data/vendor/github.com/golang/protobuf/proto/extensions.go +356 -0
- data/vendor/github.com/golang/protobuf/proto/properties.go +306 -0
- data/vendor/github.com/golang/protobuf/proto/proto.go +167 -0
- data/vendor/github.com/golang/protobuf/proto/registry.go +317 -0
- data/vendor/github.com/golang/protobuf/proto/text_decode.go +801 -0
- data/vendor/github.com/golang/protobuf/proto/text_encode.go +560 -0
- data/vendor/github.com/golang/protobuf/proto/wire.go +78 -0
- data/vendor/github.com/golang/protobuf/proto/wrappers.go +34 -0
- data/vendor/github.com/gorilla/mux/AUTHORS +8 -0
- data/vendor/github.com/gorilla/mux/LICENSE +27 -0
- data/vendor/github.com/gorilla/mux/README.md +805 -0
- data/vendor/github.com/gorilla/mux/doc.go +306 -0
- data/vendor/github.com/gorilla/mux/go.mod +3 -0
- data/vendor/github.com/gorilla/mux/middleware.go +74 -0
- data/vendor/github.com/gorilla/mux/mux.go +606 -0
- data/vendor/github.com/gorilla/mux/regexp.go +388 -0
- data/vendor/github.com/gorilla/mux/route.go +736 -0
- data/vendor/github.com/gorilla/mux/test_helpers.go +19 -0
- data/vendor/github.com/hashicorp/go-cleanhttp/LICENSE +363 -0
- data/vendor/github.com/hashicorp/go-cleanhttp/README.md +30 -0
- data/vendor/github.com/hashicorp/go-cleanhttp/cleanhttp.go +58 -0
- data/vendor/github.com/hashicorp/go-cleanhttp/doc.go +20 -0
- data/vendor/github.com/hashicorp/go-cleanhttp/go.mod +3 -0
- data/vendor/github.com/hashicorp/go-cleanhttp/handlers.go +48 -0
- data/vendor/github.com/mitchellh/go-homedir/LICENSE +21 -0
- data/vendor/github.com/mitchellh/go-homedir/README.md +14 -0
- data/vendor/github.com/mitchellh/go-homedir/go.mod +1 -0
- data/vendor/github.com/mitchellh/go-homedir/homedir.go +167 -0
- data/vendor/github.com/pkg/errors/.gitignore +24 -0
- data/vendor/github.com/pkg/errors/.travis.yml +10 -0
- data/vendor/github.com/pkg/errors/LICENSE +23 -0
- data/vendor/github.com/pkg/errors/Makefile +44 -0
- data/vendor/github.com/pkg/errors/README.md +59 -0
- data/vendor/github.com/pkg/errors/appveyor.yml +32 -0
- data/vendor/github.com/pkg/errors/errors.go +288 -0
- data/vendor/github.com/pkg/errors/go113.go +38 -0
- data/vendor/github.com/pkg/errors/stack.go +177 -0
- data/vendor/github.com/planetscale/planetscale-go/planetscale/backups.go +139 -0
- data/vendor/github.com/planetscale/planetscale-go/planetscale/branches.go +258 -0
- data/vendor/github.com/planetscale/planetscale-go/planetscale/certs.go +142 -0
- data/vendor/github.com/planetscale/planetscale-go/planetscale/client.go +305 -0
- data/vendor/github.com/planetscale/planetscale-go/planetscale/databases.go +131 -0
- data/vendor/github.com/planetscale/planetscale-go/planetscale/deploy_requests.go +368 -0
- data/vendor/github.com/planetscale/planetscale-go/planetscale/organizations.go +78 -0
- data/vendor/github.com/planetscale/planetscale-go/planetscale/service_tokens.go +163 -0
- data/vendor/github.com/planetscale/sql-proxy/proxy/client.go +467 -0
- data/vendor/github.com/planetscale/sql-proxy/proxy/tls_cache.go +73 -0
- data/vendor/go.uber.org/atomic/.codecov.yml +19 -0
- data/vendor/go.uber.org/atomic/.gitignore +12 -0
- data/vendor/go.uber.org/atomic/.travis.yml +27 -0
- data/vendor/go.uber.org/atomic/CHANGELOG.md +76 -0
- data/vendor/go.uber.org/atomic/LICENSE.txt +19 -0
- data/vendor/go.uber.org/atomic/Makefile +78 -0
- data/vendor/go.uber.org/atomic/README.md +63 -0
- data/vendor/go.uber.org/atomic/bool.go +81 -0
- data/vendor/go.uber.org/atomic/bool_ext.go +53 -0
- data/vendor/go.uber.org/atomic/doc.go +23 -0
- data/vendor/go.uber.org/atomic/duration.go +82 -0
- data/vendor/go.uber.org/atomic/duration_ext.go +40 -0
- data/vendor/go.uber.org/atomic/error.go +51 -0
- data/vendor/go.uber.org/atomic/error_ext.go +39 -0
- data/vendor/go.uber.org/atomic/float64.go +76 -0
- data/vendor/go.uber.org/atomic/float64_ext.go +47 -0
- data/vendor/go.uber.org/atomic/gen.go +26 -0
- data/vendor/go.uber.org/atomic/go.mod +8 -0
- data/vendor/go.uber.org/atomic/go.sum +9 -0
- data/vendor/go.uber.org/atomic/int32.go +102 -0
- data/vendor/go.uber.org/atomic/int64.go +102 -0
- data/vendor/go.uber.org/atomic/nocmp.go +35 -0
- data/vendor/go.uber.org/atomic/string.go +54 -0
- data/vendor/go.uber.org/atomic/string_ext.go +43 -0
- data/vendor/go.uber.org/atomic/uint32.go +102 -0
- data/vendor/go.uber.org/atomic/uint64.go +102 -0
- data/vendor/go.uber.org/atomic/value.go +31 -0
- data/vendor/go.uber.org/multierr/.codecov.yml +15 -0
- data/vendor/go.uber.org/multierr/.gitignore +4 -0
- data/vendor/go.uber.org/multierr/.travis.yml +23 -0
- data/vendor/go.uber.org/multierr/CHANGELOG.md +60 -0
- data/vendor/go.uber.org/multierr/LICENSE.txt +19 -0
- data/vendor/go.uber.org/multierr/Makefile +42 -0
- data/vendor/go.uber.org/multierr/README.md +23 -0
- data/vendor/go.uber.org/multierr/error.go +449 -0
- data/vendor/go.uber.org/multierr/glide.yaml +8 -0
- data/vendor/go.uber.org/multierr/go.mod +8 -0
- data/vendor/go.uber.org/multierr/go.sum +11 -0
- data/vendor/go.uber.org/multierr/go113.go +52 -0
- data/vendor/go.uber.org/zap/.codecov.yml +17 -0
- data/vendor/go.uber.org/zap/.gitignore +32 -0
- data/vendor/go.uber.org/zap/.readme.tmpl +109 -0
- data/vendor/go.uber.org/zap/.travis.yml +23 -0
- data/vendor/go.uber.org/zap/CHANGELOG.md +432 -0
- data/vendor/go.uber.org/zap/CODE_OF_CONDUCT.md +75 -0
- data/vendor/go.uber.org/zap/CONTRIBUTING.md +81 -0
- data/vendor/go.uber.org/zap/FAQ.md +156 -0
- data/vendor/go.uber.org/zap/LICENSE.txt +19 -0
- data/vendor/go.uber.org/zap/Makefile +63 -0
- data/vendor/go.uber.org/zap/README.md +134 -0
- data/vendor/go.uber.org/zap/array.go +320 -0
- data/vendor/go.uber.org/zap/buffer/buffer.go +123 -0
- data/vendor/go.uber.org/zap/buffer/pool.go +49 -0
- data/vendor/go.uber.org/zap/checklicense.sh +17 -0
- data/vendor/go.uber.org/zap/config.go +264 -0
- data/vendor/go.uber.org/zap/doc.go +113 -0
- data/vendor/go.uber.org/zap/encoder.go +79 -0
- data/vendor/go.uber.org/zap/error.go +80 -0
- data/vendor/go.uber.org/zap/field.go +539 -0
- data/vendor/go.uber.org/zap/flag.go +39 -0
- data/vendor/go.uber.org/zap/glide.yaml +34 -0
- data/vendor/go.uber.org/zap/global.go +168 -0
- data/vendor/go.uber.org/zap/global_go112.go +26 -0
- data/vendor/go.uber.org/zap/global_prego112.go +26 -0
- data/vendor/go.uber.org/zap/go.mod +13 -0
- data/vendor/go.uber.org/zap/go.sum +56 -0
- data/vendor/go.uber.org/zap/http_handler.go +81 -0
- data/vendor/go.uber.org/zap/internal/bufferpool/bufferpool.go +31 -0
- data/vendor/go.uber.org/zap/internal/color/color.go +44 -0
- data/vendor/go.uber.org/zap/internal/exit/exit.go +64 -0
- data/vendor/go.uber.org/zap/level.go +132 -0
- data/vendor/go.uber.org/zap/logger.go +344 -0
- data/vendor/go.uber.org/zap/options.go +140 -0
- data/vendor/go.uber.org/zap/sink.go +161 -0
- data/vendor/go.uber.org/zap/stacktrace.go +85 -0
- data/vendor/go.uber.org/zap/sugar.go +304 -0
- data/vendor/go.uber.org/zap/time.go +27 -0
- data/vendor/go.uber.org/zap/writer.go +99 -0
- data/vendor/go.uber.org/zap/zapcore/console_encoder.go +161 -0
- data/vendor/go.uber.org/zap/zapcore/core.go +113 -0
- data/vendor/go.uber.org/zap/zapcore/doc.go +24 -0
- data/vendor/go.uber.org/zap/zapcore/encoder.go +443 -0
- data/vendor/go.uber.org/zap/zapcore/entry.go +264 -0
- data/vendor/go.uber.org/zap/zapcore/error.go +115 -0
- data/vendor/go.uber.org/zap/zapcore/field.go +227 -0
- data/vendor/go.uber.org/zap/zapcore/hook.go +68 -0
- data/vendor/go.uber.org/zap/zapcore/increase_level.go +66 -0
- data/vendor/go.uber.org/zap/zapcore/json_encoder.go +534 -0
- data/vendor/go.uber.org/zap/zapcore/level.go +175 -0
- data/vendor/go.uber.org/zap/zapcore/level_strings.go +46 -0
- data/vendor/go.uber.org/zap/zapcore/marshaler.go +61 -0
- data/vendor/go.uber.org/zap/zapcore/memory_encoder.go +179 -0
- data/vendor/go.uber.org/zap/zapcore/sampler.go +208 -0
- data/vendor/go.uber.org/zap/zapcore/tee.go +81 -0
- data/vendor/go.uber.org/zap/zapcore/write_syncer.go +123 -0
- data/vendor/golang.org/x/net/AUTHORS +3 -0
- data/vendor/golang.org/x/net/CONTRIBUTORS +3 -0
- data/vendor/golang.org/x/net/LICENSE +27 -0
- data/vendor/golang.org/x/net/PATENTS +22 -0
- data/vendor/golang.org/x/net/context/context.go +56 -0
- data/vendor/golang.org/x/net/context/ctxhttp/ctxhttp.go +71 -0
- data/vendor/golang.org/x/net/context/go17.go +73 -0
- data/vendor/golang.org/x/net/context/go19.go +21 -0
- data/vendor/golang.org/x/net/context/pre_go17.go +301 -0
- data/vendor/golang.org/x/net/context/pre_go19.go +110 -0
- data/vendor/golang.org/x/oauth2/.travis.yml +13 -0
- data/vendor/golang.org/x/oauth2/AUTHORS +3 -0
- data/vendor/golang.org/x/oauth2/CONTRIBUTING.md +26 -0
- data/vendor/golang.org/x/oauth2/CONTRIBUTORS +3 -0
- data/vendor/golang.org/x/oauth2/LICENSE +27 -0
- data/vendor/golang.org/x/oauth2/README.md +36 -0
- data/vendor/golang.org/x/oauth2/go.mod +9 -0
- data/vendor/golang.org/x/oauth2/go.sum +361 -0
- data/vendor/golang.org/x/oauth2/internal/client_appengine.go +14 -0
- data/vendor/golang.org/x/oauth2/internal/doc.go +6 -0
- data/vendor/golang.org/x/oauth2/internal/oauth2.go +37 -0
- data/vendor/golang.org/x/oauth2/internal/token.go +294 -0
- data/vendor/golang.org/x/oauth2/internal/transport.go +33 -0
- data/vendor/golang.org/x/oauth2/oauth2.go +381 -0
- data/vendor/golang.org/x/oauth2/token.go +178 -0
- data/vendor/golang.org/x/oauth2/transport.go +89 -0
- data/vendor/google.golang.org/appengine/LICENSE +202 -0
- data/vendor/google.golang.org/appengine/internal/api.go +678 -0
- data/vendor/google.golang.org/appengine/internal/api_classic.go +169 -0
- data/vendor/google.golang.org/appengine/internal/api_common.go +123 -0
- data/vendor/google.golang.org/appengine/internal/app_id.go +28 -0
- data/vendor/google.golang.org/appengine/internal/base/api_base.pb.go +308 -0
- data/vendor/google.golang.org/appengine/internal/base/api_base.proto +33 -0
- data/vendor/google.golang.org/appengine/internal/datastore/datastore_v3.pb.go +4367 -0
- data/vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto +551 -0
- data/vendor/google.golang.org/appengine/internal/identity.go +55 -0
- data/vendor/google.golang.org/appengine/internal/identity_classic.go +61 -0
- data/vendor/google.golang.org/appengine/internal/identity_flex.go +11 -0
- data/vendor/google.golang.org/appengine/internal/identity_vm.go +134 -0
- data/vendor/google.golang.org/appengine/internal/internal.go +110 -0
- data/vendor/google.golang.org/appengine/internal/log/log_service.pb.go +1313 -0
- data/vendor/google.golang.org/appengine/internal/log/log_service.proto +150 -0
- data/vendor/google.golang.org/appengine/internal/main.go +16 -0
- data/vendor/google.golang.org/appengine/internal/main_common.go +7 -0
- data/vendor/google.golang.org/appengine/internal/main_vm.go +69 -0
- data/vendor/google.golang.org/appengine/internal/metadata.go +60 -0
- data/vendor/google.golang.org/appengine/internal/net.go +56 -0
- data/vendor/google.golang.org/appengine/internal/regen.sh +40 -0
- data/vendor/google.golang.org/appengine/internal/remote_api/remote_api.pb.go +361 -0
- data/vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto +44 -0
- data/vendor/google.golang.org/appengine/internal/transaction.go +115 -0
- data/vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.pb.go +527 -0
- data/vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto +64 -0
- data/vendor/google.golang.org/appengine/urlfetch/urlfetch.go +210 -0
- data/vendor/google.golang.org/protobuf/AUTHORS +3 -0
- data/vendor/google.golang.org/protobuf/CONTRIBUTORS +3 -0
- data/vendor/google.golang.org/protobuf/LICENSE +27 -0
- data/vendor/google.golang.org/protobuf/PATENTS +22 -0
- data/vendor/google.golang.org/protobuf/encoding/prototext/decode.go +773 -0
- data/vendor/google.golang.org/protobuf/encoding/prototext/doc.go +7 -0
- data/vendor/google.golang.org/protobuf/encoding/prototext/encode.go +371 -0
- data/vendor/google.golang.org/protobuf/encoding/protowire/wire.go +538 -0
- data/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go +318 -0
- data/vendor/google.golang.org/protobuf/internal/descopts/options.go +29 -0
- data/vendor/google.golang.org/protobuf/internal/detrand/rand.go +69 -0
- data/vendor/google.golang.org/protobuf/internal/encoding/defval/default.go +213 -0
- data/vendor/google.golang.org/protobuf/internal/encoding/messageset/messageset.go +241 -0
- data/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go +207 -0
- data/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go +665 -0
- data/vendor/google.golang.org/protobuf/internal/encoding/text/decode_number.go +190 -0
- data/vendor/google.golang.org/protobuf/internal/encoding/text/decode_string.go +161 -0
- data/vendor/google.golang.org/protobuf/internal/encoding/text/decode_token.go +373 -0
- data/vendor/google.golang.org/protobuf/internal/encoding/text/doc.go +29 -0
- data/vendor/google.golang.org/protobuf/internal/encoding/text/encode.go +265 -0
- data/vendor/google.golang.org/protobuf/internal/errors/errors.go +89 -0
- data/vendor/google.golang.org/protobuf/internal/errors/is_go112.go +39 -0
- data/vendor/google.golang.org/protobuf/internal/errors/is_go113.go +12 -0
- data/vendor/google.golang.org/protobuf/internal/filedesc/build.go +158 -0
- data/vendor/google.golang.org/protobuf/internal/filedesc/desc.go +631 -0
- data/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go +471 -0
- data/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go +704 -0
- data/vendor/google.golang.org/protobuf/internal/filedesc/desc_list.go +450 -0
- data/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go +356 -0
- data/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go +107 -0
- data/vendor/google.golang.org/protobuf/internal/filetype/build.go +297 -0
- data/vendor/google.golang.org/protobuf/internal/flags/flags.go +24 -0
- data/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go +9 -0
- data/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go +9 -0
- data/vendor/google.golang.org/protobuf/internal/genid/any_gen.go +34 -0
- data/vendor/google.golang.org/protobuf/internal/genid/api_gen.go +106 -0
- data/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go +829 -0
- data/vendor/google.golang.org/protobuf/internal/genid/doc.go +11 -0
- data/vendor/google.golang.org/protobuf/internal/genid/duration_gen.go +34 -0
- data/vendor/google.golang.org/protobuf/internal/genid/empty_gen.go +19 -0
- data/vendor/google.golang.org/protobuf/internal/genid/field_mask_gen.go +31 -0
- data/vendor/google.golang.org/protobuf/internal/genid/goname.go +25 -0
- data/vendor/google.golang.org/protobuf/internal/genid/map_entry.go +16 -0
- data/vendor/google.golang.org/protobuf/internal/genid/source_context_gen.go +31 -0
- data/vendor/google.golang.org/protobuf/internal/genid/struct_gen.go +116 -0
- data/vendor/google.golang.org/protobuf/internal/genid/timestamp_gen.go +34 -0
- data/vendor/google.golang.org/protobuf/internal/genid/type_gen.go +184 -0
- data/vendor/google.golang.org/protobuf/internal/genid/wrappers.go +13 -0
- data/vendor/google.golang.org/protobuf/internal/genid/wrappers_gen.go +175 -0
- data/vendor/google.golang.org/protobuf/internal/impl/api_export.go +177 -0
- data/vendor/google.golang.org/protobuf/internal/impl/checkinit.go +141 -0
- data/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go +223 -0
- data/vendor/google.golang.org/protobuf/internal/impl/codec_field.go +830 -0
- data/vendor/google.golang.org/protobuf/internal/impl/codec_gen.go +5637 -0
- data/vendor/google.golang.org/protobuf/internal/impl/codec_map.go +388 -0
- data/vendor/google.golang.org/protobuf/internal/impl/codec_map_go111.go +37 -0
- data/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go +11 -0
- data/vendor/google.golang.org/protobuf/internal/impl/codec_message.go +217 -0
- data/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go +123 -0
- data/vendor/google.golang.org/protobuf/internal/impl/codec_reflect.go +209 -0
- data/vendor/google.golang.org/protobuf/internal/impl/codec_tables.go +557 -0
- data/vendor/google.golang.org/protobuf/internal/impl/codec_unsafe.go +17 -0
- data/vendor/google.golang.org/protobuf/internal/impl/convert.go +496 -0
- data/vendor/google.golang.org/protobuf/internal/impl/convert_list.go +141 -0
- data/vendor/google.golang.org/protobuf/internal/impl/convert_map.go +121 -0
- data/vendor/google.golang.org/protobuf/internal/impl/decode.go +276 -0
- data/vendor/google.golang.org/protobuf/internal/impl/encode.go +201 -0
- data/vendor/google.golang.org/protobuf/internal/impl/enum.go +21 -0
- data/vendor/google.golang.org/protobuf/internal/impl/extension.go +156 -0
- data/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go +219 -0
- data/vendor/google.golang.org/protobuf/internal/impl/legacy_export.go +92 -0
- data/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go +176 -0
- data/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go +81 -0
- data/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go +558 -0
- data/vendor/google.golang.org/protobuf/internal/impl/merge.go +176 -0
- data/vendor/google.golang.org/protobuf/internal/impl/merge_gen.go +209 -0
- data/vendor/google.golang.org/protobuf/internal/impl/message.go +276 -0
- data/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go +465 -0
- data/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field.go +543 -0
- data/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go +249 -0
- data/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go +178 -0
- data/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go +174 -0
- data/vendor/google.golang.org/protobuf/internal/impl/validate.go +576 -0
- data/vendor/google.golang.org/protobuf/internal/impl/weak.go +74 -0
- data/vendor/google.golang.org/protobuf/internal/order/order.go +89 -0
- data/vendor/google.golang.org/protobuf/internal/order/range.go +115 -0
- data/vendor/google.golang.org/protobuf/internal/pragma/pragma.go +29 -0
- data/vendor/google.golang.org/protobuf/internal/set/ints.go +58 -0
- data/vendor/google.golang.org/protobuf/internal/strs/strings.go +196 -0
- data/vendor/google.golang.org/protobuf/internal/strs/strings_pure.go +27 -0
- data/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go +94 -0
- data/vendor/google.golang.org/protobuf/internal/version/version.go +79 -0
- data/vendor/google.golang.org/protobuf/proto/checkinit.go +71 -0
- data/vendor/google.golang.org/protobuf/proto/decode.go +278 -0
- data/vendor/google.golang.org/protobuf/proto/decode_gen.go +603 -0
- data/vendor/google.golang.org/protobuf/proto/doc.go +94 -0
- data/vendor/google.golang.org/protobuf/proto/encode.go +319 -0
- data/vendor/google.golang.org/protobuf/proto/encode_gen.go +97 -0
- data/vendor/google.golang.org/protobuf/proto/equal.go +167 -0
- data/vendor/google.golang.org/protobuf/proto/extension.go +92 -0
- data/vendor/google.golang.org/protobuf/proto/merge.go +139 -0
- data/vendor/google.golang.org/protobuf/proto/messageset.go +93 -0
- data/vendor/google.golang.org/protobuf/proto/proto.go +43 -0
- data/vendor/google.golang.org/protobuf/proto/proto_methods.go +19 -0
- data/vendor/google.golang.org/protobuf/proto/proto_reflect.go +19 -0
- data/vendor/google.golang.org/protobuf/proto/reset.go +43 -0
- data/vendor/google.golang.org/protobuf/proto/size.go +97 -0
- data/vendor/google.golang.org/protobuf/proto/size_gen.go +55 -0
- data/vendor/google.golang.org/protobuf/proto/wrappers.go +29 -0
- data/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go +276 -0
- data/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go +248 -0
- data/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go +286 -0
- data/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go +374 -0
- data/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go +252 -0
- data/vendor/google.golang.org/protobuf/reflect/protoreflect/methods.go +77 -0
- data/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go +504 -0
- data/vendor/google.golang.org/protobuf/reflect/protoreflect/source.go +128 -0
- data/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go +461 -0
- data/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go +665 -0
- data/vendor/google.golang.org/protobuf/reflect/protoreflect/value.go +285 -0
- data/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go +59 -0
- data/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go +411 -0
- data/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go +98 -0
- data/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go +869 -0
- data/vendor/google.golang.org/protobuf/runtime/protoiface/legacy.go +15 -0
- data/vendor/google.golang.org/protobuf/runtime/protoiface/methods.go +167 -0
- data/vendor/google.golang.org/protobuf/runtime/protoimpl/impl.go +44 -0
- data/vendor/google.golang.org/protobuf/runtime/protoimpl/version.go +56 -0
- data/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go +4039 -0
- data/vendor/modules.txt +79 -0
- metadata +495 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// Copyright 2011 Google Inc. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by the Apache 2.0
|
|
3
|
+
// license that can be found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
package internal
|
|
6
|
+
|
|
7
|
+
import (
|
|
8
|
+
"os"
|
|
9
|
+
|
|
10
|
+
netcontext "golang.org/x/net/context"
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
var (
|
|
14
|
+
// This is set to true in identity_classic.go, which is behind the appengine build tag.
|
|
15
|
+
// The appengine build tag is set for the first generation runtimes (<= Go 1.9) but not
|
|
16
|
+
// the second generation runtimes (>= Go 1.11), so this indicates whether we're on a
|
|
17
|
+
// first-gen runtime. See IsStandard below for the second-gen check.
|
|
18
|
+
appengineStandard bool
|
|
19
|
+
|
|
20
|
+
// This is set to true in identity_flex.go, which is behind the appenginevm build tag.
|
|
21
|
+
appengineFlex bool
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
// AppID is the implementation of the wrapper function of the same name in
|
|
25
|
+
// ../identity.go. See that file for commentary.
|
|
26
|
+
func AppID(c netcontext.Context) string {
|
|
27
|
+
return appID(FullyQualifiedAppID(c))
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// IsStandard is the implementation of the wrapper function of the same name in
|
|
31
|
+
// ../appengine.go. See that file for commentary.
|
|
32
|
+
func IsStandard() bool {
|
|
33
|
+
// appengineStandard will be true for first-gen runtimes (<= Go 1.9) but not
|
|
34
|
+
// second-gen (>= Go 1.11).
|
|
35
|
+
return appengineStandard || IsSecondGen()
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// IsStandard is the implementation of the wrapper function of the same name in
|
|
39
|
+
// ../appengine.go. See that file for commentary.
|
|
40
|
+
func IsSecondGen() bool {
|
|
41
|
+
// Second-gen runtimes set $GAE_ENV so we use that to check if we're on a second-gen runtime.
|
|
42
|
+
return os.Getenv("GAE_ENV") == "standard"
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// IsFlex is the implementation of the wrapper function of the same name in
|
|
46
|
+
// ../appengine.go. See that file for commentary.
|
|
47
|
+
func IsFlex() bool {
|
|
48
|
+
return appengineFlex
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// IsAppEngine is the implementation of the wrapper function of the same name in
|
|
52
|
+
// ../appengine.go. See that file for commentary.
|
|
53
|
+
func IsAppEngine() bool {
|
|
54
|
+
return IsStandard() || IsFlex()
|
|
55
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// Copyright 2015 Google Inc. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by the Apache 2.0
|
|
3
|
+
// license that can be found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
// +build appengine
|
|
6
|
+
|
|
7
|
+
package internal
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"appengine"
|
|
11
|
+
|
|
12
|
+
netcontext "golang.org/x/net/context"
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
func init() {
|
|
16
|
+
appengineStandard = true
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
func DefaultVersionHostname(ctx netcontext.Context) string {
|
|
20
|
+
c := fromContext(ctx)
|
|
21
|
+
if c == nil {
|
|
22
|
+
panic(errNotAppEngineContext)
|
|
23
|
+
}
|
|
24
|
+
return appengine.DefaultVersionHostname(c)
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
func Datacenter(_ netcontext.Context) string { return appengine.Datacenter() }
|
|
28
|
+
func ServerSoftware() string { return appengine.ServerSoftware() }
|
|
29
|
+
func InstanceID() string { return appengine.InstanceID() }
|
|
30
|
+
func IsDevAppServer() bool { return appengine.IsDevAppServer() }
|
|
31
|
+
|
|
32
|
+
func RequestID(ctx netcontext.Context) string {
|
|
33
|
+
c := fromContext(ctx)
|
|
34
|
+
if c == nil {
|
|
35
|
+
panic(errNotAppEngineContext)
|
|
36
|
+
}
|
|
37
|
+
return appengine.RequestID(c)
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
func ModuleName(ctx netcontext.Context) string {
|
|
41
|
+
c := fromContext(ctx)
|
|
42
|
+
if c == nil {
|
|
43
|
+
panic(errNotAppEngineContext)
|
|
44
|
+
}
|
|
45
|
+
return appengine.ModuleName(c)
|
|
46
|
+
}
|
|
47
|
+
func VersionID(ctx netcontext.Context) string {
|
|
48
|
+
c := fromContext(ctx)
|
|
49
|
+
if c == nil {
|
|
50
|
+
panic(errNotAppEngineContext)
|
|
51
|
+
}
|
|
52
|
+
return appengine.VersionID(c)
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
func fullyQualifiedAppID(ctx netcontext.Context) string {
|
|
56
|
+
c := fromContext(ctx)
|
|
57
|
+
if c == nil {
|
|
58
|
+
panic(errNotAppEngineContext)
|
|
59
|
+
}
|
|
60
|
+
return c.FullyQualifiedAppID()
|
|
61
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
// Copyright 2011 Google Inc. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by the Apache 2.0
|
|
3
|
+
// license that can be found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
// +build !appengine
|
|
6
|
+
|
|
7
|
+
package internal
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
"log"
|
|
11
|
+
"net/http"
|
|
12
|
+
"os"
|
|
13
|
+
"strings"
|
|
14
|
+
|
|
15
|
+
netcontext "golang.org/x/net/context"
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
// These functions are implementations of the wrapper functions
|
|
19
|
+
// in ../appengine/identity.go. See that file for commentary.
|
|
20
|
+
|
|
21
|
+
const (
|
|
22
|
+
hDefaultVersionHostname = "X-AppEngine-Default-Version-Hostname"
|
|
23
|
+
hRequestLogId = "X-AppEngine-Request-Log-Id"
|
|
24
|
+
hDatacenter = "X-AppEngine-Datacenter"
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
func ctxHeaders(ctx netcontext.Context) http.Header {
|
|
28
|
+
c := fromContext(ctx)
|
|
29
|
+
if c == nil {
|
|
30
|
+
return nil
|
|
31
|
+
}
|
|
32
|
+
return c.Request().Header
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
func DefaultVersionHostname(ctx netcontext.Context) string {
|
|
36
|
+
return ctxHeaders(ctx).Get(hDefaultVersionHostname)
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
func RequestID(ctx netcontext.Context) string {
|
|
40
|
+
return ctxHeaders(ctx).Get(hRequestLogId)
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
func Datacenter(ctx netcontext.Context) string {
|
|
44
|
+
if dc := ctxHeaders(ctx).Get(hDatacenter); dc != "" {
|
|
45
|
+
return dc
|
|
46
|
+
}
|
|
47
|
+
// If the header isn't set, read zone from the metadata service.
|
|
48
|
+
// It has the format projects/[NUMERIC_PROJECT_ID]/zones/[ZONE]
|
|
49
|
+
zone, err := getMetadata("instance/zone")
|
|
50
|
+
if err != nil {
|
|
51
|
+
log.Printf("Datacenter: %v", err)
|
|
52
|
+
return ""
|
|
53
|
+
}
|
|
54
|
+
parts := strings.Split(string(zone), "/")
|
|
55
|
+
if len(parts) == 0 {
|
|
56
|
+
return ""
|
|
57
|
+
}
|
|
58
|
+
return parts[len(parts)-1]
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
func ServerSoftware() string {
|
|
62
|
+
// TODO(dsymonds): Remove fallback when we've verified this.
|
|
63
|
+
if s := os.Getenv("SERVER_SOFTWARE"); s != "" {
|
|
64
|
+
return s
|
|
65
|
+
}
|
|
66
|
+
if s := os.Getenv("GAE_ENV"); s != "" {
|
|
67
|
+
return s
|
|
68
|
+
}
|
|
69
|
+
return "Google App Engine/1.x.x"
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// TODO(dsymonds): Remove the metadata fetches.
|
|
73
|
+
|
|
74
|
+
func ModuleName(_ netcontext.Context) string {
|
|
75
|
+
if s := os.Getenv("GAE_MODULE_NAME"); s != "" {
|
|
76
|
+
return s
|
|
77
|
+
}
|
|
78
|
+
if s := os.Getenv("GAE_SERVICE"); s != "" {
|
|
79
|
+
return s
|
|
80
|
+
}
|
|
81
|
+
return string(mustGetMetadata("instance/attributes/gae_backend_name"))
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
func VersionID(_ netcontext.Context) string {
|
|
85
|
+
if s1, s2 := os.Getenv("GAE_MODULE_VERSION"), os.Getenv("GAE_MINOR_VERSION"); s1 != "" && s2 != "" {
|
|
86
|
+
return s1 + "." + s2
|
|
87
|
+
}
|
|
88
|
+
if s1, s2 := os.Getenv("GAE_VERSION"), os.Getenv("GAE_DEPLOYMENT_ID"); s1 != "" && s2 != "" {
|
|
89
|
+
return s1 + "." + s2
|
|
90
|
+
}
|
|
91
|
+
return string(mustGetMetadata("instance/attributes/gae_backend_version")) + "." + string(mustGetMetadata("instance/attributes/gae_backend_minor_version"))
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
func InstanceID() string {
|
|
95
|
+
if s := os.Getenv("GAE_MODULE_INSTANCE"); s != "" {
|
|
96
|
+
return s
|
|
97
|
+
}
|
|
98
|
+
if s := os.Getenv("GAE_INSTANCE"); s != "" {
|
|
99
|
+
return s
|
|
100
|
+
}
|
|
101
|
+
return string(mustGetMetadata("instance/attributes/gae_backend_instance"))
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
func partitionlessAppID() string {
|
|
105
|
+
// gae_project has everything except the partition prefix.
|
|
106
|
+
if appID := os.Getenv("GAE_LONG_APP_ID"); appID != "" {
|
|
107
|
+
return appID
|
|
108
|
+
}
|
|
109
|
+
if project := os.Getenv("GOOGLE_CLOUD_PROJECT"); project != "" {
|
|
110
|
+
return project
|
|
111
|
+
}
|
|
112
|
+
return string(mustGetMetadata("instance/attributes/gae_project"))
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
func fullyQualifiedAppID(_ netcontext.Context) string {
|
|
116
|
+
if s := os.Getenv("GAE_APPLICATION"); s != "" {
|
|
117
|
+
return s
|
|
118
|
+
}
|
|
119
|
+
appID := partitionlessAppID()
|
|
120
|
+
|
|
121
|
+
part := os.Getenv("GAE_PARTITION")
|
|
122
|
+
if part == "" {
|
|
123
|
+
part = string(mustGetMetadata("instance/attributes/gae_partition"))
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
if part != "" {
|
|
127
|
+
appID = part + "~" + appID
|
|
128
|
+
}
|
|
129
|
+
return appID
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
func IsDevAppServer() bool {
|
|
133
|
+
return os.Getenv("RUN_WITH_DEVAPPSERVER") != ""
|
|
134
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
// Copyright 2011 Google Inc. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by the Apache 2.0
|
|
3
|
+
// license that can be found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
// Package internal provides support for package appengine.
|
|
6
|
+
//
|
|
7
|
+
// Programs should not use this package directly. Its API is not stable.
|
|
8
|
+
// Use packages appengine and appengine/* instead.
|
|
9
|
+
package internal
|
|
10
|
+
|
|
11
|
+
import (
|
|
12
|
+
"fmt"
|
|
13
|
+
|
|
14
|
+
"github.com/golang/protobuf/proto"
|
|
15
|
+
|
|
16
|
+
remotepb "google.golang.org/appengine/internal/remote_api"
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
// errorCodeMaps is a map of service name to the error code map for the service.
|
|
20
|
+
var errorCodeMaps = make(map[string]map[int32]string)
|
|
21
|
+
|
|
22
|
+
// RegisterErrorCodeMap is called from API implementations to register their
|
|
23
|
+
// error code map. This should only be called from init functions.
|
|
24
|
+
func RegisterErrorCodeMap(service string, m map[int32]string) {
|
|
25
|
+
errorCodeMaps[service] = m
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
type timeoutCodeKey struct {
|
|
29
|
+
service string
|
|
30
|
+
code int32
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// timeoutCodes is the set of service+code pairs that represent timeouts.
|
|
34
|
+
var timeoutCodes = make(map[timeoutCodeKey]bool)
|
|
35
|
+
|
|
36
|
+
func RegisterTimeoutErrorCode(service string, code int32) {
|
|
37
|
+
timeoutCodes[timeoutCodeKey{service, code}] = true
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// APIError is the type returned by appengine.Context's Call method
|
|
41
|
+
// when an API call fails in an API-specific way. This may be, for instance,
|
|
42
|
+
// a taskqueue API call failing with TaskQueueServiceError::UNKNOWN_QUEUE.
|
|
43
|
+
type APIError struct {
|
|
44
|
+
Service string
|
|
45
|
+
Detail string
|
|
46
|
+
Code int32 // API-specific error code
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
func (e *APIError) Error() string {
|
|
50
|
+
if e.Code == 0 {
|
|
51
|
+
if e.Detail == "" {
|
|
52
|
+
return "APIError <empty>"
|
|
53
|
+
}
|
|
54
|
+
return e.Detail
|
|
55
|
+
}
|
|
56
|
+
s := fmt.Sprintf("API error %d", e.Code)
|
|
57
|
+
if m, ok := errorCodeMaps[e.Service]; ok {
|
|
58
|
+
s += " (" + e.Service + ": " + m[e.Code] + ")"
|
|
59
|
+
} else {
|
|
60
|
+
// Shouldn't happen, but provide a bit more detail if it does.
|
|
61
|
+
s = e.Service + " " + s
|
|
62
|
+
}
|
|
63
|
+
if e.Detail != "" {
|
|
64
|
+
s += ": " + e.Detail
|
|
65
|
+
}
|
|
66
|
+
return s
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
func (e *APIError) IsTimeout() bool {
|
|
70
|
+
return timeoutCodes[timeoutCodeKey{e.Service, e.Code}]
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// CallError is the type returned by appengine.Context's Call method when an
|
|
74
|
+
// API call fails in a generic way, such as RpcError::CAPABILITY_DISABLED.
|
|
75
|
+
type CallError struct {
|
|
76
|
+
Detail string
|
|
77
|
+
Code int32
|
|
78
|
+
// TODO: Remove this if we get a distinguishable error code.
|
|
79
|
+
Timeout bool
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
func (e *CallError) Error() string {
|
|
83
|
+
var msg string
|
|
84
|
+
switch remotepb.RpcError_ErrorCode(e.Code) {
|
|
85
|
+
case remotepb.RpcError_UNKNOWN:
|
|
86
|
+
return e.Detail
|
|
87
|
+
case remotepb.RpcError_OVER_QUOTA:
|
|
88
|
+
msg = "Over quota"
|
|
89
|
+
case remotepb.RpcError_CAPABILITY_DISABLED:
|
|
90
|
+
msg = "Capability disabled"
|
|
91
|
+
case remotepb.RpcError_CANCELLED:
|
|
92
|
+
msg = "Canceled"
|
|
93
|
+
default:
|
|
94
|
+
msg = fmt.Sprintf("Call error %d", e.Code)
|
|
95
|
+
}
|
|
96
|
+
s := msg + ": " + e.Detail
|
|
97
|
+
if e.Timeout {
|
|
98
|
+
s += " (timeout)"
|
|
99
|
+
}
|
|
100
|
+
return s
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
func (e *CallError) IsTimeout() bool {
|
|
104
|
+
return e.Timeout
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// NamespaceMods is a map from API service to a function that will mutate an RPC request to attach a namespace.
|
|
108
|
+
// The function should be prepared to be called on the same message more than once; it should only modify the
|
|
109
|
+
// RPC request the first time.
|
|
110
|
+
var NamespaceMods = make(map[string]func(m proto.Message, namespace string))
|
|
@@ -0,0 +1,1313 @@
|
|
|
1
|
+
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
|
+
// source: google.golang.org/appengine/internal/log/log_service.proto
|
|
3
|
+
|
|
4
|
+
package log
|
|
5
|
+
|
|
6
|
+
import proto "github.com/golang/protobuf/proto"
|
|
7
|
+
import fmt "fmt"
|
|
8
|
+
import math "math"
|
|
9
|
+
|
|
10
|
+
// Reference imports to suppress errors if they are not otherwise used.
|
|
11
|
+
var _ = proto.Marshal
|
|
12
|
+
var _ = fmt.Errorf
|
|
13
|
+
var _ = math.Inf
|
|
14
|
+
|
|
15
|
+
// This is a compile-time assertion to ensure that this generated file
|
|
16
|
+
// is compatible with the proto package it is being compiled against.
|
|
17
|
+
// A compilation error at this line likely means your copy of the
|
|
18
|
+
// proto package needs to be updated.
|
|
19
|
+
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
20
|
+
|
|
21
|
+
type LogServiceError_ErrorCode int32
|
|
22
|
+
|
|
23
|
+
const (
|
|
24
|
+
LogServiceError_OK LogServiceError_ErrorCode = 0
|
|
25
|
+
LogServiceError_INVALID_REQUEST LogServiceError_ErrorCode = 1
|
|
26
|
+
LogServiceError_STORAGE_ERROR LogServiceError_ErrorCode = 2
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
var LogServiceError_ErrorCode_name = map[int32]string{
|
|
30
|
+
0: "OK",
|
|
31
|
+
1: "INVALID_REQUEST",
|
|
32
|
+
2: "STORAGE_ERROR",
|
|
33
|
+
}
|
|
34
|
+
var LogServiceError_ErrorCode_value = map[string]int32{
|
|
35
|
+
"OK": 0,
|
|
36
|
+
"INVALID_REQUEST": 1,
|
|
37
|
+
"STORAGE_ERROR": 2,
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
func (x LogServiceError_ErrorCode) Enum() *LogServiceError_ErrorCode {
|
|
41
|
+
p := new(LogServiceError_ErrorCode)
|
|
42
|
+
*p = x
|
|
43
|
+
return p
|
|
44
|
+
}
|
|
45
|
+
func (x LogServiceError_ErrorCode) String() string {
|
|
46
|
+
return proto.EnumName(LogServiceError_ErrorCode_name, int32(x))
|
|
47
|
+
}
|
|
48
|
+
func (x *LogServiceError_ErrorCode) UnmarshalJSON(data []byte) error {
|
|
49
|
+
value, err := proto.UnmarshalJSONEnum(LogServiceError_ErrorCode_value, data, "LogServiceError_ErrorCode")
|
|
50
|
+
if err != nil {
|
|
51
|
+
return err
|
|
52
|
+
}
|
|
53
|
+
*x = LogServiceError_ErrorCode(value)
|
|
54
|
+
return nil
|
|
55
|
+
}
|
|
56
|
+
func (LogServiceError_ErrorCode) EnumDescriptor() ([]byte, []int) {
|
|
57
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{0, 0}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
type LogServiceError struct {
|
|
61
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
62
|
+
XXX_unrecognized []byte `json:"-"`
|
|
63
|
+
XXX_sizecache int32 `json:"-"`
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
func (m *LogServiceError) Reset() { *m = LogServiceError{} }
|
|
67
|
+
func (m *LogServiceError) String() string { return proto.CompactTextString(m) }
|
|
68
|
+
func (*LogServiceError) ProtoMessage() {}
|
|
69
|
+
func (*LogServiceError) Descriptor() ([]byte, []int) {
|
|
70
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{0}
|
|
71
|
+
}
|
|
72
|
+
func (m *LogServiceError) XXX_Unmarshal(b []byte) error {
|
|
73
|
+
return xxx_messageInfo_LogServiceError.Unmarshal(m, b)
|
|
74
|
+
}
|
|
75
|
+
func (m *LogServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
76
|
+
return xxx_messageInfo_LogServiceError.Marshal(b, m, deterministic)
|
|
77
|
+
}
|
|
78
|
+
func (dst *LogServiceError) XXX_Merge(src proto.Message) {
|
|
79
|
+
xxx_messageInfo_LogServiceError.Merge(dst, src)
|
|
80
|
+
}
|
|
81
|
+
func (m *LogServiceError) XXX_Size() int {
|
|
82
|
+
return xxx_messageInfo_LogServiceError.Size(m)
|
|
83
|
+
}
|
|
84
|
+
func (m *LogServiceError) XXX_DiscardUnknown() {
|
|
85
|
+
xxx_messageInfo_LogServiceError.DiscardUnknown(m)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
var xxx_messageInfo_LogServiceError proto.InternalMessageInfo
|
|
89
|
+
|
|
90
|
+
type UserAppLogLine struct {
|
|
91
|
+
TimestampUsec *int64 `protobuf:"varint,1,req,name=timestamp_usec,json=timestampUsec" json:"timestamp_usec,omitempty"`
|
|
92
|
+
Level *int64 `protobuf:"varint,2,req,name=level" json:"level,omitempty"`
|
|
93
|
+
Message *string `protobuf:"bytes,3,req,name=message" json:"message,omitempty"`
|
|
94
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
95
|
+
XXX_unrecognized []byte `json:"-"`
|
|
96
|
+
XXX_sizecache int32 `json:"-"`
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
func (m *UserAppLogLine) Reset() { *m = UserAppLogLine{} }
|
|
100
|
+
func (m *UserAppLogLine) String() string { return proto.CompactTextString(m) }
|
|
101
|
+
func (*UserAppLogLine) ProtoMessage() {}
|
|
102
|
+
func (*UserAppLogLine) Descriptor() ([]byte, []int) {
|
|
103
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{1}
|
|
104
|
+
}
|
|
105
|
+
func (m *UserAppLogLine) XXX_Unmarshal(b []byte) error {
|
|
106
|
+
return xxx_messageInfo_UserAppLogLine.Unmarshal(m, b)
|
|
107
|
+
}
|
|
108
|
+
func (m *UserAppLogLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
109
|
+
return xxx_messageInfo_UserAppLogLine.Marshal(b, m, deterministic)
|
|
110
|
+
}
|
|
111
|
+
func (dst *UserAppLogLine) XXX_Merge(src proto.Message) {
|
|
112
|
+
xxx_messageInfo_UserAppLogLine.Merge(dst, src)
|
|
113
|
+
}
|
|
114
|
+
func (m *UserAppLogLine) XXX_Size() int {
|
|
115
|
+
return xxx_messageInfo_UserAppLogLine.Size(m)
|
|
116
|
+
}
|
|
117
|
+
func (m *UserAppLogLine) XXX_DiscardUnknown() {
|
|
118
|
+
xxx_messageInfo_UserAppLogLine.DiscardUnknown(m)
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
var xxx_messageInfo_UserAppLogLine proto.InternalMessageInfo
|
|
122
|
+
|
|
123
|
+
func (m *UserAppLogLine) GetTimestampUsec() int64 {
|
|
124
|
+
if m != nil && m.TimestampUsec != nil {
|
|
125
|
+
return *m.TimestampUsec
|
|
126
|
+
}
|
|
127
|
+
return 0
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
func (m *UserAppLogLine) GetLevel() int64 {
|
|
131
|
+
if m != nil && m.Level != nil {
|
|
132
|
+
return *m.Level
|
|
133
|
+
}
|
|
134
|
+
return 0
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
func (m *UserAppLogLine) GetMessage() string {
|
|
138
|
+
if m != nil && m.Message != nil {
|
|
139
|
+
return *m.Message
|
|
140
|
+
}
|
|
141
|
+
return ""
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
type UserAppLogGroup struct {
|
|
145
|
+
LogLine []*UserAppLogLine `protobuf:"bytes,2,rep,name=log_line,json=logLine" json:"log_line,omitempty"`
|
|
146
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
147
|
+
XXX_unrecognized []byte `json:"-"`
|
|
148
|
+
XXX_sizecache int32 `json:"-"`
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
func (m *UserAppLogGroup) Reset() { *m = UserAppLogGroup{} }
|
|
152
|
+
func (m *UserAppLogGroup) String() string { return proto.CompactTextString(m) }
|
|
153
|
+
func (*UserAppLogGroup) ProtoMessage() {}
|
|
154
|
+
func (*UserAppLogGroup) Descriptor() ([]byte, []int) {
|
|
155
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{2}
|
|
156
|
+
}
|
|
157
|
+
func (m *UserAppLogGroup) XXX_Unmarshal(b []byte) error {
|
|
158
|
+
return xxx_messageInfo_UserAppLogGroup.Unmarshal(m, b)
|
|
159
|
+
}
|
|
160
|
+
func (m *UserAppLogGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
161
|
+
return xxx_messageInfo_UserAppLogGroup.Marshal(b, m, deterministic)
|
|
162
|
+
}
|
|
163
|
+
func (dst *UserAppLogGroup) XXX_Merge(src proto.Message) {
|
|
164
|
+
xxx_messageInfo_UserAppLogGroup.Merge(dst, src)
|
|
165
|
+
}
|
|
166
|
+
func (m *UserAppLogGroup) XXX_Size() int {
|
|
167
|
+
return xxx_messageInfo_UserAppLogGroup.Size(m)
|
|
168
|
+
}
|
|
169
|
+
func (m *UserAppLogGroup) XXX_DiscardUnknown() {
|
|
170
|
+
xxx_messageInfo_UserAppLogGroup.DiscardUnknown(m)
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
var xxx_messageInfo_UserAppLogGroup proto.InternalMessageInfo
|
|
174
|
+
|
|
175
|
+
func (m *UserAppLogGroup) GetLogLine() []*UserAppLogLine {
|
|
176
|
+
if m != nil {
|
|
177
|
+
return m.LogLine
|
|
178
|
+
}
|
|
179
|
+
return nil
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
type FlushRequest struct {
|
|
183
|
+
Logs []byte `protobuf:"bytes,1,opt,name=logs" json:"logs,omitempty"`
|
|
184
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
185
|
+
XXX_unrecognized []byte `json:"-"`
|
|
186
|
+
XXX_sizecache int32 `json:"-"`
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
func (m *FlushRequest) Reset() { *m = FlushRequest{} }
|
|
190
|
+
func (m *FlushRequest) String() string { return proto.CompactTextString(m) }
|
|
191
|
+
func (*FlushRequest) ProtoMessage() {}
|
|
192
|
+
func (*FlushRequest) Descriptor() ([]byte, []int) {
|
|
193
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{3}
|
|
194
|
+
}
|
|
195
|
+
func (m *FlushRequest) XXX_Unmarshal(b []byte) error {
|
|
196
|
+
return xxx_messageInfo_FlushRequest.Unmarshal(m, b)
|
|
197
|
+
}
|
|
198
|
+
func (m *FlushRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
199
|
+
return xxx_messageInfo_FlushRequest.Marshal(b, m, deterministic)
|
|
200
|
+
}
|
|
201
|
+
func (dst *FlushRequest) XXX_Merge(src proto.Message) {
|
|
202
|
+
xxx_messageInfo_FlushRequest.Merge(dst, src)
|
|
203
|
+
}
|
|
204
|
+
func (m *FlushRequest) XXX_Size() int {
|
|
205
|
+
return xxx_messageInfo_FlushRequest.Size(m)
|
|
206
|
+
}
|
|
207
|
+
func (m *FlushRequest) XXX_DiscardUnknown() {
|
|
208
|
+
xxx_messageInfo_FlushRequest.DiscardUnknown(m)
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
var xxx_messageInfo_FlushRequest proto.InternalMessageInfo
|
|
212
|
+
|
|
213
|
+
func (m *FlushRequest) GetLogs() []byte {
|
|
214
|
+
if m != nil {
|
|
215
|
+
return m.Logs
|
|
216
|
+
}
|
|
217
|
+
return nil
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
type SetStatusRequest struct {
|
|
221
|
+
Status *string `protobuf:"bytes,1,req,name=status" json:"status,omitempty"`
|
|
222
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
223
|
+
XXX_unrecognized []byte `json:"-"`
|
|
224
|
+
XXX_sizecache int32 `json:"-"`
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
func (m *SetStatusRequest) Reset() { *m = SetStatusRequest{} }
|
|
228
|
+
func (m *SetStatusRequest) String() string { return proto.CompactTextString(m) }
|
|
229
|
+
func (*SetStatusRequest) ProtoMessage() {}
|
|
230
|
+
func (*SetStatusRequest) Descriptor() ([]byte, []int) {
|
|
231
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{4}
|
|
232
|
+
}
|
|
233
|
+
func (m *SetStatusRequest) XXX_Unmarshal(b []byte) error {
|
|
234
|
+
return xxx_messageInfo_SetStatusRequest.Unmarshal(m, b)
|
|
235
|
+
}
|
|
236
|
+
func (m *SetStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
237
|
+
return xxx_messageInfo_SetStatusRequest.Marshal(b, m, deterministic)
|
|
238
|
+
}
|
|
239
|
+
func (dst *SetStatusRequest) XXX_Merge(src proto.Message) {
|
|
240
|
+
xxx_messageInfo_SetStatusRequest.Merge(dst, src)
|
|
241
|
+
}
|
|
242
|
+
func (m *SetStatusRequest) XXX_Size() int {
|
|
243
|
+
return xxx_messageInfo_SetStatusRequest.Size(m)
|
|
244
|
+
}
|
|
245
|
+
func (m *SetStatusRequest) XXX_DiscardUnknown() {
|
|
246
|
+
xxx_messageInfo_SetStatusRequest.DiscardUnknown(m)
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
var xxx_messageInfo_SetStatusRequest proto.InternalMessageInfo
|
|
250
|
+
|
|
251
|
+
func (m *SetStatusRequest) GetStatus() string {
|
|
252
|
+
if m != nil && m.Status != nil {
|
|
253
|
+
return *m.Status
|
|
254
|
+
}
|
|
255
|
+
return ""
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
type LogOffset struct {
|
|
259
|
+
RequestId []byte `protobuf:"bytes,1,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
|
|
260
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
261
|
+
XXX_unrecognized []byte `json:"-"`
|
|
262
|
+
XXX_sizecache int32 `json:"-"`
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
func (m *LogOffset) Reset() { *m = LogOffset{} }
|
|
266
|
+
func (m *LogOffset) String() string { return proto.CompactTextString(m) }
|
|
267
|
+
func (*LogOffset) ProtoMessage() {}
|
|
268
|
+
func (*LogOffset) Descriptor() ([]byte, []int) {
|
|
269
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{5}
|
|
270
|
+
}
|
|
271
|
+
func (m *LogOffset) XXX_Unmarshal(b []byte) error {
|
|
272
|
+
return xxx_messageInfo_LogOffset.Unmarshal(m, b)
|
|
273
|
+
}
|
|
274
|
+
func (m *LogOffset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
275
|
+
return xxx_messageInfo_LogOffset.Marshal(b, m, deterministic)
|
|
276
|
+
}
|
|
277
|
+
func (dst *LogOffset) XXX_Merge(src proto.Message) {
|
|
278
|
+
xxx_messageInfo_LogOffset.Merge(dst, src)
|
|
279
|
+
}
|
|
280
|
+
func (m *LogOffset) XXX_Size() int {
|
|
281
|
+
return xxx_messageInfo_LogOffset.Size(m)
|
|
282
|
+
}
|
|
283
|
+
func (m *LogOffset) XXX_DiscardUnknown() {
|
|
284
|
+
xxx_messageInfo_LogOffset.DiscardUnknown(m)
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
var xxx_messageInfo_LogOffset proto.InternalMessageInfo
|
|
288
|
+
|
|
289
|
+
func (m *LogOffset) GetRequestId() []byte {
|
|
290
|
+
if m != nil {
|
|
291
|
+
return m.RequestId
|
|
292
|
+
}
|
|
293
|
+
return nil
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
type LogLine struct {
|
|
297
|
+
Time *int64 `protobuf:"varint,1,req,name=time" json:"time,omitempty"`
|
|
298
|
+
Level *int32 `protobuf:"varint,2,req,name=level" json:"level,omitempty"`
|
|
299
|
+
LogMessage *string `protobuf:"bytes,3,req,name=log_message,json=logMessage" json:"log_message,omitempty"`
|
|
300
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
301
|
+
XXX_unrecognized []byte `json:"-"`
|
|
302
|
+
XXX_sizecache int32 `json:"-"`
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
func (m *LogLine) Reset() { *m = LogLine{} }
|
|
306
|
+
func (m *LogLine) String() string { return proto.CompactTextString(m) }
|
|
307
|
+
func (*LogLine) ProtoMessage() {}
|
|
308
|
+
func (*LogLine) Descriptor() ([]byte, []int) {
|
|
309
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{6}
|
|
310
|
+
}
|
|
311
|
+
func (m *LogLine) XXX_Unmarshal(b []byte) error {
|
|
312
|
+
return xxx_messageInfo_LogLine.Unmarshal(m, b)
|
|
313
|
+
}
|
|
314
|
+
func (m *LogLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
315
|
+
return xxx_messageInfo_LogLine.Marshal(b, m, deterministic)
|
|
316
|
+
}
|
|
317
|
+
func (dst *LogLine) XXX_Merge(src proto.Message) {
|
|
318
|
+
xxx_messageInfo_LogLine.Merge(dst, src)
|
|
319
|
+
}
|
|
320
|
+
func (m *LogLine) XXX_Size() int {
|
|
321
|
+
return xxx_messageInfo_LogLine.Size(m)
|
|
322
|
+
}
|
|
323
|
+
func (m *LogLine) XXX_DiscardUnknown() {
|
|
324
|
+
xxx_messageInfo_LogLine.DiscardUnknown(m)
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
var xxx_messageInfo_LogLine proto.InternalMessageInfo
|
|
328
|
+
|
|
329
|
+
func (m *LogLine) GetTime() int64 {
|
|
330
|
+
if m != nil && m.Time != nil {
|
|
331
|
+
return *m.Time
|
|
332
|
+
}
|
|
333
|
+
return 0
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
func (m *LogLine) GetLevel() int32 {
|
|
337
|
+
if m != nil && m.Level != nil {
|
|
338
|
+
return *m.Level
|
|
339
|
+
}
|
|
340
|
+
return 0
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
func (m *LogLine) GetLogMessage() string {
|
|
344
|
+
if m != nil && m.LogMessage != nil {
|
|
345
|
+
return *m.LogMessage
|
|
346
|
+
}
|
|
347
|
+
return ""
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
type RequestLog struct {
|
|
351
|
+
AppId *string `protobuf:"bytes,1,req,name=app_id,json=appId" json:"app_id,omitempty"`
|
|
352
|
+
ModuleId *string `protobuf:"bytes,37,opt,name=module_id,json=moduleId,def=default" json:"module_id,omitempty"`
|
|
353
|
+
VersionId *string `protobuf:"bytes,2,req,name=version_id,json=versionId" json:"version_id,omitempty"`
|
|
354
|
+
RequestId []byte `protobuf:"bytes,3,req,name=request_id,json=requestId" json:"request_id,omitempty"`
|
|
355
|
+
Offset *LogOffset `protobuf:"bytes,35,opt,name=offset" json:"offset,omitempty"`
|
|
356
|
+
Ip *string `protobuf:"bytes,4,req,name=ip" json:"ip,omitempty"`
|
|
357
|
+
Nickname *string `protobuf:"bytes,5,opt,name=nickname" json:"nickname,omitempty"`
|
|
358
|
+
StartTime *int64 `protobuf:"varint,6,req,name=start_time,json=startTime" json:"start_time,omitempty"`
|
|
359
|
+
EndTime *int64 `protobuf:"varint,7,req,name=end_time,json=endTime" json:"end_time,omitempty"`
|
|
360
|
+
Latency *int64 `protobuf:"varint,8,req,name=latency" json:"latency,omitempty"`
|
|
361
|
+
Mcycles *int64 `protobuf:"varint,9,req,name=mcycles" json:"mcycles,omitempty"`
|
|
362
|
+
Method *string `protobuf:"bytes,10,req,name=method" json:"method,omitempty"`
|
|
363
|
+
Resource *string `protobuf:"bytes,11,req,name=resource" json:"resource,omitempty"`
|
|
364
|
+
HttpVersion *string `protobuf:"bytes,12,req,name=http_version,json=httpVersion" json:"http_version,omitempty"`
|
|
365
|
+
Status *int32 `protobuf:"varint,13,req,name=status" json:"status,omitempty"`
|
|
366
|
+
ResponseSize *int64 `protobuf:"varint,14,req,name=response_size,json=responseSize" json:"response_size,omitempty"`
|
|
367
|
+
Referrer *string `protobuf:"bytes,15,opt,name=referrer" json:"referrer,omitempty"`
|
|
368
|
+
UserAgent *string `protobuf:"bytes,16,opt,name=user_agent,json=userAgent" json:"user_agent,omitempty"`
|
|
369
|
+
UrlMapEntry *string `protobuf:"bytes,17,req,name=url_map_entry,json=urlMapEntry" json:"url_map_entry,omitempty"`
|
|
370
|
+
Combined *string `protobuf:"bytes,18,req,name=combined" json:"combined,omitempty"`
|
|
371
|
+
ApiMcycles *int64 `protobuf:"varint,19,opt,name=api_mcycles,json=apiMcycles" json:"api_mcycles,omitempty"`
|
|
372
|
+
Host *string `protobuf:"bytes,20,opt,name=host" json:"host,omitempty"`
|
|
373
|
+
Cost *float64 `protobuf:"fixed64,21,opt,name=cost" json:"cost,omitempty"`
|
|
374
|
+
TaskQueueName *string `protobuf:"bytes,22,opt,name=task_queue_name,json=taskQueueName" json:"task_queue_name,omitempty"`
|
|
375
|
+
TaskName *string `protobuf:"bytes,23,opt,name=task_name,json=taskName" json:"task_name,omitempty"`
|
|
376
|
+
WasLoadingRequest *bool `protobuf:"varint,24,opt,name=was_loading_request,json=wasLoadingRequest" json:"was_loading_request,omitempty"`
|
|
377
|
+
PendingTime *int64 `protobuf:"varint,25,opt,name=pending_time,json=pendingTime" json:"pending_time,omitempty"`
|
|
378
|
+
ReplicaIndex *int32 `protobuf:"varint,26,opt,name=replica_index,json=replicaIndex,def=-1" json:"replica_index,omitempty"`
|
|
379
|
+
Finished *bool `protobuf:"varint,27,opt,name=finished,def=1" json:"finished,omitempty"`
|
|
380
|
+
CloneKey []byte `protobuf:"bytes,28,opt,name=clone_key,json=cloneKey" json:"clone_key,omitempty"`
|
|
381
|
+
Line []*LogLine `protobuf:"bytes,29,rep,name=line" json:"line,omitempty"`
|
|
382
|
+
LinesIncomplete *bool `protobuf:"varint,36,opt,name=lines_incomplete,json=linesIncomplete" json:"lines_incomplete,omitempty"`
|
|
383
|
+
AppEngineRelease []byte `protobuf:"bytes,38,opt,name=app_engine_release,json=appEngineRelease" json:"app_engine_release,omitempty"`
|
|
384
|
+
ExitReason *int32 `protobuf:"varint,30,opt,name=exit_reason,json=exitReason" json:"exit_reason,omitempty"`
|
|
385
|
+
WasThrottledForTime *bool `protobuf:"varint,31,opt,name=was_throttled_for_time,json=wasThrottledForTime" json:"was_throttled_for_time,omitempty"`
|
|
386
|
+
WasThrottledForRequests *bool `protobuf:"varint,32,opt,name=was_throttled_for_requests,json=wasThrottledForRequests" json:"was_throttled_for_requests,omitempty"`
|
|
387
|
+
ThrottledTime *int64 `protobuf:"varint,33,opt,name=throttled_time,json=throttledTime" json:"throttled_time,omitempty"`
|
|
388
|
+
ServerName []byte `protobuf:"bytes,34,opt,name=server_name,json=serverName" json:"server_name,omitempty"`
|
|
389
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
390
|
+
XXX_unrecognized []byte `json:"-"`
|
|
391
|
+
XXX_sizecache int32 `json:"-"`
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
func (m *RequestLog) Reset() { *m = RequestLog{} }
|
|
395
|
+
func (m *RequestLog) String() string { return proto.CompactTextString(m) }
|
|
396
|
+
func (*RequestLog) ProtoMessage() {}
|
|
397
|
+
func (*RequestLog) Descriptor() ([]byte, []int) {
|
|
398
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{7}
|
|
399
|
+
}
|
|
400
|
+
func (m *RequestLog) XXX_Unmarshal(b []byte) error {
|
|
401
|
+
return xxx_messageInfo_RequestLog.Unmarshal(m, b)
|
|
402
|
+
}
|
|
403
|
+
func (m *RequestLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
404
|
+
return xxx_messageInfo_RequestLog.Marshal(b, m, deterministic)
|
|
405
|
+
}
|
|
406
|
+
func (dst *RequestLog) XXX_Merge(src proto.Message) {
|
|
407
|
+
xxx_messageInfo_RequestLog.Merge(dst, src)
|
|
408
|
+
}
|
|
409
|
+
func (m *RequestLog) XXX_Size() int {
|
|
410
|
+
return xxx_messageInfo_RequestLog.Size(m)
|
|
411
|
+
}
|
|
412
|
+
func (m *RequestLog) XXX_DiscardUnknown() {
|
|
413
|
+
xxx_messageInfo_RequestLog.DiscardUnknown(m)
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
var xxx_messageInfo_RequestLog proto.InternalMessageInfo
|
|
417
|
+
|
|
418
|
+
const Default_RequestLog_ModuleId string = "default"
|
|
419
|
+
const Default_RequestLog_ReplicaIndex int32 = -1
|
|
420
|
+
const Default_RequestLog_Finished bool = true
|
|
421
|
+
|
|
422
|
+
func (m *RequestLog) GetAppId() string {
|
|
423
|
+
if m != nil && m.AppId != nil {
|
|
424
|
+
return *m.AppId
|
|
425
|
+
}
|
|
426
|
+
return ""
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
func (m *RequestLog) GetModuleId() string {
|
|
430
|
+
if m != nil && m.ModuleId != nil {
|
|
431
|
+
return *m.ModuleId
|
|
432
|
+
}
|
|
433
|
+
return Default_RequestLog_ModuleId
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
func (m *RequestLog) GetVersionId() string {
|
|
437
|
+
if m != nil && m.VersionId != nil {
|
|
438
|
+
return *m.VersionId
|
|
439
|
+
}
|
|
440
|
+
return ""
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
func (m *RequestLog) GetRequestId() []byte {
|
|
444
|
+
if m != nil {
|
|
445
|
+
return m.RequestId
|
|
446
|
+
}
|
|
447
|
+
return nil
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
func (m *RequestLog) GetOffset() *LogOffset {
|
|
451
|
+
if m != nil {
|
|
452
|
+
return m.Offset
|
|
453
|
+
}
|
|
454
|
+
return nil
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
func (m *RequestLog) GetIp() string {
|
|
458
|
+
if m != nil && m.Ip != nil {
|
|
459
|
+
return *m.Ip
|
|
460
|
+
}
|
|
461
|
+
return ""
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
func (m *RequestLog) GetNickname() string {
|
|
465
|
+
if m != nil && m.Nickname != nil {
|
|
466
|
+
return *m.Nickname
|
|
467
|
+
}
|
|
468
|
+
return ""
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
func (m *RequestLog) GetStartTime() int64 {
|
|
472
|
+
if m != nil && m.StartTime != nil {
|
|
473
|
+
return *m.StartTime
|
|
474
|
+
}
|
|
475
|
+
return 0
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
func (m *RequestLog) GetEndTime() int64 {
|
|
479
|
+
if m != nil && m.EndTime != nil {
|
|
480
|
+
return *m.EndTime
|
|
481
|
+
}
|
|
482
|
+
return 0
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
func (m *RequestLog) GetLatency() int64 {
|
|
486
|
+
if m != nil && m.Latency != nil {
|
|
487
|
+
return *m.Latency
|
|
488
|
+
}
|
|
489
|
+
return 0
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
func (m *RequestLog) GetMcycles() int64 {
|
|
493
|
+
if m != nil && m.Mcycles != nil {
|
|
494
|
+
return *m.Mcycles
|
|
495
|
+
}
|
|
496
|
+
return 0
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
func (m *RequestLog) GetMethod() string {
|
|
500
|
+
if m != nil && m.Method != nil {
|
|
501
|
+
return *m.Method
|
|
502
|
+
}
|
|
503
|
+
return ""
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
func (m *RequestLog) GetResource() string {
|
|
507
|
+
if m != nil && m.Resource != nil {
|
|
508
|
+
return *m.Resource
|
|
509
|
+
}
|
|
510
|
+
return ""
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
func (m *RequestLog) GetHttpVersion() string {
|
|
514
|
+
if m != nil && m.HttpVersion != nil {
|
|
515
|
+
return *m.HttpVersion
|
|
516
|
+
}
|
|
517
|
+
return ""
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
func (m *RequestLog) GetStatus() int32 {
|
|
521
|
+
if m != nil && m.Status != nil {
|
|
522
|
+
return *m.Status
|
|
523
|
+
}
|
|
524
|
+
return 0
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
func (m *RequestLog) GetResponseSize() int64 {
|
|
528
|
+
if m != nil && m.ResponseSize != nil {
|
|
529
|
+
return *m.ResponseSize
|
|
530
|
+
}
|
|
531
|
+
return 0
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
func (m *RequestLog) GetReferrer() string {
|
|
535
|
+
if m != nil && m.Referrer != nil {
|
|
536
|
+
return *m.Referrer
|
|
537
|
+
}
|
|
538
|
+
return ""
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
func (m *RequestLog) GetUserAgent() string {
|
|
542
|
+
if m != nil && m.UserAgent != nil {
|
|
543
|
+
return *m.UserAgent
|
|
544
|
+
}
|
|
545
|
+
return ""
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
func (m *RequestLog) GetUrlMapEntry() string {
|
|
549
|
+
if m != nil && m.UrlMapEntry != nil {
|
|
550
|
+
return *m.UrlMapEntry
|
|
551
|
+
}
|
|
552
|
+
return ""
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
func (m *RequestLog) GetCombined() string {
|
|
556
|
+
if m != nil && m.Combined != nil {
|
|
557
|
+
return *m.Combined
|
|
558
|
+
}
|
|
559
|
+
return ""
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
func (m *RequestLog) GetApiMcycles() int64 {
|
|
563
|
+
if m != nil && m.ApiMcycles != nil {
|
|
564
|
+
return *m.ApiMcycles
|
|
565
|
+
}
|
|
566
|
+
return 0
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
func (m *RequestLog) GetHost() string {
|
|
570
|
+
if m != nil && m.Host != nil {
|
|
571
|
+
return *m.Host
|
|
572
|
+
}
|
|
573
|
+
return ""
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
func (m *RequestLog) GetCost() float64 {
|
|
577
|
+
if m != nil && m.Cost != nil {
|
|
578
|
+
return *m.Cost
|
|
579
|
+
}
|
|
580
|
+
return 0
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
func (m *RequestLog) GetTaskQueueName() string {
|
|
584
|
+
if m != nil && m.TaskQueueName != nil {
|
|
585
|
+
return *m.TaskQueueName
|
|
586
|
+
}
|
|
587
|
+
return ""
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
func (m *RequestLog) GetTaskName() string {
|
|
591
|
+
if m != nil && m.TaskName != nil {
|
|
592
|
+
return *m.TaskName
|
|
593
|
+
}
|
|
594
|
+
return ""
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
func (m *RequestLog) GetWasLoadingRequest() bool {
|
|
598
|
+
if m != nil && m.WasLoadingRequest != nil {
|
|
599
|
+
return *m.WasLoadingRequest
|
|
600
|
+
}
|
|
601
|
+
return false
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
func (m *RequestLog) GetPendingTime() int64 {
|
|
605
|
+
if m != nil && m.PendingTime != nil {
|
|
606
|
+
return *m.PendingTime
|
|
607
|
+
}
|
|
608
|
+
return 0
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
func (m *RequestLog) GetReplicaIndex() int32 {
|
|
612
|
+
if m != nil && m.ReplicaIndex != nil {
|
|
613
|
+
return *m.ReplicaIndex
|
|
614
|
+
}
|
|
615
|
+
return Default_RequestLog_ReplicaIndex
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
func (m *RequestLog) GetFinished() bool {
|
|
619
|
+
if m != nil && m.Finished != nil {
|
|
620
|
+
return *m.Finished
|
|
621
|
+
}
|
|
622
|
+
return Default_RequestLog_Finished
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
func (m *RequestLog) GetCloneKey() []byte {
|
|
626
|
+
if m != nil {
|
|
627
|
+
return m.CloneKey
|
|
628
|
+
}
|
|
629
|
+
return nil
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
func (m *RequestLog) GetLine() []*LogLine {
|
|
633
|
+
if m != nil {
|
|
634
|
+
return m.Line
|
|
635
|
+
}
|
|
636
|
+
return nil
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
func (m *RequestLog) GetLinesIncomplete() bool {
|
|
640
|
+
if m != nil && m.LinesIncomplete != nil {
|
|
641
|
+
return *m.LinesIncomplete
|
|
642
|
+
}
|
|
643
|
+
return false
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
func (m *RequestLog) GetAppEngineRelease() []byte {
|
|
647
|
+
if m != nil {
|
|
648
|
+
return m.AppEngineRelease
|
|
649
|
+
}
|
|
650
|
+
return nil
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
func (m *RequestLog) GetExitReason() int32 {
|
|
654
|
+
if m != nil && m.ExitReason != nil {
|
|
655
|
+
return *m.ExitReason
|
|
656
|
+
}
|
|
657
|
+
return 0
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
func (m *RequestLog) GetWasThrottledForTime() bool {
|
|
661
|
+
if m != nil && m.WasThrottledForTime != nil {
|
|
662
|
+
return *m.WasThrottledForTime
|
|
663
|
+
}
|
|
664
|
+
return false
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
func (m *RequestLog) GetWasThrottledForRequests() bool {
|
|
668
|
+
if m != nil && m.WasThrottledForRequests != nil {
|
|
669
|
+
return *m.WasThrottledForRequests
|
|
670
|
+
}
|
|
671
|
+
return false
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
func (m *RequestLog) GetThrottledTime() int64 {
|
|
675
|
+
if m != nil && m.ThrottledTime != nil {
|
|
676
|
+
return *m.ThrottledTime
|
|
677
|
+
}
|
|
678
|
+
return 0
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
func (m *RequestLog) GetServerName() []byte {
|
|
682
|
+
if m != nil {
|
|
683
|
+
return m.ServerName
|
|
684
|
+
}
|
|
685
|
+
return nil
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
type LogModuleVersion struct {
|
|
689
|
+
ModuleId *string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,def=default" json:"module_id,omitempty"`
|
|
690
|
+
VersionId *string `protobuf:"bytes,2,opt,name=version_id,json=versionId" json:"version_id,omitempty"`
|
|
691
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
692
|
+
XXX_unrecognized []byte `json:"-"`
|
|
693
|
+
XXX_sizecache int32 `json:"-"`
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
func (m *LogModuleVersion) Reset() { *m = LogModuleVersion{} }
|
|
697
|
+
func (m *LogModuleVersion) String() string { return proto.CompactTextString(m) }
|
|
698
|
+
func (*LogModuleVersion) ProtoMessage() {}
|
|
699
|
+
func (*LogModuleVersion) Descriptor() ([]byte, []int) {
|
|
700
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{8}
|
|
701
|
+
}
|
|
702
|
+
func (m *LogModuleVersion) XXX_Unmarshal(b []byte) error {
|
|
703
|
+
return xxx_messageInfo_LogModuleVersion.Unmarshal(m, b)
|
|
704
|
+
}
|
|
705
|
+
func (m *LogModuleVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
706
|
+
return xxx_messageInfo_LogModuleVersion.Marshal(b, m, deterministic)
|
|
707
|
+
}
|
|
708
|
+
func (dst *LogModuleVersion) XXX_Merge(src proto.Message) {
|
|
709
|
+
xxx_messageInfo_LogModuleVersion.Merge(dst, src)
|
|
710
|
+
}
|
|
711
|
+
func (m *LogModuleVersion) XXX_Size() int {
|
|
712
|
+
return xxx_messageInfo_LogModuleVersion.Size(m)
|
|
713
|
+
}
|
|
714
|
+
func (m *LogModuleVersion) XXX_DiscardUnknown() {
|
|
715
|
+
xxx_messageInfo_LogModuleVersion.DiscardUnknown(m)
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
var xxx_messageInfo_LogModuleVersion proto.InternalMessageInfo
|
|
719
|
+
|
|
720
|
+
const Default_LogModuleVersion_ModuleId string = "default"
|
|
721
|
+
|
|
722
|
+
func (m *LogModuleVersion) GetModuleId() string {
|
|
723
|
+
if m != nil && m.ModuleId != nil {
|
|
724
|
+
return *m.ModuleId
|
|
725
|
+
}
|
|
726
|
+
return Default_LogModuleVersion_ModuleId
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
func (m *LogModuleVersion) GetVersionId() string {
|
|
730
|
+
if m != nil && m.VersionId != nil {
|
|
731
|
+
return *m.VersionId
|
|
732
|
+
}
|
|
733
|
+
return ""
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
type LogReadRequest struct {
|
|
737
|
+
AppId *string `protobuf:"bytes,1,req,name=app_id,json=appId" json:"app_id,omitempty"`
|
|
738
|
+
VersionId []string `protobuf:"bytes,2,rep,name=version_id,json=versionId" json:"version_id,omitempty"`
|
|
739
|
+
ModuleVersion []*LogModuleVersion `protobuf:"bytes,19,rep,name=module_version,json=moduleVersion" json:"module_version,omitempty"`
|
|
740
|
+
StartTime *int64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
|
741
|
+
EndTime *int64 `protobuf:"varint,4,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
|
742
|
+
Offset *LogOffset `protobuf:"bytes,5,opt,name=offset" json:"offset,omitempty"`
|
|
743
|
+
RequestId [][]byte `protobuf:"bytes,6,rep,name=request_id,json=requestId" json:"request_id,omitempty"`
|
|
744
|
+
MinimumLogLevel *int32 `protobuf:"varint,7,opt,name=minimum_log_level,json=minimumLogLevel" json:"minimum_log_level,omitempty"`
|
|
745
|
+
IncludeIncomplete *bool `protobuf:"varint,8,opt,name=include_incomplete,json=includeIncomplete" json:"include_incomplete,omitempty"`
|
|
746
|
+
Count *int64 `protobuf:"varint,9,opt,name=count" json:"count,omitempty"`
|
|
747
|
+
CombinedLogRegex *string `protobuf:"bytes,14,opt,name=combined_log_regex,json=combinedLogRegex" json:"combined_log_regex,omitempty"`
|
|
748
|
+
HostRegex *string `protobuf:"bytes,15,opt,name=host_regex,json=hostRegex" json:"host_regex,omitempty"`
|
|
749
|
+
ReplicaIndex *int32 `protobuf:"varint,16,opt,name=replica_index,json=replicaIndex" json:"replica_index,omitempty"`
|
|
750
|
+
IncludeAppLogs *bool `protobuf:"varint,10,opt,name=include_app_logs,json=includeAppLogs" json:"include_app_logs,omitempty"`
|
|
751
|
+
AppLogsPerRequest *int32 `protobuf:"varint,17,opt,name=app_logs_per_request,json=appLogsPerRequest" json:"app_logs_per_request,omitempty"`
|
|
752
|
+
IncludeHost *bool `protobuf:"varint,11,opt,name=include_host,json=includeHost" json:"include_host,omitempty"`
|
|
753
|
+
IncludeAll *bool `protobuf:"varint,12,opt,name=include_all,json=includeAll" json:"include_all,omitempty"`
|
|
754
|
+
CacheIterator *bool `protobuf:"varint,13,opt,name=cache_iterator,json=cacheIterator" json:"cache_iterator,omitempty"`
|
|
755
|
+
NumShards *int32 `protobuf:"varint,18,opt,name=num_shards,json=numShards" json:"num_shards,omitempty"`
|
|
756
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
757
|
+
XXX_unrecognized []byte `json:"-"`
|
|
758
|
+
XXX_sizecache int32 `json:"-"`
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
func (m *LogReadRequest) Reset() { *m = LogReadRequest{} }
|
|
762
|
+
func (m *LogReadRequest) String() string { return proto.CompactTextString(m) }
|
|
763
|
+
func (*LogReadRequest) ProtoMessage() {}
|
|
764
|
+
func (*LogReadRequest) Descriptor() ([]byte, []int) {
|
|
765
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{9}
|
|
766
|
+
}
|
|
767
|
+
func (m *LogReadRequest) XXX_Unmarshal(b []byte) error {
|
|
768
|
+
return xxx_messageInfo_LogReadRequest.Unmarshal(m, b)
|
|
769
|
+
}
|
|
770
|
+
func (m *LogReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
771
|
+
return xxx_messageInfo_LogReadRequest.Marshal(b, m, deterministic)
|
|
772
|
+
}
|
|
773
|
+
func (dst *LogReadRequest) XXX_Merge(src proto.Message) {
|
|
774
|
+
xxx_messageInfo_LogReadRequest.Merge(dst, src)
|
|
775
|
+
}
|
|
776
|
+
func (m *LogReadRequest) XXX_Size() int {
|
|
777
|
+
return xxx_messageInfo_LogReadRequest.Size(m)
|
|
778
|
+
}
|
|
779
|
+
func (m *LogReadRequest) XXX_DiscardUnknown() {
|
|
780
|
+
xxx_messageInfo_LogReadRequest.DiscardUnknown(m)
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
var xxx_messageInfo_LogReadRequest proto.InternalMessageInfo
|
|
784
|
+
|
|
785
|
+
func (m *LogReadRequest) GetAppId() string {
|
|
786
|
+
if m != nil && m.AppId != nil {
|
|
787
|
+
return *m.AppId
|
|
788
|
+
}
|
|
789
|
+
return ""
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
func (m *LogReadRequest) GetVersionId() []string {
|
|
793
|
+
if m != nil {
|
|
794
|
+
return m.VersionId
|
|
795
|
+
}
|
|
796
|
+
return nil
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
func (m *LogReadRequest) GetModuleVersion() []*LogModuleVersion {
|
|
800
|
+
if m != nil {
|
|
801
|
+
return m.ModuleVersion
|
|
802
|
+
}
|
|
803
|
+
return nil
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
func (m *LogReadRequest) GetStartTime() int64 {
|
|
807
|
+
if m != nil && m.StartTime != nil {
|
|
808
|
+
return *m.StartTime
|
|
809
|
+
}
|
|
810
|
+
return 0
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
func (m *LogReadRequest) GetEndTime() int64 {
|
|
814
|
+
if m != nil && m.EndTime != nil {
|
|
815
|
+
return *m.EndTime
|
|
816
|
+
}
|
|
817
|
+
return 0
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
func (m *LogReadRequest) GetOffset() *LogOffset {
|
|
821
|
+
if m != nil {
|
|
822
|
+
return m.Offset
|
|
823
|
+
}
|
|
824
|
+
return nil
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
func (m *LogReadRequest) GetRequestId() [][]byte {
|
|
828
|
+
if m != nil {
|
|
829
|
+
return m.RequestId
|
|
830
|
+
}
|
|
831
|
+
return nil
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
func (m *LogReadRequest) GetMinimumLogLevel() int32 {
|
|
835
|
+
if m != nil && m.MinimumLogLevel != nil {
|
|
836
|
+
return *m.MinimumLogLevel
|
|
837
|
+
}
|
|
838
|
+
return 0
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
func (m *LogReadRequest) GetIncludeIncomplete() bool {
|
|
842
|
+
if m != nil && m.IncludeIncomplete != nil {
|
|
843
|
+
return *m.IncludeIncomplete
|
|
844
|
+
}
|
|
845
|
+
return false
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
func (m *LogReadRequest) GetCount() int64 {
|
|
849
|
+
if m != nil && m.Count != nil {
|
|
850
|
+
return *m.Count
|
|
851
|
+
}
|
|
852
|
+
return 0
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
func (m *LogReadRequest) GetCombinedLogRegex() string {
|
|
856
|
+
if m != nil && m.CombinedLogRegex != nil {
|
|
857
|
+
return *m.CombinedLogRegex
|
|
858
|
+
}
|
|
859
|
+
return ""
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
func (m *LogReadRequest) GetHostRegex() string {
|
|
863
|
+
if m != nil && m.HostRegex != nil {
|
|
864
|
+
return *m.HostRegex
|
|
865
|
+
}
|
|
866
|
+
return ""
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
func (m *LogReadRequest) GetReplicaIndex() int32 {
|
|
870
|
+
if m != nil && m.ReplicaIndex != nil {
|
|
871
|
+
return *m.ReplicaIndex
|
|
872
|
+
}
|
|
873
|
+
return 0
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
func (m *LogReadRequest) GetIncludeAppLogs() bool {
|
|
877
|
+
if m != nil && m.IncludeAppLogs != nil {
|
|
878
|
+
return *m.IncludeAppLogs
|
|
879
|
+
}
|
|
880
|
+
return false
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
func (m *LogReadRequest) GetAppLogsPerRequest() int32 {
|
|
884
|
+
if m != nil && m.AppLogsPerRequest != nil {
|
|
885
|
+
return *m.AppLogsPerRequest
|
|
886
|
+
}
|
|
887
|
+
return 0
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
func (m *LogReadRequest) GetIncludeHost() bool {
|
|
891
|
+
if m != nil && m.IncludeHost != nil {
|
|
892
|
+
return *m.IncludeHost
|
|
893
|
+
}
|
|
894
|
+
return false
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
func (m *LogReadRequest) GetIncludeAll() bool {
|
|
898
|
+
if m != nil && m.IncludeAll != nil {
|
|
899
|
+
return *m.IncludeAll
|
|
900
|
+
}
|
|
901
|
+
return false
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
func (m *LogReadRequest) GetCacheIterator() bool {
|
|
905
|
+
if m != nil && m.CacheIterator != nil {
|
|
906
|
+
return *m.CacheIterator
|
|
907
|
+
}
|
|
908
|
+
return false
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
func (m *LogReadRequest) GetNumShards() int32 {
|
|
912
|
+
if m != nil && m.NumShards != nil {
|
|
913
|
+
return *m.NumShards
|
|
914
|
+
}
|
|
915
|
+
return 0
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
type LogReadResponse struct {
|
|
919
|
+
Log []*RequestLog `protobuf:"bytes,1,rep,name=log" json:"log,omitempty"`
|
|
920
|
+
Offset *LogOffset `protobuf:"bytes,2,opt,name=offset" json:"offset,omitempty"`
|
|
921
|
+
LastEndTime *int64 `protobuf:"varint,3,opt,name=last_end_time,json=lastEndTime" json:"last_end_time,omitempty"`
|
|
922
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
923
|
+
XXX_unrecognized []byte `json:"-"`
|
|
924
|
+
XXX_sizecache int32 `json:"-"`
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
func (m *LogReadResponse) Reset() { *m = LogReadResponse{} }
|
|
928
|
+
func (m *LogReadResponse) String() string { return proto.CompactTextString(m) }
|
|
929
|
+
func (*LogReadResponse) ProtoMessage() {}
|
|
930
|
+
func (*LogReadResponse) Descriptor() ([]byte, []int) {
|
|
931
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{10}
|
|
932
|
+
}
|
|
933
|
+
func (m *LogReadResponse) XXX_Unmarshal(b []byte) error {
|
|
934
|
+
return xxx_messageInfo_LogReadResponse.Unmarshal(m, b)
|
|
935
|
+
}
|
|
936
|
+
func (m *LogReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
937
|
+
return xxx_messageInfo_LogReadResponse.Marshal(b, m, deterministic)
|
|
938
|
+
}
|
|
939
|
+
func (dst *LogReadResponse) XXX_Merge(src proto.Message) {
|
|
940
|
+
xxx_messageInfo_LogReadResponse.Merge(dst, src)
|
|
941
|
+
}
|
|
942
|
+
func (m *LogReadResponse) XXX_Size() int {
|
|
943
|
+
return xxx_messageInfo_LogReadResponse.Size(m)
|
|
944
|
+
}
|
|
945
|
+
func (m *LogReadResponse) XXX_DiscardUnknown() {
|
|
946
|
+
xxx_messageInfo_LogReadResponse.DiscardUnknown(m)
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
var xxx_messageInfo_LogReadResponse proto.InternalMessageInfo
|
|
950
|
+
|
|
951
|
+
func (m *LogReadResponse) GetLog() []*RequestLog {
|
|
952
|
+
if m != nil {
|
|
953
|
+
return m.Log
|
|
954
|
+
}
|
|
955
|
+
return nil
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
func (m *LogReadResponse) GetOffset() *LogOffset {
|
|
959
|
+
if m != nil {
|
|
960
|
+
return m.Offset
|
|
961
|
+
}
|
|
962
|
+
return nil
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
func (m *LogReadResponse) GetLastEndTime() int64 {
|
|
966
|
+
if m != nil && m.LastEndTime != nil {
|
|
967
|
+
return *m.LastEndTime
|
|
968
|
+
}
|
|
969
|
+
return 0
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
type LogUsageRecord struct {
|
|
973
|
+
VersionId *string `protobuf:"bytes,1,opt,name=version_id,json=versionId" json:"version_id,omitempty"`
|
|
974
|
+
StartTime *int32 `protobuf:"varint,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
|
975
|
+
EndTime *int32 `protobuf:"varint,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
|
976
|
+
Count *int64 `protobuf:"varint,4,opt,name=count" json:"count,omitempty"`
|
|
977
|
+
TotalSize *int64 `protobuf:"varint,5,opt,name=total_size,json=totalSize" json:"total_size,omitempty"`
|
|
978
|
+
Records *int32 `protobuf:"varint,6,opt,name=records" json:"records,omitempty"`
|
|
979
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
980
|
+
XXX_unrecognized []byte `json:"-"`
|
|
981
|
+
XXX_sizecache int32 `json:"-"`
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
func (m *LogUsageRecord) Reset() { *m = LogUsageRecord{} }
|
|
985
|
+
func (m *LogUsageRecord) String() string { return proto.CompactTextString(m) }
|
|
986
|
+
func (*LogUsageRecord) ProtoMessage() {}
|
|
987
|
+
func (*LogUsageRecord) Descriptor() ([]byte, []int) {
|
|
988
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{11}
|
|
989
|
+
}
|
|
990
|
+
func (m *LogUsageRecord) XXX_Unmarshal(b []byte) error {
|
|
991
|
+
return xxx_messageInfo_LogUsageRecord.Unmarshal(m, b)
|
|
992
|
+
}
|
|
993
|
+
func (m *LogUsageRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
994
|
+
return xxx_messageInfo_LogUsageRecord.Marshal(b, m, deterministic)
|
|
995
|
+
}
|
|
996
|
+
func (dst *LogUsageRecord) XXX_Merge(src proto.Message) {
|
|
997
|
+
xxx_messageInfo_LogUsageRecord.Merge(dst, src)
|
|
998
|
+
}
|
|
999
|
+
func (m *LogUsageRecord) XXX_Size() int {
|
|
1000
|
+
return xxx_messageInfo_LogUsageRecord.Size(m)
|
|
1001
|
+
}
|
|
1002
|
+
func (m *LogUsageRecord) XXX_DiscardUnknown() {
|
|
1003
|
+
xxx_messageInfo_LogUsageRecord.DiscardUnknown(m)
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
var xxx_messageInfo_LogUsageRecord proto.InternalMessageInfo
|
|
1007
|
+
|
|
1008
|
+
func (m *LogUsageRecord) GetVersionId() string {
|
|
1009
|
+
if m != nil && m.VersionId != nil {
|
|
1010
|
+
return *m.VersionId
|
|
1011
|
+
}
|
|
1012
|
+
return ""
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
func (m *LogUsageRecord) GetStartTime() int32 {
|
|
1016
|
+
if m != nil && m.StartTime != nil {
|
|
1017
|
+
return *m.StartTime
|
|
1018
|
+
}
|
|
1019
|
+
return 0
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
func (m *LogUsageRecord) GetEndTime() int32 {
|
|
1023
|
+
if m != nil && m.EndTime != nil {
|
|
1024
|
+
return *m.EndTime
|
|
1025
|
+
}
|
|
1026
|
+
return 0
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
func (m *LogUsageRecord) GetCount() int64 {
|
|
1030
|
+
if m != nil && m.Count != nil {
|
|
1031
|
+
return *m.Count
|
|
1032
|
+
}
|
|
1033
|
+
return 0
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
func (m *LogUsageRecord) GetTotalSize() int64 {
|
|
1037
|
+
if m != nil && m.TotalSize != nil {
|
|
1038
|
+
return *m.TotalSize
|
|
1039
|
+
}
|
|
1040
|
+
return 0
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
func (m *LogUsageRecord) GetRecords() int32 {
|
|
1044
|
+
if m != nil && m.Records != nil {
|
|
1045
|
+
return *m.Records
|
|
1046
|
+
}
|
|
1047
|
+
return 0
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
type LogUsageRequest struct {
|
|
1051
|
+
AppId *string `protobuf:"bytes,1,req,name=app_id,json=appId" json:"app_id,omitempty"`
|
|
1052
|
+
VersionId []string `protobuf:"bytes,2,rep,name=version_id,json=versionId" json:"version_id,omitempty"`
|
|
1053
|
+
StartTime *int32 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
|
|
1054
|
+
EndTime *int32 `protobuf:"varint,4,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
|
|
1055
|
+
ResolutionHours *uint32 `protobuf:"varint,5,opt,name=resolution_hours,json=resolutionHours,def=1" json:"resolution_hours,omitempty"`
|
|
1056
|
+
CombineVersions *bool `protobuf:"varint,6,opt,name=combine_versions,json=combineVersions" json:"combine_versions,omitempty"`
|
|
1057
|
+
UsageVersion *int32 `protobuf:"varint,7,opt,name=usage_version,json=usageVersion" json:"usage_version,omitempty"`
|
|
1058
|
+
VersionsOnly *bool `protobuf:"varint,8,opt,name=versions_only,json=versionsOnly" json:"versions_only,omitempty"`
|
|
1059
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
1060
|
+
XXX_unrecognized []byte `json:"-"`
|
|
1061
|
+
XXX_sizecache int32 `json:"-"`
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
func (m *LogUsageRequest) Reset() { *m = LogUsageRequest{} }
|
|
1065
|
+
func (m *LogUsageRequest) String() string { return proto.CompactTextString(m) }
|
|
1066
|
+
func (*LogUsageRequest) ProtoMessage() {}
|
|
1067
|
+
func (*LogUsageRequest) Descriptor() ([]byte, []int) {
|
|
1068
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{12}
|
|
1069
|
+
}
|
|
1070
|
+
func (m *LogUsageRequest) XXX_Unmarshal(b []byte) error {
|
|
1071
|
+
return xxx_messageInfo_LogUsageRequest.Unmarshal(m, b)
|
|
1072
|
+
}
|
|
1073
|
+
func (m *LogUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
1074
|
+
return xxx_messageInfo_LogUsageRequest.Marshal(b, m, deterministic)
|
|
1075
|
+
}
|
|
1076
|
+
func (dst *LogUsageRequest) XXX_Merge(src proto.Message) {
|
|
1077
|
+
xxx_messageInfo_LogUsageRequest.Merge(dst, src)
|
|
1078
|
+
}
|
|
1079
|
+
func (m *LogUsageRequest) XXX_Size() int {
|
|
1080
|
+
return xxx_messageInfo_LogUsageRequest.Size(m)
|
|
1081
|
+
}
|
|
1082
|
+
func (m *LogUsageRequest) XXX_DiscardUnknown() {
|
|
1083
|
+
xxx_messageInfo_LogUsageRequest.DiscardUnknown(m)
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
var xxx_messageInfo_LogUsageRequest proto.InternalMessageInfo
|
|
1087
|
+
|
|
1088
|
+
const Default_LogUsageRequest_ResolutionHours uint32 = 1
|
|
1089
|
+
|
|
1090
|
+
func (m *LogUsageRequest) GetAppId() string {
|
|
1091
|
+
if m != nil && m.AppId != nil {
|
|
1092
|
+
return *m.AppId
|
|
1093
|
+
}
|
|
1094
|
+
return ""
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
func (m *LogUsageRequest) GetVersionId() []string {
|
|
1098
|
+
if m != nil {
|
|
1099
|
+
return m.VersionId
|
|
1100
|
+
}
|
|
1101
|
+
return nil
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
func (m *LogUsageRequest) GetStartTime() int32 {
|
|
1105
|
+
if m != nil && m.StartTime != nil {
|
|
1106
|
+
return *m.StartTime
|
|
1107
|
+
}
|
|
1108
|
+
return 0
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
func (m *LogUsageRequest) GetEndTime() int32 {
|
|
1112
|
+
if m != nil && m.EndTime != nil {
|
|
1113
|
+
return *m.EndTime
|
|
1114
|
+
}
|
|
1115
|
+
return 0
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
func (m *LogUsageRequest) GetResolutionHours() uint32 {
|
|
1119
|
+
if m != nil && m.ResolutionHours != nil {
|
|
1120
|
+
return *m.ResolutionHours
|
|
1121
|
+
}
|
|
1122
|
+
return Default_LogUsageRequest_ResolutionHours
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
func (m *LogUsageRequest) GetCombineVersions() bool {
|
|
1126
|
+
if m != nil && m.CombineVersions != nil {
|
|
1127
|
+
return *m.CombineVersions
|
|
1128
|
+
}
|
|
1129
|
+
return false
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
func (m *LogUsageRequest) GetUsageVersion() int32 {
|
|
1133
|
+
if m != nil && m.UsageVersion != nil {
|
|
1134
|
+
return *m.UsageVersion
|
|
1135
|
+
}
|
|
1136
|
+
return 0
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
func (m *LogUsageRequest) GetVersionsOnly() bool {
|
|
1140
|
+
if m != nil && m.VersionsOnly != nil {
|
|
1141
|
+
return *m.VersionsOnly
|
|
1142
|
+
}
|
|
1143
|
+
return false
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
type LogUsageResponse struct {
|
|
1147
|
+
Usage []*LogUsageRecord `protobuf:"bytes,1,rep,name=usage" json:"usage,omitempty"`
|
|
1148
|
+
Summary *LogUsageRecord `protobuf:"bytes,2,opt,name=summary" json:"summary,omitempty"`
|
|
1149
|
+
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
1150
|
+
XXX_unrecognized []byte `json:"-"`
|
|
1151
|
+
XXX_sizecache int32 `json:"-"`
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
func (m *LogUsageResponse) Reset() { *m = LogUsageResponse{} }
|
|
1155
|
+
func (m *LogUsageResponse) String() string { return proto.CompactTextString(m) }
|
|
1156
|
+
func (*LogUsageResponse) ProtoMessage() {}
|
|
1157
|
+
func (*LogUsageResponse) Descriptor() ([]byte, []int) {
|
|
1158
|
+
return fileDescriptor_log_service_f054fd4b5012319d, []int{13}
|
|
1159
|
+
}
|
|
1160
|
+
func (m *LogUsageResponse) XXX_Unmarshal(b []byte) error {
|
|
1161
|
+
return xxx_messageInfo_LogUsageResponse.Unmarshal(m, b)
|
|
1162
|
+
}
|
|
1163
|
+
func (m *LogUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
1164
|
+
return xxx_messageInfo_LogUsageResponse.Marshal(b, m, deterministic)
|
|
1165
|
+
}
|
|
1166
|
+
func (dst *LogUsageResponse) XXX_Merge(src proto.Message) {
|
|
1167
|
+
xxx_messageInfo_LogUsageResponse.Merge(dst, src)
|
|
1168
|
+
}
|
|
1169
|
+
func (m *LogUsageResponse) XXX_Size() int {
|
|
1170
|
+
return xxx_messageInfo_LogUsageResponse.Size(m)
|
|
1171
|
+
}
|
|
1172
|
+
func (m *LogUsageResponse) XXX_DiscardUnknown() {
|
|
1173
|
+
xxx_messageInfo_LogUsageResponse.DiscardUnknown(m)
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
var xxx_messageInfo_LogUsageResponse proto.InternalMessageInfo
|
|
1177
|
+
|
|
1178
|
+
func (m *LogUsageResponse) GetUsage() []*LogUsageRecord {
|
|
1179
|
+
if m != nil {
|
|
1180
|
+
return m.Usage
|
|
1181
|
+
}
|
|
1182
|
+
return nil
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
func (m *LogUsageResponse) GetSummary() *LogUsageRecord {
|
|
1186
|
+
if m != nil {
|
|
1187
|
+
return m.Summary
|
|
1188
|
+
}
|
|
1189
|
+
return nil
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
func init() {
|
|
1193
|
+
proto.RegisterType((*LogServiceError)(nil), "appengine.LogServiceError")
|
|
1194
|
+
proto.RegisterType((*UserAppLogLine)(nil), "appengine.UserAppLogLine")
|
|
1195
|
+
proto.RegisterType((*UserAppLogGroup)(nil), "appengine.UserAppLogGroup")
|
|
1196
|
+
proto.RegisterType((*FlushRequest)(nil), "appengine.FlushRequest")
|
|
1197
|
+
proto.RegisterType((*SetStatusRequest)(nil), "appengine.SetStatusRequest")
|
|
1198
|
+
proto.RegisterType((*LogOffset)(nil), "appengine.LogOffset")
|
|
1199
|
+
proto.RegisterType((*LogLine)(nil), "appengine.LogLine")
|
|
1200
|
+
proto.RegisterType((*RequestLog)(nil), "appengine.RequestLog")
|
|
1201
|
+
proto.RegisterType((*LogModuleVersion)(nil), "appengine.LogModuleVersion")
|
|
1202
|
+
proto.RegisterType((*LogReadRequest)(nil), "appengine.LogReadRequest")
|
|
1203
|
+
proto.RegisterType((*LogReadResponse)(nil), "appengine.LogReadResponse")
|
|
1204
|
+
proto.RegisterType((*LogUsageRecord)(nil), "appengine.LogUsageRecord")
|
|
1205
|
+
proto.RegisterType((*LogUsageRequest)(nil), "appengine.LogUsageRequest")
|
|
1206
|
+
proto.RegisterType((*LogUsageResponse)(nil), "appengine.LogUsageResponse")
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
func init() {
|
|
1210
|
+
proto.RegisterFile("google.golang.org/appengine/internal/log/log_service.proto", fileDescriptor_log_service_f054fd4b5012319d)
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
var fileDescriptor_log_service_f054fd4b5012319d = []byte{
|
|
1214
|
+
// 1553 bytes of a gzipped FileDescriptorProto
|
|
1215
|
+
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x72, 0xdb, 0xc6,
|
|
1216
|
+
0x15, 0x2e, 0x48, 0x51, 0x24, 0x0f, 0x49, 0x91, 0x5a, 0xcb, 0xce, 0xda, 0xae, 0x6b, 0x1a, 0x4e,
|
|
1217
|
+
0x1c, 0xd6, 0x93, 0x48, 0x93, 0xa4, 0x57, 0xca, 0x95, 0xd3, 0x2a, 0x8e, 0x26, 0xb4, 0xd5, 0x40,
|
|
1218
|
+
0x72, 0x3a, 0xd3, 0x1b, 0x0c, 0x0a, 0x1c, 0x81, 0x18, 0x2f, 0xb1, 0xc8, 0xee, 0xc2, 0x91, 0x72,
|
|
1219
|
+
0xdb, 0xdb, 0x3e, 0x46, 0x1f, 0xa2, 0xaf, 0xd2, 0xb7, 0xe9, 0xec, 0xd9, 0x05, 0x44, 0x2a, 0x4d,
|
|
1220
|
+
0xc6, 0x33, 0xb9, 0xe0, 0x10, 0xfb, 0x9d, 0x83, 0xdd, 0xf3, 0xf3, 0x9d, 0x6f, 0x01, 0xc7, 0x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