From 07f3e747fade0275086738e07a19d8a8dd31cd36 Mon Sep 17 00:00:00 2001 From: Tim Middleton Date: Thu, 29 May 2025 15:09:33 +0800 Subject: [PATCH 1/3] Update go grpc version/protoc-gen-go --- .../workflows/build-compatability-1412.yaml | 2 +- .../workflows/build-compatability-2206.yaml | 6 +- .../build-compatability-v1-1412.yaml | 6 +- .github/workflows/build-compatability-v1.yaml | 6 +- .github/workflows/build-compatability.yaml | 6 +- .github/workflows/build-queues-1412.yaml | 2 +- .github/workflows/build-queues.yaml | 2 +- .github/workflows/build-v1.yaml | 2 +- .github/workflows/build.yaml | 4 +- .../workflows/examples-jakarta-v1.2.2.yaml | 2 +- .github/workflows/examples-jakarta.yaml | 2 +- .github/workflows/examples.yaml | 2 +- .github/workflows/streaming-jakarta.yaml | 2 +- .github/workflows/streaming.yaml | 2 +- Makefile | 4 +- coherence/session.go | 1 + go.mod | 9 +- go.sum | 32 +- proto/messages.pb.go | 1769 ++++++----------- proto/services.pb.go | 183 +- proto/services_grpc.pb.go | 482 ++--- proto/v1/cache_service_messages_v1.pb.go | 791 +++----- proto/v1/common_messages_v1.pb.go | 360 +--- proto/v1/proxy_service_messages_v1.pb.go | 358 ++-- proto/v1/proxy_service_v1.pb.go | 39 +- proto/v1/proxy_service_v1_grpc.pb.go | 86 +- proto/v1/queue_service_messages_v1.pb.go | 272 +-- scripts/run-compat-ce.sh | 14 +- 28 files changed, 1456 insertions(+), 2990 deletions(-) diff --git a/.github/workflows/build-compatability-1412.yaml b/.github/workflows/build-compatability-1412.yaml index 4155b6f9..890935e4 100644 --- a/.github/workflows/build-compatability-1412.yaml +++ b/.github/workflows/build-compatability-1412.yaml @@ -75,7 +75,7 @@ jobs: shell: bash run: | echo "Running verify against $COH_VERSION" - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone - name: E2E Local Tests With Scope diff --git a/.github/workflows/build-compatability-2206.yaml b/.github/workflows/build-compatability-2206.yaml index f8c2ae9e..56dfc79f 100644 --- a/.github/workflows/build-compatability-2206.yaml +++ b/.github/workflows/build-compatability-2206.yaml @@ -75,7 +75,7 @@ jobs: shell: bash run: | echo "Running verify against $COH_VERSION" - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax make clean generate-proto build-test-images test-e2e-standalone - name: E2E Local Tests With Scope @@ -83,7 +83,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope - uses: actions/upload-artifact@v4 @@ -104,7 +104,7 @@ jobs: shell: bash run: | echo "Running verify against $COH_VERSION" - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \ COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \ COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \ diff --git a/.github/workflows/build-compatability-v1-1412.yaml b/.github/workflows/build-compatability-v1-1412.yaml index f46800c9..4883fdca 100644 --- a/.github/workflows/build-compatability-v1-1412.yaml +++ b/.github/workflows/build-compatability-v1-1412.yaml @@ -74,7 +74,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true PROFILES=,-jakarta,javax COHERENCE_VERSION=$COH_VERSION make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone - uses: actions/upload-artifact@v4 @@ -88,7 +88,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax,scope make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-scope - uses: actions/upload-artifact@v4 @@ -103,7 +103,7 @@ jobs: shell: bash run: | echo "Running verify against $COH_VERSION" - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \ COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \ COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \ diff --git a/.github/workflows/build-compatability-v1.yaml b/.github/workflows/build-compatability-v1.yaml index ee6b9e44..51f39d90 100644 --- a/.github/workflows/build-compatability-v1.yaml +++ b/.github/workflows/build-compatability-v1.yaml @@ -74,7 +74,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true PROFILES=,jakarta,-javax COHERENCE_VERSION=$COH_VERSION make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone - uses: actions/upload-artifact@v4 @@ -88,7 +88,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,jakarta,-javax,scope make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-scope - uses: actions/upload-artifact@v4 @@ -103,7 +103,7 @@ jobs: shell: bash run: | echo "Running verify against $COH_VERSION" - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \ COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \ COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \ diff --git a/.github/workflows/build-compatability.yaml b/.github/workflows/build-compatability.yaml index e9ff8b21..c0594baf 100644 --- a/.github/workflows/build-compatability.yaml +++ b/.github/workflows/build-compatability.yaml @@ -74,7 +74,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true PROFILES=,jakarta,-javax COHERENCE_VERSION=$COH_VERSION make clean generate-proto build-test-images test-e2e-standalone - uses: actions/upload-artifact@v4 @@ -88,7 +88,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,jakarta,-javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope - uses: actions/upload-artifact@v4 @@ -103,7 +103,7 @@ jobs: shell: bash run: | echo "Running verify against $COH_VERSION" - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \ COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \ COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \ diff --git a/.github/workflows/build-queues-1412.yaml b/.github/workflows/build-queues-1412.yaml index 77d4fe22..453b10f9 100644 --- a/.github/workflows/build-queues-1412.yaml +++ b/.github/workflows/build-queues-1412.yaml @@ -74,7 +74,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true PROFILES=,-jakarta,javax,queues COHERENCE_VERSION=$COH_VERSION make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-queues - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/build-queues.yaml b/.github/workflows/build-queues.yaml index 64b5299e..8f41b370 100644 --- a/.github/workflows/build-queues.yaml +++ b/.github/workflows/build-queues.yaml @@ -74,7 +74,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true PROFILES=,jakarta,-javax,queues COHERENCE_VERSION=$COH_VERSION make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-queues - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/build-v1.yaml b/.github/workflows/build-v1.yaml index c5b7b0e8..38030a1c 100644 --- a/.github/workflows/build-v1.yaml +++ b/.github/workflows/build-v1.yaml @@ -72,7 +72,7 @@ jobs: - name: gRPC V1 Base Tests shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 PROFILES=,jakarta,-javax COHERENCE_VERSION=${{ matrix.coherence-version }} make clean generate-proto generate-proto-v1 build-test-images test-v1-base - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0deafc9c..fe33bae3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -67,7 +67,7 @@ jobs: - name: E2E Local Tests shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 INCLUDE_LONG_RUNNING=true PROFILES=,-jakarta,javax COHERENCE_VERSION=22.06.12 make clean generate-proto build-test-images test-e2e-standalone - name: Profile Near Cache @@ -84,7 +84,7 @@ jobs: - name: E2E Local Tests With Scope shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 SKIP_PROTO_GENERATION=true COHERENCE_VERSION=22.06.12 PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/examples-jakarta-v1.2.2.yaml b/.github/workflows/examples-jakarta-v1.2.2.yaml index cb2451d6..58467668 100644 --- a/.github/workflows/examples-jakarta-v1.2.2.yaml +++ b/.github/workflows/examples-jakarta-v1.2.2.yaml @@ -79,7 +79,7 @@ jobs: git checkout v1.2.2 # Change the jib-maven-plugin as this version fails sed -i.bak 's/3\.3\.0<\/version.plugin.jib>/3.4.3<\/version.plugin.jib>/' java/pom.xml - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=${{ matrix.coherenceVersion }} PROFILES=,jakarta,-javax make clean generate-proto build-test-images test-cluster-startup test-examples make test-cluster-shutdown || true diff --git a/.github/workflows/examples-jakarta.yaml b/.github/workflows/examples-jakarta.yaml index 30f34888..21ed1134 100644 --- a/.github/workflows/examples-jakarta.yaml +++ b/.github/workflows/examples-jakarta.yaml @@ -70,7 +70,7 @@ jobs: - name: Verify Examples shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=${{ matrix.coherenceVersion }} PROFILES=,jakarta,-javax make clean generate-proto build-test-images test-cluster-startup test-examples make test-cluster-shutdown || true diff --git a/.github/workflows/examples.yaml b/.github/workflows/examples.yaml index 1995ee2e..67d015a4 100644 --- a/.github/workflows/examples.yaml +++ b/.github/workflows/examples.yaml @@ -71,7 +71,7 @@ jobs: - name: Verify Examples shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=${{ matrix.coherenceVersion }} PROFILES=,-jakarta,javax make clean generate-proto generate-proto-v1 build-test-images test-cluster-startup test-examples make test-cluster-shutdown || true diff --git a/.github/workflows/streaming-jakarta.yaml b/.github/workflows/streaming-jakarta.yaml index 73d2e71c..dbaea503 100644 --- a/.github/workflows/streaming-jakarta.yaml +++ b/.github/workflows/streaming-jakarta.yaml @@ -70,7 +70,7 @@ jobs: - name: Verify shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=${{ matrix.coherenceVersion }} PROFILES=,jakarta,-javax make clean generate-proto generate-proto-v1 build-test-images test-cluster-startup test-e2e-streaming make test-cluster-shutdown || true diff --git a/.github/workflows/streaming.yaml b/.github/workflows/streaming.yaml index 0af8f39e..74d1bb40 100644 --- a/.github/workflows/streaming.yaml +++ b/.github/workflows/streaming.yaml @@ -71,7 +71,7 @@ jobs: - name: Verify shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=${{ matrix.coherenceVersion }} PROFILES=,-jakarta,javax make clean generate-proto generate-proto-v1 build-test-images test-cluster-startup test-e2e-streaming make test-cluster-shutdown || true diff --git a/Makefile b/Makefile index a22fca0a..5286ffb7 100644 --- a/Makefile +++ b/Makefile @@ -575,8 +575,8 @@ getcopyright: ## Download copyright jar locally if necessary. $(TOOLS_BIN)/protoc: @mkdir -p $(TOOLS_BIN) ./scripts/download-protoc.sh $(TOOLS_DIRECTORY) - go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.33.0 - go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 + go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 # go-get-tool will 'go get' any package $2 and install it to $1. diff --git a/coherence/session.go b/coherence/session.go index b153fd0c..809798e1 100644 --- a/coherence/session.go +++ b/coherence/session.go @@ -524,6 +524,7 @@ func (s *Session) ensureConnection() error { defer cancel() } + //nolint:staticcheck // SA1019 - ignore for the moment conn, err := grpc.DialContext(newCtx, s.sessOpts.Address, s.dialOptions...) if err != nil { diff --git a/go.mod b/go.mod index 040cf2e4..21d267d6 100644 --- a/go.mod +++ b/go.mod @@ -13,15 +13,14 @@ require ( github.com/google/uuid v1.6.0 github.com/onsi/gomega v1.37.0 golang.org/x/text v0.25.0 - google.golang.org/grpc v1.58.3 + google.golang.org/grpc v1.72.2 google.golang.org/protobuf v1.36.6 ) require ( - github.com/golang/protobuf v1.5.4 // indirect github.com/google/go-cmp v0.7.0 // indirect - golang.org/x/net v0.38.0 // indirect - golang.org/x/sys v0.31.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect + golang.org/x/net v0.40.0 // indirect + golang.org/x/sys v0.33.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 8cdfe046..3d8ef88b 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= @@ -14,18 +16,32 @@ github.com/onsi/ginkgo/v2 v2.23.3 h1:edHxnszytJ4lD9D5Jjc4tiDkPBZ3siDeJJkUZJJVkp0 github.com/onsi/ginkgo/v2 v2.23.3/go.mod h1:zXTP6xIp3U8aVuXN8ENK9IXRaTjFnpVB9mGmaSRvxnM= github.com/onsi/gomega v1.37.0 h1:CdEG8g0S133B4OswTDC/5XPSzE1OeP29QOioj2PID2Y= github.com/onsi/gomega v1.37.0/go.mod h1:8D9+Txp43QWKhM24yyOBEdpkzN8FvJyAwecBgsU4KU0= -golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8= -golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= -golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik= -golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= +go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= +go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= +go.opentelemetry.io/otel v1.34.0 h1:zRLXxLCgL1WyKsPVrgbSdMN4c0FMkDAskSTQP+0hdUY= +go.opentelemetry.io/otel v1.34.0/go.mod h1:OWFPOQ+h4G8xpyjgqo4SxJYdDQ/qmRH+wivy7zzx9oI= +go.opentelemetry.io/otel/metric v1.34.0 h1:+eTR3U0MyfWjRDhmFMxe2SsW64QrZ84AOhvqS7Y+PoQ= +go.opentelemetry.io/otel/metric v1.34.0/go.mod h1:CEDrp0fy2D0MvkXE+dPV7cMi8tWZwX3dmaIhwPOaqHE= +go.opentelemetry.io/otel/sdk v1.34.0 h1:95zS4k/2GOy069d321O8jWgYsW3MzVV+KuSPKp7Wr1A= +go.opentelemetry.io/otel/sdk v1.34.0/go.mod h1:0e/pNiaMAqaykJGKbi+tSjWfNNHMTxoC9qANsCzbyxU= +go.opentelemetry.io/otel/sdk/metric v1.34.0 h1:5CeK9ujjbFVL5c1PhLuStg1wxA7vQv7ce1EK0Gyvahk= +go.opentelemetry.io/otel/sdk/metric v1.34.0/go.mod h1:jQ/r8Ze28zRKoNRdkjCZxfs6YvBTG1+YIqyFVFYec5w= +go.opentelemetry.io/otel/trace v1.34.0 h1:+ouXS2V8Rd4hp4580a8q23bg0azF2nI8cqLYnC8mh/k= +go.opentelemetry.io/otel/trace v1.34.0/go.mod h1:Svm7lSjQD7kG7KJ/MUHPVXSDGz2OX4h0M2jHBhmSfRE= +golang.org/x/net v0.40.0 h1:79Xs7wF06Gbdcg4kdCCIQArK11Z1hr5POQ6+fIYHNuY= +golang.org/x/net v0.40.0/go.mod h1:y0hY0exeL2Pku80/zKK7tpntoX23cqL3Oa6njdgRtds= +golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw= +golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4= golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA= golang.org/x/tools v0.30.0 h1:BgcpHewrV5AUp2G9MebG4XPFI1E2W41zU1SaqVA9vJY= golang.org/x/tools v0.30.0/go.mod h1:c347cR/OJfw5TI+GfX7RUPNMdDRRbjvYTS0jPyvsVtY= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 h1:bVf09lpb+OJbByTj913DRJioFFAjf/ZGxEz7MajTp2U= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM= -google.golang.org/grpc v1.58.3 h1:BjnpXut1btbtgN/6sp+brB2Kbm2LjNXnidYujAVbSoQ= -google.golang.org/grpc v1.58.3/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a h1:51aaUVRocpvUOSQKM6Q7VuoaktNIaMCLuhZB6DKksq4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a/go.mod h1:uRxBH1mhmO8PGhU89cMcHaXKZqO+OfakD8QQO0oYwlQ= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a h1:v2PbRU4K3llS09c7zodFpNePeamkAwG3mPrAery9VeE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A= +google.golang.org/grpc v1.72.2 h1:TdbGzwb82ty4OusHWepvFWGLgIbNo1/SUynEN0ssqv8= +google.golang.org/grpc v1.72.2/go.mod h1:wH5Aktxcg25y1I3w7H69nHfXdOG3UiadoBtjh3izSDM= google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY= google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= diff --git a/proto/messages.pb.go b/proto/messages.pb.go index f9c7a676..8d472d32 100644 --- a/proto/messages.pb.go +++ b/proto/messages.pb.go @@ -13,7 +13,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.6 // protoc v3.19.2 // source: messages.proto @@ -24,6 +24,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -144,23 +145,20 @@ func (MapEventResponse_TransformationState) EnumDescriptor() ([]byte, []int) { // A request to clear all the entries in the cache. type ClearRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. - Cache string `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` + Cache string `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ClearRequest) Reset() { *x = ClearRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ClearRequest) String() string { @@ -171,7 +169,7 @@ func (*ClearRequest) ProtoMessage() {} func (x *ClearRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -203,10 +201,7 @@ func (x *ClearRequest) GetCache() string { // A request to determine whether an entry exists in a cache // with a specific key and value. type ContainsEntryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -216,16 +211,16 @@ type ContainsEntryRequest struct { // The serialization format. Key []byte `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` // The value of the entry to verify. - Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` + Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ContainsEntryRequest) Reset() { *x = ContainsEntryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ContainsEntryRequest) String() string { @@ -236,7 +231,7 @@ func (*ContainsEntryRequest) ProtoMessage() {} func (x *ContainsEntryRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -289,10 +284,7 @@ func (x *ContainsEntryRequest) GetValue() []byte { // A request to determine whether an entry exists in a cache // for the specified key. type ContainsKeyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -300,16 +292,16 @@ type ContainsKeyRequest struct { // The serialization format. Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` // The key of the entry to verify. - Key []byte `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` + Key []byte `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ContainsKeyRequest) Reset() { *x = ContainsKeyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ContainsKeyRequest) String() string { @@ -320,7 +312,7 @@ func (*ContainsKeyRequest) ProtoMessage() {} func (x *ContainsKeyRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -366,10 +358,7 @@ func (x *ContainsKeyRequest) GetKey() []byte { // A request to determine whether an entry exists in a cache // with the specified value. type ContainsValueRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -377,16 +366,16 @@ type ContainsValueRequest struct { // The serialization format. Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` // The value of the entry to verify. - Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` + Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ContainsValueRequest) Reset() { *x = ContainsValueRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ContainsValueRequest) String() string { @@ -397,7 +386,7 @@ func (*ContainsValueRequest) ProtoMessage() {} func (x *ContainsValueRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -442,23 +431,20 @@ func (x *ContainsValueRequest) GetValue() []byte { // A request to destroy a cache. type DestroyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. - Cache string `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` + Cache string `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DestroyRequest) Reset() { *x = DestroyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *DestroyRequest) String() string { @@ -469,7 +455,7 @@ func (*DestroyRequest) ProtoMessage() {} func (x *DestroyRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -500,23 +486,20 @@ func (x *DestroyRequest) GetCache() string { // A request to determine whether a cache is empty or not. type IsEmptyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. - Cache string `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` + Cache string `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IsEmptyRequest) Reset() { *x = IsEmptyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsEmptyRequest) String() string { @@ -527,7 +510,7 @@ func (*IsEmptyRequest) ProtoMessage() {} func (x *IsEmptyRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -559,23 +542,20 @@ func (x *IsEmptyRequest) GetCache() string { // A request to check the ready status of a cache. // @since 14.1.1.2206.5 type IsReadyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. - Cache string `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` + Cache string `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IsReadyRequest) Reset() { *x = IsReadyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IsReadyRequest) String() string { @@ -586,7 +566,7 @@ func (*IsReadyRequest) ProtoMessage() {} func (x *IsReadyRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -617,23 +597,20 @@ func (x *IsReadyRequest) GetCache() string { // A request to determine the number of entries in a cache. type SizeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. - Cache string `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` + Cache string `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SizeRequest) Reset() { *x = SizeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *SizeRequest) String() string { @@ -644,7 +621,7 @@ func (*SizeRequest) ProtoMessage() {} func (x *SizeRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -676,10 +653,7 @@ func (x *SizeRequest) GetCache() string { // A request to obtain the value to which a cache maps the // specified key. type GetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -687,16 +661,16 @@ type GetRequest struct { // The serialization format. Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` // The key of the entry to retrieve. - Key []byte `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` + Key []byte `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetRequest) Reset() { *x = GetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetRequest) String() string { @@ -707,7 +681,7 @@ func (*GetRequest) ProtoMessage() {} func (x *GetRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -752,10 +726,7 @@ func (x *GetRequest) GetKey() []byte { // A request to obtain the values that map to the specified keys type GetAllRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -763,16 +734,16 @@ type GetAllRequest struct { // The serialization format. Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` // The key of the entry to retrieve. - Key [][]byte `protobuf:"bytes,4,rep,name=key,proto3" json:"key,omitempty"` + Key [][]byte `protobuf:"bytes,4,rep,name=key,proto3" json:"key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetAllRequest) Reset() { *x = GetAllRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *GetAllRequest) String() string { @@ -783,7 +754,7 @@ func (*GetAllRequest) ProtoMessage() {} func (x *GetAllRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -829,10 +800,7 @@ func (x *GetAllRequest) GetKey() [][]byte { // A request to associate the specified value with the // specified key in a cache. type PutRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -844,16 +812,16 @@ type PutRequest struct { // The value of the entry. Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // The time to live in millis. - Ttl int64 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"` + Ttl int64 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PutRequest) Reset() { *x = PutRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PutRequest) String() string { @@ -864,7 +832,7 @@ func (*PutRequest) ProtoMessage() {} func (x *PutRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -924,10 +892,7 @@ func (x *PutRequest) GetTtl() int64 { // A request to associate the specified value with the // specified key in a cache. type PutAllRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -937,16 +902,16 @@ type PutAllRequest struct { // The cache entries to put. Entry []*Entry `protobuf:"bytes,4,rep,name=entry,proto3" json:"entry,omitempty"` // The time to live in millis. - Ttl int64 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"` + Ttl int64 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PutAllRequest) Reset() { *x = PutAllRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PutAllRequest) String() string { @@ -957,7 +922,7 @@ func (*PutAllRequest) ProtoMessage() {} func (x *PutAllRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1011,10 +976,7 @@ func (x *PutAllRequest) GetTtl() int64 { // specified key in a cache only if the specified key // is not associated with any value (including null). type PutIfAbsentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -1026,16 +988,16 @@ type PutIfAbsentRequest struct { // The value to be put. Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // The time to live in millis. - Ttl int64 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"` + Ttl int64 `protobuf:"varint,6,opt,name=ttl,proto3" json:"ttl,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PutIfAbsentRequest) Reset() { *x = PutIfAbsentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PutIfAbsentRequest) String() string { @@ -1046,7 +1008,7 @@ func (*PutIfAbsentRequest) ProtoMessage() {} func (x *PutIfAbsentRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1106,10 +1068,7 @@ func (x *PutIfAbsentRequest) GetTtl() int64 { // A request to remove the mapping for a key from a cache // if it is present. type RemoveRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -1117,16 +1076,16 @@ type RemoveRequest struct { // The serialization format. Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` // The key of the entry to be removed. - Key []byte `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` + Key []byte `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveRequest) Reset() { *x = RemoveRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveRequest) String() string { @@ -1137,7 +1096,7 @@ func (*RemoveRequest) ProtoMessage() {} func (x *RemoveRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1184,10 +1143,7 @@ func (x *RemoveRequest) GetKey() []byte { // only if the specified key is associated with the specified // value in that cache. type RemoveMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -1197,16 +1153,16 @@ type RemoveMappingRequest struct { // The key of the entry to be removed. Key []byte `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` // The value of the entry to verify. - Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` + Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveMappingRequest) Reset() { *x = RemoveMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveMappingRequest) String() string { @@ -1217,7 +1173,7 @@ func (*RemoveMappingRequest) ProtoMessage() {} func (x *RemoveMappingRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1271,10 +1227,7 @@ func (x *RemoveMappingRequest) GetValue() []byte { // with the specified value in a cache only if the specified // key is associated with some value in that cache. type ReplaceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -1284,16 +1237,16 @@ type ReplaceRequest struct { // The key of the entry to be replaced. Key []byte `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` // The value of the entry to be replaced. - Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` + Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReplaceRequest) Reset() { *x = ReplaceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReplaceRequest) String() string { @@ -1304,7 +1257,7 @@ func (*ReplaceRequest) ProtoMessage() {} func (x *ReplaceRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1359,10 +1312,7 @@ func (x *ReplaceRequest) GetValue() []byte { // key is associated with the specified previousValue in // that cache. type ReplaceMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -1374,16 +1324,16 @@ type ReplaceMappingRequest struct { // The previous value that should exist in the cache. PreviousValue []byte `protobuf:"bytes,5,opt,name=previousValue,proto3" json:"previousValue,omitempty"` // The new value to put. - NewValue []byte `protobuf:"bytes,6,opt,name=newValue,proto3" json:"newValue,omitempty"` + NewValue []byte `protobuf:"bytes,6,opt,name=newValue,proto3" json:"newValue,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReplaceMappingRequest) Reset() { *x = ReplaceMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReplaceMappingRequest) String() string { @@ -1394,7 +1344,7 @@ func (*ReplaceMappingRequest) ProtoMessage() {} func (x *ReplaceMappingRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1456,10 +1406,7 @@ func (x *ReplaceMappingRequest) GetNewValue() []byte { // NamedCache.entrySet() and NamedCache.values() where it would be impractical // to return the whole data set in one response. type PageRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -1467,16 +1414,16 @@ type PageRequest struct { // The serialization format Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` // An opaque cookie to track the requested page. - Cookie []byte `protobuf:"bytes,4,opt,name=cookie,proto3" json:"cookie,omitempty"` + Cookie []byte `protobuf:"bytes,4,opt,name=cookie,proto3" json:"cookie,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PageRequest) Reset() { *x = PageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PageRequest) String() string { @@ -1487,7 +1434,7 @@ func (*PageRequest) ProtoMessage() {} func (x *PageRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1532,25 +1479,22 @@ func (x *PageRequest) GetCookie() []byte { // A cache entry key/value pair. type EntryResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The cache entry key. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The cache entry value. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // An opaque cookie to track the requested page. - Cookie []byte `protobuf:"bytes,3,opt,name=cookie,proto3" json:"cookie,omitempty"` + Cookie []byte `protobuf:"bytes,3,opt,name=cookie,proto3" json:"cookie,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EntryResult) Reset() { *x = EntryResult{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EntryResult) String() string { @@ -1561,7 +1505,7 @@ func (*EntryResult) ProtoMessage() {} func (x *EntryResult) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1599,23 +1543,20 @@ func (x *EntryResult) GetCookie() []byte { // A key value pair. type Entry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The cache entry key. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The value of the entry. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Entry) Reset() { *x = Entry{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Entry) String() string { @@ -1626,7 +1567,7 @@ func (*Entry) ProtoMessage() {} func (x *Entry) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1657,23 +1598,20 @@ func (x *Entry) GetValue() []byte { // A request to truncate a cache. type TruncateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. - Cache string `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` + Cache string `protobuf:"bytes,2,opt,name=cache,proto3" json:"cache,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TruncateRequest) Reset() { *x = TruncateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *TruncateRequest) String() string { @@ -1684,7 +1622,7 @@ func (*TruncateRequest) ProtoMessage() {} func (x *TruncateRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1715,10 +1653,7 @@ func (x *TruncateRequest) GetCache() string { // A request to add an index to a cache type AddIndexRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -1730,16 +1665,16 @@ type AddIndexRequest struct { // A flag indicating whether to sort the index. Sorted bool `protobuf:"varint,5,opt,name=sorted,proto3" json:"sorted,omitempty"` // The optional comparator to use to sort the index. - Comparator []byte `protobuf:"bytes,6,opt,name=comparator,proto3" json:"comparator,omitempty"` + Comparator []byte `protobuf:"bytes,6,opt,name=comparator,proto3" json:"comparator,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddIndexRequest) Reset() { *x = AddIndexRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AddIndexRequest) String() string { @@ -1750,7 +1685,7 @@ func (*AddIndexRequest) ProtoMessage() {} func (x *AddIndexRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1809,10 +1744,7 @@ func (x *AddIndexRequest) GetComparator() []byte { // A request to remove an index from a cache type RemoveIndexRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -1820,16 +1752,16 @@ type RemoveIndexRequest struct { // The serialization format. Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` // The serialized ValueExtractor to use to create the index. - Extractor []byte `protobuf:"bytes,4,opt,name=extractor,proto3" json:"extractor,omitempty"` + Extractor []byte `protobuf:"bytes,4,opt,name=extractor,proto3" json:"extractor,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveIndexRequest) Reset() { *x = RemoveIndexRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *RemoveIndexRequest) String() string { @@ -1840,7 +1772,7 @@ func (*RemoveIndexRequest) ProtoMessage() {} func (x *RemoveIndexRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1885,10 +1817,7 @@ func (x *RemoveIndexRequest) GetExtractor() []byte { // A request to aggreagte entries in a cache. type AggregateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -1900,16 +1829,16 @@ type AggregateRequest struct { // The optional set of serialized keys of the entries to aggregate. Keys [][]byte `protobuf:"bytes,5,rep,name=keys,proto3" json:"keys,omitempty"` // The optional serialized Filter to identify the entries to aggregate. - Filter []byte `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"` + Filter []byte `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AggregateRequest) Reset() { *x = AggregateRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *AggregateRequest) String() string { @@ -1920,7 +1849,7 @@ func (*AggregateRequest) ProtoMessage() {} func (x *AggregateRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1979,10 +1908,7 @@ func (x *AggregateRequest) GetFilter() []byte { // A request to invoke an EntryProcessor against a single entry. type InvokeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -1992,16 +1918,16 @@ type InvokeRequest struct { // The serialized EntryProcessor to invoke. Processor []byte `protobuf:"bytes,4,opt,name=processor,proto3" json:"processor,omitempty"` // The serialized key of the entry to process. - Key []byte `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"` + Key []byte `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InvokeRequest) Reset() { *x = InvokeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InvokeRequest) String() string { @@ -2012,7 +1938,7 @@ func (*InvokeRequest) ProtoMessage() {} func (x *InvokeRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2064,10 +1990,7 @@ func (x *InvokeRequest) GetKey() []byte { // A request to invoke an entry processor against a number of entries. type InvokeAllRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -2079,16 +2002,16 @@ type InvokeAllRequest struct { // The optional set of serialized keys of the entries to process. Keys [][]byte `protobuf:"bytes,5,rep,name=keys,proto3" json:"keys,omitempty"` // The optional serialized Filter to identify the entries to process. - Filter []byte `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"` + Filter []byte `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InvokeAllRequest) Reset() { *x = InvokeAllRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InvokeAllRequest) String() string { @@ -2099,7 +2022,7 @@ func (*InvokeAllRequest) ProtoMessage() {} func (x *InvokeAllRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2158,10 +2081,7 @@ func (x *InvokeAllRequest) GetFilter() []byte { // A request to get a set of entries from a cache. type EntrySetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -2171,16 +2091,16 @@ type EntrySetRequest struct { // The serialized Filter to identify the entries to return. Filter []byte `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // The optional comparator to use to sort the returned entries. - Comparator []byte `protobuf:"bytes,5,opt,name=comparator,proto3" json:"comparator,omitempty"` + Comparator []byte `protobuf:"bytes,5,opt,name=comparator,proto3" json:"comparator,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EntrySetRequest) Reset() { *x = EntrySetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EntrySetRequest) String() string { @@ -2191,7 +2111,7 @@ func (*EntrySetRequest) ProtoMessage() {} func (x *EntrySetRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2243,10 +2163,7 @@ func (x *EntrySetRequest) GetComparator() []byte { // A request to get a set of keys from a cache. type KeySetRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -2254,16 +2171,16 @@ type KeySetRequest struct { // The serialization format. Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` // The serialized Filter to identify the keys to return. - Filter []byte `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + Filter []byte `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *KeySetRequest) Reset() { *x = KeySetRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KeySetRequest) String() string { @@ -2274,7 +2191,7 @@ func (*KeySetRequest) ProtoMessage() {} func (x *KeySetRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2319,10 +2236,7 @@ func (x *KeySetRequest) GetFilter() []byte { // A request to get a collection of values from a cache. type ValuesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -2332,16 +2246,16 @@ type ValuesRequest struct { // The serialized Filter to identify the values to return. Filter []byte `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // The optional comparator to use to sort the returned values. - Comparator []byte `protobuf:"bytes,5,opt,name=comparator,proto3" json:"comparator,omitempty"` + Comparator []byte `protobuf:"bytes,5,opt,name=comparator,proto3" json:"comparator,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ValuesRequest) Reset() { *x = ValuesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ValuesRequest) String() string { @@ -2352,7 +2266,7 @@ func (*ValuesRequest) ProtoMessage() {} func (x *ValuesRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2404,23 +2318,20 @@ func (x *ValuesRequest) GetComparator() []byte { // An optional value. type OptionalValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // A flag indicating whether the value is present. Present bool `protobuf:"varint,1,opt,name=present,proto3" json:"present,omitempty"` // The serialized value. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OptionalValue) Reset() { *x = OptionalValue{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OptionalValue) String() string { @@ -2431,7 +2342,7 @@ func (*OptionalValue) ProtoMessage() {} func (x *OptionalValue) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2462,10 +2373,7 @@ func (x *OptionalValue) GetValue() []byte { // A message to subscribe to or unsubscribe from MapEvents for a cache. type MapListenerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the cache. Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // The name of the cache. @@ -2492,16 +2400,16 @@ type MapListenerRequest struct { // An optional serialized MapTrigger. Trigger []byte `protobuf:"bytes,11,opt,name=trigger,proto3" json:"trigger,omitempty"` // A unique filter identifier. - FilterId int64 `protobuf:"varint,12,opt,name=filterId,proto3" json:"filterId,omitempty"` + FilterId int64 `protobuf:"varint,12,opt,name=filterId,proto3" json:"filterId,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MapListenerRequest) Reset() { *x = MapListenerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapListenerRequest) String() string { @@ -2512,7 +2420,7 @@ func (*MapListenerRequest) ProtoMessage() {} func (x *MapListenerRequest) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2613,13 +2521,10 @@ func (x *MapListenerRequest) GetFilterId() int64 { // A response to indicate that a MapListener was subscribed to a cache. type MapListenerResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // A response can be one of either a subscribed response or an event response. // - // Types that are assignable to ResponseType: + // Types that are valid to be assigned to ResponseType: // // *MapListenerResponse_Subscribed // *MapListenerResponse_Unsubscribed @@ -2627,16 +2532,16 @@ type MapListenerResponse struct { // *MapListenerResponse_Error // *MapListenerResponse_Destroyed // *MapListenerResponse_Truncated - ResponseType isMapListenerResponse_ResponseType `protobuf_oneof:"response_type"` + ResponseType isMapListenerResponse_ResponseType `protobuf_oneof:"response_type"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MapListenerResponse) Reset() { *x = MapListenerResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapListenerResponse) String() string { @@ -2647,7 +2552,7 @@ func (*MapListenerResponse) ProtoMessage() {} func (x *MapListenerResponse) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2662,51 +2567,63 @@ func (*MapListenerResponse) Descriptor() ([]byte, []int) { return file_messages_proto_rawDescGZIP(), []int{31} } -func (m *MapListenerResponse) GetResponseType() isMapListenerResponse_ResponseType { - if m != nil { - return m.ResponseType +func (x *MapListenerResponse) GetResponseType() isMapListenerResponse_ResponseType { + if x != nil { + return x.ResponseType } return nil } func (x *MapListenerResponse) GetSubscribed() *MapListenerSubscribedResponse { - if x, ok := x.GetResponseType().(*MapListenerResponse_Subscribed); ok { - return x.Subscribed + if x != nil { + if x, ok := x.ResponseType.(*MapListenerResponse_Subscribed); ok { + return x.Subscribed + } } return nil } func (x *MapListenerResponse) GetUnsubscribed() *MapListenerUnsubscribedResponse { - if x, ok := x.GetResponseType().(*MapListenerResponse_Unsubscribed); ok { - return x.Unsubscribed + if x != nil { + if x, ok := x.ResponseType.(*MapListenerResponse_Unsubscribed); ok { + return x.Unsubscribed + } } return nil } func (x *MapListenerResponse) GetEvent() *MapEventResponse { - if x, ok := x.GetResponseType().(*MapListenerResponse_Event); ok { - return x.Event + if x != nil { + if x, ok := x.ResponseType.(*MapListenerResponse_Event); ok { + return x.Event + } } return nil } func (x *MapListenerResponse) GetError() *MapListenerErrorResponse { - if x, ok := x.GetResponseType().(*MapListenerResponse_Error); ok { - return x.Error + if x != nil { + if x, ok := x.ResponseType.(*MapListenerResponse_Error); ok { + return x.Error + } } return nil } func (x *MapListenerResponse) GetDestroyed() *CacheDestroyedResponse { - if x, ok := x.GetResponseType().(*MapListenerResponse_Destroyed); ok { - return x.Destroyed + if x != nil { + if x, ok := x.ResponseType.(*MapListenerResponse_Destroyed); ok { + return x.Destroyed + } } return nil } func (x *MapListenerResponse) GetTruncated() *CacheTruncatedResponse { - if x, ok := x.GetResponseType().(*MapListenerResponse_Truncated); ok { - return x.Truncated + if x != nil { + if x, ok := x.ResponseType.(*MapListenerResponse_Truncated); ok { + return x.Truncated + } } return nil } @@ -2753,20 +2670,17 @@ func (*MapListenerResponse_Truncated) isMapListenerResponse_ResponseType() {} // A response to indicate that a MapListener was subscribed to a cache. type MapListenerSubscribedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` unknownFields protoimpl.UnknownFields - - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MapListenerSubscribedResponse) Reset() { *x = MapListenerSubscribedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapListenerSubscribedResponse) String() string { @@ -2777,7 +2691,7 @@ func (*MapListenerSubscribedResponse) ProtoMessage() {} func (x *MapListenerSubscribedResponse) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2801,20 +2715,17 @@ func (x *MapListenerSubscribedResponse) GetUid() string { // A response to indicate that a MapListener was unsubscribed from a cache. type MapListenerUnsubscribedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` unknownFields protoimpl.UnknownFields - - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MapListenerUnsubscribedResponse) Reset() { *x = MapListenerUnsubscribedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapListenerUnsubscribedResponse) String() string { @@ -2825,7 +2736,7 @@ func (*MapListenerUnsubscribedResponse) ProtoMessage() {} func (x *MapListenerUnsubscribedResponse) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2849,20 +2760,17 @@ func (x *MapListenerUnsubscribedResponse) GetUid() string { // A response to indicate that a cache was destroyed. type CacheDestroyedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Cache string `protobuf:"bytes,1,opt,name=cache,proto3" json:"cache,omitempty"` unknownFields protoimpl.UnknownFields - - Cache string `protobuf:"bytes,1,opt,name=cache,proto3" json:"cache,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CacheDestroyedResponse) Reset() { *x = CacheDestroyedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CacheDestroyedResponse) String() string { @@ -2873,7 +2781,7 @@ func (*CacheDestroyedResponse) ProtoMessage() {} func (x *CacheDestroyedResponse) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2897,20 +2805,17 @@ func (x *CacheDestroyedResponse) GetCache() string { // A response to indicate that a cache was truncated. type CacheTruncatedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Cache string `protobuf:"bytes,1,opt,name=cache,proto3" json:"cache,omitempty"` unknownFields protoimpl.UnknownFields - - Cache string `protobuf:"bytes,1,opt,name=cache,proto3" json:"cache,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CacheTruncatedResponse) Reset() { *x = CacheTruncatedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CacheTruncatedResponse) String() string { @@ -2921,7 +2826,7 @@ func (*CacheTruncatedResponse) ProtoMessage() {} func (x *CacheTruncatedResponse) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -2945,23 +2850,20 @@ func (x *CacheTruncatedResponse) GetCache() string { // A response to indicate that an error occurred processing a MapListener request. type MapListenerErrorResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Code int32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` + Stack []string `protobuf:"bytes,4,rep,name=stack,proto3" json:"stack,omitempty"` unknownFields protoimpl.UnknownFields - - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - Code int32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"` - Stack []string `protobuf:"bytes,4,rep,name=stack,proto3" json:"stack,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MapListenerErrorResponse) Reset() { *x = MapListenerErrorResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapListenerErrorResponse) String() string { @@ -2972,7 +2874,7 @@ func (*MapListenerErrorResponse) ProtoMessage() {} func (x *MapListenerErrorResponse) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3017,10 +2919,7 @@ func (x *MapListenerErrorResponse) GetStack() []string { // A response containing a MapEvent for a MapListener type MapEventResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The type of the event Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The key of the entry @@ -3036,16 +2935,16 @@ type MapEventResponse struct { // A flag indicating whether the event is a synthetic event. Synthetic bool `protobuf:"varint,7,opt,name=synthetic,proto3" json:"synthetic,omitempty"` // A flag indicating whether the event is a priming event. - Priming bool `protobuf:"varint,8,opt,name=priming,proto3" json:"priming,omitempty"` + Priming bool `protobuf:"varint,8,opt,name=priming,proto3" json:"priming,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MapEventResponse) Reset() { *x = MapEventResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_messages_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_messages_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapEventResponse) String() string { @@ -3056,7 +2955,7 @@ func (*MapEventResponse) ProtoMessage() {} func (x *MapEventResponse) ProtoReflect() protoreflect.Message { mi := &file_messages_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -3129,336 +3028,243 @@ func (x *MapEventResponse) GetPriming() bool { var File_messages_proto protoreflect.FileDescriptor -var file_messages_proto_rawDesc = []byte{ - 0x0a, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x09, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x3a, 0x0a, 0x0c, 0x43, - 0x6c, 0x65, 0x61, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, - 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x74, - 0x61, 0x69, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x6a, 0x0a, 0x12, - 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x70, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x74, - 0x61, 0x69, 0x6e, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3c, 0x0a, 0x0e, 0x44, 0x65, - 0x73, 0x74, 0x72, 0x6f, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, - 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, - 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x22, 0x3c, 0x0a, 0x0e, 0x49, 0x73, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, - 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x22, 0x3c, 0x0a, 0x0e, 0x49, 0x73, 0x52, 0x65, 0x61, 0x64, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, - 0x61, 0x63, 0x68, 0x65, 0x22, 0x39, 0x0a, 0x0b, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, - 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x22, - 0x62, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, - 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x22, 0x65, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, - 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x8a, 0x01, 0x0a, 0x0a, 0x50, - 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x22, 0x8d, 0x01, 0x0a, 0x0d, 0x50, 0x75, 0x74, 0x41, - 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x26, 0x0a, - 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, - 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, - 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x22, 0x92, 0x01, 0x0a, 0x12, 0x50, 0x75, 0x74, 0x49, - 0x66, 0x41, 0x62, 0x73, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, - 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, - 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, - 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x22, 0x65, 0x0a, 0x0d, - 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, - 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x22, 0x82, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x61, - 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, - 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, - 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x7c, 0x0a, 0x0e, 0x52, 0x65, 0x70, 0x6c, - 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, - 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, - 0x75, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x70, - 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, - 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x69, 0x0a, 0x0b, 0x50, 0x61, 0x67, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, - 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, - 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6f, - 0x6b, 0x69, 0x65, 0x22, 0x4d, 0x0a, 0x0b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, - 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6f, 0x6b, - 0x69, 0x65, 0x22, 0x2f, 0x0a, 0x05, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x22, 0x3d, 0x0a, 0x0f, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, - 0x68, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, - 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65, - 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x72, 0x74, - 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x65, 0x64, - 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x22, 0x76, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, - 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, - 0x74, 0x72, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65, - 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x22, 0xa2, 0x01, 0x0a, 0x10, 0x41, 0x67, 0x67, - 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, - 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x6f, - 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, - 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x83, 0x01, - 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, - 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x22, 0xa0, 0x01, 0x0a, 0x10, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x41, 0x6c, - 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, - 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1c, 0x0a, 0x09, - 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, - 0x79, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x16, - 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, - 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x8d, 0x01, 0x0a, 0x0f, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, - 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x16, - 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, - 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, - 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x6b, 0x0a, 0x0d, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, - 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x22, 0x8b, 0x01, 0x0a, 0x0d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, - 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, - 0x72, 0x22, 0x3f, 0x0a, 0x0d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x22, 0x83, 0x03, 0x0a, 0x12, 0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, - 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x63, 0x61, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x10, 0x0a, - 0x03, 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, - 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, - 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, - 0x74, 0x65, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, - 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x74, 0x65, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6c, 0x69, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, - 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x09, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, - 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, - 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x1a, - 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x2c, 0x0a, 0x0b, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x49, - 0x54, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4b, 0x45, 0x59, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, - 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x10, 0x02, 0x22, 0xbc, 0x03, 0x0a, 0x13, 0x4d, 0x61, 0x70, - 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x4a, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x2e, 0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73, - 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, - 0x52, 0x0a, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x12, 0x50, 0x0a, 0x0c, - 0x75, 0x6e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x4d, - 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x55, 0x6e, 0x73, 0x75, 0x62, 0x73, - 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, - 0x52, 0x0c, 0x75, 0x6e, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x12, 0x33, - 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x05, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x4d, - 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, - 0x12, 0x41, 0x0a, 0x09, 0x64, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, - 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x09, 0x64, 0x65, 0x73, 0x74, 0x72, 0x6f, - 0x79, 0x65, 0x64, 0x12, 0x41, 0x0a, 0x09, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x2e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x09, 0x74, 0x72, 0x75, - 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x42, 0x0f, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x31, 0x0a, 0x1d, 0x4d, 0x61, 0x70, 0x4c, 0x69, - 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x33, 0x0a, 0x1f, 0x4d, 0x61, - 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x55, 0x6e, 0x73, 0x75, 0x62, 0x73, 0x63, - 0x72, 0x69, 0x62, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, - 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, - 0x2e, 0x0a, 0x16, 0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, - 0x68, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x22, - 0x2e, 0x0a, 0x16, 0x43, 0x61, 0x63, 0x68, 0x65, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, - 0x68, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x22, - 0x70, 0x0a, 0x18, 0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, - 0x74, 0x61, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x63, - 0x6b, 0x22, 0xf7, 0x02, 0x0a, 0x10, 0x4d, 0x61, 0x70, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x12, 0x61, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, - 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x13, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, - 0x18, 0x06, 0x20, 0x03, 0x28, 0x03, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, - 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x74, 0x69, 0x63, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x74, 0x69, 0x63, 0x12, - 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x22, 0x50, 0x0a, 0x13, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x4f, 0x4e, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x4f, 0x52, - 0x4d, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x52, 0x41, 0x4e, 0x53, - 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x52, - 0x41, 0x4e, 0x53, 0x46, 0x4f, 0x52, 0x4d, 0x45, 0x44, 0x10, 0x02, 0x42, 0x4a, 0x0a, 0x19, 0x63, - 0x6f, 0x6d, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x63, 0x6f, - 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2d, 0x67, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_messages_proto_rawDesc = "" + + "\n" + + "\x0emessages.proto\x12\tcoherence\":\n" + + "\fClearRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\"\x82\x01\n" + + "\x14ContainsEntryRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x10\n" + + "\x03key\x18\x04 \x01(\fR\x03key\x12\x14\n" + + "\x05value\x18\x05 \x01(\fR\x05value\"j\n" + + "\x12ContainsKeyRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x10\n" + + "\x03key\x18\x04 \x01(\fR\x03key\"p\n" + + "\x14ContainsValueRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x14\n" + + "\x05value\x18\x04 \x01(\fR\x05value\"<\n" + + "\x0eDestroyRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\"<\n" + + "\x0eIsEmptyRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\"<\n" + + "\x0eIsReadyRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\"9\n" + + "\vSizeRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\"b\n" + + "\n" + + "GetRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x10\n" + + "\x03key\x18\x04 \x01(\fR\x03key\"e\n" + + "\rGetAllRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x10\n" + + "\x03key\x18\x04 \x03(\fR\x03key\"\x8a\x01\n" + + "\n" + + "PutRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x10\n" + + "\x03key\x18\x04 \x01(\fR\x03key\x12\x14\n" + + "\x05value\x18\x05 \x01(\fR\x05value\x12\x10\n" + + "\x03ttl\x18\x06 \x01(\x03R\x03ttl\"\x8d\x01\n" + + "\rPutAllRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12&\n" + + "\x05entry\x18\x04 \x03(\v2\x10.coherence.EntryR\x05entry\x12\x10\n" + + "\x03ttl\x18\x06 \x01(\x03R\x03ttl\"\x92\x01\n" + + "\x12PutIfAbsentRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x10\n" + + "\x03key\x18\x04 \x01(\fR\x03key\x12\x14\n" + + "\x05value\x18\x05 \x01(\fR\x05value\x12\x10\n" + + "\x03ttl\x18\x06 \x01(\x03R\x03ttl\"e\n" + + "\rRemoveRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x10\n" + + "\x03key\x18\x04 \x01(\fR\x03key\"\x82\x01\n" + + "\x14RemoveMappingRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x10\n" + + "\x03key\x18\x04 \x01(\fR\x03key\x12\x14\n" + + "\x05value\x18\x05 \x01(\fR\x05value\"|\n" + + "\x0eReplaceRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x10\n" + + "\x03key\x18\x04 \x01(\fR\x03key\x12\x14\n" + + "\x05value\x18\x05 \x01(\fR\x05value\"\xaf\x01\n" + + "\x15ReplaceMappingRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x10\n" + + "\x03key\x18\x04 \x01(\fR\x03key\x12$\n" + + "\rpreviousValue\x18\x05 \x01(\fR\rpreviousValue\x12\x1a\n" + + "\bnewValue\x18\x06 \x01(\fR\bnewValue\"i\n" + + "\vPageRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x16\n" + + "\x06cookie\x18\x04 \x01(\fR\x06cookie\"M\n" + + "\vEntryResult\x12\x10\n" + + "\x03key\x18\x01 \x01(\fR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\fR\x05value\x12\x16\n" + + "\x06cookie\x18\x03 \x01(\fR\x06cookie\"/\n" + + "\x05Entry\x12\x10\n" + + "\x03key\x18\x01 \x01(\fR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\fR\x05value\"=\n" + + "\x0fTruncateRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\"\xab\x01\n" + + "\x0fAddIndexRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x1c\n" + + "\textractor\x18\x04 \x01(\fR\textractor\x12\x16\n" + + "\x06sorted\x18\x05 \x01(\bR\x06sorted\x12\x1e\n" + + "\n" + + "comparator\x18\x06 \x01(\fR\n" + + "comparator\"v\n" + + "\x12RemoveIndexRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x1c\n" + + "\textractor\x18\x04 \x01(\fR\textractor\"\xa2\x01\n" + + "\x10AggregateRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x1e\n" + + "\n" + + "aggregator\x18\x04 \x01(\fR\n" + + "aggregator\x12\x12\n" + + "\x04keys\x18\x05 \x03(\fR\x04keys\x12\x16\n" + + "\x06filter\x18\x06 \x01(\fR\x06filter\"\x83\x01\n" + + "\rInvokeRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x1c\n" + + "\tprocessor\x18\x04 \x01(\fR\tprocessor\x12\x10\n" + + "\x03key\x18\x05 \x01(\fR\x03key\"\xa0\x01\n" + + "\x10InvokeAllRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x1c\n" + + "\tprocessor\x18\x04 \x01(\fR\tprocessor\x12\x12\n" + + "\x04keys\x18\x05 \x03(\fR\x04keys\x12\x16\n" + + "\x06filter\x18\x06 \x01(\fR\x06filter\"\x8d\x01\n" + + "\x0fEntrySetRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x16\n" + + "\x06filter\x18\x04 \x01(\fR\x06filter\x12\x1e\n" + + "\n" + + "comparator\x18\x05 \x01(\fR\n" + + "comparator\"k\n" + + "\rKeySetRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x16\n" + + "\x06filter\x18\x04 \x01(\fR\x06filter\"\x8b\x01\n" + + "\rValuesRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x16\n" + + "\x06filter\x18\x04 \x01(\fR\x06filter\x12\x1e\n" + + "\n" + + "comparator\x18\x05 \x01(\fR\n" + + "comparator\"?\n" + + "\rOptionalValue\x12\x18\n" + + "\apresent\x18\x01 \x01(\bR\apresent\x12\x14\n" + + "\x05value\x18\x02 \x01(\fR\x05value\"\x83\x03\n" + + "\x12MapListenerRequest\x12\x14\n" + + "\x05scope\x18\x01 \x01(\tR\x05scope\x12\x14\n" + + "\x05cache\x18\x02 \x01(\tR\x05cache\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x10\n" + + "\x03uid\x18\x04 \x01(\tR\x03uid\x12=\n" + + "\x04type\x18\x05 \x01(\x0e2).coherence.MapListenerRequest.RequestTypeR\x04type\x12\x16\n" + + "\x06filter\x18\x06 \x01(\fR\x06filter\x12\x10\n" + + "\x03key\x18\a \x01(\fR\x03key\x12\x12\n" + + "\x04lite\x18\b \x01(\bR\x04lite\x12\x1c\n" + + "\tsubscribe\x18\t \x01(\bR\tsubscribe\x12\x18\n" + + "\apriming\x18\n" + + " \x01(\bR\apriming\x12\x18\n" + + "\atrigger\x18\v \x01(\fR\atrigger\x12\x1a\n" + + "\bfilterId\x18\f \x01(\x03R\bfilterId\",\n" + + "\vRequestType\x12\b\n" + + "\x04INIT\x10\x00\x12\a\n" + + "\x03KEY\x10\x01\x12\n" + + "\n" + + "\x06FILTER\x10\x02\"\xbc\x03\n" + + "\x13MapListenerResponse\x12J\n" + + "\n" + + "subscribed\x18\x01 \x01(\v2(.coherence.MapListenerSubscribedResponseH\x00R\n" + + "subscribed\x12P\n" + + "\funsubscribed\x18\x02 \x01(\v2*.coherence.MapListenerUnsubscribedResponseH\x00R\funsubscribed\x123\n" + + "\x05event\x18\x03 \x01(\v2\x1b.coherence.MapEventResponseH\x00R\x05event\x12;\n" + + "\x05error\x18\x04 \x01(\v2#.coherence.MapListenerErrorResponseH\x00R\x05error\x12A\n" + + "\tdestroyed\x18\x05 \x01(\v2!.coherence.CacheDestroyedResponseH\x00R\tdestroyed\x12A\n" + + "\ttruncated\x18\x06 \x01(\v2!.coherence.CacheTruncatedResponseH\x00R\ttruncatedB\x0f\n" + + "\rresponse_type\"1\n" + + "\x1dMapListenerSubscribedResponse\x12\x10\n" + + "\x03uid\x18\x01 \x01(\tR\x03uid\"3\n" + + "\x1fMapListenerUnsubscribedResponse\x12\x10\n" + + "\x03uid\x18\x01 \x01(\tR\x03uid\".\n" + + "\x16CacheDestroyedResponse\x12\x14\n" + + "\x05cache\x18\x01 \x01(\tR\x05cache\".\n" + + "\x16CacheTruncatedResponse\x12\x14\n" + + "\x05cache\x18\x01 \x01(\tR\x05cache\"p\n" + + "\x18MapListenerErrorResponse\x12\x10\n" + + "\x03uid\x18\x01 \x01(\tR\x03uid\x12\x18\n" + + "\amessage\x18\x02 \x01(\tR\amessage\x12\x12\n" + + "\x04code\x18\x03 \x01(\x05R\x04code\x12\x14\n" + + "\x05stack\x18\x04 \x03(\tR\x05stack\"\xf7\x02\n" + + "\x10MapEventResponse\x12\x0e\n" + + "\x02id\x18\x01 \x01(\x05R\x02id\x12\x10\n" + + "\x03key\x18\x02 \x01(\fR\x03key\x12\x1a\n" + + "\bnewValue\x18\x03 \x01(\fR\bnewValue\x12\x1a\n" + + "\boldValue\x18\x04 \x01(\fR\boldValue\x12a\n" + + "\x13transformationState\x18\x05 \x01(\x0e2/.coherence.MapEventResponse.TransformationStateR\x13transformationState\x12\x1c\n" + + "\tfilterIds\x18\x06 \x03(\x03R\tfilterIds\x12\x1c\n" + + "\tsynthetic\x18\a \x01(\bR\tsynthetic\x12\x18\n" + + "\apriming\x18\b \x01(\bR\apriming\"P\n" + + "\x13TransformationState\x12\x15\n" + + "\x11NON_TRANSFORMABLE\x10\x00\x12\x11\n" + + "\rTRANSFORMABLE\x10\x01\x12\x0f\n" + + "\vTRANSFORMED\x10\x02BJ\n" + + "\x19com.oracle.coherence.grpcP\x01Z+github.com/oracle/coherence-go-client/protob\x06proto3" var ( file_messages_proto_rawDescOnce sync.Once - file_messages_proto_rawDescData = file_messages_proto_rawDesc + file_messages_proto_rawDescData []byte ) func file_messages_proto_rawDescGZIP() []byte { file_messages_proto_rawDescOnce.Do(func() { - file_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_messages_proto_rawDescData) + file_messages_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_messages_proto_rawDesc), len(file_messages_proto_rawDesc))) }) return file_messages_proto_rawDescData } var file_messages_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 38) -var file_messages_proto_goTypes = []interface{}{ +var file_messages_proto_goTypes = []any{ (MapListenerRequest_RequestType)(0), // 0: coherence.MapListenerRequest.RequestType (MapEventResponse_TransformationState)(0), // 1: coherence.MapEventResponse.TransformationState (*ClearRequest)(nil), // 2: coherence.ClearRequest @@ -3522,465 +3328,7 @@ func file_messages_proto_init() { if File_messages_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClearRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContainsEntryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContainsKeyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContainsValueRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DestroyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsEmptyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IsReadyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SizeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetAllRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutAllRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutIfAbsentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EntryResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Entry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TruncateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddIndexRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveIndexRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AggregateRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InvokeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InvokeAllRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EntrySetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeySetRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValuesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OptionalValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapListenerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapListenerResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapListenerSubscribedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapListenerUnsubscribedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CacheDestroyedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CacheTruncatedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapListenerErrorResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_messages_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapEventResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_messages_proto_msgTypes[31].OneofWrappers = []interface{}{ + file_messages_proto_msgTypes[31].OneofWrappers = []any{ (*MapListenerResponse_Subscribed)(nil), (*MapListenerResponse_Unsubscribed)(nil), (*MapListenerResponse_Event)(nil), @@ -3992,7 +3340,7 @@ func file_messages_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_messages_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_messages_proto_rawDesc), len(file_messages_proto_rawDesc)), NumEnums: 2, NumMessages: 38, NumExtensions: 0, @@ -4004,7 +3352,6 @@ func file_messages_proto_init() { MessageInfos: file_messages_proto_msgTypes, }.Build() File_messages_proto = out.File - file_messages_proto_rawDesc = nil file_messages_proto_goTypes = nil file_messages_proto_depIdxs = nil } diff --git a/proto/services.pb.go b/proto/services.pb.go index d0e03cac..5e479a17 100644 --- a/proto/services.pb.go +++ b/proto/services.pb.go @@ -12,7 +12,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.6 // protoc v3.19.2 // source: services.proto @@ -24,6 +24,7 @@ import ( emptypb "google.golang.org/protobuf/types/known/emptypb" wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -35,149 +36,42 @@ const ( var File_services_proto protoreflect.FileDescriptor -var file_services_proto_rawDesc = []byte{ - 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x09, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x1a, 0x0e, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, - 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, - 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xea, 0x0f, 0x0a, 0x11, 0x4e, 0x61, 0x6d, - 0x65, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x40, - 0x0a, 0x08, 0x61, 0x64, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1a, 0x2e, 0x63, 0x6f, 0x68, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, - 0x12, 0x47, 0x0a, 0x09, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x2e, - 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, - 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x05, 0x63, 0x6c, 0x65, - 0x61, 0x72, 0x12, 0x17, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x43, - 0x6c, 0x65, 0x61, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1f, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x4a, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, - 0x73, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, - 0x00, 0x12, 0x4e, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x1f, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x43, - 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, - 0x00, 0x12, 0x3e, 0x0a, 0x07, 0x64, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x12, 0x19, 0x2e, 0x63, - 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, - 0x00, 0x12, 0x3c, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x65, 0x74, 0x12, 0x1a, 0x2e, - 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, - 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x63, 0x6f, 0x68, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, - 0x4d, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x63, 0x6f, 0x68, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x38, - 0x0a, 0x03, 0x67, 0x65, 0x74, 0x12, 0x15, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x63, - 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, - 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x06, 0x67, 0x65, 0x74, 0x41, - 0x6c, 0x6c, 0x12, 0x18, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x47, - 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x63, - 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x00, - 0x30, 0x01, 0x12, 0x41, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x18, 0x2e, 0x63, - 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x09, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x41, - 0x6c, 0x6c, 0x12, 0x1b, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x49, - 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x10, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x42, 0x0a, 0x07, 0x69, 0x73, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x12, 0x19, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x49, 0x73, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, - 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x07, 0x69, 0x73, 0x52, - 0x65, 0x61, 0x64, 0x79, 0x12, 0x19, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x2e, 0x49, 0x73, 0x52, 0x65, 0x61, 0x64, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, - 0x06, 0x6b, 0x65, 0x79, 0x53, 0x65, 0x74, 0x12, 0x18, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, - 0x30, 0x01, 0x12, 0x46, 0x0a, 0x10, 0x6e, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, - 0x65, 0x74, 0x50, 0x61, 0x67, 0x65, 0x12, 0x16, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, - 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x49, 0x0a, 0x0e, 0x6e, 0x65, - 0x78, 0x74, 0x4b, 0x65, 0x79, 0x53, 0x65, 0x74, 0x50, 0x61, 0x67, 0x65, 0x12, 0x16, 0x2e, 0x63, - 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x3b, 0x0a, 0x03, 0x70, 0x75, 0x74, 0x12, 0x15, 0x2e, 0x63, - 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x75, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x18, 0x2e, 0x63, - 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x75, 0x74, 0x41, 0x6c, 0x6c, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, - 0x12, 0x4b, 0x0a, 0x0b, 0x70, 0x75, 0x74, 0x49, 0x66, 0x41, 0x62, 0x73, 0x65, 0x6e, 0x74, 0x12, - 0x1d, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x50, 0x75, 0x74, 0x49, - 0x66, 0x41, 0x62, 0x73, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, - 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x18, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, - 0x12, 0x46, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x1d, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x63, 0x6f, 0x68, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x61, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, - 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6c, - 0x61, 0x63, 0x65, 0x12, 0x19, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, - 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, - 0x0e, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, - 0x20, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6c, - 0x61, 0x63, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, - 0x3d, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x00, 0x12, 0x40, - 0x0a, 0x08, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x2e, 0x63, 0x6f, 0x68, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, - 0x12, 0x43, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x18, 0x2e, 0x63, 0x6f, 0x68, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0x4a, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x6f, 0x72, 0x61, - 0x63, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x67, 0x72, - 0x70, 0x63, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x2d, 0x67, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_services_proto_rawDesc = "" + + "\n" + + "\x0eservices.proto\x12\tcoherence\x1a\x0emessages.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/wrappers.proto2\xea\x0f\n" + + "\x11NamedCacheService\x12@\n" + + "\baddIndex\x12\x1a.coherence.AddIndexRequest\x1a\x16.google.protobuf.Empty\"\x00\x12G\n" + + "\taggregate\x12\x1b.coherence.AggregateRequest\x1a\x1b.google.protobuf.BytesValue\"\x00\x12:\n" + + "\x05clear\x12\x17.coherence.ClearRequest\x1a\x16.google.protobuf.Empty\"\x00\x12N\n" + + "\rcontainsEntry\x12\x1f.coherence.ContainsEntryRequest\x1a\x1a.google.protobuf.BoolValue\"\x00\x12J\n" + + "\vcontainsKey\x12\x1d.coherence.ContainsKeyRequest\x1a\x1a.google.protobuf.BoolValue\"\x00\x12N\n" + + "\rcontainsValue\x12\x1f.coherence.ContainsValueRequest\x1a\x1a.google.protobuf.BoolValue\"\x00\x12>\n" + + "\adestroy\x12\x19.coherence.DestroyRequest\x1a\x16.google.protobuf.Empty\"\x00\x12<\n" + + "\bentrySet\x12\x1a.coherence.EntrySetRequest\x1a\x10.coherence.Entry\"\x000\x01\x12M\n" + + "\x06events\x12\x1d.coherence.MapListenerRequest\x1a\x1e.coherence.MapListenerResponse\"\x00(\x010\x01\x128\n" + + "\x03get\x12\x15.coherence.GetRequest\x1a\x18.coherence.OptionalValue\"\x00\x128\n" + + "\x06getAll\x12\x18.coherence.GetAllRequest\x1a\x10.coherence.Entry\"\x000\x01\x12A\n" + + "\x06invoke\x12\x18.coherence.InvokeRequest\x1a\x1b.google.protobuf.BytesValue\"\x00\x12>\n" + + "\tinvokeAll\x12\x1b.coherence.InvokeAllRequest\x1a\x10.coherence.Entry\"\x000\x01\x12B\n" + + "\aisEmpty\x12\x19.coherence.IsEmptyRequest\x1a\x1a.google.protobuf.BoolValue\"\x00\x12B\n" + + "\aisReady\x12\x19.coherence.IsReadyRequest\x1a\x1a.google.protobuf.BoolValue\"\x00\x12C\n" + + "\x06keySet\x12\x18.coherence.KeySetRequest\x1a\x1b.google.protobuf.BytesValue\"\x000\x01\x12F\n" + + "\x10nextEntrySetPage\x12\x16.coherence.PageRequest\x1a\x16.coherence.EntryResult\"\x000\x01\x12I\n" + + "\x0enextKeySetPage\x12\x16.coherence.PageRequest\x1a\x1b.google.protobuf.BytesValue\"\x000\x01\x12;\n" + + "\x03put\x12\x15.coherence.PutRequest\x1a\x1b.google.protobuf.BytesValue\"\x00\x12<\n" + + "\x06putAll\x12\x18.coherence.PutAllRequest\x1a\x16.google.protobuf.Empty\"\x00\x12K\n" + + "\vputIfAbsent\x12\x1d.coherence.PutIfAbsentRequest\x1a\x1b.google.protobuf.BytesValue\"\x00\x12A\n" + + "\x06remove\x12\x18.coherence.RemoveRequest\x1a\x1b.google.protobuf.BytesValue\"\x00\x12F\n" + + "\vremoveIndex\x12\x1d.coherence.RemoveIndexRequest\x1a\x16.google.protobuf.Empty\"\x00\x12N\n" + + "\rremoveMapping\x12\x1f.coherence.RemoveMappingRequest\x1a\x1a.google.protobuf.BoolValue\"\x00\x12C\n" + + "\areplace\x12\x19.coherence.ReplaceRequest\x1a\x1b.google.protobuf.BytesValue\"\x00\x12P\n" + + "\x0ereplaceMapping\x12 .coherence.ReplaceMappingRequest\x1a\x1a.google.protobuf.BoolValue\"\x00\x12=\n" + + "\x04size\x12\x16.coherence.SizeRequest\x1a\x1b.google.protobuf.Int32Value\"\x00\x12@\n" + + "\btruncate\x12\x1a.coherence.TruncateRequest\x1a\x16.google.protobuf.Empty\"\x00\x12C\n" + + "\x06values\x12\x18.coherence.ValuesRequest\x1a\x1b.google.protobuf.BytesValue\"\x000\x01BJ\n" + + "\x19com.oracle.coherence.grpcP\x01Z+github.com/oracle/coherence-go-client/protob\x06proto3" -var file_services_proto_goTypes = []interface{}{ +var file_services_proto_goTypes = []any{ (*AddIndexRequest)(nil), // 0: coherence.AddIndexRequest (*AggregateRequest)(nil), // 1: coherence.AggregateRequest (*ClearRequest)(nil), // 2: coherence.ClearRequest @@ -291,7 +185,7 @@ func file_services_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_services_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_services_proto_rawDesc), len(file_services_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -301,7 +195,6 @@ func file_services_proto_init() { DependencyIndexes: file_services_proto_depIdxs, }.Build() File_services_proto = out.File - file_services_proto_rawDesc = nil file_services_proto_goTypes = nil file_services_proto_depIdxs = nil } diff --git a/proto/services_grpc.pb.go b/proto/services_grpc.pb.go index 7b6d09b7..51fc1e24 100644 --- a/proto/services_grpc.pb.go +++ b/proto/services_grpc.pb.go @@ -12,7 +12,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.5.1 // - protoc v3.19.2 // source: services.proto @@ -29,8 +29,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( NamedCacheService_AddIndex_FullMethodName = "/coherence.NamedCacheService/addIndex" @@ -67,6 +67,8 @@ const ( // NamedCacheServiceClient is the client API for NamedCacheService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +// +// A gRPC NamedCache service. type NamedCacheServiceClient interface { // Add an index to a cache. AddIndex(ctx context.Context, in *AddIndexRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) @@ -86,28 +88,28 @@ type NamedCacheServiceClient interface { Destroy(ctx context.Context, in *DestroyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Obtain all of the entries in the cache where the cache entries // match a given filter. - EntrySet(ctx context.Context, in *EntrySetRequest, opts ...grpc.CallOption) (NamedCacheService_EntrySetClient, error) + EntrySet(ctx context.Context, in *EntrySetRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Entry], error) // Sets up a bidirectional channel for cache events. - Events(ctx context.Context, opts ...grpc.CallOption) (NamedCacheService_EventsClient, error) + Events(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[MapListenerRequest, MapListenerResponse], error) // Get a value for a given key from a cache. Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*OptionalValue, error) // Get all of the values from a cache for a given collection of keys. - GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (NamedCacheService_GetAllClient, error) + GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Entry], error) // Invoke an entry processor against an entry in a cache. Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*wrapperspb.BytesValue, error) // Invoke an entry processor against a number of entries in a cache. - InvokeAll(ctx context.Context, in *InvokeAllRequest, opts ...grpc.CallOption) (NamedCacheService_InvokeAllClient, error) + InvokeAll(ctx context.Context, in *InvokeAllRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Entry], error) // Determine whether a cache is empty. IsEmpty(ctx context.Context, in *IsEmptyRequest, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // Determine whether a cache is empty. IsReady(ctx context.Context, in *IsReadyRequest, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) // Obtain all of the keys in the cache where the cache entries // match a given filter. - KeySet(ctx context.Context, in *KeySetRequest, opts ...grpc.CallOption) (NamedCacheService_KeySetClient, error) + KeySet(ctx context.Context, in *KeySetRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[wrapperspb.BytesValue], error) // Get the next page of a paged entry set request. - NextEntrySetPage(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (NamedCacheService_NextEntrySetPageClient, error) + NextEntrySetPage(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[EntryResult], error) // Get the next page of a paged key set request. - NextKeySetPage(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (NamedCacheService_NextKeySetPageClient, error) + NextKeySetPage(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[wrapperspb.BytesValue], error) // Associate the specified value with the specified key in this cache. // If the cache previously contained a mapping for the key, the old value // is replaced by the specified value. @@ -140,7 +142,7 @@ type NamedCacheServiceClient interface { Truncate(ctx context.Context, in *TruncateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Obtain all of the values in the cache where the cache entries // match a given filter. - Values(ctx context.Context, in *ValuesRequest, opts ...grpc.CallOption) (NamedCacheService_ValuesClient, error) + Values(ctx context.Context, in *ValuesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[wrapperspb.BytesValue], error) } type namedCacheServiceClient struct { @@ -152,8 +154,9 @@ func NewNamedCacheServiceClient(cc grpc.ClientConnInterface) NamedCacheServiceCl } func (c *namedCacheServiceClient) AddIndex(ctx context.Context, in *AddIndexRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, NamedCacheService_AddIndex_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_AddIndex_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -161,8 +164,9 @@ func (c *namedCacheServiceClient) AddIndex(ctx context.Context, in *AddIndexRequ } func (c *namedCacheServiceClient) Aggregate(ctx context.Context, in *AggregateRequest, opts ...grpc.CallOption) (*wrapperspb.BytesValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BytesValue) - err := c.cc.Invoke(ctx, NamedCacheService_Aggregate_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_Aggregate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -170,8 +174,9 @@ func (c *namedCacheServiceClient) Aggregate(ctx context.Context, in *AggregateRe } func (c *namedCacheServiceClient) Clear(ctx context.Context, in *ClearRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, NamedCacheService_Clear_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_Clear_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -179,8 +184,9 @@ func (c *namedCacheServiceClient) Clear(ctx context.Context, in *ClearRequest, o } func (c *namedCacheServiceClient) ContainsEntry(ctx context.Context, in *ContainsEntryRequest, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BoolValue) - err := c.cc.Invoke(ctx, NamedCacheService_ContainsEntry_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_ContainsEntry_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -188,8 +194,9 @@ func (c *namedCacheServiceClient) ContainsEntry(ctx context.Context, in *Contain } func (c *namedCacheServiceClient) ContainsKey(ctx context.Context, in *ContainsKeyRequest, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BoolValue) - err := c.cc.Invoke(ctx, NamedCacheService_ContainsKey_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_ContainsKey_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -197,8 +204,9 @@ func (c *namedCacheServiceClient) ContainsKey(ctx context.Context, in *ContainsK } func (c *namedCacheServiceClient) ContainsValue(ctx context.Context, in *ContainsValueRequest, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BoolValue) - err := c.cc.Invoke(ctx, NamedCacheService_ContainsValue_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_ContainsValue_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -206,20 +214,22 @@ func (c *namedCacheServiceClient) ContainsValue(ctx context.Context, in *Contain } func (c *namedCacheServiceClient) Destroy(ctx context.Context, in *DestroyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, NamedCacheService_Destroy_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_Destroy_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } -func (c *namedCacheServiceClient) EntrySet(ctx context.Context, in *EntrySetRequest, opts ...grpc.CallOption) (NamedCacheService_EntrySetClient, error) { - stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[0], NamedCacheService_EntrySet_FullMethodName, opts...) +func (c *namedCacheServiceClient) EntrySet(ctx context.Context, in *EntrySetRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Entry], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[0], NamedCacheService_EntrySet_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &namedCacheServiceEntrySetClient{stream} + x := &grpc.GenericClientStream[EntrySetRequest, Entry]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -229,69 +239,39 @@ func (c *namedCacheServiceClient) EntrySet(ctx context.Context, in *EntrySetRequ return x, nil } -type NamedCacheService_EntrySetClient interface { - Recv() (*Entry, error) - grpc.ClientStream -} - -type namedCacheServiceEntrySetClient struct { - grpc.ClientStream -} - -func (x *namedCacheServiceEntrySetClient) Recv() (*Entry, error) { - m := new(Entry) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_EntrySetClient = grpc.ServerStreamingClient[Entry] -func (c *namedCacheServiceClient) Events(ctx context.Context, opts ...grpc.CallOption) (NamedCacheService_EventsClient, error) { - stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[1], NamedCacheService_Events_FullMethodName, opts...) +func (c *namedCacheServiceClient) Events(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[MapListenerRequest, MapListenerResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[1], NamedCacheService_Events_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &namedCacheServiceEventsClient{stream} + x := &grpc.GenericClientStream[MapListenerRequest, MapListenerResponse]{ClientStream: stream} return x, nil } -type NamedCacheService_EventsClient interface { - Send(*MapListenerRequest) error - Recv() (*MapListenerResponse, error) - grpc.ClientStream -} - -type namedCacheServiceEventsClient struct { - grpc.ClientStream -} - -func (x *namedCacheServiceEventsClient) Send(m *MapListenerRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *namedCacheServiceEventsClient) Recv() (*MapListenerResponse, error) { - m := new(MapListenerResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_EventsClient = grpc.BidiStreamingClient[MapListenerRequest, MapListenerResponse] func (c *namedCacheServiceClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*OptionalValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(OptionalValue) - err := c.cc.Invoke(ctx, NamedCacheService_Get_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_Get_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } -func (c *namedCacheServiceClient) GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (NamedCacheService_GetAllClient, error) { - stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[2], NamedCacheService_GetAll_FullMethodName, opts...) +func (c *namedCacheServiceClient) GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Entry], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[2], NamedCacheService_GetAll_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &namedCacheServiceGetAllClient{stream} + x := &grpc.GenericClientStream[GetAllRequest, Entry]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -301,38 +281,26 @@ func (c *namedCacheServiceClient) GetAll(ctx context.Context, in *GetAllRequest, return x, nil } -type NamedCacheService_GetAllClient interface { - Recv() (*Entry, error) - grpc.ClientStream -} - -type namedCacheServiceGetAllClient struct { - grpc.ClientStream -} - -func (x *namedCacheServiceGetAllClient) Recv() (*Entry, error) { - m := new(Entry) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_GetAllClient = grpc.ServerStreamingClient[Entry] func (c *namedCacheServiceClient) Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*wrapperspb.BytesValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BytesValue) - err := c.cc.Invoke(ctx, NamedCacheService_Invoke_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_Invoke_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } -func (c *namedCacheServiceClient) InvokeAll(ctx context.Context, in *InvokeAllRequest, opts ...grpc.CallOption) (NamedCacheService_InvokeAllClient, error) { - stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[3], NamedCacheService_InvokeAll_FullMethodName, opts...) +func (c *namedCacheServiceClient) InvokeAll(ctx context.Context, in *InvokeAllRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Entry], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[3], NamedCacheService_InvokeAll_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &namedCacheServiceInvokeAllClient{stream} + x := &grpc.GenericClientStream[InvokeAllRequest, Entry]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -342,26 +310,13 @@ func (c *namedCacheServiceClient) InvokeAll(ctx context.Context, in *InvokeAllRe return x, nil } -type NamedCacheService_InvokeAllClient interface { - Recv() (*Entry, error) - grpc.ClientStream -} - -type namedCacheServiceInvokeAllClient struct { - grpc.ClientStream -} - -func (x *namedCacheServiceInvokeAllClient) Recv() (*Entry, error) { - m := new(Entry) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_InvokeAllClient = grpc.ServerStreamingClient[Entry] func (c *namedCacheServiceClient) IsEmpty(ctx context.Context, in *IsEmptyRequest, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BoolValue) - err := c.cc.Invoke(ctx, NamedCacheService_IsEmpty_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_IsEmpty_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -369,20 +324,22 @@ func (c *namedCacheServiceClient) IsEmpty(ctx context.Context, in *IsEmptyReques } func (c *namedCacheServiceClient) IsReady(ctx context.Context, in *IsReadyRequest, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BoolValue) - err := c.cc.Invoke(ctx, NamedCacheService_IsReady_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_IsReady_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } -func (c *namedCacheServiceClient) KeySet(ctx context.Context, in *KeySetRequest, opts ...grpc.CallOption) (NamedCacheService_KeySetClient, error) { - stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[4], NamedCacheService_KeySet_FullMethodName, opts...) +func (c *namedCacheServiceClient) KeySet(ctx context.Context, in *KeySetRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[wrapperspb.BytesValue], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[4], NamedCacheService_KeySet_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &namedCacheServiceKeySetClient{stream} + x := &grpc.GenericClientStream[KeySetRequest, wrapperspb.BytesValue]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -392,29 +349,16 @@ func (c *namedCacheServiceClient) KeySet(ctx context.Context, in *KeySetRequest, return x, nil } -type NamedCacheService_KeySetClient interface { - Recv() (*wrapperspb.BytesValue, error) - grpc.ClientStream -} - -type namedCacheServiceKeySetClient struct { - grpc.ClientStream -} - -func (x *namedCacheServiceKeySetClient) Recv() (*wrapperspb.BytesValue, error) { - m := new(wrapperspb.BytesValue) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_KeySetClient = grpc.ServerStreamingClient[wrapperspb.BytesValue] -func (c *namedCacheServiceClient) NextEntrySetPage(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (NamedCacheService_NextEntrySetPageClient, error) { - stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[5], NamedCacheService_NextEntrySetPage_FullMethodName, opts...) +func (c *namedCacheServiceClient) NextEntrySetPage(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[EntryResult], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[5], NamedCacheService_NextEntrySetPage_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &namedCacheServiceNextEntrySetPageClient{stream} + x := &grpc.GenericClientStream[PageRequest, EntryResult]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -424,29 +368,16 @@ func (c *namedCacheServiceClient) NextEntrySetPage(ctx context.Context, in *Page return x, nil } -type NamedCacheService_NextEntrySetPageClient interface { - Recv() (*EntryResult, error) - grpc.ClientStream -} - -type namedCacheServiceNextEntrySetPageClient struct { - grpc.ClientStream -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_NextEntrySetPageClient = grpc.ServerStreamingClient[EntryResult] -func (x *namedCacheServiceNextEntrySetPageClient) Recv() (*EntryResult, error) { - m := new(EntryResult) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *namedCacheServiceClient) NextKeySetPage(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (NamedCacheService_NextKeySetPageClient, error) { - stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[6], NamedCacheService_NextKeySetPage_FullMethodName, opts...) +func (c *namedCacheServiceClient) NextKeySetPage(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[wrapperspb.BytesValue], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[6], NamedCacheService_NextKeySetPage_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &namedCacheServiceNextKeySetPageClient{stream} + x := &grpc.GenericClientStream[PageRequest, wrapperspb.BytesValue]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -456,26 +387,13 @@ func (c *namedCacheServiceClient) NextKeySetPage(ctx context.Context, in *PageRe return x, nil } -type NamedCacheService_NextKeySetPageClient interface { - Recv() (*wrapperspb.BytesValue, error) - grpc.ClientStream -} - -type namedCacheServiceNextKeySetPageClient struct { - grpc.ClientStream -} - -func (x *namedCacheServiceNextKeySetPageClient) Recv() (*wrapperspb.BytesValue, error) { - m := new(wrapperspb.BytesValue) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_NextKeySetPageClient = grpc.ServerStreamingClient[wrapperspb.BytesValue] func (c *namedCacheServiceClient) Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*wrapperspb.BytesValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BytesValue) - err := c.cc.Invoke(ctx, NamedCacheService_Put_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_Put_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -483,8 +401,9 @@ func (c *namedCacheServiceClient) Put(ctx context.Context, in *PutRequest, opts } func (c *namedCacheServiceClient) PutAll(ctx context.Context, in *PutAllRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, NamedCacheService_PutAll_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_PutAll_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -492,8 +411,9 @@ func (c *namedCacheServiceClient) PutAll(ctx context.Context, in *PutAllRequest, } func (c *namedCacheServiceClient) PutIfAbsent(ctx context.Context, in *PutIfAbsentRequest, opts ...grpc.CallOption) (*wrapperspb.BytesValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BytesValue) - err := c.cc.Invoke(ctx, NamedCacheService_PutIfAbsent_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_PutIfAbsent_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -501,8 +421,9 @@ func (c *namedCacheServiceClient) PutIfAbsent(ctx context.Context, in *PutIfAbse } func (c *namedCacheServiceClient) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*wrapperspb.BytesValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BytesValue) - err := c.cc.Invoke(ctx, NamedCacheService_Remove_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_Remove_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -510,8 +431,9 @@ func (c *namedCacheServiceClient) Remove(ctx context.Context, in *RemoveRequest, } func (c *namedCacheServiceClient) RemoveIndex(ctx context.Context, in *RemoveIndexRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, NamedCacheService_RemoveIndex_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_RemoveIndex_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -519,8 +441,9 @@ func (c *namedCacheServiceClient) RemoveIndex(ctx context.Context, in *RemoveInd } func (c *namedCacheServiceClient) RemoveMapping(ctx context.Context, in *RemoveMappingRequest, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BoolValue) - err := c.cc.Invoke(ctx, NamedCacheService_RemoveMapping_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_RemoveMapping_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -528,8 +451,9 @@ func (c *namedCacheServiceClient) RemoveMapping(ctx context.Context, in *RemoveM } func (c *namedCacheServiceClient) Replace(ctx context.Context, in *ReplaceRequest, opts ...grpc.CallOption) (*wrapperspb.BytesValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BytesValue) - err := c.cc.Invoke(ctx, NamedCacheService_Replace_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_Replace_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -537,8 +461,9 @@ func (c *namedCacheServiceClient) Replace(ctx context.Context, in *ReplaceReques } func (c *namedCacheServiceClient) ReplaceMapping(ctx context.Context, in *ReplaceMappingRequest, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.BoolValue) - err := c.cc.Invoke(ctx, NamedCacheService_ReplaceMapping_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_ReplaceMapping_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -546,8 +471,9 @@ func (c *namedCacheServiceClient) ReplaceMapping(ctx context.Context, in *Replac } func (c *namedCacheServiceClient) Size(ctx context.Context, in *SizeRequest, opts ...grpc.CallOption) (*wrapperspb.Int32Value, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(wrapperspb.Int32Value) - err := c.cc.Invoke(ctx, NamedCacheService_Size_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_Size_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } @@ -555,20 +481,22 @@ func (c *namedCacheServiceClient) Size(ctx context.Context, in *SizeRequest, opt } func (c *namedCacheServiceClient) Truncate(ctx context.Context, in *TruncateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, NamedCacheService_Truncate_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, NamedCacheService_Truncate_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } -func (c *namedCacheServiceClient) Values(ctx context.Context, in *ValuesRequest, opts ...grpc.CallOption) (NamedCacheService_ValuesClient, error) { - stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[7], NamedCacheService_Values_FullMethodName, opts...) +func (c *namedCacheServiceClient) Values(ctx context.Context, in *ValuesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[wrapperspb.BytesValue], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &NamedCacheService_ServiceDesc.Streams[7], NamedCacheService_Values_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &namedCacheServiceValuesClient{stream} + x := &grpc.GenericClientStream[ValuesRequest, wrapperspb.BytesValue]{ClientStream: stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } @@ -578,26 +506,14 @@ func (c *namedCacheServiceClient) Values(ctx context.Context, in *ValuesRequest, return x, nil } -type NamedCacheService_ValuesClient interface { - Recv() (*wrapperspb.BytesValue, error) - grpc.ClientStream -} - -type namedCacheServiceValuesClient struct { - grpc.ClientStream -} - -func (x *namedCacheServiceValuesClient) Recv() (*wrapperspb.BytesValue, error) { - m := new(wrapperspb.BytesValue) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_ValuesClient = grpc.ServerStreamingClient[wrapperspb.BytesValue] // NamedCacheServiceServer is the server API for NamedCacheService service. // All implementations must embed UnimplementedNamedCacheServiceServer -// for forward compatibility +// for forward compatibility. +// +// A gRPC NamedCache service. type NamedCacheServiceServer interface { // Add an index to a cache. AddIndex(context.Context, *AddIndexRequest) (*emptypb.Empty, error) @@ -617,28 +533,28 @@ type NamedCacheServiceServer interface { Destroy(context.Context, *DestroyRequest) (*emptypb.Empty, error) // Obtain all of the entries in the cache where the cache entries // match a given filter. - EntrySet(*EntrySetRequest, NamedCacheService_EntrySetServer) error + EntrySet(*EntrySetRequest, grpc.ServerStreamingServer[Entry]) error // Sets up a bidirectional channel for cache events. - Events(NamedCacheService_EventsServer) error + Events(grpc.BidiStreamingServer[MapListenerRequest, MapListenerResponse]) error // Get a value for a given key from a cache. Get(context.Context, *GetRequest) (*OptionalValue, error) // Get all of the values from a cache for a given collection of keys. - GetAll(*GetAllRequest, NamedCacheService_GetAllServer) error + GetAll(*GetAllRequest, grpc.ServerStreamingServer[Entry]) error // Invoke an entry processor against an entry in a cache. Invoke(context.Context, *InvokeRequest) (*wrapperspb.BytesValue, error) // Invoke an entry processor against a number of entries in a cache. - InvokeAll(*InvokeAllRequest, NamedCacheService_InvokeAllServer) error + InvokeAll(*InvokeAllRequest, grpc.ServerStreamingServer[Entry]) error // Determine whether a cache is empty. IsEmpty(context.Context, *IsEmptyRequest) (*wrapperspb.BoolValue, error) // Determine whether a cache is empty. IsReady(context.Context, *IsReadyRequest) (*wrapperspb.BoolValue, error) // Obtain all of the keys in the cache where the cache entries // match a given filter. - KeySet(*KeySetRequest, NamedCacheService_KeySetServer) error + KeySet(*KeySetRequest, grpc.ServerStreamingServer[wrapperspb.BytesValue]) error // Get the next page of a paged entry set request. - NextEntrySetPage(*PageRequest, NamedCacheService_NextEntrySetPageServer) error + NextEntrySetPage(*PageRequest, grpc.ServerStreamingServer[EntryResult]) error // Get the next page of a paged key set request. - NextKeySetPage(*PageRequest, NamedCacheService_NextKeySetPageServer) error + NextKeySetPage(*PageRequest, grpc.ServerStreamingServer[wrapperspb.BytesValue]) error // Associate the specified value with the specified key in this cache. // If the cache previously contained a mapping for the key, the old value // is replaced by the specified value. @@ -671,13 +587,16 @@ type NamedCacheServiceServer interface { Truncate(context.Context, *TruncateRequest) (*emptypb.Empty, error) // Obtain all of the values in the cache where the cache entries // match a given filter. - Values(*ValuesRequest, NamedCacheService_ValuesServer) error + Values(*ValuesRequest, grpc.ServerStreamingServer[wrapperspb.BytesValue]) error mustEmbedUnimplementedNamedCacheServiceServer() } -// UnimplementedNamedCacheServiceServer must be embedded to have forward compatible implementations. -type UnimplementedNamedCacheServiceServer struct { -} +// UnimplementedNamedCacheServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedNamedCacheServiceServer struct{} func (UnimplementedNamedCacheServiceServer) AddIndex(context.Context, *AddIndexRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method AddIndex not implemented") @@ -700,22 +619,22 @@ func (UnimplementedNamedCacheServiceServer) ContainsValue(context.Context, *Cont func (UnimplementedNamedCacheServiceServer) Destroy(context.Context, *DestroyRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method Destroy not implemented") } -func (UnimplementedNamedCacheServiceServer) EntrySet(*EntrySetRequest, NamedCacheService_EntrySetServer) error { +func (UnimplementedNamedCacheServiceServer) EntrySet(*EntrySetRequest, grpc.ServerStreamingServer[Entry]) error { return status.Errorf(codes.Unimplemented, "method EntrySet not implemented") } -func (UnimplementedNamedCacheServiceServer) Events(NamedCacheService_EventsServer) error { +func (UnimplementedNamedCacheServiceServer) Events(grpc.BidiStreamingServer[MapListenerRequest, MapListenerResponse]) error { return status.Errorf(codes.Unimplemented, "method Events not implemented") } func (UnimplementedNamedCacheServiceServer) Get(context.Context, *GetRequest) (*OptionalValue, error) { return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") } -func (UnimplementedNamedCacheServiceServer) GetAll(*GetAllRequest, NamedCacheService_GetAllServer) error { +func (UnimplementedNamedCacheServiceServer) GetAll(*GetAllRequest, grpc.ServerStreamingServer[Entry]) error { return status.Errorf(codes.Unimplemented, "method GetAll not implemented") } func (UnimplementedNamedCacheServiceServer) Invoke(context.Context, *InvokeRequest) (*wrapperspb.BytesValue, error) { return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented") } -func (UnimplementedNamedCacheServiceServer) InvokeAll(*InvokeAllRequest, NamedCacheService_InvokeAllServer) error { +func (UnimplementedNamedCacheServiceServer) InvokeAll(*InvokeAllRequest, grpc.ServerStreamingServer[Entry]) error { return status.Errorf(codes.Unimplemented, "method InvokeAll not implemented") } func (UnimplementedNamedCacheServiceServer) IsEmpty(context.Context, *IsEmptyRequest) (*wrapperspb.BoolValue, error) { @@ -724,13 +643,13 @@ func (UnimplementedNamedCacheServiceServer) IsEmpty(context.Context, *IsEmptyReq func (UnimplementedNamedCacheServiceServer) IsReady(context.Context, *IsReadyRequest) (*wrapperspb.BoolValue, error) { return nil, status.Errorf(codes.Unimplemented, "method IsReady not implemented") } -func (UnimplementedNamedCacheServiceServer) KeySet(*KeySetRequest, NamedCacheService_KeySetServer) error { +func (UnimplementedNamedCacheServiceServer) KeySet(*KeySetRequest, grpc.ServerStreamingServer[wrapperspb.BytesValue]) error { return status.Errorf(codes.Unimplemented, "method KeySet not implemented") } -func (UnimplementedNamedCacheServiceServer) NextEntrySetPage(*PageRequest, NamedCacheService_NextEntrySetPageServer) error { +func (UnimplementedNamedCacheServiceServer) NextEntrySetPage(*PageRequest, grpc.ServerStreamingServer[EntryResult]) error { return status.Errorf(codes.Unimplemented, "method NextEntrySetPage not implemented") } -func (UnimplementedNamedCacheServiceServer) NextKeySetPage(*PageRequest, NamedCacheService_NextKeySetPageServer) error { +func (UnimplementedNamedCacheServiceServer) NextKeySetPage(*PageRequest, grpc.ServerStreamingServer[wrapperspb.BytesValue]) error { return status.Errorf(codes.Unimplemented, "method NextKeySetPage not implemented") } func (UnimplementedNamedCacheServiceServer) Put(context.Context, *PutRequest) (*wrapperspb.BytesValue, error) { @@ -763,10 +682,11 @@ func (UnimplementedNamedCacheServiceServer) Size(context.Context, *SizeRequest) func (UnimplementedNamedCacheServiceServer) Truncate(context.Context, *TruncateRequest) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method Truncate not implemented") } -func (UnimplementedNamedCacheServiceServer) Values(*ValuesRequest, NamedCacheService_ValuesServer) error { +func (UnimplementedNamedCacheServiceServer) Values(*ValuesRequest, grpc.ServerStreamingServer[wrapperspb.BytesValue]) error { return status.Errorf(codes.Unimplemented, "method Values not implemented") } func (UnimplementedNamedCacheServiceServer) mustEmbedUnimplementedNamedCacheServiceServer() {} +func (UnimplementedNamedCacheServiceServer) testEmbeddedByValue() {} // UnsafeNamedCacheServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to NamedCacheServiceServer will @@ -776,6 +696,13 @@ type UnsafeNamedCacheServiceServer interface { } func RegisterNamedCacheServiceServer(s grpc.ServiceRegistrar, srv NamedCacheServiceServer) { + // If the following call pancis, it indicates UnimplementedNamedCacheServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&NamedCacheService_ServiceDesc, srv) } @@ -910,47 +837,18 @@ func _NamedCacheService_EntrySet_Handler(srv interface{}, stream grpc.ServerStre if err := stream.RecvMsg(m); err != nil { return err } - return srv.(NamedCacheServiceServer).EntrySet(m, &namedCacheServiceEntrySetServer{stream}) -} - -type NamedCacheService_EntrySetServer interface { - Send(*Entry) error - grpc.ServerStream + return srv.(NamedCacheServiceServer).EntrySet(m, &grpc.GenericServerStream[EntrySetRequest, Entry]{ServerStream: stream}) } -type namedCacheServiceEntrySetServer struct { - grpc.ServerStream -} - -func (x *namedCacheServiceEntrySetServer) Send(m *Entry) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_EntrySetServer = grpc.ServerStreamingServer[Entry] func _NamedCacheService_Events_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(NamedCacheServiceServer).Events(&namedCacheServiceEventsServer{stream}) + return srv.(NamedCacheServiceServer).Events(&grpc.GenericServerStream[MapListenerRequest, MapListenerResponse]{ServerStream: stream}) } -type NamedCacheService_EventsServer interface { - Send(*MapListenerResponse) error - Recv() (*MapListenerRequest, error) - grpc.ServerStream -} - -type namedCacheServiceEventsServer struct { - grpc.ServerStream -} - -func (x *namedCacheServiceEventsServer) Send(m *MapListenerResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *namedCacheServiceEventsServer) Recv() (*MapListenerRequest, error) { - m := new(MapListenerRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_EventsServer = grpc.BidiStreamingServer[MapListenerRequest, MapListenerResponse] func _NamedCacheService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetRequest) @@ -975,21 +873,11 @@ func _NamedCacheService_GetAll_Handler(srv interface{}, stream grpc.ServerStream if err := stream.RecvMsg(m); err != nil { return err } - return srv.(NamedCacheServiceServer).GetAll(m, &namedCacheServiceGetAllServer{stream}) -} - -type NamedCacheService_GetAllServer interface { - Send(*Entry) error - grpc.ServerStream + return srv.(NamedCacheServiceServer).GetAll(m, &grpc.GenericServerStream[GetAllRequest, Entry]{ServerStream: stream}) } -type namedCacheServiceGetAllServer struct { - grpc.ServerStream -} - -func (x *namedCacheServiceGetAllServer) Send(m *Entry) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_GetAllServer = grpc.ServerStreamingServer[Entry] func _NamedCacheService_Invoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(InvokeRequest) @@ -1014,21 +902,11 @@ func _NamedCacheService_InvokeAll_Handler(srv interface{}, stream grpc.ServerStr if err := stream.RecvMsg(m); err != nil { return err } - return srv.(NamedCacheServiceServer).InvokeAll(m, &namedCacheServiceInvokeAllServer{stream}) -} - -type NamedCacheService_InvokeAllServer interface { - Send(*Entry) error - grpc.ServerStream + return srv.(NamedCacheServiceServer).InvokeAll(m, &grpc.GenericServerStream[InvokeAllRequest, Entry]{ServerStream: stream}) } -type namedCacheServiceInvokeAllServer struct { - grpc.ServerStream -} - -func (x *namedCacheServiceInvokeAllServer) Send(m *Entry) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_InvokeAllServer = grpc.ServerStreamingServer[Entry] func _NamedCacheService_IsEmpty_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(IsEmptyRequest) @@ -1071,63 +949,33 @@ func _NamedCacheService_KeySet_Handler(srv interface{}, stream grpc.ServerStream if err := stream.RecvMsg(m); err != nil { return err } - return srv.(NamedCacheServiceServer).KeySet(m, &namedCacheServiceKeySetServer{stream}) + return srv.(NamedCacheServiceServer).KeySet(m, &grpc.GenericServerStream[KeySetRequest, wrapperspb.BytesValue]{ServerStream: stream}) } -type NamedCacheService_KeySetServer interface { - Send(*wrapperspb.BytesValue) error - grpc.ServerStream -} - -type namedCacheServiceKeySetServer struct { - grpc.ServerStream -} - -func (x *namedCacheServiceKeySetServer) Send(m *wrapperspb.BytesValue) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_KeySetServer = grpc.ServerStreamingServer[wrapperspb.BytesValue] func _NamedCacheService_NextEntrySetPage_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(PageRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(NamedCacheServiceServer).NextEntrySetPage(m, &namedCacheServiceNextEntrySetPageServer{stream}) -} - -type NamedCacheService_NextEntrySetPageServer interface { - Send(*EntryResult) error - grpc.ServerStream + return srv.(NamedCacheServiceServer).NextEntrySetPage(m, &grpc.GenericServerStream[PageRequest, EntryResult]{ServerStream: stream}) } -type namedCacheServiceNextEntrySetPageServer struct { - grpc.ServerStream -} - -func (x *namedCacheServiceNextEntrySetPageServer) Send(m *EntryResult) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_NextEntrySetPageServer = grpc.ServerStreamingServer[EntryResult] func _NamedCacheService_NextKeySetPage_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(PageRequest) if err := stream.RecvMsg(m); err != nil { return err } - return srv.(NamedCacheServiceServer).NextKeySetPage(m, &namedCacheServiceNextKeySetPageServer{stream}) + return srv.(NamedCacheServiceServer).NextKeySetPage(m, &grpc.GenericServerStream[PageRequest, wrapperspb.BytesValue]{ServerStream: stream}) } -type NamedCacheService_NextKeySetPageServer interface { - Send(*wrapperspb.BytesValue) error - grpc.ServerStream -} - -type namedCacheServiceNextKeySetPageServer struct { - grpc.ServerStream -} - -func (x *namedCacheServiceNextKeySetPageServer) Send(m *wrapperspb.BytesValue) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_NextKeySetPageServer = grpc.ServerStreamingServer[wrapperspb.BytesValue] func _NamedCacheService_Put_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(PutRequest) @@ -1314,21 +1162,11 @@ func _NamedCacheService_Values_Handler(srv interface{}, stream grpc.ServerStream if err := stream.RecvMsg(m); err != nil { return err } - return srv.(NamedCacheServiceServer).Values(m, &namedCacheServiceValuesServer{stream}) -} - -type NamedCacheService_ValuesServer interface { - Send(*wrapperspb.BytesValue) error - grpc.ServerStream + return srv.(NamedCacheServiceServer).Values(m, &grpc.GenericServerStream[ValuesRequest, wrapperspb.BytesValue]{ServerStream: stream}) } -type namedCacheServiceValuesServer struct { - grpc.ServerStream -} - -func (x *namedCacheServiceValuesServer) Send(m *wrapperspb.BytesValue) error { - return x.ServerStream.SendMsg(m) -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type NamedCacheService_ValuesServer = grpc.ServerStreamingServer[wrapperspb.BytesValue] // NamedCacheService_ServiceDesc is the grpc.ServiceDesc for NamedCacheService service. // It's only intended for direct use with grpc.RegisterService, diff --git a/proto/v1/cache_service_messages_v1.pb.go b/proto/v1/cache_service_messages_v1.pb.go index 8dbbc628..d1a1a277 100644 --- a/proto/v1/cache_service_messages_v1.pb.go +++ b/proto/v1/cache_service_messages_v1.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.6 // protoc v3.19.2 // source: cache_service_messages_v1.proto @@ -30,6 +30,7 @@ import ( _ "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -425,10 +426,7 @@ func (MapEventMessage_TransformationState) EnumDescriptor() ([]byte, []int) { // A request to perform an operation on a remote NamedCache. type NamedCacheRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The type of the request Type NamedCacheRequestType `protobuf:"varint,1,opt,name=type,proto3,enum=coherence.cache.v1.NamedCacheRequestType" json:"type,omitempty"` // The cache identifier for the request. @@ -439,16 +437,16 @@ type NamedCacheRequest struct { // a message body, for example cache.size() // The actual request message should be packed inside an Any message and set in this field. // The proxy will know which message type to expect here based on the "type" field's value. - Message *anypb.Any `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"` + Message *anypb.Any `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NamedCacheRequest) Reset() { *x = NamedCacheRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NamedCacheRequest) String() string { @@ -459,7 +457,7 @@ func (*NamedCacheRequest) ProtoMessage() {} func (x *NamedCacheRequest) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -502,10 +500,7 @@ func (x *NamedCacheRequest) GetMessage() *anypb.Any { // increased. This only needs to be done once for any given Coherence // release. type NamedCacheResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The cache identifier for the request CacheId int32 `protobuf:"varint,1,opt,name=cacheId,proto3" json:"cacheId,omitempty"` // An enum representing different response types. @@ -514,16 +509,16 @@ type NamedCacheResponse struct { // The response can contain one of a number of response types // The sender of the corresponding request should know which // response type it expects - Message *anypb.Any `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"` + Message *anypb.Any `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NamedCacheResponse) Reset() { *x = NamedCacheResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NamedCacheResponse) String() string { @@ -534,7 +529,7 @@ func (*NamedCacheResponse) ProtoMessage() {} func (x *NamedCacheResponse) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -572,21 +567,18 @@ func (x *NamedCacheResponse) GetMessage() *anypb.Any { // A request to ensure a specific cache. type EnsureCacheRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of the cache. - Cache string `protobuf:"bytes,1,opt,name=cache,proto3" json:"cache,omitempty"` + Cache string `protobuf:"bytes,1,opt,name=cache,proto3" json:"cache,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnsureCacheRequest) Reset() { *x = EnsureCacheRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnsureCacheRequest) String() string { @@ -597,7 +589,7 @@ func (*EnsureCacheRequest) ProtoMessage() {} func (x *EnsureCacheRequest) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -622,25 +614,22 @@ func (x *EnsureCacheRequest) GetCache() string { // A request to associate the specified value with the // specified key in a cache with an optional TTL. type PutRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The cache entry key. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The value of the entry. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // The time to live in millis. - Ttl *int64 `protobuf:"varint,3,opt,name=ttl,proto3,oneof" json:"ttl,omitempty"` + Ttl *int64 `protobuf:"varint,3,opt,name=ttl,proto3,oneof" json:"ttl,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PutRequest) Reset() { *x = PutRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PutRequest) String() string { @@ -651,7 +640,7 @@ func (*PutRequest) ProtoMessage() {} func (x *PutRequest) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -690,23 +679,20 @@ func (x *PutRequest) GetTtl() int64 { // A request to associate the specified value with the // specified key in a cache with an optional TTL. type PutAllRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The cache entries to put. Entries []*BinaryKeyAndValue `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // The time to live in millis. - Ttl *int64 `protobuf:"varint,2,opt,name=ttl,proto3,oneof" json:"ttl,omitempty"` + Ttl *int64 `protobuf:"varint,2,opt,name=ttl,proto3,oneof" json:"ttl,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PutAllRequest) Reset() { *x = PutAllRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *PutAllRequest) String() string { @@ -717,7 +703,7 @@ func (*PutAllRequest) ProtoMessage() {} func (x *PutAllRequest) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -751,25 +737,22 @@ func (x *PutAllRequest) GetTtl() int64 { // key is associated with the specified previousValue in // that cache. type ReplaceMappingRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The key of the entry to be replaced. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The previous value that should exist in the cache. PreviousValue []byte `protobuf:"bytes,2,opt,name=previousValue,proto3" json:"previousValue,omitempty"` // The new value to put. - NewValue []byte `protobuf:"bytes,3,opt,name=newValue,proto3" json:"newValue,omitempty"` + NewValue []byte `protobuf:"bytes,3,opt,name=newValue,proto3" json:"newValue,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReplaceMappingRequest) Reset() { *x = ReplaceMappingRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ReplaceMappingRequest) String() string { @@ -780,7 +763,7 @@ func (*ReplaceMappingRequest) ProtoMessage() {} func (x *ReplaceMappingRequest) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -818,10 +801,7 @@ func (x *ReplaceMappingRequest) GetNewValue() []byte { // A request to add or remove an index to a cache type IndexRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // True to add an index, false to remove an index Add bool `protobuf:"varint,1,opt,name=add,proto3" json:"add,omitempty"` // The serialized ValueExtractor to use to create or remove the index. @@ -831,16 +811,16 @@ type IndexRequest struct { Sorted *bool `protobuf:"varint,3,opt,name=sorted,proto3,oneof" json:"sorted,omitempty"` // The optional comparator to use to sort the index. // This is not required for index removal. - Comparator []byte `protobuf:"bytes,4,opt,name=comparator,proto3,oneof" json:"comparator,omitempty"` + Comparator []byte `protobuf:"bytes,4,opt,name=comparator,proto3,oneof" json:"comparator,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *IndexRequest) Reset() { *x = IndexRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *IndexRequest) String() string { @@ -851,7 +831,7 @@ func (*IndexRequest) ProtoMessage() {} func (x *IndexRequest) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -897,25 +877,22 @@ func (x *IndexRequest) GetComparator() []byte { // A message containing either a single serialized key, or a // collection of serialized keys, or a serialized Filter. type KeysOrFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to KeyOrFilter: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to KeyOrFilter: // // *KeysOrFilter_Key // *KeysOrFilter_Keys // *KeysOrFilter_Filter - KeyOrFilter isKeysOrFilter_KeyOrFilter `protobuf_oneof:"keyOrFilter"` + KeyOrFilter isKeysOrFilter_KeyOrFilter `protobuf_oneof:"keyOrFilter"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *KeysOrFilter) Reset() { *x = KeysOrFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KeysOrFilter) String() string { @@ -926,7 +903,7 @@ func (*KeysOrFilter) ProtoMessage() {} func (x *KeysOrFilter) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -941,30 +918,36 @@ func (*KeysOrFilter) Descriptor() ([]byte, []int) { return file_cache_service_messages_v1_proto_rawDescGZIP(), []int{7} } -func (m *KeysOrFilter) GetKeyOrFilter() isKeysOrFilter_KeyOrFilter { - if m != nil { - return m.KeyOrFilter +func (x *KeysOrFilter) GetKeyOrFilter() isKeysOrFilter_KeyOrFilter { + if x != nil { + return x.KeyOrFilter } return nil } func (x *KeysOrFilter) GetKey() []byte { - if x, ok := x.GetKeyOrFilter().(*KeysOrFilter_Key); ok { - return x.Key + if x != nil { + if x, ok := x.KeyOrFilter.(*KeysOrFilter_Key); ok { + return x.Key + } } return nil } func (x *KeysOrFilter) GetKeys() *CollectionOfBytesValues { - if x, ok := x.GetKeyOrFilter().(*KeysOrFilter_Keys); ok { - return x.Keys + if x != nil { + if x, ok := x.KeyOrFilter.(*KeysOrFilter_Keys); ok { + return x.Keys + } } return nil } func (x *KeysOrFilter) GetFilter() []byte { - if x, ok := x.GetKeyOrFilter().(*KeysOrFilter_Filter); ok { - return x.Filter + if x != nil { + if x, ok := x.KeyOrFilter.(*KeysOrFilter_Filter); ok { + return x.Filter + } } return nil } @@ -997,24 +980,21 @@ func (*KeysOrFilter_Filter) isKeysOrFilter_KeyOrFilter() {} // A message containing either a single serialized key, // or a serialized Filter. type KeyOrFilter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to KeyOrFilter: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to KeyOrFilter: // // *KeyOrFilter_Key // *KeyOrFilter_Filter - KeyOrFilter isKeyOrFilter_KeyOrFilter `protobuf_oneof:"keyOrFilter"` + KeyOrFilter isKeyOrFilter_KeyOrFilter `protobuf_oneof:"keyOrFilter"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *KeyOrFilter) Reset() { *x = KeyOrFilter{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *KeyOrFilter) String() string { @@ -1025,7 +1005,7 @@ func (*KeyOrFilter) ProtoMessage() {} func (x *KeyOrFilter) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1040,23 +1020,27 @@ func (*KeyOrFilter) Descriptor() ([]byte, []int) { return file_cache_service_messages_v1_proto_rawDescGZIP(), []int{8} } -func (m *KeyOrFilter) GetKeyOrFilter() isKeyOrFilter_KeyOrFilter { - if m != nil { - return m.KeyOrFilter +func (x *KeyOrFilter) GetKeyOrFilter() isKeyOrFilter_KeyOrFilter { + if x != nil { + return x.KeyOrFilter } return nil } func (x *KeyOrFilter) GetKey() []byte { - if x, ok := x.GetKeyOrFilter().(*KeyOrFilter_Key); ok { - return x.Key + if x != nil { + if x, ok := x.KeyOrFilter.(*KeyOrFilter_Key); ok { + return x.Key + } } return nil } func (x *KeyOrFilter) GetFilter() []byte { - if x, ok := x.GetKeyOrFilter().(*KeyOrFilter_Filter); ok { - return x.Filter + if x != nil { + if x, ok := x.KeyOrFilter.(*KeyOrFilter_Filter); ok { + return x.Filter + } } return nil } @@ -1081,23 +1065,20 @@ func (*KeyOrFilter_Filter) isKeyOrFilter_KeyOrFilter() {} // A request to aggregate entries in a cache. type ExecuteRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The serialized executable agent (for example an entry processor or aggregator). Agent []byte `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // The optional collection of keys or filter to use to execute the agent. - Keys *KeysOrFilter `protobuf:"bytes,3,opt,name=keys,proto3,oneof" json:"keys,omitempty"` + Keys *KeysOrFilter `protobuf:"bytes,3,opt,name=keys,proto3,oneof" json:"keys,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExecuteRequest) Reset() { *x = ExecuteRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ExecuteRequest) String() string { @@ -1108,7 +1089,7 @@ func (*ExecuteRequest) ProtoMessage() {} func (x *ExecuteRequest) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1139,23 +1120,20 @@ func (x *ExecuteRequest) GetKeys() *KeysOrFilter { // A request cache query request. type QueryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The serialized Filter to identify the data to return. Filter []byte `protobuf:"bytes,1,opt,name=filter,proto3,oneof" json:"filter,omitempty"` // The optional comparator to use to sort the returned data. - Comparator []byte `protobuf:"bytes,2,opt,name=comparator,proto3,oneof" json:"comparator,omitempty"` + Comparator []byte `protobuf:"bytes,2,opt,name=comparator,proto3,oneof" json:"comparator,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QueryRequest) Reset() { *x = QueryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueryRequest) String() string { @@ -1166,7 +1144,7 @@ func (*QueryRequest) ProtoMessage() {} func (x *QueryRequest) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1197,10 +1175,7 @@ func (x *QueryRequest) GetComparator() []byte { // A message to subscribe to or unsubscribe from MapEvents for a cache. type MapListenerRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // A flag indicating whether to subscribe to (true) or unsubscribe from (false) events. Subscribe bool `protobuf:"varint,1,opt,name=subscribe,proto3" json:"subscribe,omitempty"` // The optional serialized key, or serialized Filter, to identify the entry @@ -1220,16 +1195,16 @@ type MapListenerRequest struct { // a single key, or an InKeySetFilter. Priming bool `protobuf:"varint,6,opt,name=priming,proto3" json:"priming,omitempty"` // An optional serialized MapTrigger. - Trigger []byte `protobuf:"bytes,7,opt,name=trigger,proto3" json:"trigger,omitempty"` + Trigger []byte `protobuf:"bytes,7,opt,name=trigger,proto3" json:"trigger,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MapListenerRequest) Reset() { *x = MapListenerRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapListenerRequest) String() string { @@ -1240,7 +1215,7 @@ func (*MapListenerRequest) ProtoMessage() {} func (x *MapListenerRequest) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1306,10 +1281,7 @@ func (x *MapListenerRequest) GetTrigger() []byte { // A response containing a MapEvent for a MapListener type MapEventMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The type of the event Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The key of the entry @@ -1331,15 +1303,15 @@ type MapEventMessage struct { // true iff this event is caused by a synthetic version update sent // by the server to notify clients of the current version. VersionUpdate bool `protobuf:"varint,10,opt,name=versionUpdate,proto3" json:"versionUpdate,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MapEventMessage) Reset() { *x = MapEventMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_cache_service_messages_v1_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_cache_service_messages_v1_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *MapEventMessage) String() string { @@ -1350,7 +1322,7 @@ func (*MapEventMessage) ProtoMessage() {} func (x *MapEventMessage) ProtoReflect() protoreflect.Message { mi := &file_cache_service_messages_v1_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -1437,203 +1409,151 @@ func (x *MapEventMessage) GetVersionUpdate() bool { var File_cache_service_messages_v1_proto protoreflect.FileDescriptor -var file_cache_service_messages_v1_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x12, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x61, 0x63, - 0x68, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, - 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, - 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x01, 0x0a, 0x11, 0x4e, 0x61, 0x6d, - 0x65, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, - 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x63, - 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, - 0x07, 0x63, 0x61, 0x63, 0x68, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, - 0x52, 0x07, 0x63, 0x61, 0x63, 0x68, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x41, 0x6e, 0x79, 0x48, 0x01, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, - 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x49, 0x64, 0x42, 0x0a, 0x0a, - 0x08, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x12, 0x4e, 0x61, - 0x6d, 0x65, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x63, 0x61, 0x63, 0x68, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x07, 0x63, 0x61, 0x63, 0x68, 0x65, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x33, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x22, 0x2a, 0x0a, 0x12, 0x45, 0x6e, 0x73, 0x75, 0x72, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x61, 0x63, 0x68, 0x65, 0x22, 0x53, 0x0a, - 0x0a, 0x50, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, - 0x48, 0x00, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x74, - 0x74, 0x6c, 0x22, 0x70, 0x0a, 0x0d, 0x50, 0x75, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, - 0x79, 0x4b, 0x65, 0x79, 0x41, 0x6e, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, - 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x15, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x48, 0x00, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x06, 0x0a, 0x04, - 0x5f, 0x74, 0x74, 0x6c, 0x22, 0x6b, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x24, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x22, 0x9a, 0x01, 0x0a, 0x0c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x64, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x03, 0x61, 0x64, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x6f, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, - 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x88, 0x01, 0x01, 0x12, - 0x23, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0c, 0x48, 0x01, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, - 0x72, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x42, - 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x8f, - 0x01, 0x0a, 0x0c, 0x4b, 0x65, 0x79, 0x73, 0x4f, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, - 0x12, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x4f, 0x66, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x48, - 0x00, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x18, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x6b, 0x65, 0x79, 0x4f, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x22, 0x4a, 0x0a, 0x0b, 0x4b, 0x65, 0x79, 0x4f, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, - 0x12, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x0d, 0x0a, - 0x0b, 0x6b, 0x65, 0x79, 0x4f, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x6a, 0x0a, 0x0e, - 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, - 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, - 0x67, 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, - 0x61, 0x63, 0x68, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x73, 0x4f, 0x72, 0x46, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x88, 0x01, 0x01, 0x42, - 0x07, 0x0a, 0x05, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x6a, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x23, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x01, 0x52, 0x0a, 0x63, 0x6f, 0x6d, - 0x70, 0x61, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, - 0x61, 0x74, 0x6f, 0x72, 0x22, 0x90, 0x02, 0x0a, 0x12, 0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, - 0x65, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, - 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, - 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x46, 0x0a, 0x0b, 0x6b, 0x65, 0x79, - 0x4f, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, - 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x4f, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, - 0x00, 0x52, 0x0b, 0x6b, 0x65, 0x79, 0x4f, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x88, 0x01, - 0x01, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6c, 0x69, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6c, 0x69, 0x74, - 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x6f, 0x75, 0x73, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, - 0x6f, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, - 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, - 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x6b, 0x65, 0x79, 0x4f, - 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xbe, 0x03, 0x0a, 0x0f, 0x4d, 0x61, 0x70, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, - 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x6c, 0x64, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6f, 0x6c, 0x64, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x69, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, - 0x61, 0x63, 0x68, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x70, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, - 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x13, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x18, 0x06, 0x20, - 0x03, 0x28, 0x03, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x1c, - 0x0a, 0x09, 0x73, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x74, 0x69, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x09, 0x73, 0x79, 0x6e, 0x74, 0x68, 0x65, 0x74, 0x69, 0x63, 0x12, 0x18, 0x0a, 0x07, - 0x70, 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, - 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, - 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, - 0x12, 0x24, 0x0a, 0x0d, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x50, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, - 0x11, 0x4e, 0x4f, 0x4e, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x42, - 0x4c, 0x45, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x4f, 0x52, - 0x4d, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x52, 0x41, 0x4e, 0x53, - 0x46, 0x4f, 0x52, 0x4d, 0x45, 0x44, 0x10, 0x02, 0x2a, 0xbd, 0x03, 0x0a, 0x15, 0x4e, 0x61, 0x6d, - 0x65, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, - 0x0f, 0x0a, 0x0b, 0x45, 0x6e, 0x73, 0x75, 0x72, 0x65, 0x43, 0x61, 0x63, 0x68, 0x65, 0x10, 0x01, - 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x10, 0x02, 0x12, - 0x09, 0x0a, 0x05, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x6f, - 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x10, 0x04, 0x12, 0x0f, 0x0a, - 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x4b, 0x65, 0x79, 0x10, 0x05, 0x12, 0x11, - 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x10, - 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x10, 0x07, 0x12, 0x0b, - 0x0a, 0x07, 0x49, 0x73, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x49, - 0x73, 0x52, 0x65, 0x61, 0x64, 0x79, 0x10, 0x09, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x10, - 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x10, 0x0b, 0x12, 0x09, 0x0a, - 0x05, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x10, 0x0c, 0x12, 0x0a, 0x0a, 0x06, 0x49, 0x6e, 0x76, 0x6f, - 0x6b, 0x65, 0x10, 0x0d, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x61, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, - 0x6e, 0x65, 0x72, 0x10, 0x0e, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x45, - 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x10, 0x0f, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x65, - 0x4f, 0x66, 0x4b, 0x65, 0x79, 0x73, 0x10, 0x10, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x75, 0x74, 0x10, - 0x11, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x75, 0x74, 0x41, 0x6c, 0x6c, 0x10, 0x12, 0x12, 0x0f, 0x0a, - 0x0b, 0x50, 0x75, 0x74, 0x49, 0x66, 0x41, 0x62, 0x73, 0x65, 0x6e, 0x74, 0x10, 0x13, 0x12, 0x10, - 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x10, 0x14, - 0x12, 0x0d, 0x0a, 0x09, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x10, 0x15, 0x12, - 0x0f, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x10, 0x16, - 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x10, 0x17, 0x12, 0x11, 0x0a, 0x0d, - 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x10, 0x18, 0x12, - 0x0b, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x10, 0x19, 0x12, 0x12, 0x0a, 0x0e, - 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x10, 0x1a, - 0x12, 0x08, 0x0a, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x10, 0x1b, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x72, - 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x10, 0x1c, 0x2a, 0x47, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x61, 0x70, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, - 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, 0x10, - 0x03, 0x42, 0x5f, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, - 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x76, 0x31, - 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, - 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2d, - 0x67, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_cache_service_messages_v1_proto_rawDesc = "" + + "\n" + + "\x1fcache_service_messages_v1.proto\x12\x12coherence.cache.v1\x1a\x18common_messages_v1.proto\x1a\x19google/protobuf/any.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xbe\x01\n" + + "\x11NamedCacheRequest\x12=\n" + + "\x04type\x18\x01 \x01(\x0e2).coherence.cache.v1.NamedCacheRequestTypeR\x04type\x12\x1d\n" + + "\acacheId\x18\x02 \x01(\x05H\x00R\acacheId\x88\x01\x01\x123\n" + + "\amessage\x18\x03 \x01(\v2\x14.google.protobuf.AnyH\x01R\amessage\x88\x01\x01B\n" + + "\n" + + "\b_cacheIdB\n" + + "\n" + + "\b_message\"\xa5\x01\n" + + "\x12NamedCacheResponse\x12\x18\n" + + "\acacheId\x18\x01 \x01(\x05R\acacheId\x124\n" + + "\x04type\x18\x02 \x01(\x0e2 .coherence.cache.v1.ResponseTypeR\x04type\x123\n" + + "\amessage\x18\x03 \x01(\v2\x14.google.protobuf.AnyH\x00R\amessage\x88\x01\x01B\n" + + "\n" + + "\b_message\"*\n" + + "\x12EnsureCacheRequest\x12\x14\n" + + "\x05cache\x18\x01 \x01(\tR\x05cache\"S\n" + + "\n" + + "PutRequest\x12\x10\n" + + "\x03key\x18\x01 \x01(\fR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\fR\x05value\x12\x15\n" + + "\x03ttl\x18\x03 \x01(\x03H\x00R\x03ttl\x88\x01\x01B\x06\n" + + "\x04_ttl\"p\n" + + "\rPutAllRequest\x12@\n" + + "\aentries\x18\x01 \x03(\v2&.coherence.common.v1.BinaryKeyAndValueR\aentries\x12\x15\n" + + "\x03ttl\x18\x02 \x01(\x03H\x00R\x03ttl\x88\x01\x01B\x06\n" + + "\x04_ttl\"k\n" + + "\x15ReplaceMappingRequest\x12\x10\n" + + "\x03key\x18\x01 \x01(\fR\x03key\x12$\n" + + "\rpreviousValue\x18\x02 \x01(\fR\rpreviousValue\x12\x1a\n" + + "\bnewValue\x18\x03 \x01(\fR\bnewValue\"\x9a\x01\n" + + "\fIndexRequest\x12\x10\n" + + "\x03add\x18\x01 \x01(\bR\x03add\x12\x1c\n" + + "\textractor\x18\x02 \x01(\fR\textractor\x12\x1b\n" + + "\x06sorted\x18\x03 \x01(\bH\x00R\x06sorted\x88\x01\x01\x12#\n" + + "\n" + + "comparator\x18\x04 \x01(\fH\x01R\n" + + "comparator\x88\x01\x01B\t\n" + + "\a_sortedB\r\n" + + "\v_comparator\"\x8f\x01\n" + + "\fKeysOrFilter\x12\x12\n" + + "\x03key\x18\x01 \x01(\fH\x00R\x03key\x12B\n" + + "\x04keys\x18\x02 \x01(\v2,.coherence.common.v1.CollectionOfBytesValuesH\x00R\x04keys\x12\x18\n" + + "\x06filter\x18\x03 \x01(\fH\x00R\x06filterB\r\n" + + "\vkeyOrFilter\"J\n" + + "\vKeyOrFilter\x12\x12\n" + + "\x03key\x18\x01 \x01(\fH\x00R\x03key\x12\x18\n" + + "\x06filter\x18\x02 \x01(\fH\x00R\x06filterB\r\n" + + "\vkeyOrFilter\"j\n" + + "\x0eExecuteRequest\x12\x14\n" + + "\x05agent\x18\x01 \x01(\fR\x05agent\x129\n" + + "\x04keys\x18\x03 \x01(\v2 .coherence.cache.v1.KeysOrFilterH\x00R\x04keys\x88\x01\x01B\a\n" + + "\x05_keys\"j\n" + + "\fQueryRequest\x12\x1b\n" + + "\x06filter\x18\x01 \x01(\fH\x00R\x06filter\x88\x01\x01\x12#\n" + + "\n" + + "comparator\x18\x02 \x01(\fH\x01R\n" + + "comparator\x88\x01\x01B\t\n" + + "\a_filterB\r\n" + + "\v_comparator\"\x90\x02\n" + + "\x12MapListenerRequest\x12\x1c\n" + + "\tsubscribe\x18\x01 \x01(\bR\tsubscribe\x12F\n" + + "\vkeyOrFilter\x18\x02 \x01(\v2\x1f.coherence.cache.v1.KeyOrFilterH\x00R\vkeyOrFilter\x88\x01\x01\x12\x1a\n" + + "\bfilterId\x18\x03 \x01(\x03R\bfilterId\x12\x12\n" + + "\x04lite\x18\x04 \x01(\bR\x04lite\x12 \n" + + "\vsynchronous\x18\x05 \x01(\bR\vsynchronous\x12\x18\n" + + "\apriming\x18\x06 \x01(\bR\apriming\x12\x18\n" + + "\atrigger\x18\a \x01(\fR\atriggerB\x0e\n" + + "\f_keyOrFilter\"\xbe\x03\n" + + "\x0fMapEventMessage\x12\x0e\n" + + "\x02id\x18\x01 \x01(\x05R\x02id\x12\x10\n" + + "\x03key\x18\x02 \x01(\fR\x03key\x12\x1a\n" + + "\bnewValue\x18\x03 \x01(\fR\bnewValue\x12\x1a\n" + + "\boldValue\x18\x04 \x01(\fR\boldValue\x12i\n" + + "\x13transformationState\x18\x05 \x01(\x0e27.coherence.cache.v1.MapEventMessage.TransformationStateR\x13transformationState\x12\x1c\n" + + "\tfilterIds\x18\x06 \x03(\x03R\tfilterIds\x12\x1c\n" + + "\tsynthetic\x18\a \x01(\bR\tsynthetic\x12\x18\n" + + "\apriming\x18\b \x01(\bR\apriming\x12\x18\n" + + "\aexpired\x18\t \x01(\bR\aexpired\x12$\n" + + "\rversionUpdate\x18\n" + + " \x01(\bR\rversionUpdate\"P\n" + + "\x13TransformationState\x12\x15\n" + + "\x11NON_TRANSFORMABLE\x10\x00\x12\x11\n" + + "\rTRANSFORMABLE\x10\x01\x12\x0f\n" + + "\vTRANSFORMED\x10\x02*\xbd\x03\n" + + "\x15NamedCacheRequestType\x12\v\n" + + "\aUnknown\x10\x00\x12\x0f\n" + + "\vEnsureCache\x10\x01\x12\r\n" + + "\tAggregate\x10\x02\x12\t\n" + + "\x05Clear\x10\x03\x12\x11\n" + + "\rContainsEntry\x10\x04\x12\x0f\n" + + "\vContainsKey\x10\x05\x12\x11\n" + + "\rContainsValue\x10\x06\x12\v\n" + + "\aDestroy\x10\a\x12\v\n" + + "\aIsEmpty\x10\b\x12\v\n" + + "\aIsReady\x10\t\x12\a\n" + + "\x03Get\x10\n" + + "\x12\n" + + "\n" + + "\x06GetAll\x10\v\x12\t\n" + + "\x05Index\x10\f\x12\n" + + "\n" + + "\x06Invoke\x10\r\x12\x0f\n" + + "\vMapListener\x10\x0e\x12\x11\n" + + "\rPageOfEntries\x10\x0f\x12\x0e\n" + + "\n" + + "PageOfKeys\x10\x10\x12\a\n" + + "\x03Put\x10\x11\x12\n" + + "\n" + + "\x06PutAll\x10\x12\x12\x0f\n" + + "\vPutIfAbsent\x10\x13\x12\x10\n" + + "\fQueryEntries\x10\x14\x12\r\n" + + "\tQueryKeys\x10\x15\x12\x0f\n" + + "\vQueryValues\x10\x16\x12\n" + + "\n" + + "\x06Remove\x10\x17\x12\x11\n" + + "\rRemoveMapping\x10\x18\x12\v\n" + + "\aReplace\x10\x19\x12\x12\n" + + "\x0eReplaceMapping\x10\x1a\x12\b\n" + + "\x04Size\x10\x1b\x12\f\n" + + "\bTruncate\x10\x1c*G\n" + + "\fResponseType\x12\v\n" + + "\aMessage\x10\x00\x12\f\n" + + "\bMapEvent\x10\x01\x12\r\n" + + "\tDestroyed\x10\x02\x12\r\n" + + "\tTruncated\x10\x03B_\n" + + "+com.oracle.coherence.grpc.messages.cache.v1P\x01Z.github.com/oracle/coherence-go-client/proto/v1b\x06proto3" var ( file_cache_service_messages_v1_proto_rawDescOnce sync.Once - file_cache_service_messages_v1_proto_rawDescData = file_cache_service_messages_v1_proto_rawDesc + file_cache_service_messages_v1_proto_rawDescData []byte ) func file_cache_service_messages_v1_proto_rawDescGZIP() []byte { file_cache_service_messages_v1_proto_rawDescOnce.Do(func() { - file_cache_service_messages_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_cache_service_messages_v1_proto_rawDescData) + file_cache_service_messages_v1_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_cache_service_messages_v1_proto_rawDesc), len(file_cache_service_messages_v1_proto_rawDesc))) }) return file_cache_service_messages_v1_proto_rawDescData } var file_cache_service_messages_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_cache_service_messages_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_cache_service_messages_v1_proto_goTypes = []interface{}{ +var file_cache_service_messages_v1_proto_goTypes = []any{ (NamedCacheRequestType)(0), // 0: coherence.cache.v1.NamedCacheRequestType (ResponseType)(0), // 1: coherence.cache.v1.ResponseType (MapEventMessage_TransformationState)(0), // 2: coherence.cache.v1.MapEventMessage.TransformationState @@ -1677,186 +1597,28 @@ func file_cache_service_messages_v1_proto_init() { return } file_common_messages_v1_proto_init() - if !protoimpl.UnsafeEnabled { - file_cache_service_messages_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NamedCacheRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_service_messages_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NamedCacheResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_service_messages_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnsureCacheRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_service_messages_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_service_messages_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PutAllRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_service_messages_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplaceMappingRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_service_messages_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IndexRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_service_messages_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeysOrFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_service_messages_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyOrFilter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_service_messages_v1_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecuteRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_service_messages_v1_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_service_messages_v1_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapListenerRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cache_service_messages_v1_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MapEventMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_cache_service_messages_v1_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_cache_service_messages_v1_proto_msgTypes[1].OneofWrappers = []interface{}{} - file_cache_service_messages_v1_proto_msgTypes[3].OneofWrappers = []interface{}{} - file_cache_service_messages_v1_proto_msgTypes[4].OneofWrappers = []interface{}{} - file_cache_service_messages_v1_proto_msgTypes[6].OneofWrappers = []interface{}{} - file_cache_service_messages_v1_proto_msgTypes[7].OneofWrappers = []interface{}{ + file_cache_service_messages_v1_proto_msgTypes[0].OneofWrappers = []any{} + file_cache_service_messages_v1_proto_msgTypes[1].OneofWrappers = []any{} + file_cache_service_messages_v1_proto_msgTypes[3].OneofWrappers = []any{} + file_cache_service_messages_v1_proto_msgTypes[4].OneofWrappers = []any{} + file_cache_service_messages_v1_proto_msgTypes[6].OneofWrappers = []any{} + file_cache_service_messages_v1_proto_msgTypes[7].OneofWrappers = []any{ (*KeysOrFilter_Key)(nil), (*KeysOrFilter_Keys)(nil), (*KeysOrFilter_Filter)(nil), } - file_cache_service_messages_v1_proto_msgTypes[8].OneofWrappers = []interface{}{ + file_cache_service_messages_v1_proto_msgTypes[8].OneofWrappers = []any{ (*KeyOrFilter_Key)(nil), (*KeyOrFilter_Filter)(nil), } - file_cache_service_messages_v1_proto_msgTypes[9].OneofWrappers = []interface{}{} - file_cache_service_messages_v1_proto_msgTypes[10].OneofWrappers = []interface{}{} - file_cache_service_messages_v1_proto_msgTypes[11].OneofWrappers = []interface{}{} + file_cache_service_messages_v1_proto_msgTypes[9].OneofWrappers = []any{} + file_cache_service_messages_v1_proto_msgTypes[10].OneofWrappers = []any{} + file_cache_service_messages_v1_proto_msgTypes[11].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_cache_service_messages_v1_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_cache_service_messages_v1_proto_rawDesc), len(file_cache_service_messages_v1_proto_rawDesc)), NumEnums: 3, NumMessages: 13, NumExtensions: 0, @@ -1868,7 +1630,6 @@ func file_cache_service_messages_v1_proto_init() { MessageInfos: file_cache_service_messages_v1_proto_msgTypes, }.Build() File_cache_service_messages_v1_proto = out.File - file_cache_service_messages_v1_proto_rawDesc = nil file_cache_service_messages_v1_proto_goTypes = nil file_cache_service_messages_v1_proto_depIdxs = nil } diff --git a/proto/v1/common_messages_v1.pb.go b/proto/v1/common_messages_v1.pb.go index a16e2fb7..17ef409e 100644 --- a/proto/v1/common_messages_v1.pb.go +++ b/proto/v1/common_messages_v1.pb.go @@ -10,7 +10,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.6 // protoc v3.19.2 // source: common_messages_v1.proto @@ -22,6 +22,7 @@ import ( _ "google.golang.org/protobuf/types/known/anypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -33,23 +34,20 @@ const ( // An error message type ErrorMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The text of the error message Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // An optional Exception serialized using the client's serializer - Error []byte `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"` + Error []byte `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ErrorMessage) Reset() { *x = ErrorMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_common_messages_v1_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_messages_v1_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ErrorMessage) String() string { @@ -60,7 +58,7 @@ func (*ErrorMessage) ProtoMessage() {} func (x *ErrorMessage) ProtoReflect() protoreflect.Message { mi := &file_common_messages_v1_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -91,18 +89,16 @@ func (x *ErrorMessage) GetError() []byte { // A message to indicate completion of a request response. type Complete struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Complete) Reset() { *x = Complete{} - if protoimpl.UnsafeEnabled { - mi := &file_common_messages_v1_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_messages_v1_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *Complete) String() string { @@ -113,7 +109,7 @@ func (*Complete) ProtoMessage() {} func (x *Complete) ProtoReflect() protoreflect.Message { mi := &file_common_messages_v1_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -130,23 +126,20 @@ func (*Complete) Descriptor() ([]byte, []int) { // A heart beat message. type HeartbeatMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The UUID of the client Uuid []byte `protobuf:"bytes,1,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"` // True to send a heartbeat response - Ack bool `protobuf:"varint,2,opt,name=ack,proto3" json:"ack,omitempty"` + Ack bool `protobuf:"varint,2,opt,name=ack,proto3" json:"ack,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *HeartbeatMessage) Reset() { *x = HeartbeatMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_common_messages_v1_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_messages_v1_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *HeartbeatMessage) String() string { @@ -157,7 +150,7 @@ func (*HeartbeatMessage) ProtoMessage() {} func (x *HeartbeatMessage) ProtoReflect() protoreflect.Message { mi := &file_common_messages_v1_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -188,23 +181,20 @@ func (x *HeartbeatMessage) GetAck() bool { // An optional value. type OptionalValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // A flag indicating whether the value is present. Present bool `protobuf:"varint,1,opt,name=present,proto3" json:"present,omitempty"` // The serialized value. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OptionalValue) Reset() { *x = OptionalValue{} - if protoimpl.UnsafeEnabled { - mi := &file_common_messages_v1_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_messages_v1_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *OptionalValue) String() string { @@ -215,7 +205,7 @@ func (*OptionalValue) ProtoMessage() {} func (x *OptionalValue) ProtoReflect() protoreflect.Message { mi := &file_common_messages_v1_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -246,21 +236,18 @@ func (x *OptionalValue) GetValue() []byte { // A message that contains a collection of serialized binary values. type CollectionOfBytesValues struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The serialized values - Values [][]byte `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + Values [][]byte `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CollectionOfBytesValues) Reset() { *x = CollectionOfBytesValues{} - if protoimpl.UnsafeEnabled { - mi := &file_common_messages_v1_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_messages_v1_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CollectionOfBytesValues) String() string { @@ -271,7 +258,7 @@ func (*CollectionOfBytesValues) ProtoMessage() {} func (x *CollectionOfBytesValues) ProtoReflect() protoreflect.Message { mi := &file_common_messages_v1_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -295,23 +282,20 @@ func (x *CollectionOfBytesValues) GetValues() [][]byte { // A message containing a serialized key and value. type BinaryKeyAndValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The serialized binary key. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The serialized binary value. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *BinaryKeyAndValue) Reset() { *x = BinaryKeyAndValue{} - if protoimpl.UnsafeEnabled { - mi := &file_common_messages_v1_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_messages_v1_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *BinaryKeyAndValue) String() string { @@ -322,7 +306,7 @@ func (*BinaryKeyAndValue) ProtoMessage() {} func (x *BinaryKeyAndValue) ProtoReflect() protoreflect.Message { mi := &file_common_messages_v1_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -353,21 +337,18 @@ func (x *BinaryKeyAndValue) GetValue() []byte { // A message that contains a collection of string values. type CollectionOfStringValues struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The string values - Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CollectionOfStringValues) Reset() { *x = CollectionOfStringValues{} - if protoimpl.UnsafeEnabled { - mi := &file_common_messages_v1_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_messages_v1_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CollectionOfStringValues) String() string { @@ -378,7 +359,7 @@ func (*CollectionOfStringValues) ProtoMessage() {} func (x *CollectionOfStringValues) ProtoReflect() protoreflect.Message { mi := &file_common_messages_v1_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -402,20 +383,17 @@ func (x *CollectionOfStringValues) GetValues() []string { // A collection of in32 values type CollectionOfInt32 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Values []int32 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` unknownFields protoimpl.UnknownFields - - Values []int32 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CollectionOfInt32) Reset() { *x = CollectionOfInt32{} - if protoimpl.UnsafeEnabled { - mi := &file_common_messages_v1_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_messages_v1_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CollectionOfInt32) String() string { @@ -426,7 +404,7 @@ func (*CollectionOfInt32) ProtoMessage() {} func (x *CollectionOfInt32) ProtoReflect() protoreflect.Message { mi := &file_common_messages_v1_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -450,20 +428,17 @@ func (x *CollectionOfInt32) GetValues() []int32 { // A collection of in32 values type CollectionOfInt64 struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Values []int64 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` unknownFields protoimpl.UnknownFields - - Values []int64 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CollectionOfInt64) Reset() { *x = CollectionOfInt64{} - if protoimpl.UnsafeEnabled { - mi := &file_common_messages_v1_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_common_messages_v1_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *CollectionOfInt64) String() string { @@ -474,7 +449,7 @@ func (*CollectionOfInt64) ProtoMessage() {} func (x *CollectionOfInt64) ProtoReflect() protoreflect.Message { mi := &file_common_messages_v1_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -498,65 +473,49 @@ func (x *CollectionOfInt64) GetValues() []int64 { var File_common_messages_v1_proto protoreflect.FileDescriptor -var file_common_messages_v1_proto_rawDesc = []byte{ - 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x63, 0x6f, 0x68, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x1a, - 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x0c, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x88, 0x01, 0x01, 0x42, - 0x08, 0x0a, 0x06, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x0a, 0x0a, 0x08, 0x43, 0x6f, 0x6d, - 0x70, 0x6c, 0x65, 0x74, 0x65, 0x22, 0x46, 0x0a, 0x10, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, - 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x75, 0x75, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x88, - 0x01, 0x01, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x03, 0x61, 0x63, 0x6b, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x22, 0x3f, 0x0a, - 0x0d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x07, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x31, - 0x0a, 0x17, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x22, 0x3b, 0x0a, 0x11, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x41, 0x6e, - 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x32, - 0x0a, 0x18, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x73, 0x22, 0x2b, 0x0a, 0x11, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x4f, 0x66, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, - 0x2b, 0x0a, 0x11, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x49, - 0x6e, 0x74, 0x36, 0x34, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x03, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x60, 0x0a, 0x2c, - 0x63, 0x6f, 0x6d, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x2e, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x72, 0x61, 0x63, 0x6c, - 0x65, 0x2f, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2d, 0x67, 0x6f, 0x2d, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_common_messages_v1_proto_rawDesc = "" + + "\n" + + "\x18common_messages_v1.proto\x12\x13coherence.common.v1\x1a\x19google/protobuf/any.proto\"M\n" + + "\fErrorMessage\x12\x18\n" + + "\amessage\x18\x01 \x01(\tR\amessage\x12\x19\n" + + "\x05error\x18\x02 \x01(\fH\x00R\x05error\x88\x01\x01B\b\n" + + "\x06_error\"\n" + + "\n" + + "\bComplete\"F\n" + + "\x10HeartbeatMessage\x12\x17\n" + + "\x04uuid\x18\x01 \x01(\fH\x00R\x04uuid\x88\x01\x01\x12\x10\n" + + "\x03ack\x18\x02 \x01(\bR\x03ackB\a\n" + + "\x05_uuid\"?\n" + + "\rOptionalValue\x12\x18\n" + + "\apresent\x18\x01 \x01(\bR\apresent\x12\x14\n" + + "\x05value\x18\x02 \x01(\fR\x05value\"1\n" + + "\x17CollectionOfBytesValues\x12\x16\n" + + "\x06values\x18\x01 \x03(\fR\x06values\";\n" + + "\x11BinaryKeyAndValue\x12\x10\n" + + "\x03key\x18\x01 \x01(\fR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\fR\x05value\"2\n" + + "\x18CollectionOfStringValues\x12\x16\n" + + "\x06values\x18\x01 \x03(\tR\x06values\"+\n" + + "\x11CollectionOfInt32\x12\x16\n" + + "\x06values\x18\x01 \x03(\x05R\x06values\"+\n" + + "\x11CollectionOfInt64\x12\x16\n" + + "\x06values\x18\x01 \x03(\x03R\x06valuesB`\n" + + ",com.oracle.coherence.grpc.messages.common.v1P\x01Z.github.com/oracle/coherence-go-client/proto/v1b\x06proto3" var ( file_common_messages_v1_proto_rawDescOnce sync.Once - file_common_messages_v1_proto_rawDescData = file_common_messages_v1_proto_rawDesc + file_common_messages_v1_proto_rawDescData []byte ) func file_common_messages_v1_proto_rawDescGZIP() []byte { file_common_messages_v1_proto_rawDescOnce.Do(func() { - file_common_messages_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_messages_v1_proto_rawDescData) + file_common_messages_v1_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_common_messages_v1_proto_rawDesc), len(file_common_messages_v1_proto_rawDesc))) }) return file_common_messages_v1_proto_rawDescData } var file_common_messages_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 9) -var file_common_messages_v1_proto_goTypes = []interface{}{ +var file_common_messages_v1_proto_goTypes = []any{ (*ErrorMessage)(nil), // 0: coherence.common.v1.ErrorMessage (*Complete)(nil), // 1: coherence.common.v1.Complete (*HeartbeatMessage)(nil), // 2: coherence.common.v1.HeartbeatMessage @@ -580,123 +539,13 @@ func file_common_messages_v1_proto_init() { if File_common_messages_v1_proto != nil { return } - if !protoimpl.UnsafeEnabled { - file_common_messages_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ErrorMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_messages_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Complete); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_messages_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HeartbeatMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_messages_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OptionalValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_messages_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CollectionOfBytesValues); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_messages_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BinaryKeyAndValue); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_messages_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CollectionOfStringValues); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_messages_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CollectionOfInt32); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_common_messages_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CollectionOfInt64); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_common_messages_v1_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_common_messages_v1_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_common_messages_v1_proto_msgTypes[0].OneofWrappers = []any{} + file_common_messages_v1_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_common_messages_v1_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_messages_v1_proto_rawDesc), len(file_common_messages_v1_proto_rawDesc)), NumEnums: 0, NumMessages: 9, NumExtensions: 0, @@ -707,7 +556,6 @@ func file_common_messages_v1_proto_init() { MessageInfos: file_common_messages_v1_proto_msgTypes, }.Build() File_common_messages_v1_proto = out.File - file_common_messages_v1_proto_rawDesc = nil file_common_messages_v1_proto_goTypes = nil file_common_messages_v1_proto_depIdxs = nil } diff --git a/proto/v1/proxy_service_messages_v1.pb.go b/proto/v1/proxy_service_messages_v1.pb.go index 3a00d459..00a21335 100644 --- a/proto/v1/proxy_service_messages_v1.pb.go +++ b/proto/v1/proxy_service_messages_v1.pb.go @@ -6,7 +6,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.6 // protoc v3.19.2 // source: proxy_service_messages_v1.proto @@ -18,6 +18,7 @@ import ( anypb "google.golang.org/protobuf/types/known/anypb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -30,28 +31,25 @@ const ( // A request to the Coherence gRPC proxy. // Except for a Heartbeat, every request must have a unique id field. type ProxyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - // Types that are assignable to Request: + state protoimpl.MessageState `protogen:"open.v1"` + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // Types that are valid to be assigned to Request: // // *ProxyRequest_Init // *ProxyRequest_Message // *ProxyRequest_Heartbeat Request isProxyRequest_Request `protobuf_oneof:"request"` // An ad-hoc set of additional data. - Context map[string]*anypb.Any `protobuf:"bytes,6,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Context map[string]*anypb.Any `protobuf:"bytes,6,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProxyRequest) Reset() { *x = ProxyRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proxy_service_messages_v1_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_proxy_service_messages_v1_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProxyRequest) String() string { @@ -62,7 +60,7 @@ func (*ProxyRequest) ProtoMessage() {} func (x *ProxyRequest) ProtoReflect() protoreflect.Message { mi := &file_proxy_service_messages_v1_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -84,30 +82,36 @@ func (x *ProxyRequest) GetId() int64 { return 0 } -func (m *ProxyRequest) GetRequest() isProxyRequest_Request { - if m != nil { - return m.Request +func (x *ProxyRequest) GetRequest() isProxyRequest_Request { + if x != nil { + return x.Request } return nil } func (x *ProxyRequest) GetInit() *InitRequest { - if x, ok := x.GetRequest().(*ProxyRequest_Init); ok { - return x.Init + if x != nil { + if x, ok := x.Request.(*ProxyRequest_Init); ok { + return x.Init + } } return nil } func (x *ProxyRequest) GetMessage() *anypb.Any { - if x, ok := x.GetRequest().(*ProxyRequest_Message); ok { - return x.Message + if x != nil { + if x, ok := x.Request.(*ProxyRequest_Message); ok { + return x.Message + } } return nil } func (x *ProxyRequest) GetHeartbeat() *HeartbeatMessage { - if x, ok := x.GetRequest().(*ProxyRequest_Heartbeat); ok { - return x.Heartbeat + if x != nil { + if x, ok := x.Request.(*ProxyRequest_Heartbeat); ok { + return x.Heartbeat + } } return nil } @@ -149,16 +153,13 @@ func (*ProxyRequest_Heartbeat) isProxyRequest_Request() {} // Except for a Heartbeat, every response will contain an id field // that corresponds to the id of the request that the response if for. type ProxyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The identifier of the request messages this response is for, or zero if // this message is non-request related, for example it is an event. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The actual response message. // - // Types that are assignable to Response: + // Types that are valid to be assigned to Response: // // *ProxyResponse_Init // *ProxyResponse_Message @@ -167,16 +168,16 @@ type ProxyResponse struct { // *ProxyResponse_Heartbeat Response isProxyResponse_Response `protobuf_oneof:"response"` // An ad-hoc set of additional data. - Context map[string]*anypb.Any `protobuf:"bytes,9,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Context map[string]*anypb.Any `protobuf:"bytes,9,rep,name=context,proto3" json:"context,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProxyResponse) Reset() { *x = ProxyResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_proxy_service_messages_v1_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_proxy_service_messages_v1_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *ProxyResponse) String() string { @@ -187,7 +188,7 @@ func (*ProxyResponse) ProtoMessage() {} func (x *ProxyResponse) ProtoReflect() protoreflect.Message { mi := &file_proxy_service_messages_v1_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -209,44 +210,54 @@ func (x *ProxyResponse) GetId() int64 { return 0 } -func (m *ProxyResponse) GetResponse() isProxyResponse_Response { - if m != nil { - return m.Response +func (x *ProxyResponse) GetResponse() isProxyResponse_Response { + if x != nil { + return x.Response } return nil } func (x *ProxyResponse) GetInit() *InitResponse { - if x, ok := x.GetResponse().(*ProxyResponse_Init); ok { - return x.Init + if x != nil { + if x, ok := x.Response.(*ProxyResponse_Init); ok { + return x.Init + } } return nil } func (x *ProxyResponse) GetMessage() *anypb.Any { - if x, ok := x.GetResponse().(*ProxyResponse_Message); ok { - return x.Message + if x != nil { + if x, ok := x.Response.(*ProxyResponse_Message); ok { + return x.Message + } } return nil } func (x *ProxyResponse) GetError() *ErrorMessage { - if x, ok := x.GetResponse().(*ProxyResponse_Error); ok { - return x.Error + if x != nil { + if x, ok := x.Response.(*ProxyResponse_Error); ok { + return x.Error + } } return nil } func (x *ProxyResponse) GetComplete() *Complete { - if x, ok := x.GetResponse().(*ProxyResponse_Complete); ok { - return x.Complete + if x != nil { + if x, ok := x.Response.(*ProxyResponse_Complete); ok { + return x.Complete + } } return nil } func (x *ProxyResponse) GetHeartbeat() *HeartbeatMessage { - if x, ok := x.GetResponse().(*ProxyResponse_Heartbeat); ok { - return x.Heartbeat + if x != nil { + if x, ok := x.Response.(*ProxyResponse_Heartbeat); ok { + return x.Heartbeat + } } return nil } @@ -302,10 +313,7 @@ func (*ProxyResponse_Heartbeat) isProxyResponse_Response() {} // Initialize a connection. type InitRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The scope name to use to obtain the server resources. Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` // The serialization format to use. @@ -319,16 +327,16 @@ type InitRequest struct { // The requested frequency that heartbeat messages should be sent by the server (in millis) Heartbeat *int64 `protobuf:"varint,7,opt,name=heartbeat,proto3,oneof" json:"heartbeat,omitempty"` // The optional client UUID (usually from Coherence clients that have a local Member UUID). - ClientUuid []byte `protobuf:"bytes,8,opt,name=clientUuid,proto3,oneof" json:"clientUuid,omitempty"` + ClientUuid []byte `protobuf:"bytes,8,opt,name=clientUuid,proto3,oneof" json:"clientUuid,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InitRequest) Reset() { *x = InitRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_proxy_service_messages_v1_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_proxy_service_messages_v1_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InitRequest) String() string { @@ -339,7 +347,7 @@ func (*InitRequest) ProtoMessage() {} func (x *InitRequest) ProtoReflect() protoreflect.Message { mi := &file_proxy_service_messages_v1_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -405,10 +413,7 @@ func (x *InitRequest) GetClientUuid() []byte { // The response to an InitRequest type InitResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // This client connection's UUID. Uuid []byte `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // The Coherence version of the proxy @@ -421,15 +426,15 @@ type InitResponse struct { ProxyMemberId int32 `protobuf:"varint,5,opt,name=proxyMemberId,proto3" json:"proxyMemberId,omitempty"` // The proxy member UUID ProxyMemberUuid []byte `protobuf:"bytes,6,opt,name=proxyMemberUuid,proto3" json:"proxyMemberUuid,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InitResponse) Reset() { *x = InitResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_proxy_service_messages_v1_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_proxy_service_messages_v1_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *InitResponse) String() string { @@ -440,7 +445,7 @@ func (*InitResponse) ProtoMessage() {} func (x *InitResponse) ProtoReflect() protoreflect.Message { mi := &file_proxy_service_messages_v1_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -499,124 +504,68 @@ func (x *InitResponse) GetProxyMemberUuid() []byte { var File_proxy_service_messages_v1_proto protoreflect.FileDescriptor -var file_proxy_service_messages_v1_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x12, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x78, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf4, 0x02, 0x0a, 0x0c, 0x50, - 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x04, 0x69, - 0x6e, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x68, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x49, - 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, - 0x69, 0x74, 0x12, 0x30, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x45, 0x0a, 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, - 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, - 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, - 0x52, 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x47, 0x0a, 0x07, 0x63, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, - 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x1a, 0x50, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0xf0, 0x03, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x02, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x30, 0x0a, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, - 0x6e, 0x79, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x39, 0x0a, - 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, - 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, - 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3b, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x70, - 0x6c, 0x65, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x68, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f, 0x6d, - 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x45, 0x0a, 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, - 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x48, - 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, - 0x00, 0x52, 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x48, 0x0a, 0x07, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, - 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, - 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x63, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x1a, 0x50, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa2, 0x02, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x28, - 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, - 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x18, 0x73, 0x75, 0x70, 0x70, - 0x6f, 0x72, 0x74, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x18, 0x73, 0x75, 0x70, 0x70, - 0x6f, 0x72, 0x74, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, - 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, - 0x62, 0x65, 0x61, 0x74, 0x88, 0x01, 0x01, 0x12, 0x23, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x55, 0x75, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x01, 0x52, 0x0a, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x55, 0x75, 0x69, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, - 0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x55, 0x75, 0x69, 0x64, 0x22, 0xde, 0x01, 0x0a, 0x0c, 0x49, 0x6e, - 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x63, 0x6f, - 0x64, 0x65, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0e, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x28, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x72, - 0x6f, 0x78, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x28, 0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x55, - 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x78, 0x79, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x55, 0x75, 0x69, 0x64, 0x42, 0x5f, 0x0a, 0x2b, 0x63, 0x6f, - 0x6d, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x63, - 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2d, 0x67, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} +const file_proxy_service_messages_v1_proto_rawDesc = "" + + "\n" + + "\x1fproxy_service_messages_v1.proto\x12\x12coherence.proxy.v1\x1a\x18common_messages_v1.proto\x1a\x19google/protobuf/any.proto\"\xf4\x02\n" + + "\fProxyRequest\x12\x0e\n" + + "\x02id\x18\x01 \x01(\x03R\x02id\x125\n" + + "\x04init\x18\x03 \x01(\v2\x1f.coherence.proxy.v1.InitRequestH\x00R\x04init\x120\n" + + "\amessage\x18\x04 \x01(\v2\x14.google.protobuf.AnyH\x00R\amessage\x12E\n" + + "\theartbeat\x18\x05 \x01(\v2%.coherence.common.v1.HeartbeatMessageH\x00R\theartbeat\x12G\n" + + "\acontext\x18\x06 \x03(\v2-.coherence.proxy.v1.ProxyRequest.ContextEntryR\acontext\x1aP\n" + + "\fContextEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12*\n" + + "\x05value\x18\x02 \x01(\v2\x14.google.protobuf.AnyR\x05value:\x028\x01B\t\n" + + "\arequest\"\xf0\x03\n" + + "\rProxyResponse\x12\x0e\n" + + "\x02id\x18\x01 \x01(\x03R\x02id\x126\n" + + "\x04init\x18\x04 \x01(\v2 .coherence.proxy.v1.InitResponseH\x00R\x04init\x120\n" + + "\amessage\x18\x05 \x01(\v2\x14.google.protobuf.AnyH\x00R\amessage\x129\n" + + "\x05error\x18\x06 \x01(\v2!.coherence.common.v1.ErrorMessageH\x00R\x05error\x12;\n" + + "\bcomplete\x18\a \x01(\v2\x1d.coherence.common.v1.CompleteH\x00R\bcomplete\x12E\n" + + "\theartbeat\x18\b \x01(\v2%.coherence.common.v1.HeartbeatMessageH\x00R\theartbeat\x12H\n" + + "\acontext\x18\t \x03(\v2..coherence.proxy.v1.ProxyResponse.ContextEntryR\acontext\x1aP\n" + + "\fContextEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12*\n" + + "\x05value\x18\x02 \x01(\v2\x14.google.protobuf.AnyR\x05value:\x028\x01B\n" + + "\n" + + "\bresponse\"\xa2\x02\n" + + "\vInitRequest\x12\x14\n" + + "\x05scope\x18\x02 \x01(\tR\x05scope\x12\x16\n" + + "\x06format\x18\x03 \x01(\tR\x06format\x12\x1a\n" + + "\bprotocol\x18\x04 \x01(\tR\bprotocol\x12(\n" + + "\x0fprotocolVersion\x18\x05 \x01(\x05R\x0fprotocolVersion\x12:\n" + + "\x18supportedProtocolVersion\x18\x06 \x01(\x05R\x18supportedProtocolVersion\x12!\n" + + "\theartbeat\x18\a \x01(\x03H\x00R\theartbeat\x88\x01\x01\x12#\n" + + "\n" + + "clientUuid\x18\b \x01(\fH\x01R\n" + + "clientUuid\x88\x01\x01B\f\n" + + "\n" + + "_heartbeatB\r\n" + + "\v_clientUuid\"\xde\x01\n" + + "\fInitResponse\x12\x12\n" + + "\x04uuid\x18\x01 \x01(\fR\x04uuid\x12\x18\n" + + "\aversion\x18\x02 \x01(\tR\aversion\x12&\n" + + "\x0eencodedVersion\x18\x03 \x01(\x05R\x0eencodedVersion\x12(\n" + + "\x0fprotocolVersion\x18\x04 \x01(\x05R\x0fprotocolVersion\x12$\n" + + "\rproxyMemberId\x18\x05 \x01(\x05R\rproxyMemberId\x12(\n" + + "\x0fproxyMemberUuid\x18\x06 \x01(\fR\x0fproxyMemberUuidB_\n" + + "+com.oracle.coherence.grpc.messages.proxy.v1P\x01Z.github.com/oracle/coherence-go-client/proto/v1b\x06proto3" var ( file_proxy_service_messages_v1_proto_rawDescOnce sync.Once - file_proxy_service_messages_v1_proto_rawDescData = file_proxy_service_messages_v1_proto_rawDesc + file_proxy_service_messages_v1_proto_rawDescData []byte ) func file_proxy_service_messages_v1_proto_rawDescGZIP() []byte { file_proxy_service_messages_v1_proto_rawDescOnce.Do(func() { - file_proxy_service_messages_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_proxy_service_messages_v1_proto_rawDescData) + file_proxy_service_messages_v1_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proxy_service_messages_v1_proto_rawDesc), len(file_proxy_service_messages_v1_proto_rawDesc))) }) return file_proxy_service_messages_v1_proto_rawDescData } var file_proxy_service_messages_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_proxy_service_messages_v1_proto_goTypes = []interface{}{ +var file_proxy_service_messages_v1_proto_goTypes = []any{ (*ProxyRequest)(nil), // 0: coherence.proxy.v1.ProxyRequest (*ProxyResponse)(nil), // 1: coherence.proxy.v1.ProxyResponse (*InitRequest)(nil), // 2: coherence.proxy.v1.InitRequest @@ -654,74 +603,24 @@ func file_proxy_service_messages_v1_proto_init() { return } file_common_messages_v1_proto_init() - if !protoimpl.UnsafeEnabled { - file_proxy_service_messages_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProxyRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proxy_service_messages_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProxyResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proxy_service_messages_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InitRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_proxy_service_messages_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InitResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_proxy_service_messages_v1_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_proxy_service_messages_v1_proto_msgTypes[0].OneofWrappers = []any{ (*ProxyRequest_Init)(nil), (*ProxyRequest_Message)(nil), (*ProxyRequest_Heartbeat)(nil), } - file_proxy_service_messages_v1_proto_msgTypes[1].OneofWrappers = []interface{}{ + file_proxy_service_messages_v1_proto_msgTypes[1].OneofWrappers = []any{ (*ProxyResponse_Init)(nil), (*ProxyResponse_Message)(nil), (*ProxyResponse_Error)(nil), (*ProxyResponse_Complete)(nil), (*ProxyResponse_Heartbeat)(nil), } - file_proxy_service_messages_v1_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_proxy_service_messages_v1_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proxy_service_messages_v1_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_proxy_service_messages_v1_proto_rawDesc), len(file_proxy_service_messages_v1_proto_rawDesc)), NumEnums: 0, NumMessages: 6, NumExtensions: 0, @@ -732,7 +631,6 @@ func file_proxy_service_messages_v1_proto_init() { MessageInfos: file_proxy_service_messages_v1_proto_msgTypes, }.Build() File_proxy_service_messages_v1_proto = out.File - file_proxy_service_messages_v1_proto_rawDesc = nil file_proxy_service_messages_v1_proto_goTypes = nil file_proxy_service_messages_v1_proto_depIdxs = nil } diff --git a/proto/v1/proxy_service_v1.pb.go b/proto/v1/proxy_service_v1.pb.go index d94ef786..e9c320e7 100644 --- a/proto/v1/proxy_service_v1.pb.go +++ b/proto/v1/proxy_service_v1.pb.go @@ -8,7 +8,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.6 // protoc v3.19.2 // source: proxy_service_v1.proto @@ -20,6 +20,7 @@ import ( _ "google.golang.org/protobuf/types/known/emptypb" _ "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" + unsafe "unsafe" ) const ( @@ -31,32 +32,15 @@ const ( var File_proxy_service_v1_proto protoreflect.FileDescriptor -var file_proxy_service_v1_proto_rawDesc = []byte{ - 0x0a, 0x16, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, - 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x70, 0x72, - 0x6f, 0x78, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, - 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, - 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x67, 0x0a, 0x0c, 0x50, 0x72, - 0x6f, 0x78, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x0a, 0x73, 0x75, - 0x62, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x20, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, - 0x6f, 0x78, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x63, 0x6f, 0x68, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x78, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, - 0x01, 0x30, 0x01, 0x42, 0x5f, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, - 0x65, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x67, 0x72, 0x70, 0x63, - 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, - 0x76, 0x31, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x2d, 0x67, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_proxy_service_v1_proto_rawDesc = "" + + "\n" + + "\x16proxy_service_v1.proto\x12\x12coherence.proxy.v1\x1a\x1fproxy_service_messages_v1.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/wrappers.proto2g\n" + + "\fProxyService\x12W\n" + + "\n" + + "subChannel\x12 .coherence.proxy.v1.ProxyRequest\x1a!.coherence.proxy.v1.ProxyResponse\"\x00(\x010\x01B_\n" + + "+com.oracle.coherence.grpc.services.proxy.v1P\x01Z.github.com/oracle/coherence-go-client/proto/v1b\x06proto3" -var file_proxy_service_v1_proto_goTypes = []interface{}{ +var file_proxy_service_v1_proto_goTypes = []any{ (*ProxyRequest)(nil), // 0: coherence.proxy.v1.ProxyRequest (*ProxyResponse)(nil), // 1: coherence.proxy.v1.ProxyResponse } @@ -80,7 +64,7 @@ func file_proxy_service_v1_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_proxy_service_v1_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_proxy_service_v1_proto_rawDesc), len(file_proxy_service_v1_proto_rawDesc)), NumEnums: 0, NumMessages: 0, NumExtensions: 0, @@ -90,7 +74,6 @@ func file_proxy_service_v1_proto_init() { DependencyIndexes: file_proxy_service_v1_proto_depIdxs, }.Build() File_proxy_service_v1_proto = out.File - file_proxy_service_v1_proto_rawDesc = nil file_proxy_service_v1_proto_goTypes = nil file_proxy_service_v1_proto_depIdxs = nil } diff --git a/proto/v1/proxy_service_v1_grpc.pb.go b/proto/v1/proxy_service_v1_grpc.pb.go index c33c7a84..87ffcac2 100644 --- a/proto/v1/proxy_service_v1_grpc.pb.go +++ b/proto/v1/proxy_service_v1_grpc.pb.go @@ -8,7 +8,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.3.0 +// - protoc-gen-go-grpc v1.5.1 // - protoc v3.19.2 // source: proxy_service_v1.proto @@ -23,8 +23,8 @@ import ( // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 const ( ProxyService_SubChannel_FullMethodName = "/coherence.proxy.v1.ProxyService/subChannel" @@ -35,7 +35,7 @@ const ( // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type ProxyServiceClient interface { // Sets up a bidirectional channel for cache requests and responses. - SubChannel(ctx context.Context, opts ...grpc.CallOption) (ProxyService_SubChannelClient, error) + SubChannel(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ProxyRequest, ProxyResponse], error) } type proxyServiceClient struct { @@ -46,54 +46,40 @@ func NewProxyServiceClient(cc grpc.ClientConnInterface) ProxyServiceClient { return &proxyServiceClient{cc} } -func (c *proxyServiceClient) SubChannel(ctx context.Context, opts ...grpc.CallOption) (ProxyService_SubChannelClient, error) { - stream, err := c.cc.NewStream(ctx, &ProxyService_ServiceDesc.Streams[0], ProxyService_SubChannel_FullMethodName, opts...) +func (c *proxyServiceClient) SubChannel(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ProxyRequest, ProxyResponse], error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + stream, err := c.cc.NewStream(ctx, &ProxyService_ServiceDesc.Streams[0], ProxyService_SubChannel_FullMethodName, cOpts...) if err != nil { return nil, err } - x := &proxyServiceSubChannelClient{stream} + x := &grpc.GenericClientStream[ProxyRequest, ProxyResponse]{ClientStream: stream} return x, nil } -type ProxyService_SubChannelClient interface { - Send(*ProxyRequest) error - Recv() (*ProxyResponse, error) - grpc.ClientStream -} - -type proxyServiceSubChannelClient struct { - grpc.ClientStream -} - -func (x *proxyServiceSubChannelClient) Send(m *ProxyRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *proxyServiceSubChannelClient) Recv() (*ProxyResponse, error) { - m := new(ProxyResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ProxyService_SubChannelClient = grpc.BidiStreamingClient[ProxyRequest, ProxyResponse] // ProxyServiceServer is the server API for ProxyService service. // All implementations must embed UnimplementedProxyServiceServer -// for forward compatibility +// for forward compatibility. type ProxyServiceServer interface { // Sets up a bidirectional channel for cache requests and responses. - SubChannel(ProxyService_SubChannelServer) error + SubChannel(grpc.BidiStreamingServer[ProxyRequest, ProxyResponse]) error mustEmbedUnimplementedProxyServiceServer() } -// UnimplementedProxyServiceServer must be embedded to have forward compatible implementations. -type UnimplementedProxyServiceServer struct { -} +// UnimplementedProxyServiceServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedProxyServiceServer struct{} -func (UnimplementedProxyServiceServer) SubChannel(ProxyService_SubChannelServer) error { +func (UnimplementedProxyServiceServer) SubChannel(grpc.BidiStreamingServer[ProxyRequest, ProxyResponse]) error { return status.Errorf(codes.Unimplemented, "method SubChannel not implemented") } func (UnimplementedProxyServiceServer) mustEmbedUnimplementedProxyServiceServer() {} +func (UnimplementedProxyServiceServer) testEmbeddedByValue() {} // UnsafeProxyServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to ProxyServiceServer will @@ -103,34 +89,22 @@ type UnsafeProxyServiceServer interface { } func RegisterProxyServiceServer(s grpc.ServiceRegistrar, srv ProxyServiceServer) { + // If the following call pancis, it indicates UnimplementedProxyServiceServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } s.RegisterService(&ProxyService_ServiceDesc, srv) } func _ProxyService_SubChannel_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(ProxyServiceServer).SubChannel(&proxyServiceSubChannelServer{stream}) -} - -type ProxyService_SubChannelServer interface { - Send(*ProxyResponse) error - Recv() (*ProxyRequest, error) - grpc.ServerStream -} - -type proxyServiceSubChannelServer struct { - grpc.ServerStream + return srv.(ProxyServiceServer).SubChannel(&grpc.GenericServerStream[ProxyRequest, ProxyResponse]{ServerStream: stream}) } -func (x *proxyServiceSubChannelServer) Send(m *ProxyResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *proxyServiceSubChannelServer) Recv() (*ProxyRequest, error) { - m := new(ProxyRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} +// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. +type ProxyService_SubChannelServer = grpc.BidiStreamingServer[ProxyRequest, ProxyResponse] // ProxyService_ServiceDesc is the grpc.ServiceDesc for ProxyService service. // It's only intended for direct use with grpc.RegisterService, diff --git a/proto/v1/queue_service_messages_v1.pb.go b/proto/v1/queue_service_messages_v1.pb.go index 47d3c7b0..f1a6d9af 100644 --- a/proto/v1/queue_service_messages_v1.pb.go +++ b/proto/v1/queue_service_messages_v1.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.36.6 // protoc v3.19.2 // source: queue_service_messages_v1.proto @@ -30,6 +30,7 @@ import ( _ "google.golang.org/protobuf/types/known/wrapperspb" reflect "reflect" sync "sync" + unsafe "unsafe" ) const ( @@ -290,10 +291,7 @@ func (NamedQueueType) EnumDescriptor() ([]byte, []int) { // A request to perform an operation on a remote NamedQueue. type NamedQueueRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The type of the request Type NamedQueueRequestType `protobuf:"varint,1,opt,name=type,proto3,enum=coherence.concurrent.queue.v1.NamedQueueRequestType" json:"type,omitempty"` // The queue identifier for the request. @@ -304,16 +302,16 @@ type NamedQueueRequest struct { // a message body, for example queue.size() // The actual request message should be packed inside an Any message and set in this field. // The proxy will know which message type to expect here based on the "type" field's value. - Message *anypb.Any `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"` + Message *anypb.Any `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NamedQueueRequest) Reset() { *x = NamedQueueRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_queue_service_messages_v1_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_queue_service_messages_v1_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NamedQueueRequest) String() string { @@ -324,7 +322,7 @@ func (*NamedQueueRequest) ProtoMessage() {} func (x *NamedQueueRequest) ProtoReflect() protoreflect.Message { mi := &file_queue_service_messages_v1_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -367,10 +365,7 @@ func (x *NamedQueueRequest) GetMessage() *anypb.Any { // increased. This only needs to be done once for any given Coherence // release. type NamedQueueResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The queue identifier for the request QueueId int32 `protobuf:"varint,1,opt,name=queueId,proto3" json:"queueId,omitempty"` // An enum representing different response types. @@ -378,16 +373,16 @@ type NamedQueueResponse struct { // The response can contain one of a number of response types // The sender of the corresponding request should know which // response type it expects - Message *anypb.Any `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"` + Message *anypb.Any `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NamedQueueResponse) Reset() { *x = NamedQueueResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_queue_service_messages_v1_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_queue_service_messages_v1_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *NamedQueueResponse) String() string { @@ -398,7 +393,7 @@ func (*NamedQueueResponse) ProtoMessage() {} func (x *NamedQueueResponse) ProtoReflect() protoreflect.Message { mi := &file_queue_service_messages_v1_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -436,23 +431,20 @@ func (x *NamedQueueResponse) GetMessage() *anypb.Any { // A request to ensure a specific queue. type EnsureQueueRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of the queue. Queue string `protobuf:"bytes,1,opt,name=queue,proto3" json:"queue,omitempty"` // The type of queue - Type NamedQueueType `protobuf:"varint,2,opt,name=type,proto3,enum=coherence.concurrent.queue.v1.NamedQueueType" json:"type,omitempty"` + Type NamedQueueType `protobuf:"varint,2,opt,name=type,proto3,enum=coherence.concurrent.queue.v1.NamedQueueType" json:"type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EnsureQueueRequest) Reset() { *x = EnsureQueueRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_queue_service_messages_v1_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_queue_service_messages_v1_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *EnsureQueueRequest) String() string { @@ -463,7 +455,7 @@ func (*EnsureQueueRequest) ProtoMessage() {} func (x *EnsureQueueRequest) ProtoReflect() protoreflect.Message { mi := &file_queue_service_messages_v1_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -494,24 +486,21 @@ func (x *EnsureQueueRequest) GetType() NamedQueueType { // The result of offering an element to a queue. type QueueOfferResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // A flag indicating whether the offer was successful Succeeded bool `protobuf:"varint,1,opt,name=succeeded,proto3" json:"succeeded,omitempty"` // An int64 value representing an index into the queue // where the element was added. - Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QueueOfferResult) Reset() { *x = QueueOfferResult{} - if protoimpl.UnsafeEnabled { - mi := &file_queue_service_messages_v1_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } + mi := &file_queue_service_messages_v1_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } func (x *QueueOfferResult) String() string { @@ -522,7 +511,7 @@ func (*QueueOfferResult) ProtoMessage() {} func (x *QueueOfferResult) ProtoReflect() protoreflect.Message { mi := &file_queue_service_messages_v1_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { + if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) @@ -553,102 +542,72 @@ func (x *QueueOfferResult) GetIndex() int64 { var File_queue_service_messages_v1_proto protoreflect.FileDescriptor -var file_queue_service_messages_v1_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x1d, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, - 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x71, 0x75, 0x65, 0x75, 0x65, 0x2e, 0x76, 0x31, - 0x1a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x01, 0x0a, 0x11, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x51, 0x75, 0x65, - 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x71, - 0x75, 0x65, 0x75, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x51, 0x75, 0x65, - 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x75, 0x65, 0x49, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x07, 0x71, 0x75, 0x65, 0x75, 0x65, 0x49, 0x64, 0x88, - 0x01, 0x01, 0x12, 0x33, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x01, 0x52, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x71, 0x75, 0x65, 0x75, - 0x65, 0x49, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, - 0xba, 0x01, 0x0a, 0x12, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x75, 0x65, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x65, 0x75, 0x65, 0x49, 0x64, - 0x12, 0x49, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, - 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x63, 0x75, - 0x72, 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x71, 0x75, 0x65, 0x75, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, - 0x61, 0x6d, 0x65, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, - 0x6e, 0x79, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, - 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x6d, 0x0a, 0x12, - 0x45, 0x6e, 0x73, 0x75, 0x72, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x12, 0x41, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x71, 0x75, - 0x65, 0x75, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x51, 0x75, 0x65, 0x75, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x46, 0x0a, 0x10, 0x51, - 0x75, 0x65, 0x75, 0x65, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, - 0x1c, 0x0a, 0x09, 0x73, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x09, 0x73, 0x75, 0x63, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x69, 0x6e, - 0x64, 0x65, 0x78, 0x2a, 0xc7, 0x01, 0x0a, 0x15, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x51, 0x75, 0x65, - 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, - 0x07, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x43, 0x6c, - 0x65, 0x61, 0x72, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, - 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x6e, 0x73, 0x75, 0x72, 0x65, 0x51, 0x75, 0x65, 0x75, - 0x65, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x73, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x10, 0x04, - 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x73, 0x52, 0x65, 0x61, 0x64, 0x79, 0x10, 0x05, 0x12, 0x0d, 0x0a, - 0x09, 0x4f, 0x66, 0x66, 0x65, 0x72, 0x54, 0x61, 0x69, 0x6c, 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, - 0x4f, 0x66, 0x66, 0x65, 0x72, 0x48, 0x65, 0x61, 0x64, 0x10, 0x07, 0x12, 0x0c, 0x0a, 0x08, 0x50, - 0x6f, 0x6c, 0x6c, 0x48, 0x65, 0x61, 0x64, 0x10, 0x08, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x65, 0x65, - 0x6b, 0x48, 0x65, 0x61, 0x64, 0x10, 0x09, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x6f, 0x6c, 0x6c, 0x54, - 0x61, 0x69, 0x6c, 0x10, 0x0a, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x65, 0x65, 0x6b, 0x54, 0x61, 0x69, - 0x6c, 0x10, 0x0b, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x10, 0x0c, 0x2a, 0x53, 0x0a, - 0x16, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x51, 0x75, 0x65, 0x75, 0x65, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, - 0x64, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x64, - 0x10, 0x03, 0x2a, 0x36, 0x0a, 0x0e, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x75, 0x65, 0x10, 0x00, 0x12, - 0x09, 0x0a, 0x05, 0x44, 0x65, 0x71, 0x75, 0x65, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x61, - 0x67, 0x65, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65, 0x10, 0x03, 0x42, 0x6a, 0x0a, 0x36, 0x63, 0x6f, - 0x6d, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, - 0x2e, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x71, 0x75, 0x65, 0x75, - 0x65, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x63, 0x6f, 0x68, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x2d, 0x67, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +const file_queue_service_messages_v1_proto_rawDesc = "" + + "\n" + + "\x1fqueue_service_messages_v1.proto\x12\x1dcoherence.concurrent.queue.v1\x1a\x18common_messages_v1.proto\x1a\x19google/protobuf/any.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xc9\x01\n" + + "\x11NamedQueueRequest\x12H\n" + + "\x04type\x18\x01 \x01(\x0e24.coherence.concurrent.queue.v1.NamedQueueRequestTypeR\x04type\x12\x1d\n" + + "\aqueueId\x18\x02 \x01(\x05H\x00R\aqueueId\x88\x01\x01\x123\n" + + "\amessage\x18\x03 \x01(\v2\x14.google.protobuf.AnyH\x01R\amessage\x88\x01\x01B\n" + + "\n" + + "\b_queueIdB\n" + + "\n" + + "\b_message\"\xba\x01\n" + + "\x12NamedQueueResponse\x12\x18\n" + + "\aqueueId\x18\x01 \x01(\x05R\aqueueId\x12I\n" + + "\x04type\x18\x02 \x01(\x0e25.coherence.concurrent.queue.v1.NamedQueueResponseTypeR\x04type\x123\n" + + "\amessage\x18\x03 \x01(\v2\x14.google.protobuf.AnyH\x00R\amessage\x88\x01\x01B\n" + + "\n" + + "\b_message\"m\n" + + "\x12EnsureQueueRequest\x12\x14\n" + + "\x05queue\x18\x01 \x01(\tR\x05queue\x12A\n" + + "\x04type\x18\x02 \x01(\x0e2-.coherence.concurrent.queue.v1.NamedQueueTypeR\x04type\"F\n" + + "\x10QueueOfferResult\x12\x1c\n" + + "\tsucceeded\x18\x01 \x01(\bR\tsucceeded\x12\x14\n" + + "\x05index\x18\x02 \x01(\x03R\x05index*\xc7\x01\n" + + "\x15NamedQueueRequestType\x12\v\n" + + "\aUnknown\x10\x00\x12\t\n" + + "\x05Clear\x10\x01\x12\v\n" + + "\aDestroy\x10\x02\x12\x0f\n" + + "\vEnsureQueue\x10\x03\x12\v\n" + + "\aIsEmpty\x10\x04\x12\v\n" + + "\aIsReady\x10\x05\x12\r\n" + + "\tOfferTail\x10\x06\x12\r\n" + + "\tOfferHead\x10\a\x12\f\n" + + "\bPollHead\x10\b\x12\f\n" + + "\bPeekHead\x10\t\x12\f\n" + + "\bPollTail\x10\n" + + "\x12\f\n" + + "\bPeekTail\x10\v\x12\b\n" + + "\x04Size\x10\f*S\n" + + "\x16NamedQueueResponseType\x12\v\n" + + "\aMessage\x10\x00\x12\x0e\n" + + "\n" + + "QueueEvent\x10\x01\x12\r\n" + + "\tDestroyed\x10\x02\x12\r\n" + + "\tTruncated\x10\x03*6\n" + + "\x0eNamedQueueType\x12\t\n" + + "\x05Queue\x10\x00\x12\t\n" + + "\x05Deque\x10\x01\x12\x0e\n" + + "\n" + + "PagedQueue\x10\x03Bj\n" + + "6com.oracle.coherence.grpc.messages.concurrent.queue.v1P\x01Z.github.com/oracle/coherence-go-client/proto/v1b\x06proto3" var ( file_queue_service_messages_v1_proto_rawDescOnce sync.Once - file_queue_service_messages_v1_proto_rawDescData = file_queue_service_messages_v1_proto_rawDesc + file_queue_service_messages_v1_proto_rawDescData []byte ) func file_queue_service_messages_v1_proto_rawDescGZIP() []byte { file_queue_service_messages_v1_proto_rawDescOnce.Do(func() { - file_queue_service_messages_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_queue_service_messages_v1_proto_rawDescData) + file_queue_service_messages_v1_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_queue_service_messages_v1_proto_rawDesc), len(file_queue_service_messages_v1_proto_rawDesc))) }) return file_queue_service_messages_v1_proto_rawDescData } var file_queue_service_messages_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_queue_service_messages_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_queue_service_messages_v1_proto_goTypes = []interface{}{ +var file_queue_service_messages_v1_proto_goTypes = []any{ (NamedQueueRequestType)(0), // 0: coherence.concurrent.queue.v1.NamedQueueRequestType (NamedQueueResponseType)(0), // 1: coherence.concurrent.queue.v1.NamedQueueResponseType (NamedQueueType)(0), // 2: coherence.concurrent.queue.v1.NamedQueueType @@ -677,63 +636,13 @@ func file_queue_service_messages_v1_proto_init() { return } file_common_messages_v1_proto_init() - if !protoimpl.UnsafeEnabled { - file_queue_service_messages_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NamedQueueRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_queue_service_messages_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NamedQueueResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_queue_service_messages_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnsureQueueRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_queue_service_messages_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueueOfferResult); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_queue_service_messages_v1_proto_msgTypes[0].OneofWrappers = []interface{}{} - file_queue_service_messages_v1_proto_msgTypes[1].OneofWrappers = []interface{}{} + file_queue_service_messages_v1_proto_msgTypes[0].OneofWrappers = []any{} + file_queue_service_messages_v1_proto_msgTypes[1].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_queue_service_messages_v1_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_queue_service_messages_v1_proto_rawDesc), len(file_queue_service_messages_v1_proto_rawDesc)), NumEnums: 3, NumMessages: 4, NumExtensions: 0, @@ -745,7 +654,6 @@ func file_queue_service_messages_v1_proto_init() { MessageInfos: file_queue_service_messages_v1_proto_msgTypes, }.Build() File_queue_service_messages_v1_proto = out.File - file_queue_service_messages_v1_proto_rawDesc = nil file_queue_service_messages_v1_proto_goTypes = nil file_queue_service_messages_v1_proto_depIdxs = nil } diff --git a/scripts/run-compat-ce.sh b/scripts/run-compat-ce.sh index c16ddd8e..51cf131f 100755 --- a/scripts/run-compat-ce.sh +++ b/scripts/run-compat-ce.sh @@ -12,8 +12,8 @@ set -e # Set the following to include long running streaming tests # INCLUDE_LONG_RUNNING=true -echo "Coherence CE 22.06.10" -COHERENCE_VERSION=22.06.10 PROFILES=,-jakarta,javax make clean generate-proto build-test-images test-e2e-standalone +echo "Coherence CE 22.06.12" +COHERENCE_VERSION=22.06.12 PROFILES=,-jakarta,javax make clean generate-proto build-test-images test-e2e-standalone echo "Coherence CE 14.1.2-0-2" COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=14.1.2-0-2 PROFILES=,-jakarta,javax make clean generate-proto build-test-images test-e2e-standalone @@ -21,17 +21,17 @@ COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=14.1.2- echo "Coherence CE 14.1.2-0-2 Streaming" COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=14.1.2-0-2 PROFILES=,-jakarta,javax make clean generate-proto build-test-images test-e2e-streaming -echo "Coherence CE 22.06.10 with scope" -COHERENCE_VERSION=22.06.10 PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope +echo "Coherence CE 22.06.12 with scope" +COHERENCE_VERSION=22.06.12 PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope -echo "Coherence CE 22.06.10 with SSL using env" +echo "Coherence CE 22.06.12 with SSL using env" SECURE=env COHERENCE_IGNORE_INVALID_CERTS=true \ COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \ COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \ COHERENCE_TLS_CLIENT_KEY=`pwd`/test/utils/certs/star-lord.key \ COHERENCE_VERSION=22.06.7 PROFILES=,secure make clean certs generate-proto build-test-images test-e2e-standalone -echo "Coherence CE 22.06.10 with SSL using options" +echo "Coherence CE 22.06.12 with SSL using options" # suite_test.go takes the below env vars and then populates the session options SECURE=options COHERENCE_IGNORE_INVALID_CERTS_OPTION=true \ COHERENCE_TLS_CERTS_PATH_OPTION=`pwd`/test/utils/certs/guardians-ca.crt \ @@ -39,7 +39,7 @@ SECURE=options COHERENCE_IGNORE_INVALID_CERTS_OPTION=true \ COHERENCE_TLS_CLIENT_KEY_OPTION=`pwd`/test/utils/certs/star-lord.key \ COHERENCE_VERSION=22.06.7 PROFILES=,secure make clean certs generate-proto build-test-images test-e2e-standalone -echo "Coherence CE 22.06.10 with SSL using tlsConfig" +echo "Coherence CE 22.06.12 with SSL using tlsConfig" # suite_test.go takes the below env vars and then creates a tls.Config and passes to the WithTLSConfig SECURE=tlsConfig COHERENCE_IGNORE_INVALID_CERTS_OPTION=true \ COHERENCE_TLS_CERTS_PATH_OPTION=`pwd`/test/utils/certs/guardians-ca.crt \ From c31767ba7161bcf24e4b3f16415c3306fcef1dde Mon Sep 17 00:00:00 2001 From: Tim Middleton Date: Thu, 29 May 2025 15:20:17 +0800 Subject: [PATCH 2/3] Fix typo in workflow --- .github/workflows/build-compatability-1412.yaml | 2 +- .github/workflows/build-compatability-2206.yaml | 6 +++--- .github/workflows/build-compatability-v1-1412.yaml | 6 +++--- .github/workflows/build-compatability-v1.yaml | 6 +++--- .github/workflows/build-compatability.yaml | 4 ++-- .github/workflows/build-queues-1412.yaml | 2 +- .github/workflows/build-queues.yaml | 2 +- .github/workflows/build-v1.yaml | 2 +- .github/workflows/build.yaml | 4 ++-- .github/workflows/examples-jakarta.yaml | 2 +- .github/workflows/examples.yaml | 2 +- .github/workflows/streaming-jakarta.yaml | 2 +- .github/workflows/streaming.yaml | 2 +- 13 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build-compatability-1412.yaml b/.github/workflows/build-compatability-1412.yaml index 890935e4..4a271a79 100644 --- a/.github/workflows/build-compatability-1412.yaml +++ b/.github/workflows/build-compatability-1412.yaml @@ -75,7 +75,7 @@ jobs: shell: bash run: | echo "Running verify against $COH_VERSION" - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone - name: E2E Local Tests With Scope diff --git a/.github/workflows/build-compatability-2206.yaml b/.github/workflows/build-compatability-2206.yaml index 56dfc79f..9e813970 100644 --- a/.github/workflows/build-compatability-2206.yaml +++ b/.github/workflows/build-compatability-2206.yaml @@ -75,7 +75,7 @@ jobs: shell: bash run: | echo "Running verify against $COH_VERSION" - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax make clean generate-proto build-test-images test-e2e-standalone - name: E2E Local Tests With Scope @@ -83,7 +83,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope - uses: actions/upload-artifact@v4 @@ -104,7 +104,7 @@ jobs: shell: bash run: | echo "Running verify against $COH_VERSION" - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \ COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \ COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \ diff --git a/.github/workflows/build-compatability-v1-1412.yaml b/.github/workflows/build-compatability-v1-1412.yaml index 4883fdca..236e993b 100644 --- a/.github/workflows/build-compatability-v1-1412.yaml +++ b/.github/workflows/build-compatability-v1-1412.yaml @@ -74,7 +74,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true PROFILES=,-jakarta,javax COHERENCE_VERSION=$COH_VERSION make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone - uses: actions/upload-artifact@v4 @@ -88,7 +88,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,-jakarta,javax,scope make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-scope - uses: actions/upload-artifact@v4 @@ -103,7 +103,7 @@ jobs: shell: bash run: | echo "Running verify against $COH_VERSION" - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \ COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \ COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \ diff --git a/.github/workflows/build-compatability-v1.yaml b/.github/workflows/build-compatability-v1.yaml index 51f39d90..f470594b 100644 --- a/.github/workflows/build-compatability-v1.yaml +++ b/.github/workflows/build-compatability-v1.yaml @@ -74,7 +74,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true PROFILES=,jakarta,-javax COHERENCE_VERSION=$COH_VERSION make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone - uses: actions/upload-artifact@v4 @@ -88,7 +88,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,jakarta,-javax,scope make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-scope - uses: actions/upload-artifact@v4 @@ -103,7 +103,7 @@ jobs: shell: bash run: | echo "Running verify against $COH_VERSION" - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \ COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \ COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \ diff --git a/.github/workflows/build-compatability.yaml b/.github/workflows/build-compatability.yaml index c0594baf..8bac66fa 100644 --- a/.github/workflows/build-compatability.yaml +++ b/.github/workflows/build-compatability.yaml @@ -88,7 +88,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=$COH_VERSION PROFILES=,jakarta,-javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope - uses: actions/upload-artifact@v4 @@ -103,7 +103,7 @@ jobs: shell: bash run: | echo "Running verify against $COH_VERSION" - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 SKIP_PROTO_GENERATION=true COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 SECURE=true COHERENCE_IGNORE_INVALID_CERTS=true INCLUDE_LONG_RUNNING=true \ COHERENCE_TLS_CERTS_PATH=`pwd`/test/utils/certs/guardians-ca.crt \ COHERENCE_TLS_CLIENT_CERT=`pwd`/test/utils/certs/star-lord.crt \ diff --git a/.github/workflows/build-queues-1412.yaml b/.github/workflows/build-queues-1412.yaml index 453b10f9..4be2d590 100644 --- a/.github/workflows/build-queues-1412.yaml +++ b/.github/workflows/build-queues-1412.yaml @@ -74,7 +74,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true PROFILES=,-jakarta,javax,queues COHERENCE_VERSION=$COH_VERSION make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-queues - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/build-queues.yaml b/.github/workflows/build-queues.yaml index 8f41b370..5fe890db 100644 --- a/.github/workflows/build-queues.yaml +++ b/.github/workflows/build-queues.yaml @@ -74,7 +74,7 @@ jobs: COH_VERSION: ${{ matrix.coherenceVersion }} shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 INCLUDE_LONG_RUNNING=true PROFILES=,jakarta,-javax,queues COHERENCE_VERSION=$COH_VERSION make clean generate-proto generate-proto-v1 build-test-images test-e2e-standalone-queues - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/build-v1.yaml b/.github/workflows/build-v1.yaml index 38030a1c..defc9e5b 100644 --- a/.github/workflows/build-v1.yaml +++ b/.github/workflows/build-v1.yaml @@ -72,7 +72,7 @@ jobs: - name: gRPC V1 Base Tests shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 PROFILES=,jakarta,-javax COHERENCE_VERSION=${{ matrix.coherence-version }} make clean generate-proto generate-proto-v1 build-test-images test-v1-base - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fe33bae3..be349eb0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -67,7 +67,7 @@ jobs: - name: E2E Local Tests shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 INCLUDE_LONG_RUNNING=true PROFILES=,-jakarta,javax COHERENCE_VERSION=22.06.12 make clean generate-proto build-test-images test-e2e-standalone - name: Profile Near Cache @@ -84,7 +84,7 @@ jobs: - name: E2E Local Tests With Scope shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 SKIP_PROTO_GENERATION=true COHERENCE_VERSION=22.06.12 PROFILES=,-jakarta,javax,scope make clean generate-proto build-test-images test-e2e-standalone-scope - uses: actions/upload-artifact@v4 diff --git a/.github/workflows/examples-jakarta.yaml b/.github/workflows/examples-jakarta.yaml index 21ed1134..f8a9029f 100644 --- a/.github/workflows/examples-jakarta.yaml +++ b/.github/workflows/examples-jakarta.yaml @@ -70,7 +70,7 @@ jobs: - name: Verify Examples shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=${{ matrix.coherenceVersion }} PROFILES=,jakarta,-javax make clean generate-proto build-test-images test-cluster-startup test-examples make test-cluster-shutdown || true diff --git a/.github/workflows/examples.yaml b/.github/workflows/examples.yaml index 67d015a4..344dc322 100644 --- a/.github/workflows/examples.yaml +++ b/.github/workflows/examples.yaml @@ -71,7 +71,7 @@ jobs: - name: Verify Examples shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=${{ matrix.coherenceVersion }} PROFILES=,-jakarta,javax make clean generate-proto generate-proto-v1 build-test-images test-cluster-startup test-examples make test-cluster-shutdown || true diff --git a/.github/workflows/streaming-jakarta.yaml b/.github/workflows/streaming-jakarta.yaml index dbaea503..246b2853 100644 --- a/.github/workflows/streaming-jakarta.yaml +++ b/.github/workflows/streaming-jakarta.yaml @@ -70,7 +70,7 @@ jobs: - name: Verify shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=${{ matrix.coherenceVersion }} PROFILES=,jakarta,-javax make clean generate-proto generate-proto-v1 build-test-images test-cluster-startup test-e2e-streaming make test-cluster-shutdown || true diff --git a/.github/workflows/streaming.yaml b/.github/workflows/streaming.yaml index 74d1bb40..50d23b7a 100644 --- a/.github/workflows/streaming.yaml +++ b/.github/workflows/streaming.yaml @@ -71,7 +71,7 @@ jobs: - name: Verify shell: bash run: | - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5.1 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=${{ matrix.coherenceVersion }} PROFILES=,-jakarta,javax make clean generate-proto generate-proto-v1 build-test-images test-cluster-startup test-e2e-streaming make test-cluster-shutdown || true From 2de55ffcde8bb3d8aef632ffbafd05c8856d734c Mon Sep 17 00:00:00 2001 From: Tim Middleton Date: Thu, 29 May 2025 15:35:19 +0800 Subject: [PATCH 3/3] Fix v1.2.2. examples --- .github/workflows/examples-jakarta-v1.2.2.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/examples-jakarta-v1.2.2.yaml b/.github/workflows/examples-jakarta-v1.2.2.yaml index 58467668..cb2451d6 100644 --- a/.github/workflows/examples-jakarta-v1.2.2.yaml +++ b/.github/workflows/examples-jakarta-v1.2.2.yaml @@ -79,7 +79,7 @@ jobs: git checkout v1.2.2 # Change the jib-maven-plugin as this version fails sed -i.bak 's/3\.3\.0<\/version.plugin.jib>/3.4.3<\/version.plugin.jib>/' java/pom.xml - go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.36.6 + go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0 COHERENCE_BASE_IMAGE=gcr.io/distroless/java17-debian12 COHERENCE_VERSION=${{ matrix.coherenceVersion }} PROFILES=,jakarta,-javax make clean generate-proto build-test-images test-cluster-startup test-examples make test-cluster-shutdown || true