diff --git a/package-lock.json b/package-lock.json index 7309dec9..2dfc863b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dapr-client", - "version": "1.0.1", + "version": "1.0.3-rc.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "dapr-client", - "version": "1.0.1", + "version": "1.0.3-rc.1", "license": "ISC", "dependencies": { "@grpc/grpc-js": "^1.3.7", diff --git a/package.json b/package.json index b557bf54..4453d990 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dapr-client", - "version": "1.0.2", + "version": "1.0.3-rc.1", "description": "The official Dapr (https://dapr.io) SDK for Node.js", "types": "http/index.d.ts", "scripts": { @@ -51,4 +51,4 @@ "url": "https://github.com/dapr/js-sdk.git", "directory": "" } -} \ No newline at end of file +} diff --git a/src/proto/dapr/proto/common/v1/common.proto b/src/proto/dapr/proto/common/v1/common.proto index 72239847..00fed373 100644 --- a/src/proto/dapr/proto/common/v1/common.proto +++ b/src/proto/dapr/proto/common/v1/common.proto @@ -24,6 +24,7 @@ option go_package = "github.com/dapr/dapr/pkg/proto/common/v1;common"; message HTTPExtension { // Type of HTTP 1.1 Methods // RFC 7231: https://tools.ietf.org/html/rfc7231#page-24 + // RFC 5789: https://datatracker.ietf.org/doc/html/rfc5789 enum Verb { NONE = 0; GET = 1; @@ -34,6 +35,7 @@ message HTTPExtension { CONNECT = 6; OPTIONS = 7; TRACE = 8; + PATCH = 9; } // Required. HTTP verb. @@ -122,4 +124,20 @@ message StateOptions { StateConcurrency concurrency = 1; StateConsistency consistency = 2; -} \ No newline at end of file +} + + +// ConfigurationItem represents all the configuration with its name(key). +message ConfigurationItem { + // Required. The name of configuration item + string key = 1; + + // Required. The value of configuration item. + string value = 2; + + // Version is response only and cannot be fetched. Store is not expected to keep all versions available + string version = 3; + + // the metadata which will be passed to/from configuration store component. + map metadata = 4; +} diff --git a/src/proto/dapr/proto/common/v1/common_pb.d.ts b/src/proto/dapr/proto/common/v1/common_pb.d.ts index d2945127..3c8b5dba 100644 --- a/src/proto/dapr/proto/common/v1/common_pb.d.ts +++ b/src/proto/dapr/proto/common/v1/common_pb.d.ts @@ -39,6 +39,7 @@ export namespace HTTPExtension { CONNECT = 6, OPTIONS = 7, TRACE = 8, + PATCH = 9, } } @@ -201,3 +202,34 @@ export namespace StateOptions { } } + +export class ConfigurationItem extends jspb.Message { + getKey(): string; + setKey(value: string): ConfigurationItem; + getValue(): string; + setValue(value: string): ConfigurationItem; + getVersion(): string; + setVersion(value: string): ConfigurationItem; + + getMetadataMap(): jspb.Map; + clearMetadataMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ConfigurationItem.AsObject; + static toObject(includeInstance: boolean, msg: ConfigurationItem): ConfigurationItem.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ConfigurationItem, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ConfigurationItem; + static deserializeBinaryFromReader(message: ConfigurationItem, reader: jspb.BinaryReader): ConfigurationItem; +} + +export namespace ConfigurationItem { + export type AsObject = { + key: string, + value: string, + version: string, + + metadataMap: Array<[string, string]>, + } +} diff --git a/src/proto/dapr/proto/common/v1/common_pb.js b/src/proto/dapr/proto/common/v1/common_pb.js index b481be5a..63cdc8be 100644 --- a/src/proto/dapr/proto/common/v1/common_pb.js +++ b/src/proto/dapr/proto/common/v1/common_pb.js @@ -2,7 +2,6 @@ /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public @@ -17,6 +16,7 @@ var global = Function('return this')(); var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'); goog.object.extend(proto, google_protobuf_any_pb); +goog.exportSymbol('proto.dapr.proto.common.v1.ConfigurationItem', null, global); goog.exportSymbol('proto.dapr.proto.common.v1.Etag', null, global); goog.exportSymbol('proto.dapr.proto.common.v1.HTTPExtension', null, global); goog.exportSymbol('proto.dapr.proto.common.v1.HTTPExtension.Verb', null, global); @@ -152,6 +152,27 @@ if (goog.DEBUG && !COMPILED) { */ proto.dapr.proto.common.v1.StateOptions.displayName = 'proto.dapr.proto.common.v1.StateOptions'; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.dapr.proto.common.v1.ConfigurationItem = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.dapr.proto.common.v1.ConfigurationItem, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.dapr.proto.common.v1.ConfigurationItem.displayName = 'proto.dapr.proto.common.v1.ConfigurationItem'; +} @@ -288,7 +309,8 @@ proto.dapr.proto.common.v1.HTTPExtension.Verb = { DELETE: 5, CONNECT: 6, OPTIONS: 7, - TRACE: 8 + TRACE: 8, + PATCH: 9 }; /** @@ -1397,4 +1419,227 @@ proto.dapr.proto.common.v1.StateOptions.prototype.setConsistency = function(valu }; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.dapr.proto.common.v1.ConfigurationItem.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.common.v1.ConfigurationItem.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.dapr.proto.common.v1.ConfigurationItem} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.common.v1.ConfigurationItem.toObject = function(includeInstance, msg) { + var f, obj = { + key: jspb.Message.getFieldWithDefault(msg, 1, ""), + value: jspb.Message.getFieldWithDefault(msg, 2, ""), + version: jspb.Message.getFieldWithDefault(msg, 3, ""), + metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.dapr.proto.common.v1.ConfigurationItem} + */ +proto.dapr.proto.common.v1.ConfigurationItem.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.dapr.proto.common.v1.ConfigurationItem; + return proto.dapr.proto.common.v1.ConfigurationItem.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.dapr.proto.common.v1.ConfigurationItem} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.dapr.proto.common.v1.ConfigurationItem} + */ +proto.dapr.proto.common.v1.ConfigurationItem.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setKey(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setValue(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setVersion(value); + break; + case 4: + var value = msg.getMetadataMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.dapr.proto.common.v1.ConfigurationItem.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.dapr.proto.common.v1.ConfigurationItem.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.dapr.proto.common.v1.ConfigurationItem} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.common.v1.ConfigurationItem.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getKey(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getValue(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getVersion(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getMetadataMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * optional string key = 1; + * @return {string} + */ +proto.dapr.proto.common.v1.ConfigurationItem.prototype.getKey = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.common.v1.ConfigurationItem} returns this + */ +proto.dapr.proto.common.v1.ConfigurationItem.prototype.setKey = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string value = 2; + * @return {string} + */ +proto.dapr.proto.common.v1.ConfigurationItem.prototype.getValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.common.v1.ConfigurationItem} returns this + */ +proto.dapr.proto.common.v1.ConfigurationItem.prototype.setValue = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string version = 3; + * @return {string} + */ +proto.dapr.proto.common.v1.ConfigurationItem.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.common.v1.ConfigurationItem} returns this + */ +proto.dapr.proto.common.v1.ConfigurationItem.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * map metadata = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.dapr.proto.common.v1.ConfigurationItem.prototype.getMetadataMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.dapr.proto.common.v1.ConfigurationItem} returns this + */ +proto.dapr.proto.common.v1.ConfigurationItem.prototype.clearMetadataMap = function() { + this.getMetadataMap().clear(); + return this;}; + + goog.object.extend(exports, proto.dapr.proto.common.v1); diff --git a/src/proto/dapr/proto/runtime/v1/appcallback_grpc_pb.d.ts b/src/proto/dapr/proto/runtime/v1/appcallback_grpc_pb.d.ts index 15fc14d3..c90a1a84 100644 --- a/src/proto/dapr/proto/runtime/v1/appcallback_grpc_pb.d.ts +++ b/src/proto/dapr/proto/runtime/v1/appcallback_grpc_pb.d.ts @@ -5,7 +5,6 @@ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; -import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; import * as dapr_proto_runtime_v1_appcallback_pb from "../../../../dapr/proto/runtime/v1/appcallback_pb"; import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb"; import * as dapr_proto_common_v1_common_pb from "../../../../dapr/proto/common/v1/common_pb"; diff --git a/src/proto/dapr/proto/runtime/v1/appcallback_pb.js b/src/proto/dapr/proto/runtime/v1/appcallback_pb.js index 4418a5ab..97b8e928 100644 --- a/src/proto/dapr/proto/runtime/v1/appcallback_pb.js +++ b/src/proto/dapr/proto/runtime/v1/appcallback_pb.js @@ -2,7 +2,6 @@ /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public diff --git a/src/proto/dapr/proto/runtime/v1/dapr.proto b/src/proto/dapr/proto/runtime/v1/dapr.proto index e2294023..4ab62679 100644 --- a/src/proto/dapr/proto/runtime/v1/dapr.proto +++ b/src/proto/dapr/proto/runtime/v1/dapr.proto @@ -30,6 +30,9 @@ service Dapr { // Saves the state for a specific key. rpc SaveState(SaveStateRequest) returns (google.protobuf.Empty) {} + // Queries the state. + rpc QueryStateAlpha1(QueryStateRequest) returns (QueryStateResponse) {} + // Deletes the state for a specific key. rpc DeleteState(DeleteStateRequest) returns (google.protobuf.Empty) {} @@ -72,6 +75,12 @@ service Dapr { // InvokeActor calls a method on an actor. rpc InvokeActor (InvokeActorRequest) returns (InvokeActorResponse) {} + // GetConfiguration gets configuration from configuration store. + rpc GetConfigurationAlpha1(GetConfigurationRequest) returns (GetConfigurationResponse) {} + + // SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream + rpc SubscribeConfigurationAlpha1(SubscribeConfigurationRequest) returns (stream SubscribeConfigurationResponse) {} + // Gets metadata of the sidecar rpc GetMetadata (google.protobuf.Empty) returns (GetMetadataResponse) {} @@ -198,6 +207,45 @@ message SaveStateRequest { repeated common.v1.StateItem states = 2; } +// QueryStateRequest is the message to query state store. +message QueryStateRequest { + // The name of state store. + string store_name = 1; + + // The query in JSON format. + string query = 2; + + // The metadata which will be sent to state store components. + map metadata = 3; +} + +message QueryStateItem { + // The object key. + string key = 1; + + // The object value. + bytes data = 2; + + // The entity tag which represents the specific version of data. + // ETag format is defined by the corresponding data store. + string etag = 3; + + // The error message indicating an error in processing of the query result. + string error = 4; +} + +// QueryStateResponse is the response conveying the query results. +message QueryStateResponse { + // An array of query results. + repeated QueryStateItem results = 1; + + // Pagination token. + string token = 2; + + // The metadata which will be sent to app. + map metadata = 3; +} + // PublishEventRequest is the message to publish event data to pubsub topic message PublishEventRequest { // The name of the pubsub component @@ -337,6 +385,7 @@ message RegisterActorReminderRequest { string due_time = 4; string period = 5; bytes data = 6; + string ttl = 7; } // UnregisterActorReminderRequest is the message to unregister an actor reminder. @@ -407,4 +456,44 @@ message RegisteredComponents { message SetMetadataRequest { string key = 1; string value = 2; -} \ No newline at end of file +} + +// GetConfigurationRequest is the message to get a list of key-value configuration from specified configuration store. +message GetConfigurationRequest { + // Required. The name of configuration store. + string store_name = 1; + + // Optional. The key of the configuration item to fetch. + // If set, only query for the specified configuration items. + // Empty list means fetch all. + repeated string keys = 2; + + // Optional. The metadata which will be sent to configuration store components. + map metadata = 3; +} + +// GetConfigurationResponse is the response conveying the list of configuration values. +// It should be the FULL configuration of specified application which contains all of its configuration items. +message GetConfigurationResponse { + repeated common.v1.ConfigurationItem items = 1; +} + +// SubscribeConfigurationRequest is the message to get a list of key-value configuration from specified configuration store. +message SubscribeConfigurationRequest { + // The name of configuration store. + string store_name = 1; + + // Optional. The key of the configuration item to fetch. + // If set, only query for the specified configuration items. + // Empty list means fetch all. + repeated string keys = 2; + + // The metadata which will be sent to configuration store components. + map metadata = 3; +} + +message SubscribeConfigurationResponse { + // The list of items containing configuration values + repeated common.v1.ConfigurationItem items = 1; +} + diff --git a/src/proto/dapr/proto/runtime/v1/dapr_grpc_pb.d.ts b/src/proto/dapr/proto/runtime/v1/dapr_grpc_pb.d.ts index 71c7bea1..d9feced9 100644 --- a/src/proto/dapr/proto/runtime/v1/dapr_grpc_pb.d.ts +++ b/src/proto/dapr/proto/runtime/v1/dapr_grpc_pb.d.ts @@ -5,7 +5,6 @@ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; -import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call"; import * as dapr_proto_runtime_v1_dapr_pb from "../../../../dapr/proto/runtime/v1/dapr_pb"; import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb"; @@ -16,6 +15,7 @@ interface IDaprService extends grpc.ServiceDefinition; responseDeserialize: grpc.deserialize; } +interface IDaprService_IQueryStateAlpha1 extends grpc.MethodDefinition { + path: "/dapr.proto.runtime.v1.Dapr/QueryStateAlpha1"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} interface IDaprService_IDeleteState extends grpc.MethodDefinition { path: "/dapr.proto.runtime.v1.Dapr/DeleteState"; requestStream: false; @@ -197,6 +208,24 @@ interface IDaprService_IInvokeActor extends grpc.MethodDefinition; responseDeserialize: grpc.deserialize; } +interface IDaprService_IGetConfigurationAlpha1 extends grpc.MethodDefinition { + path: "/dapr.proto.runtime.v1.Dapr/GetConfigurationAlpha1"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface IDaprService_ISubscribeConfigurationAlpha1 extends grpc.MethodDefinition { + path: "/dapr.proto.runtime.v1.Dapr/SubscribeConfigurationAlpha1"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} interface IDaprService_IGetMetadata extends grpc.MethodDefinition { path: "/dapr.proto.runtime.v1.Dapr/GetMetadata"; requestStream: false; @@ -232,6 +261,7 @@ export interface IDaprServer extends grpc.UntypedServiceImplementation { getState: grpc.handleUnaryCall; getBulkState: grpc.handleUnaryCall; saveState: grpc.handleUnaryCall; + queryStateAlpha1: grpc.handleUnaryCall; deleteState: grpc.handleUnaryCall; deleteBulkState: grpc.handleUnaryCall; executeStateTransaction: grpc.handleUnaryCall; @@ -246,6 +276,8 @@ export interface IDaprServer extends grpc.UntypedServiceImplementation { getActorState: grpc.handleUnaryCall; executeActorStateTransaction: grpc.handleUnaryCall; invokeActor: grpc.handleUnaryCall; + getConfigurationAlpha1: grpc.handleUnaryCall; + subscribeConfigurationAlpha1: grpc.handleServerStreamingCall; getMetadata: grpc.handleUnaryCall; setMetadata: grpc.handleUnaryCall; shutdown: grpc.handleUnaryCall; @@ -264,6 +296,9 @@ export interface IDaprClient { saveState(request: dapr_proto_runtime_v1_dapr_pb.SaveStateRequest, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; saveState(request: dapr_proto_runtime_v1_dapr_pb.SaveStateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; saveState(request: dapr_proto_runtime_v1_dapr_pb.SaveStateRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; + queryStateAlpha1(request: dapr_proto_runtime_v1_dapr_pb.QueryStateRequest, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.QueryStateResponse) => void): grpc.ClientUnaryCall; + queryStateAlpha1(request: dapr_proto_runtime_v1_dapr_pb.QueryStateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.QueryStateResponse) => void): grpc.ClientUnaryCall; + queryStateAlpha1(request: dapr_proto_runtime_v1_dapr_pb.QueryStateRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.QueryStateResponse) => void): grpc.ClientUnaryCall; deleteState(request: dapr_proto_runtime_v1_dapr_pb.DeleteStateRequest, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; deleteState(request: dapr_proto_runtime_v1_dapr_pb.DeleteStateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; deleteState(request: dapr_proto_runtime_v1_dapr_pb.DeleteStateRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; @@ -306,6 +341,11 @@ export interface IDaprClient { invokeActor(request: dapr_proto_runtime_v1_dapr_pb.InvokeActorRequest, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.InvokeActorResponse) => void): grpc.ClientUnaryCall; invokeActor(request: dapr_proto_runtime_v1_dapr_pb.InvokeActorRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.InvokeActorResponse) => void): grpc.ClientUnaryCall; invokeActor(request: dapr_proto_runtime_v1_dapr_pb.InvokeActorRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.InvokeActorResponse) => void): grpc.ClientUnaryCall; + getConfigurationAlpha1(request: dapr_proto_runtime_v1_dapr_pb.GetConfigurationRequest, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.GetConfigurationResponse) => void): grpc.ClientUnaryCall; + getConfigurationAlpha1(request: dapr_proto_runtime_v1_dapr_pb.GetConfigurationRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.GetConfigurationResponse) => void): grpc.ClientUnaryCall; + getConfigurationAlpha1(request: dapr_proto_runtime_v1_dapr_pb.GetConfigurationRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.GetConfigurationResponse) => void): grpc.ClientUnaryCall; + subscribeConfigurationAlpha1(request: dapr_proto_runtime_v1_dapr_pb.SubscribeConfigurationRequest, options?: Partial): grpc.ClientReadableStream; + subscribeConfigurationAlpha1(request: dapr_proto_runtime_v1_dapr_pb.SubscribeConfigurationRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; getMetadata(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.GetMetadataResponse) => void): grpc.ClientUnaryCall; getMetadata(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.GetMetadataResponse) => void): grpc.ClientUnaryCall; getMetadata(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.GetMetadataResponse) => void): grpc.ClientUnaryCall; @@ -331,6 +371,9 @@ export class DaprClient extends grpc.Client implements IDaprClient { public saveState(request: dapr_proto_runtime_v1_dapr_pb.SaveStateRequest, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; public saveState(request: dapr_proto_runtime_v1_dapr_pb.SaveStateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; public saveState(request: dapr_proto_runtime_v1_dapr_pb.SaveStateRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; + public queryStateAlpha1(request: dapr_proto_runtime_v1_dapr_pb.QueryStateRequest, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.QueryStateResponse) => void): grpc.ClientUnaryCall; + public queryStateAlpha1(request: dapr_proto_runtime_v1_dapr_pb.QueryStateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.QueryStateResponse) => void): grpc.ClientUnaryCall; + public queryStateAlpha1(request: dapr_proto_runtime_v1_dapr_pb.QueryStateRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.QueryStateResponse) => void): grpc.ClientUnaryCall; public deleteState(request: dapr_proto_runtime_v1_dapr_pb.DeleteStateRequest, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; public deleteState(request: dapr_proto_runtime_v1_dapr_pb.DeleteStateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; public deleteState(request: dapr_proto_runtime_v1_dapr_pb.DeleteStateRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; @@ -373,6 +416,11 @@ export class DaprClient extends grpc.Client implements IDaprClient { public invokeActor(request: dapr_proto_runtime_v1_dapr_pb.InvokeActorRequest, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.InvokeActorResponse) => void): grpc.ClientUnaryCall; public invokeActor(request: dapr_proto_runtime_v1_dapr_pb.InvokeActorRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.InvokeActorResponse) => void): grpc.ClientUnaryCall; public invokeActor(request: dapr_proto_runtime_v1_dapr_pb.InvokeActorRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.InvokeActorResponse) => void): grpc.ClientUnaryCall; + public getConfigurationAlpha1(request: dapr_proto_runtime_v1_dapr_pb.GetConfigurationRequest, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.GetConfigurationResponse) => void): grpc.ClientUnaryCall; + public getConfigurationAlpha1(request: dapr_proto_runtime_v1_dapr_pb.GetConfigurationRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.GetConfigurationResponse) => void): grpc.ClientUnaryCall; + public getConfigurationAlpha1(request: dapr_proto_runtime_v1_dapr_pb.GetConfigurationRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.GetConfigurationResponse) => void): grpc.ClientUnaryCall; + public subscribeConfigurationAlpha1(request: dapr_proto_runtime_v1_dapr_pb.SubscribeConfigurationRequest, options?: Partial): grpc.ClientReadableStream; + public subscribeConfigurationAlpha1(request: dapr_proto_runtime_v1_dapr_pb.SubscribeConfigurationRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; public getMetadata(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.GetMetadataResponse) => void): grpc.ClientUnaryCall; public getMetadata(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.GetMetadataResponse) => void): grpc.ClientUnaryCall; public getMetadata(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: dapr_proto_runtime_v1_dapr_pb.GetMetadataResponse) => void): grpc.ClientUnaryCall; diff --git a/src/proto/dapr/proto/runtime/v1/dapr_grpc_pb.js b/src/proto/dapr/proto/runtime/v1/dapr_grpc_pb.js index 4f72a24e..b35395b5 100644 --- a/src/proto/dapr/proto/runtime/v1/dapr_grpc_pb.js +++ b/src/proto/dapr/proto/runtime/v1/dapr_grpc_pb.js @@ -134,6 +134,28 @@ function deserialize_dapr_proto_runtime_v1_GetBulkStateResponse(buffer_arg) { return dapr_proto_runtime_v1_dapr_pb.GetBulkStateResponse.deserializeBinary(new Uint8Array(buffer_arg)); } +function serialize_dapr_proto_runtime_v1_GetConfigurationRequest(arg) { + if (!(arg instanceof dapr_proto_runtime_v1_dapr_pb.GetConfigurationRequest)) { + throw new Error('Expected argument of type dapr.proto.runtime.v1.GetConfigurationRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_dapr_proto_runtime_v1_GetConfigurationRequest(buffer_arg) { + return dapr_proto_runtime_v1_dapr_pb.GetConfigurationRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_dapr_proto_runtime_v1_GetConfigurationResponse(arg) { + if (!(arg instanceof dapr_proto_runtime_v1_dapr_pb.GetConfigurationResponse)) { + throw new Error('Expected argument of type dapr.proto.runtime.v1.GetConfigurationResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_dapr_proto_runtime_v1_GetConfigurationResponse(buffer_arg) { + return dapr_proto_runtime_v1_dapr_pb.GetConfigurationResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_dapr_proto_runtime_v1_GetMetadataResponse(arg) { if (!(arg instanceof dapr_proto_runtime_v1_dapr_pb.GetMetadataResponse)) { throw new Error('Expected argument of type dapr.proto.runtime.v1.GetMetadataResponse'); @@ -255,6 +277,28 @@ function deserialize_dapr_proto_runtime_v1_PublishEventRequest(buffer_arg) { return dapr_proto_runtime_v1_dapr_pb.PublishEventRequest.deserializeBinary(new Uint8Array(buffer_arg)); } +function serialize_dapr_proto_runtime_v1_QueryStateRequest(arg) { + if (!(arg instanceof dapr_proto_runtime_v1_dapr_pb.QueryStateRequest)) { + throw new Error('Expected argument of type dapr.proto.runtime.v1.QueryStateRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_dapr_proto_runtime_v1_QueryStateRequest(buffer_arg) { + return dapr_proto_runtime_v1_dapr_pb.QueryStateRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_dapr_proto_runtime_v1_QueryStateResponse(arg) { + if (!(arg instanceof dapr_proto_runtime_v1_dapr_pb.QueryStateResponse)) { + throw new Error('Expected argument of type dapr.proto.runtime.v1.QueryStateResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_dapr_proto_runtime_v1_QueryStateResponse(buffer_arg) { + return dapr_proto_runtime_v1_dapr_pb.QueryStateResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_dapr_proto_runtime_v1_RegisterActorReminderRequest(arg) { if (!(arg instanceof dapr_proto_runtime_v1_dapr_pb.RegisterActorReminderRequest)) { throw new Error('Expected argument of type dapr.proto.runtime.v1.RegisterActorReminderRequest'); @@ -299,6 +343,28 @@ function deserialize_dapr_proto_runtime_v1_SetMetadataRequest(buffer_arg) { return dapr_proto_runtime_v1_dapr_pb.SetMetadataRequest.deserializeBinary(new Uint8Array(buffer_arg)); } +function serialize_dapr_proto_runtime_v1_SubscribeConfigurationRequest(arg) { + if (!(arg instanceof dapr_proto_runtime_v1_dapr_pb.SubscribeConfigurationRequest)) { + throw new Error('Expected argument of type dapr.proto.runtime.v1.SubscribeConfigurationRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_dapr_proto_runtime_v1_SubscribeConfigurationRequest(buffer_arg) { + return dapr_proto_runtime_v1_dapr_pb.SubscribeConfigurationRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_dapr_proto_runtime_v1_SubscribeConfigurationResponse(arg) { + if (!(arg instanceof dapr_proto_runtime_v1_dapr_pb.SubscribeConfigurationResponse)) { + throw new Error('Expected argument of type dapr.proto.runtime.v1.SubscribeConfigurationResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_dapr_proto_runtime_v1_SubscribeConfigurationResponse(buffer_arg) { + return dapr_proto_runtime_v1_dapr_pb.SubscribeConfigurationResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_dapr_proto_runtime_v1_UnregisterActorReminderRequest(arg) { if (!(arg instanceof dapr_proto_runtime_v1_dapr_pb.UnregisterActorReminderRequest)) { throw new Error('Expected argument of type dapr.proto.runtime.v1.UnregisterActorReminderRequest'); @@ -383,6 +449,18 @@ saveState: { responseSerialize: serialize_google_protobuf_Empty, responseDeserialize: deserialize_google_protobuf_Empty, }, + // Queries the state. +queryStateAlpha1: { + path: '/dapr.proto.runtime.v1.Dapr/QueryStateAlpha1', + requestStream: false, + responseStream: false, + requestType: dapr_proto_runtime_v1_dapr_pb.QueryStateRequest, + responseType: dapr_proto_runtime_v1_dapr_pb.QueryStateResponse, + requestSerialize: serialize_dapr_proto_runtime_v1_QueryStateRequest, + requestDeserialize: deserialize_dapr_proto_runtime_v1_QueryStateRequest, + responseSerialize: serialize_dapr_proto_runtime_v1_QueryStateResponse, + responseDeserialize: deserialize_dapr_proto_runtime_v1_QueryStateResponse, + }, // Deletes the state for a specific key. deleteState: { path: '/dapr.proto.runtime.v1.Dapr/DeleteState', @@ -551,6 +629,30 @@ invokeActor: { responseSerialize: serialize_dapr_proto_runtime_v1_InvokeActorResponse, responseDeserialize: deserialize_dapr_proto_runtime_v1_InvokeActorResponse, }, + // GetConfiguration gets configuration from configuration store. +getConfigurationAlpha1: { + path: '/dapr.proto.runtime.v1.Dapr/GetConfigurationAlpha1', + requestStream: false, + responseStream: false, + requestType: dapr_proto_runtime_v1_dapr_pb.GetConfigurationRequest, + responseType: dapr_proto_runtime_v1_dapr_pb.GetConfigurationResponse, + requestSerialize: serialize_dapr_proto_runtime_v1_GetConfigurationRequest, + requestDeserialize: deserialize_dapr_proto_runtime_v1_GetConfigurationRequest, + responseSerialize: serialize_dapr_proto_runtime_v1_GetConfigurationResponse, + responseDeserialize: deserialize_dapr_proto_runtime_v1_GetConfigurationResponse, + }, + // SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream +subscribeConfigurationAlpha1: { + path: '/dapr.proto.runtime.v1.Dapr/SubscribeConfigurationAlpha1', + requestStream: false, + responseStream: true, + requestType: dapr_proto_runtime_v1_dapr_pb.SubscribeConfigurationRequest, + responseType: dapr_proto_runtime_v1_dapr_pb.SubscribeConfigurationResponse, + requestSerialize: serialize_dapr_proto_runtime_v1_SubscribeConfigurationRequest, + requestDeserialize: deserialize_dapr_proto_runtime_v1_SubscribeConfigurationRequest, + responseSerialize: serialize_dapr_proto_runtime_v1_SubscribeConfigurationResponse, + responseDeserialize: deserialize_dapr_proto_runtime_v1_SubscribeConfigurationResponse, + }, // Gets metadata of the sidecar getMetadata: { path: '/dapr.proto.runtime.v1.Dapr/GetMetadata', diff --git a/src/proto/dapr/proto/runtime/v1/dapr_pb.d.ts b/src/proto/dapr/proto/runtime/v1/dapr_pb.d.ts index dd833a38..72ce639b 100644 --- a/src/proto/dapr/proto/runtime/v1/dapr_pb.d.ts +++ b/src/proto/dapr/proto/runtime/v1/dapr_pb.d.ts @@ -277,6 +277,95 @@ export namespace SaveStateRequest { } } +export class QueryStateRequest extends jspb.Message { + getStoreName(): string; + setStoreName(value: string): QueryStateRequest; + getQuery(): string; + setQuery(value: string): QueryStateRequest; + + getMetadataMap(): jspb.Map; + clearMetadataMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): QueryStateRequest.AsObject; + static toObject(includeInstance: boolean, msg: QueryStateRequest): QueryStateRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: QueryStateRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): QueryStateRequest; + static deserializeBinaryFromReader(message: QueryStateRequest, reader: jspb.BinaryReader): QueryStateRequest; +} + +export namespace QueryStateRequest { + export type AsObject = { + storeName: string, + query: string, + + metadataMap: Array<[string, string]>, + } +} + +export class QueryStateItem extends jspb.Message { + getKey(): string; + setKey(value: string): QueryStateItem; + getData(): Uint8Array | string; + getData_asU8(): Uint8Array; + getData_asB64(): string; + setData(value: Uint8Array | string): QueryStateItem; + getEtag(): string; + setEtag(value: string): QueryStateItem; + getError(): string; + setError(value: string): QueryStateItem; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): QueryStateItem.AsObject; + static toObject(includeInstance: boolean, msg: QueryStateItem): QueryStateItem.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: QueryStateItem, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): QueryStateItem; + static deserializeBinaryFromReader(message: QueryStateItem, reader: jspb.BinaryReader): QueryStateItem; +} + +export namespace QueryStateItem { + export type AsObject = { + key: string, + data: Uint8Array | string, + etag: string, + error: string, + } +} + +export class QueryStateResponse extends jspb.Message { + clearResultsList(): void; + getResultsList(): Array; + setResultsList(value: Array): QueryStateResponse; + addResults(value?: QueryStateItem, index?: number): QueryStateItem; + getToken(): string; + setToken(value: string): QueryStateResponse; + + getMetadataMap(): jspb.Map; + clearMetadataMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): QueryStateResponse.AsObject; + static toObject(includeInstance: boolean, msg: QueryStateResponse): QueryStateResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: QueryStateResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): QueryStateResponse; + static deserializeBinaryFromReader(message: QueryStateResponse, reader: jspb.BinaryReader): QueryStateResponse; +} + +export namespace QueryStateResponse { + export type AsObject = { + resultsList: Array, + token: string, + + metadataMap: Array<[string, string]>, + } +} + export class PublishEventRequest extends jspb.Message { getPubsubName(): string; setPubsubName(value: string): PublishEventRequest; @@ -632,6 +721,8 @@ export class RegisterActorReminderRequest extends jspb.Message { getData_asU8(): Uint8Array; getData_asB64(): string; setData(value: Uint8Array | string): RegisterActorReminderRequest; + getTtl(): string; + setTtl(value: string): RegisterActorReminderRequest; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): RegisterActorReminderRequest.AsObject; @@ -651,6 +742,7 @@ export namespace RegisterActorReminderRequest { dueTime: string, period: string, data: Uint8Array | string, + ttl: string, } } @@ -944,3 +1036,107 @@ export namespace SetMetadataRequest { value: string, } } + +export class GetConfigurationRequest extends jspb.Message { + getStoreName(): string; + setStoreName(value: string): GetConfigurationRequest; + clearKeysList(): void; + getKeysList(): Array; + setKeysList(value: Array): GetConfigurationRequest; + addKeys(value: string, index?: number): string; + + getMetadataMap(): jspb.Map; + clearMetadataMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetConfigurationRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetConfigurationRequest): GetConfigurationRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetConfigurationRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetConfigurationRequest; + static deserializeBinaryFromReader(message: GetConfigurationRequest, reader: jspb.BinaryReader): GetConfigurationRequest; +} + +export namespace GetConfigurationRequest { + export type AsObject = { + storeName: string, + keysList: Array, + + metadataMap: Array<[string, string]>, + } +} + +export class GetConfigurationResponse extends jspb.Message { + clearItemsList(): void; + getItemsList(): Array; + setItemsList(value: Array): GetConfigurationResponse; + addItems(value?: dapr_proto_common_v1_common_pb.ConfigurationItem, index?: number): dapr_proto_common_v1_common_pb.ConfigurationItem; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetConfigurationResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetConfigurationResponse): GetConfigurationResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetConfigurationResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetConfigurationResponse; + static deserializeBinaryFromReader(message: GetConfigurationResponse, reader: jspb.BinaryReader): GetConfigurationResponse; +} + +export namespace GetConfigurationResponse { + export type AsObject = { + itemsList: Array, + } +} + +export class SubscribeConfigurationRequest extends jspb.Message { + getStoreName(): string; + setStoreName(value: string): SubscribeConfigurationRequest; + clearKeysList(): void; + getKeysList(): Array; + setKeysList(value: Array): SubscribeConfigurationRequest; + addKeys(value: string, index?: number): string; + + getMetadataMap(): jspb.Map; + clearMetadataMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SubscribeConfigurationRequest.AsObject; + static toObject(includeInstance: boolean, msg: SubscribeConfigurationRequest): SubscribeConfigurationRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SubscribeConfigurationRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SubscribeConfigurationRequest; + static deserializeBinaryFromReader(message: SubscribeConfigurationRequest, reader: jspb.BinaryReader): SubscribeConfigurationRequest; +} + +export namespace SubscribeConfigurationRequest { + export type AsObject = { + storeName: string, + keysList: Array, + + metadataMap: Array<[string, string]>, + } +} + +export class SubscribeConfigurationResponse extends jspb.Message { + clearItemsList(): void; + getItemsList(): Array; + setItemsList(value: Array): SubscribeConfigurationResponse; + addItems(value?: dapr_proto_common_v1_common_pb.ConfigurationItem, index?: number): dapr_proto_common_v1_common_pb.ConfigurationItem; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SubscribeConfigurationResponse.AsObject; + static toObject(includeInstance: boolean, msg: SubscribeConfigurationResponse): SubscribeConfigurationResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SubscribeConfigurationResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SubscribeConfigurationResponse; + static deserializeBinaryFromReader(message: SubscribeConfigurationResponse, reader: jspb.BinaryReader): SubscribeConfigurationResponse; +} + +export namespace SubscribeConfigurationResponse { + export type AsObject = { + itemsList: Array, + } +} diff --git a/src/proto/dapr/proto/runtime/v1/dapr_pb.js b/src/proto/dapr/proto/runtime/v1/dapr_pb.js index df79e55e..c67f5a8d 100644 --- a/src/proto/dapr/proto/runtime/v1/dapr_pb.js +++ b/src/proto/dapr/proto/runtime/v1/dapr_pb.js @@ -2,7 +2,6 @@ /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public @@ -33,6 +32,8 @@ goog.exportSymbol('proto.dapr.proto.runtime.v1.GetBulkSecretRequest', null, glob goog.exportSymbol('proto.dapr.proto.runtime.v1.GetBulkSecretResponse', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.GetBulkStateRequest', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.GetBulkStateResponse', null, global); +goog.exportSymbol('proto.dapr.proto.runtime.v1.GetConfigurationRequest', null, global); +goog.exportSymbol('proto.dapr.proto.runtime.v1.GetConfigurationResponse', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.GetMetadataResponse', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.GetSecretRequest', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.GetSecretResponse', null, global); @@ -44,12 +45,17 @@ goog.exportSymbol('proto.dapr.proto.runtime.v1.InvokeBindingRequest', null, glob goog.exportSymbol('proto.dapr.proto.runtime.v1.InvokeBindingResponse', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.InvokeServiceRequest', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.PublishEventRequest', null, global); +goog.exportSymbol('proto.dapr.proto.runtime.v1.QueryStateItem', null, global); +goog.exportSymbol('proto.dapr.proto.runtime.v1.QueryStateRequest', null, global); +goog.exportSymbol('proto.dapr.proto.runtime.v1.QueryStateResponse', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.RegisterActorReminderRequest', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.RegisterActorTimerRequest', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.RegisteredComponents', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.SaveStateRequest', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.SecretResponse', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.SetMetadataRequest', null, global); +goog.exportSymbol('proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest', null, global); +goog.exportSymbol('proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.TransactionalActorStateOperation', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.TransactionalStateOperation', null, global); goog.exportSymbol('proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest', null, global); @@ -243,6 +249,69 @@ if (goog.DEBUG && !COMPILED) { */ proto.dapr.proto.runtime.v1.SaveStateRequest.displayName = 'proto.dapr.proto.runtime.v1.SaveStateRequest'; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.dapr.proto.runtime.v1.QueryStateRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.dapr.proto.runtime.v1.QueryStateRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.dapr.proto.runtime.v1.QueryStateRequest.displayName = 'proto.dapr.proto.runtime.v1.QueryStateRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.dapr.proto.runtime.v1.QueryStateItem = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.dapr.proto.runtime.v1.QueryStateItem, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.dapr.proto.runtime.v1.QueryStateItem.displayName = 'proto.dapr.proto.runtime.v1.QueryStateItem'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.dapr.proto.runtime.v1.QueryStateResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.dapr.proto.runtime.v1.QueryStateResponse.repeatedFields_, null); +}; +goog.inherits(proto.dapr.proto.runtime.v1.QueryStateResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.dapr.proto.runtime.v1.QueryStateResponse.displayName = 'proto.dapr.proto.runtime.v1.QueryStateResponse'; +} /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a @@ -747,6 +816,90 @@ if (goog.DEBUG && !COMPILED) { */ proto.dapr.proto.runtime.v1.SetMetadataRequest.displayName = 'proto.dapr.proto.runtime.v1.SetMetadataRequest'; } +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.dapr.proto.runtime.v1.GetConfigurationRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.dapr.proto.runtime.v1.GetConfigurationRequest.repeatedFields_, null); +}; +goog.inherits(proto.dapr.proto.runtime.v1.GetConfigurationRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.dapr.proto.runtime.v1.GetConfigurationRequest.displayName = 'proto.dapr.proto.runtime.v1.GetConfigurationRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.dapr.proto.runtime.v1.GetConfigurationResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.dapr.proto.runtime.v1.GetConfigurationResponse.repeatedFields_, null); +}; +goog.inherits(proto.dapr.proto.runtime.v1.GetConfigurationResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.dapr.proto.runtime.v1.GetConfigurationResponse.displayName = 'proto.dapr.proto.runtime.v1.GetConfigurationResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.repeatedFields_, null); +}; +goog.inherits(proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.displayName = 'proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.repeatedFields_, null); +}; +goog.inherits(proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.displayName = 'proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse'; +} @@ -2745,8 +2898,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.PublishEventRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.QueryStateRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.QueryStateRequest.toObject(opt_includeInstance, this); }; @@ -2755,16 +2908,14 @@ proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.PublishEventRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.QueryStateRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.PublishEventRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.QueryStateRequest.toObject = function(includeInstance, msg) { var f, obj = { - pubsubName: jspb.Message.getFieldWithDefault(msg, 1, ""), - topic: jspb.Message.getFieldWithDefault(msg, 2, ""), - data: msg.getData_asB64(), - dataContentType: jspb.Message.getFieldWithDefault(msg, 4, ""), + storeName: jspb.Message.getFieldWithDefault(msg, 1, ""), + query: jspb.Message.getFieldWithDefault(msg, 2, ""), metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] }; @@ -2779,23 +2930,23 @@ proto.dapr.proto.runtime.v1.PublishEventRequest.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} + * @return {!proto.dapr.proto.runtime.v1.QueryStateRequest} */ -proto.dapr.proto.runtime.v1.PublishEventRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.QueryStateRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.PublishEventRequest; - return proto.dapr.proto.runtime.v1.PublishEventRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.QueryStateRequest; + return proto.dapr.proto.runtime.v1.QueryStateRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.PublishEventRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.QueryStateRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} + * @return {!proto.dapr.proto.runtime.v1.QueryStateRequest} */ -proto.dapr.proto.runtime.v1.PublishEventRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.QueryStateRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -2804,21 +2955,13 @@ proto.dapr.proto.runtime.v1.PublishEventRequest.deserializeBinaryFromReader = fu switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setPubsubName(value); + msg.setStoreName(value); break; case 2: var value = /** @type {string} */ (reader.readString()); - msg.setTopic(value); + msg.setQuery(value); break; case 3: - var value = /** @type {!Uint8Array} */ (reader.readBytes()); - msg.setData(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setDataContentType(value); - break; - case 5: var value = msg.getMetadataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); @@ -2837,9 +2980,9 @@ proto.dapr.proto.runtime.v1.PublishEventRequest.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.QueryStateRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.PublishEventRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.QueryStateRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -2847,161 +2990,87 @@ proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.PublishEventRequest} message + * @param {!proto.dapr.proto.runtime.v1.QueryStateRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.PublishEventRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.QueryStateRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getPubsubName(); + f = message.getStoreName(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getTopic(); + f = message.getQuery(); if (f.length > 0) { writer.writeString( 2, f ); } - f = message.getData_asU8(); - if (f.length > 0) { - writer.writeBytes( - 3, - f - ); - } - f = message.getDataContentType(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } f = message.getMetadataMap(true); if (f && f.getLength() > 0) { - f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); } }; /** - * optional string pubsub_name = 1; + * optional string store_name = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getPubsubName = function() { +proto.dapr.proto.runtime.v1.QueryStateRequest.prototype.getStoreName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.QueryStateRequest} returns this */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.setPubsubName = function(value) { +proto.dapr.proto.runtime.v1.QueryStateRequest.prototype.setStoreName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional string topic = 2; + * optional string query = 2; * @return {string} */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getTopic = function() { +proto.dapr.proto.runtime.v1.QueryStateRequest.prototype.getQuery = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.QueryStateRequest} returns this */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.setTopic = function(value) { +proto.dapr.proto.runtime.v1.QueryStateRequest.prototype.setQuery = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional bytes data = 3; - * @return {!(string|Uint8Array)} - */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getData = function() { - return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); -}; - - -/** - * optional bytes data = 3; - * This is a type-conversion wrapper around `getData()` - * @return {string} - */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getData_asB64 = function() { - return /** @type {string} */ (jspb.Message.bytesAsB64( - this.getData())); -}; - - -/** - * optional bytes data = 3; - * Note that Uint8Array is not supported on all browsers. - * @see http://caniuse.com/Uint8Array - * This is a type-conversion wrapper around `getData()` - * @return {!Uint8Array} - */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getData_asU8 = function() { - return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( - this.getData())); -}; - - -/** - * @param {!(string|Uint8Array)} value - * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} returns this - */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.setData = function(value) { - return jspb.Message.setProto3BytesField(this, 3, value); -}; - - -/** - * optional string data_content_type = 4; - * @return {string} - */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getDataContentType = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - - -/** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} returns this - */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.setDataContentType = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - - -/** - * map metadata = 5; + * map metadata = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { +proto.dapr.proto.runtime.v1.QueryStateRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( - jspb.Message.getMapField(this, 5, opt_noLazyCreate, + jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. - * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.QueryStateRequest} returns this */ -proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.clearMetadataMap = function() { +proto.dapr.proto.runtime.v1.QueryStateRequest.prototype.clearMetadataMap = function() { this.getMetadataMap().clear(); return this;}; @@ -3022,8 +3091,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.InvokeBindingRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.QueryStateItem.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.QueryStateItem.toObject(opt_includeInstance, this); }; @@ -3032,16 +3101,16 @@ proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.QueryStateItem} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.QueryStateItem.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), + key: jspb.Message.getFieldWithDefault(msg, 1, ""), data: msg.getData_asB64(), - metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [], - operation: jspb.Message.getFieldWithDefault(msg, 4, "") + etag: jspb.Message.getFieldWithDefault(msg, 3, ""), + error: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -3055,23 +3124,23 @@ proto.dapr.proto.runtime.v1.InvokeBindingRequest.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} + * @return {!proto.dapr.proto.runtime.v1.QueryStateItem} */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.QueryStateItem.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.InvokeBindingRequest; - return proto.dapr.proto.runtime.v1.InvokeBindingRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.QueryStateItem; + return proto.dapr.proto.runtime.v1.QueryStateItem.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.QueryStateItem} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} + * @return {!proto.dapr.proto.runtime.v1.QueryStateItem} */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.QueryStateItem.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3080,21 +3149,19 @@ proto.dapr.proto.runtime.v1.InvokeBindingRequest.deserializeBinaryFromReader = f switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setName(value); + msg.setKey(value); break; case 2: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setData(value); break; case 3: - var value = msg.getMetadataMap(); - reader.readMessage(value, function(message, reader) { - jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); - }); + var value = /** @type {string} */ (reader.readString()); + msg.setEtag(value); break; case 4: var value = /** @type {string} */ (reader.readString()); - msg.setOperation(value); + msg.setError(value); break; default: reader.skipField(); @@ -3109,9 +3176,9 @@ proto.dapr.proto.runtime.v1.InvokeBindingRequest.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.QueryStateItem.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.InvokeBindingRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.QueryStateItem.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3119,13 +3186,13 @@ proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} message + * @param {!proto.dapr.proto.runtime.v1.QueryStateItem} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.QueryStateItem.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getName(); + f = message.getKey(); if (f.length > 0) { writer.writeString( 1, @@ -3139,11 +3206,14 @@ proto.dapr.proto.runtime.v1.InvokeBindingRequest.serializeBinaryToWriter = funct f ); } - f = message.getMetadataMap(true); - if (f && f.getLength() > 0) { - f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + f = message.getEtag(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); } - f = message.getOperation(); + f = message.getError(); if (f.length > 0) { writer.writeString( 4, @@ -3154,19 +3224,19 @@ proto.dapr.proto.runtime.v1.InvokeBindingRequest.serializeBinaryToWriter = funct /** - * optional string name = 1; + * optional string key = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getName = function() { +proto.dapr.proto.runtime.v1.QueryStateItem.prototype.getKey = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.QueryStateItem} returns this */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.setName = function(value) { +proto.dapr.proto.runtime.v1.QueryStateItem.prototype.setKey = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -3175,7 +3245,7 @@ proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.setName = function(va * optional bytes data = 2; * @return {!(string|Uint8Array)} */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getData = function() { +proto.dapr.proto.runtime.v1.QueryStateItem.prototype.getData = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; @@ -3185,7 +3255,7 @@ proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getData = function() * This is a type-conversion wrapper around `getData()` * @return {string} */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getData_asB64 = function() { +proto.dapr.proto.runtime.v1.QueryStateItem.prototype.getData_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getData())); }; @@ -3198,7 +3268,7 @@ proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getData_asB64 = funct * This is a type-conversion wrapper around `getData()` * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getData_asU8 = function() { +proto.dapr.proto.runtime.v1.QueryStateItem.prototype.getData_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getData())); }; @@ -3206,54 +3276,57 @@ proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getData_asU8 = functi /** * @param {!(string|Uint8Array)} value - * @return {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.QueryStateItem} returns this */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.setData = function(value) { +proto.dapr.proto.runtime.v1.QueryStateItem.prototype.setData = function(value) { return jspb.Message.setProto3BytesField(this, 2, value); }; /** - * map metadata = 3; - * @param {boolean=} opt_noLazyCreate Do not create the map if - * empty, instead returning `undefined` - * @return {!jspb.Map} + * optional string etag = 3; + * @return {string} */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { - return /** @type {!jspb.Map} */ ( - jspb.Message.getMapField(this, 3, opt_noLazyCreate, - null)); +proto.dapr.proto.runtime.v1.QueryStateItem.prototype.getEtag = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** - * Clears values from the map. The map will be non-null. - * @return {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} returns this + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.QueryStateItem} returns this */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.clearMetadataMap = function() { - this.getMetadataMap().clear(); - return this;}; +proto.dapr.proto.runtime.v1.QueryStateItem.prototype.setEtag = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; /** - * optional string operation = 4; + * optional string error = 4; * @return {string} */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getOperation = function() { +proto.dapr.proto.runtime.v1.QueryStateItem.prototype.getError = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.QueryStateItem} returns this */ -proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.setOperation = function(value) { +proto.dapr.proto.runtime.v1.QueryStateItem.prototype.setError = function(value) { return jspb.Message.setProto3StringField(this, 4, value); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.dapr.proto.runtime.v1.QueryStateResponse.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -3269,8 +3342,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.InvokeBindingResponse.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.QueryStateResponse.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.QueryStateResponse.toObject(opt_includeInstance, this); }; @@ -3279,13 +3352,15 @@ proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.QueryStateResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.InvokeBindingResponse.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.QueryStateResponse.toObject = function(includeInstance, msg) { var f, obj = { - data: msg.getData_asB64(), + resultsList: jspb.Message.toObjectList(msg.getResultsList(), + proto.dapr.proto.runtime.v1.QueryStateItem.toObject, includeInstance), + token: jspb.Message.getFieldWithDefault(msg, 2, ""), metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] }; @@ -3300,23 +3375,23 @@ proto.dapr.proto.runtime.v1.InvokeBindingResponse.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} + * @return {!proto.dapr.proto.runtime.v1.QueryStateResponse} */ -proto.dapr.proto.runtime.v1.InvokeBindingResponse.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.QueryStateResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.InvokeBindingResponse; - return proto.dapr.proto.runtime.v1.InvokeBindingResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.QueryStateResponse; + return proto.dapr.proto.runtime.v1.QueryStateResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.QueryStateResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} + * @return {!proto.dapr.proto.runtime.v1.QueryStateResponse} */ -proto.dapr.proto.runtime.v1.InvokeBindingResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.QueryStateResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3324,10 +3399,15 @@ proto.dapr.proto.runtime.v1.InvokeBindingResponse.deserializeBinaryFromReader = var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {!Uint8Array} */ (reader.readBytes()); - msg.setData(value); + var value = new proto.dapr.proto.runtime.v1.QueryStateItem; + reader.readMessage(value,proto.dapr.proto.runtime.v1.QueryStateItem.deserializeBinaryFromReader); + msg.addResults(value); break; case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setToken(value); + break; + case 3: var value = msg.getMetadataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); @@ -3346,9 +3426,9 @@ proto.dapr.proto.runtime.v1.InvokeBindingResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.QueryStateResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.InvokeBindingResponse.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.QueryStateResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3356,86 +3436,108 @@ proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} message + * @param {!proto.dapr.proto.runtime.v1.QueryStateResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.InvokeBindingResponse.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.QueryStateResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getData_asU8(); + f = message.getResultsList(); if (f.length > 0) { - writer.writeBytes( + writer.writeRepeatedMessage( 1, + f, + proto.dapr.proto.runtime.v1.QueryStateItem.serializeBinaryToWriter + ); + } + f = message.getToken(); + if (f.length > 0) { + writer.writeString( + 2, f ); } f = message.getMetadataMap(true); if (f && f.getLength() > 0) { - f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); } }; /** - * optional bytes data = 1; - * @return {!(string|Uint8Array)} + * repeated QueryStateItem results = 1; + * @return {!Array} */ -proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.getData = function() { - return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.dapr.proto.runtime.v1.QueryStateResponse.prototype.getResultsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.dapr.proto.runtime.v1.QueryStateItem, 1)); }; /** - * optional bytes data = 1; - * This is a type-conversion wrapper around `getData()` - * @return {string} + * @param {!Array} value + * @return {!proto.dapr.proto.runtime.v1.QueryStateResponse} returns this +*/ +proto.dapr.proto.runtime.v1.QueryStateResponse.prototype.setResultsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.dapr.proto.runtime.v1.QueryStateItem=} opt_value + * @param {number=} opt_index + * @return {!proto.dapr.proto.runtime.v1.QueryStateItem} */ -proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.getData_asB64 = function() { - return /** @type {string} */ (jspb.Message.bytesAsB64( - this.getData())); +proto.dapr.proto.runtime.v1.QueryStateResponse.prototype.addResults = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.dapr.proto.runtime.v1.QueryStateItem, opt_index); }; /** - * optional bytes data = 1; - * Note that Uint8Array is not supported on all browsers. - * @see http://caniuse.com/Uint8Array - * This is a type-conversion wrapper around `getData()` - * @return {!Uint8Array} + * Clears the list making it empty but non-null. + * @return {!proto.dapr.proto.runtime.v1.QueryStateResponse} returns this */ -proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.getData_asU8 = function() { - return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( - this.getData())); +proto.dapr.proto.runtime.v1.QueryStateResponse.prototype.clearResultsList = function() { + return this.setResultsList([]); }; /** - * @param {!(string|Uint8Array)} value - * @return {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} returns this + * optional string token = 2; + * @return {string} */ -proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.setData = function(value) { - return jspb.Message.setProto3BytesField(this, 1, value); +proto.dapr.proto.runtime.v1.QueryStateResponse.prototype.getToken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * map metadata = 2; + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.QueryStateResponse} returns this + */ +proto.dapr.proto.runtime.v1.QueryStateResponse.prototype.setToken = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * map metadata = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.getMetadataMap = function(opt_noLazyCreate) { +proto.dapr.proto.runtime.v1.QueryStateResponse.prototype.getMetadataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( - jspb.Message.getMapField(this, 2, opt_noLazyCreate, + jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. - * @return {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} returns this + * @return {!proto.dapr.proto.runtime.v1.QueryStateResponse} returns this */ -proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.clearMetadataMap = function() { +proto.dapr.proto.runtime.v1.QueryStateResponse.prototype.clearMetadataMap = function() { this.getMetadataMap().clear(); return this;}; @@ -3456,8 +3558,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.GetSecretRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.PublishEventRequest.toObject(opt_includeInstance, this); }; @@ -3466,14 +3568,16 @@ proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.toObject = function(opt_i * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.GetSecretRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.PublishEventRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.GetSecretRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.PublishEventRequest.toObject = function(includeInstance, msg) { var f, obj = { - storeName: jspb.Message.getFieldWithDefault(msg, 1, ""), - key: jspb.Message.getFieldWithDefault(msg, 2, ""), + pubsubName: jspb.Message.getFieldWithDefault(msg, 1, ""), + topic: jspb.Message.getFieldWithDefault(msg, 2, ""), + data: msg.getData_asB64(), + dataContentType: jspb.Message.getFieldWithDefault(msg, 4, ""), metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] }; @@ -3488,23 +3592,23 @@ proto.dapr.proto.runtime.v1.GetSecretRequest.toObject = function(includeInstance /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.GetSecretRequest} + * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} */ -proto.dapr.proto.runtime.v1.GetSecretRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.PublishEventRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.GetSecretRequest; - return proto.dapr.proto.runtime.v1.GetSecretRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.PublishEventRequest; + return proto.dapr.proto.runtime.v1.PublishEventRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.GetSecretRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.PublishEventRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.GetSecretRequest} + * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} */ -proto.dapr.proto.runtime.v1.GetSecretRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.PublishEventRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3513,13 +3617,21 @@ proto.dapr.proto.runtime.v1.GetSecretRequest.deserializeBinaryFromReader = funct switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setStoreName(value); + msg.setPubsubName(value); break; case 2: var value = /** @type {string} */ (reader.readString()); - msg.setKey(value); + msg.setTopic(value); break; case 3: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setDataContentType(value); + break; + case 5: var value = msg.getMetadataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); @@ -3538,9 +3650,9 @@ proto.dapr.proto.runtime.v1.GetSecretRequest.deserializeBinaryFromReader = funct * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.GetSecretRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.PublishEventRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3548,221 +3660,162 @@ proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.serializeBinary = functio /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.GetSecretRequest} message + * @param {!proto.dapr.proto.runtime.v1.PublishEventRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.GetSecretRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.PublishEventRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getStoreName(); + f = message.getPubsubName(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getKey(); + f = message.getTopic(); if (f.length > 0) { writer.writeString( 2, f ); } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 3, + f + ); + } + f = message.getDataContentType(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } f = message.getMetadataMap(true); if (f && f.getLength() > 0) { - f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); } }; /** - * optional string store_name = 1; + * optional string pubsub_name = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.getStoreName = function() { +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getPubsubName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.GetSecretRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} returns this */ -proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.setStoreName = function(value) { +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.setPubsubName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional string key = 2; + * optional string topic = 2; * @return {string} */ -proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.getKey = function() { +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getTopic = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.GetSecretRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} returns this */ -proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.setKey = function(value) { +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.setTopic = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** - * map metadata = 3; - * @param {boolean=} opt_noLazyCreate Do not create the map if - * empty, instead returning `undefined` - * @return {!jspb.Map} + * optional bytes data = 3; + * @return {!(string|Uint8Array)} */ -proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { - return /** @type {!jspb.Map} */ ( - jspb.Message.getMapField(this, 3, opt_noLazyCreate, - null)); +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** - * Clears values from the map. The map will be non-null. - * @return {!proto.dapr.proto.runtime.v1.GetSecretRequest} returns this + * optional bytes data = 3; + * This is a type-conversion wrapper around `getData()` + * @return {string} */ -proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.clearMetadataMap = function() { - this.getMetadataMap().clear(); - return this;}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.dapr.proto.runtime.v1.GetSecretResponse.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.GetSecretResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.GetSecretResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.dapr.proto.runtime.v1.GetSecretResponse.toObject = function(includeInstance, msg) { - var f, obj = { - dataMap: (f = msg.getDataMap()) ? f.toObject(includeInstance, undefined) : [] - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); }; -} /** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.GetSecretResponse} + * optional bytes data = 3; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.GetSecretResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.GetSecretResponse; - return proto.dapr.proto.runtime.v1.GetSecretResponse.deserializeBinaryFromReader(msg, reader); +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); }; /** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.GetSecretResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.GetSecretResponse} + * @param {!(string|Uint8Array)} value + * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} returns this */ -proto.dapr.proto.runtime.v1.GetSecretResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = msg.getDataMap(); - reader.readMessage(value, function(message, reader) { - jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); - }); - break; - default: - reader.skipField(); - break; - } - } - return msg; +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 3, value); }; /** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} + * optional string data_content_type = 4; + * @return {string} */ -proto.dapr.proto.runtime.v1.GetSecretResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.GetSecretResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getDataContentType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.GetSecretResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} returns this */ -proto.dapr.proto.runtime.v1.GetSecretResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getDataMap(true); - if (f && f.getLength() > 0) { - f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); - } +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.setDataContentType = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); }; /** - * map data = 1; + * map metadata = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.dapr.proto.runtime.v1.GetSecretResponse.prototype.getDataMap = function(opt_noLazyCreate) { +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( - jspb.Message.getMapField(this, 1, opt_noLazyCreate, + jspb.Message.getMapField(this, 5, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. - * @return {!proto.dapr.proto.runtime.v1.GetSecretResponse} returns this + * @return {!proto.dapr.proto.runtime.v1.PublishEventRequest} returns this */ -proto.dapr.proto.runtime.v1.GetSecretResponse.prototype.clearDataMap = function() { - this.getDataMap().clear(); +proto.dapr.proto.runtime.v1.PublishEventRequest.prototype.clearMetadataMap = function() { + this.getMetadataMap().clear(); return this;}; @@ -3782,8 +3835,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.GetBulkSecretRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.InvokeBindingRequest.toObject(opt_includeInstance, this); }; @@ -3792,14 +3845,16 @@ proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.GetBulkSecretRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.InvokeBindingRequest.toObject = function(includeInstance, msg) { var f, obj = { - storeName: jspb.Message.getFieldWithDefault(msg, 1, ""), - metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + data: msg.getData_asB64(), + metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [], + operation: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -3813,23 +3868,23 @@ proto.dapr.proto.runtime.v1.GetBulkSecretRequest.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} + * @return {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} */ -proto.dapr.proto.runtime.v1.GetBulkSecretRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.InvokeBindingRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.GetBulkSecretRequest; - return proto.dapr.proto.runtime.v1.GetBulkSecretRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.InvokeBindingRequest; + return proto.dapr.proto.runtime.v1.InvokeBindingRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} + * @return {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} */ -proto.dapr.proto.runtime.v1.GetBulkSecretRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.InvokeBindingRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3838,14 +3893,22 @@ proto.dapr.proto.runtime.v1.GetBulkSecretRequest.deserializeBinaryFromReader = f switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setStoreName(value); + msg.setName(value); break; case 2: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 3: var value = msg.getMetadataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); }); break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setOperation(value); + break; default: reader.skipField(); break; @@ -3859,9 +3922,9 @@ proto.dapr.proto.runtime.v1.GetBulkSecretRequest.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.GetBulkSecretRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.InvokeBindingRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -3869,66 +3932,140 @@ proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} message + * @param {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.GetBulkSecretRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.InvokeBindingRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getStoreName(); + f = message.getName(); if (f.length > 0) { writer.writeString( 1, f ); } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 2, + f + ); + } f = message.getMetadataMap(true); if (f && f.getLength() > 0) { - f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getOperation(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); } }; /** - * optional string store_name = 1; + * optional string name = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.getStoreName = function() { +proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} returns this */ -proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.setStoreName = function(value) { +proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * map metadata = 2; + * optional bytes data = 2; + * @return {!(string|Uint8Array)} + */ +proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * optional bytes data = 2; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 2; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} returns this + */ +proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 2, value); +}; + + +/** + * map metadata = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { +proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( - jspb.Message.getMapField(this, 2, opt_noLazyCreate, + jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. - * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} returns this */ -proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.clearMetadataMap = function() { +proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.clearMetadataMap = function() { this.getMetadataMap().clear(); return this;}; +/** + * optional string operation = 4; + * @return {string} + */ +proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.getOperation = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.InvokeBindingRequest} returns this + */ +proto.dapr.proto.runtime.v1.InvokeBindingRequest.prototype.setOperation = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + @@ -3945,8 +4082,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.SecretResponse.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.SecretResponse.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.InvokeBindingResponse.toObject(opt_includeInstance, this); }; @@ -3955,13 +4092,14 @@ proto.dapr.proto.runtime.v1.SecretResponse.prototype.toObject = function(opt_inc * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.SecretResponse} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.SecretResponse.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.InvokeBindingResponse.toObject = function(includeInstance, msg) { var f, obj = { - secretsMap: (f = msg.getSecretsMap()) ? f.toObject(includeInstance, undefined) : [] + data: msg.getData_asB64(), + metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -3975,23 +4113,23 @@ proto.dapr.proto.runtime.v1.SecretResponse.toObject = function(includeInstance, /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.SecretResponse} + * @return {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} */ -proto.dapr.proto.runtime.v1.SecretResponse.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.InvokeBindingResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.SecretResponse; - return proto.dapr.proto.runtime.v1.SecretResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.InvokeBindingResponse; + return proto.dapr.proto.runtime.v1.InvokeBindingResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.SecretResponse} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.SecretResponse} + * @return {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} */ -proto.dapr.proto.runtime.v1.SecretResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.InvokeBindingResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -3999,7 +4137,11 @@ proto.dapr.proto.runtime.v1.SecretResponse.deserializeBinaryFromReader = functio var field = reader.getFieldNumber(); switch (field) { case 1: - var value = msg.getSecretsMap(); + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 2: + var value = msg.getMetadataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); }); @@ -4017,9 +4159,9 @@ proto.dapr.proto.runtime.v1.SecretResponse.deserializeBinaryFromReader = functio * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.SecretResponse.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.SecretResponse.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.InvokeBindingResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4027,38 +4169,87 @@ proto.dapr.proto.runtime.v1.SecretResponse.prototype.serializeBinary = function( /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.SecretResponse} message + * @param {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.SecretResponse.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.InvokeBindingResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getSecretsMap(true); + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 1, + f + ); + } + f = message.getMetadataMap(true); if (f && f.getLength() > 0) { - f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); } }; /** - * map secrets = 1; + * optional bytes data = 1; + * @return {!(string|Uint8Array)} + */ +proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes data = 1; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} returns this + */ +proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); +}; + + +/** + * map metadata = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.dapr.proto.runtime.v1.SecretResponse.prototype.getSecretsMap = function(opt_noLazyCreate) { +proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.getMetadataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( - jspb.Message.getMapField(this, 1, opt_noLazyCreate, + jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. - * @return {!proto.dapr.proto.runtime.v1.SecretResponse} returns this + * @return {!proto.dapr.proto.runtime.v1.InvokeBindingResponse} returns this */ -proto.dapr.proto.runtime.v1.SecretResponse.prototype.clearSecretsMap = function() { - this.getSecretsMap().clear(); +proto.dapr.proto.runtime.v1.InvokeBindingResponse.prototype.clearMetadataMap = function() { + this.getMetadataMap().clear(); return this;}; @@ -4078,8 +4269,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.GetBulkSecretResponse.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.GetBulkSecretResponse.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.GetSecretRequest.toObject(opt_includeInstance, this); }; @@ -4088,13 +4279,15 @@ proto.dapr.proto.runtime.v1.GetBulkSecretResponse.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.GetBulkSecretResponse} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.GetSecretRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.GetBulkSecretResponse.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.GetSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { - dataMap: (f = msg.getDataMap()) ? f.toObject(includeInstance, proto.dapr.proto.runtime.v1.SecretResponse.toObject) : [] + storeName: jspb.Message.getFieldWithDefault(msg, 1, ""), + key: jspb.Message.getFieldWithDefault(msg, 2, ""), + metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -4108,23 +4301,23 @@ proto.dapr.proto.runtime.v1.GetBulkSecretResponse.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretResponse} + * @return {!proto.dapr.proto.runtime.v1.GetSecretRequest} */ -proto.dapr.proto.runtime.v1.GetBulkSecretResponse.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.GetSecretRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.GetBulkSecretResponse; - return proto.dapr.proto.runtime.v1.GetBulkSecretResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.GetSecretRequest; + return proto.dapr.proto.runtime.v1.GetSecretRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.GetBulkSecretResponse} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.GetSecretRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretResponse} + * @return {!proto.dapr.proto.runtime.v1.GetSecretRequest} */ -proto.dapr.proto.runtime.v1.GetBulkSecretResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.GetSecretRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4132,9 +4325,17 @@ proto.dapr.proto.runtime.v1.GetBulkSecretResponse.deserializeBinaryFromReader = var field = reader.getFieldNumber(); switch (field) { case 1: - var value = msg.getDataMap(); + var value = /** @type {string} */ (reader.readString()); + msg.setStoreName(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setKey(value); + break; + case 3: + var value = msg.getMetadataMap(); reader.readMessage(value, function(message, reader) { - jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.dapr.proto.runtime.v1.SecretResponse.deserializeBinaryFromReader, "", new proto.dapr.proto.runtime.v1.SecretResponse()); + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); }); break; default: @@ -4150,9 +4351,9 @@ proto.dapr.proto.runtime.v1.GetBulkSecretResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.GetBulkSecretResponse.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.GetBulkSecretResponse.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.GetSecretRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4160,38 +4361,88 @@ proto.dapr.proto.runtime.v1.GetBulkSecretResponse.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.GetBulkSecretResponse} message + * @param {!proto.dapr.proto.runtime.v1.GetSecretRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.GetBulkSecretResponse.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.GetSecretRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getDataMap(true); + f = message.getStoreName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getKey(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getMetadataMap(true); if (f && f.getLength() > 0) { - f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.dapr.proto.runtime.v1.SecretResponse.serializeBinaryToWriter); + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); } }; /** - * map data = 1; + * optional string store_name = 1; + * @return {string} + */ +proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.getStoreName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.GetSecretRequest} returns this + */ +proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.setStoreName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string key = 2; + * @return {string} + */ +proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.getKey = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.GetSecretRequest} returns this + */ +proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.setKey = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * map metadata = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` - * @return {!jspb.Map} + * @return {!jspb.Map} */ -proto.dapr.proto.runtime.v1.GetBulkSecretResponse.prototype.getDataMap = function(opt_noLazyCreate) { - return /** @type {!jspb.Map} */ ( - jspb.Message.getMapField(this, 1, opt_noLazyCreate, - proto.dapr.proto.runtime.v1.SecretResponse)); +proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + null)); }; /** * Clears values from the map. The map will be non-null. - * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretResponse} returns this + * @return {!proto.dapr.proto.runtime.v1.GetSecretRequest} returns this */ -proto.dapr.proto.runtime.v1.GetBulkSecretResponse.prototype.clearDataMap = function() { - this.getDataMap().clear(); +proto.dapr.proto.runtime.v1.GetSecretRequest.prototype.clearMetadataMap = function() { + this.getMetadataMap().clear(); return this;}; @@ -4211,8 +4462,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.TransactionalStateOperation.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.GetSecretResponse.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.GetSecretResponse.toObject(opt_includeInstance, this); }; @@ -4221,14 +4472,13 @@ proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.GetSecretResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.TransactionalStateOperation.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.GetSecretResponse.toObject = function(includeInstance, msg) { var f, obj = { - operationtype: jspb.Message.getFieldWithDefault(msg, 1, ""), - request: (f = msg.getRequest()) && dapr_proto_common_v1_common_pb.StateItem.toObject(includeInstance, f) + dataMap: (f = msg.getDataMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -4242,23 +4492,23 @@ proto.dapr.proto.runtime.v1.TransactionalStateOperation.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} + * @return {!proto.dapr.proto.runtime.v1.GetSecretResponse} */ -proto.dapr.proto.runtime.v1.TransactionalStateOperation.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.GetSecretResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.TransactionalStateOperation; - return proto.dapr.proto.runtime.v1.TransactionalStateOperation.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.GetSecretResponse; + return proto.dapr.proto.runtime.v1.GetSecretResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.GetSecretResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} + * @return {!proto.dapr.proto.runtime.v1.GetSecretResponse} */ -proto.dapr.proto.runtime.v1.TransactionalStateOperation.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.GetSecretResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4266,13 +4516,10 @@ proto.dapr.proto.runtime.v1.TransactionalStateOperation.deserializeBinaryFromRea var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setOperationtype(value); - break; - case 2: - var value = new dapr_proto_common_v1_common_pb.StateItem; - reader.readMessage(value,dapr_proto_common_v1_common_pb.StateItem.deserializeBinaryFromReader); - msg.setRequest(value); + var value = msg.getDataMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); break; default: reader.skipField(); @@ -4287,9 +4534,9 @@ proto.dapr.proto.runtime.v1.TransactionalStateOperation.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.GetSecretResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.TransactionalStateOperation.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.GetSecretResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4297,92 +4544,41 @@ proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} message + * @param {!proto.dapr.proto.runtime.v1.GetSecretResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.TransactionalStateOperation.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.GetSecretResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getOperationtype(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getRequest(); - if (f != null) { - writer.writeMessage( - 2, - f, - dapr_proto_common_v1_common_pb.StateItem.serializeBinaryToWriter - ); + f = message.getDataMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); } }; /** - * optional string operationType = 1; - * @return {string} - */ -proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.getOperationtype = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} returns this - */ -proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.setOperationtype = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional dapr.proto.common.v1.StateItem request = 2; - * @return {?proto.dapr.proto.common.v1.StateItem} - */ -proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.getRequest = function() { - return /** @type{?proto.dapr.proto.common.v1.StateItem} */ ( - jspb.Message.getWrapperField(this, dapr_proto_common_v1_common_pb.StateItem, 2)); -}; - - -/** - * @param {?proto.dapr.proto.common.v1.StateItem|undefined} value - * @return {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} returns this -*/ -proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.setRequest = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} returns this + * map data = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} */ -proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.clearRequest = function() { - return this.setRequest(undefined); +proto.dapr.proto.runtime.v1.GetSecretResponse.prototype.getDataMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); }; /** - * Returns whether this field is set. - * @return {boolean} + * Clears values from the map. The map will be non-null. + * @return {!proto.dapr.proto.runtime.v1.GetSecretResponse} returns this */ -proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.hasRequest = function() { - return jspb.Message.getField(this, 2) != null; -}; - +proto.dapr.proto.runtime.v1.GetSecretResponse.prototype.clearDataMap = function() { + this.getDataMap().clear(); + return this;}; -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.repeatedFields_ = [2]; @@ -4399,8 +4595,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.GetBulkSecretRequest.toObject(opt_includeInstance, this); }; @@ -4409,15 +4605,13 @@ proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.GetBulkSecretRequest.toObject = function(includeInstance, msg) { var f, obj = { - storename: jspb.Message.getFieldWithDefault(msg, 1, ""), - operationsList: jspb.Message.toObjectList(msg.getOperationsList(), - proto.dapr.proto.runtime.v1.TransactionalStateOperation.toObject, includeInstance), + storeName: jspb.Message.getFieldWithDefault(msg, 1, ""), metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] }; @@ -4432,23 +4626,23 @@ proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} + * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.GetBulkSecretRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest; - return proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.GetBulkSecretRequest; + return proto.dapr.proto.runtime.v1.GetBulkSecretRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} + * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.GetBulkSecretRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4457,14 +4651,9 @@ proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.deserializeBinaryFrom switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setStorename(value); + msg.setStoreName(value); break; case 2: - var value = new proto.dapr.proto.runtime.v1.TransactionalStateOperation; - reader.readMessage(value,proto.dapr.proto.runtime.v1.TransactionalStateOperation.deserializeBinaryFromReader); - msg.addOperations(value); - break; - case 3: var value = msg.getMetadataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); @@ -4483,9 +4672,9 @@ proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.GetBulkSecretRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4493,108 +4682,62 @@ proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} message + * @param {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.GetBulkSecretRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getStorename(); + f = message.getStoreName(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getOperationsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 2, - f, - proto.dapr.proto.runtime.v1.TransactionalStateOperation.serializeBinaryToWriter - ); - } f = message.getMetadataMap(true); if (f && f.getLength() > 0) { - f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); } }; /** - * optional string storeName = 1; + * optional string store_name = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.getStorename = function() { +proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.getStoreName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} returns this */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.setStorename = function(value) { +proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.setStoreName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * repeated TransactionalStateOperation operations = 2; - * @return {!Array} - */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.getOperationsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.dapr.proto.runtime.v1.TransactionalStateOperation, 2)); -}; - - -/** - * @param {!Array} value - * @return {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} returns this -*/ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.setOperationsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - - -/** - * @param {!proto.dapr.proto.runtime.v1.TransactionalStateOperation=} opt_value - * @param {number=} opt_index - * @return {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} - */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.addOperations = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.dapr.proto.runtime.v1.TransactionalStateOperation, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} returns this - */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.clearOperationsList = function() { - return this.setOperationsList([]); -}; - - -/** - * map metadata = 3; + * map metadata = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { +proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( - jspb.Message.getMapField(this, 3, opt_noLazyCreate, + jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. - * @return {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretRequest} returns this */ -proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.clearMetadataMap = function() { +proto.dapr.proto.runtime.v1.GetBulkSecretRequest.prototype.clearMetadataMap = function() { this.getMetadataMap().clear(); return this;}; @@ -4615,8 +4758,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.SecretResponse.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.SecretResponse.toObject(opt_includeInstance, this); }; @@ -4625,20 +4768,13 @@ proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.toObject = funct * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.SecretResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.SecretResponse.toObject = function(includeInstance, msg) { var f, obj = { - actorType: jspb.Message.getFieldWithDefault(msg, 1, ""), - actorId: jspb.Message.getFieldWithDefault(msg, 2, ""), - name: jspb.Message.getFieldWithDefault(msg, 3, ""), - dueTime: jspb.Message.getFieldWithDefault(msg, 4, ""), - period: jspb.Message.getFieldWithDefault(msg, 5, ""), - callback: jspb.Message.getFieldWithDefault(msg, 6, ""), - data: msg.getData_asB64(), - ttl: jspb.Message.getFieldWithDefault(msg, 8, "") + secretsMap: (f = msg.getSecretsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -4652,23 +4788,23 @@ proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.toObject = function(includ /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} + * @return {!proto.dapr.proto.runtime.v1.SecretResponse} */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.SecretResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.RegisterActorTimerRequest; - return proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.SecretResponse; + return proto.dapr.proto.runtime.v1.SecretResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.SecretResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} + * @return {!proto.dapr.proto.runtime.v1.SecretResponse} */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.SecretResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -4676,36 +4812,1576 @@ proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.deserializeBinaryFromReade var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setActorType(value); + var value = msg.getSecretsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setActorId(value); + default: + reader.skipField(); break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.SecretResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.dapr.proto.runtime.v1.SecretResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.dapr.proto.runtime.v1.SecretResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.SecretResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSecretsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * map secrets = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.dapr.proto.runtime.v1.SecretResponse.prototype.getSecretsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.dapr.proto.runtime.v1.SecretResponse} returns this + */ +proto.dapr.proto.runtime.v1.SecretResponse.prototype.clearSecretsMap = function() { + this.getSecretsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.dapr.proto.runtime.v1.GetBulkSecretResponse.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.GetBulkSecretResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.dapr.proto.runtime.v1.GetBulkSecretResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.GetBulkSecretResponse.toObject = function(includeInstance, msg) { + var f, obj = { + dataMap: (f = msg.getDataMap()) ? f.toObject(includeInstance, proto.dapr.proto.runtime.v1.SecretResponse.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretResponse} + */ +proto.dapr.proto.runtime.v1.GetBulkSecretResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.dapr.proto.runtime.v1.GetBulkSecretResponse; + return proto.dapr.proto.runtime.v1.GetBulkSecretResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.dapr.proto.runtime.v1.GetBulkSecretResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretResponse} + */ +proto.dapr.proto.runtime.v1.GetBulkSecretResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setDueTime(value); + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = msg.getDataMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.dapr.proto.runtime.v1.SecretResponse.deserializeBinaryFromReader, "", new proto.dapr.proto.runtime.v1.SecretResponse()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.GetBulkSecretResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.dapr.proto.runtime.v1.GetBulkSecretResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.dapr.proto.runtime.v1.GetBulkSecretResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.GetBulkSecretResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDataMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.dapr.proto.runtime.v1.SecretResponse.serializeBinaryToWriter); + } +}; + + +/** + * map data = 1; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.dapr.proto.runtime.v1.GetBulkSecretResponse.prototype.getDataMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 1, opt_noLazyCreate, + proto.dapr.proto.runtime.v1.SecretResponse)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.dapr.proto.runtime.v1.GetBulkSecretResponse} returns this + */ +proto.dapr.proto.runtime.v1.GetBulkSecretResponse.prototype.clearDataMap = function() { + this.getDataMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.TransactionalStateOperation.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.TransactionalStateOperation.toObject = function(includeInstance, msg) { + var f, obj = { + operationtype: jspb.Message.getFieldWithDefault(msg, 1, ""), + request: (f = msg.getRequest()) && dapr_proto_common_v1_common_pb.StateItem.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} + */ +proto.dapr.proto.runtime.v1.TransactionalStateOperation.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.dapr.proto.runtime.v1.TransactionalStateOperation; + return proto.dapr.proto.runtime.v1.TransactionalStateOperation.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} + */ +proto.dapr.proto.runtime.v1.TransactionalStateOperation.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setOperationtype(value); + break; + case 2: + var value = new dapr_proto_common_v1_common_pb.StateItem; + reader.readMessage(value,dapr_proto_common_v1_common_pb.StateItem.deserializeBinaryFromReader); + msg.setRequest(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.dapr.proto.runtime.v1.TransactionalStateOperation.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.TransactionalStateOperation.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOperationtype(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getRequest(); + if (f != null) { + writer.writeMessage( + 2, + f, + dapr_proto_common_v1_common_pb.StateItem.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string operationType = 1; + * @return {string} + */ +proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.getOperationtype = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} returns this + */ +proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.setOperationtype = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional dapr.proto.common.v1.StateItem request = 2; + * @return {?proto.dapr.proto.common.v1.StateItem} + */ +proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.getRequest = function() { + return /** @type{?proto.dapr.proto.common.v1.StateItem} */ ( + jspb.Message.getWrapperField(this, dapr_proto_common_v1_common_pb.StateItem, 2)); +}; + + +/** + * @param {?proto.dapr.proto.common.v1.StateItem|undefined} value + * @return {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} returns this +*/ +proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.setRequest = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} returns this + */ +proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.clearRequest = function() { + return this.setRequest(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.dapr.proto.runtime.v1.TransactionalStateOperation.prototype.hasRequest = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.toObject = function(includeInstance, msg) { + var f, obj = { + storename: jspb.Message.getFieldWithDefault(msg, 1, ""), + operationsList: jspb.Message.toObjectList(msg.getOperationsList(), + proto.dapr.proto.runtime.v1.TransactionalStateOperation.toObject, includeInstance), + metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest; + return proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setStorename(value); + break; + case 2: + var value = new proto.dapr.proto.runtime.v1.TransactionalStateOperation; + reader.readMessage(value,proto.dapr.proto.runtime.v1.TransactionalStateOperation.deserializeBinaryFromReader); + msg.addOperations(value); + break; + case 3: + var value = msg.getMetadataMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getStorename(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getOperationsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.dapr.proto.runtime.v1.TransactionalStateOperation.serializeBinaryToWriter + ); + } + f = message.getMetadataMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * optional string storeName = 1; + * @return {string} + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.getStorename = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} returns this + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.setStorename = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * repeated TransactionalStateOperation operations = 2; + * @return {!Array} + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.getOperationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.dapr.proto.runtime.v1.TransactionalStateOperation, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} returns this +*/ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.setOperationsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.dapr.proto.runtime.v1.TransactionalStateOperation=} opt_value + * @param {number=} opt_index + * @return {!proto.dapr.proto.runtime.v1.TransactionalStateOperation} + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.addOperations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.dapr.proto.runtime.v1.TransactionalStateOperation, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} returns this + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.clearOperationsList = function() { + return this.setOperationsList([]); +}; + + +/** + * map metadata = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest} returns this + */ +proto.dapr.proto.runtime.v1.ExecuteStateTransactionRequest.prototype.clearMetadataMap = function() { + this.getMetadataMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.toObject = function(includeInstance, msg) { + var f, obj = { + actorType: jspb.Message.getFieldWithDefault(msg, 1, ""), + actorId: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + dueTime: jspb.Message.getFieldWithDefault(msg, 4, ""), + period: jspb.Message.getFieldWithDefault(msg, 5, ""), + callback: jspb.Message.getFieldWithDefault(msg, 6, ""), + data: msg.getData_asB64(), + ttl: jspb.Message.getFieldWithDefault(msg, 8, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.dapr.proto.runtime.v1.RegisterActorTimerRequest; + return proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setActorType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setActorId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setDueTime(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setPeriod(value); + break; + case 6: + var value = /** @type {string} */ (reader.readString()); + msg.setCallback(value); + break; + case 7: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 8: + var value = /** @type {string} */ (reader.readString()); + msg.setTtl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getActorType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getActorId(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDueTime(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getPeriod(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getCallback(); + if (f.length > 0) { + writer.writeString( + 6, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 7, + f + ); + } + f = message.getTtl(); + if (f.length > 0) { + writer.writeString( + 8, + f + ); + } +}; + + +/** + * optional string actor_type = 1; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getActorType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setActorType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string actor_id = 2; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getActorId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setActorId = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string due_time = 4; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getDueTime = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setDueTime = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string period = 5; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getPeriod = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setPeriod = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional string callback = 6; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getCallback = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setCallback = function(value) { + return jspb.Message.setProto3StringField(this, 6, value); +}; + + +/** + * optional bytes data = 7; + * @return {!(string|Uint8Array)} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * optional bytes data = 7; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 7; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 7, value); +}; + + +/** + * optional string ttl = 8; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getTtl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setTtl = function(value) { + return jspb.Message.setProto3StringField(this, 8, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.toObject = function(includeInstance, msg) { + var f, obj = { + actorType: jspb.Message.getFieldWithDefault(msg, 1, ""), + actorId: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} + */ +proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest; + return proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} + */ +proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setActorType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setActorId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getActorType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getActorId(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } +}; + + +/** + * optional string actor_type = 1; + * @return {string} + */ +proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.getActorType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} returns this + */ +proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.setActorType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string actor_id = 2; + * @return {string} + */ +proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.getActorId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} returns this + */ +proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.setActorId = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} returns this + */ +proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.toObject = function(includeInstance, msg) { + var f, obj = { + actorType: jspb.Message.getFieldWithDefault(msg, 1, ""), + actorId: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, ""), + dueTime: jspb.Message.getFieldWithDefault(msg, 4, ""), + period: jspb.Message.getFieldWithDefault(msg, 5, ""), + data: msg.getData_asB64(), + ttl: jspb.Message.getFieldWithDefault(msg, 7, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.dapr.proto.runtime.v1.RegisterActorReminderRequest; + return proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setActorType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setActorId(value); + break; + case 3: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setDueTime(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setPeriod(value); + break; + case 6: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); + break; + case 7: + var value = /** @type {string} */ (reader.readString()); + msg.setTtl(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getActorType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getActorId(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getDueTime(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getPeriod(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getData_asU8(); + if (f.length > 0) { + writer.writeBytes( + 6, + f + ); + } + f = message.getTtl(); + if (f.length > 0) { + writer.writeString( + 7, + f + ); + } +}; + + +/** + * optional string actor_type = 1; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getActorType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setActorType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string actor_id = 2; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getActorId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setActorId = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional string name = 3; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); +}; + + +/** + * optional string due_time = 4; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getDueTime = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setDueTime = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional string period = 5; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getPeriod = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setPeriod = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * optional bytes data = 6; + * @return {!(string|Uint8Array)} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +}; + + +/** + * optional bytes data = 6; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 6; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 6, value); +}; + + +/** + * optional string ttl = 7; + * @return {string} + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getTtl = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); +}; + + +/** + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + */ +proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setTtl = function(value) { + return jspb.Message.setProto3StringField(this, 7, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.toObject = function(includeInstance, msg) { + var f, obj = { + actorType: jspb.Message.getFieldWithDefault(msg, 1, ""), + actorId: jspb.Message.getFieldWithDefault(msg, 2, ""), + name: jspb.Message.getFieldWithDefault(msg, 3, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} + */ +proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest; + return proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} + */ +proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { break; - case 5: + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: var value = /** @type {string} */ (reader.readString()); - msg.setPeriod(value); + msg.setActorType(value); break; - case 6: + case 2: var value = /** @type {string} */ (reader.readString()); - msg.setCallback(value); - break; - case 7: - var value = /** @type {!Uint8Array} */ (reader.readBytes()); - msg.setData(value); + msg.setActorId(value); break; - case 8: + case 3: var value = /** @type {string} */ (reader.readString()); - msg.setTtl(value); + msg.setName(value); break; default: reader.skipField(); @@ -4720,9 +6396,9 @@ proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.deserializeBinaryFromReade * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -4730,11 +6406,11 @@ proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.serializeBinary /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} message + * @param {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getActorType(); if (f.length > 0) { @@ -4757,41 +6433,6 @@ proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.serializeBinaryToWriter = f ); } - f = message.getDueTime(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } - f = message.getPeriod(); - if (f.length > 0) { - writer.writeString( - 5, - f - ); - } - f = message.getCallback(); - if (f.length > 0) { - writer.writeString( - 6, - f - ); - } - f = message.getData_asU8(); - if (f.length > 0) { - writer.writeBytes( - 7, - f - ); - } - f = message.getTtl(); - if (f.length > 0) { - writer.writeString( - 8, - f - ); - } }; @@ -4799,16 +6440,16 @@ proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.serializeBinaryToWriter = * optional string actor_type = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getActorType = function() { +proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.getActorType = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} returns this */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setActorType = function(value) { +proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.setActorType = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -4817,16 +6458,16 @@ proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setActorType = f * optional string actor_id = 2; * @return {string} */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getActorId = function() { +proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.getActorId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} returns this */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setActorId = function(value) { +proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.setActorId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; @@ -4835,134 +6476,20 @@ proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setActorId = fun * optional string name = 3; * @return {string} */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getName = function() { +proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} returns this */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setName = function(value) { +proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.setName = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; -/** - * optional string due_time = 4; - * @return {string} - */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getDueTime = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); -}; - - -/** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this - */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setDueTime = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); -}; - - -/** - * optional string period = 5; - * @return {string} - */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getPeriod = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); -}; - - -/** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this - */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setPeriod = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); -}; - - -/** - * optional string callback = 6; - * @return {string} - */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getCallback = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); -}; - - -/** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this - */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setCallback = function(value) { - return jspb.Message.setProto3StringField(this, 6, value); -}; - - -/** - * optional bytes data = 7; - * @return {!(string|Uint8Array)} - */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getData = function() { - return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 7, "")); -}; - - -/** - * optional bytes data = 7; - * This is a type-conversion wrapper around `getData()` - * @return {string} - */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getData_asB64 = function() { - return /** @type {string} */ (jspb.Message.bytesAsB64( - this.getData())); -}; - - -/** - * optional bytes data = 7; - * Note that Uint8Array is not supported on all browsers. - * @see http://caniuse.com/Uint8Array - * This is a type-conversion wrapper around `getData()` - * @return {!Uint8Array} - */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getData_asU8 = function() { - return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( - this.getData())); -}; - - -/** - * @param {!(string|Uint8Array)} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this - */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setData = function(value) { - return jspb.Message.setProto3BytesField(this, 7, value); -}; - - -/** - * optional string ttl = 8; - * @return {string} - */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.getTtl = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); -}; - - -/** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorTimerRequest} returns this - */ -proto.dapr.proto.runtime.v1.RegisterActorTimerRequest.prototype.setTtl = function(value) { - return jspb.Message.setProto3StringField(this, 8, value); -}; - - @@ -4979,8 +6506,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.GetActorStateRequest.toObject(opt_includeInstance, this); }; @@ -4989,15 +6516,15 @@ proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.toObject = fun * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.GetActorStateRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.GetActorStateRequest.toObject = function(includeInstance, msg) { var f, obj = { actorType: jspb.Message.getFieldWithDefault(msg, 1, ""), actorId: jspb.Message.getFieldWithDefault(msg, 2, ""), - name: jspb.Message.getFieldWithDefault(msg, 3, "") + key: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -5011,23 +6538,23 @@ proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.toObject = function(incl /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} + * @return {!proto.dapr.proto.runtime.v1.GetActorStateRequest} */ -proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.GetActorStateRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest; - return proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.GetActorStateRequest; + return proto.dapr.proto.runtime.v1.GetActorStateRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.GetActorStateRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} + * @return {!proto.dapr.proto.runtime.v1.GetActorStateRequest} */ -proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.GetActorStateRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5044,7 +6571,7 @@ proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.deserializeBinaryFromRea break; case 3: var value = /** @type {string} */ (reader.readString()); - msg.setName(value); + msg.setKey(value); break; default: reader.skipField(); @@ -5059,9 +6586,9 @@ proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.deserializeBinaryFromRea * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.GetActorStateRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5069,11 +6596,11 @@ proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.serializeBinar /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} message + * @param {!proto.dapr.proto.runtime.v1.GetActorStateRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.GetActorStateRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getActorType(); if (f.length > 0) { @@ -5089,7 +6616,7 @@ proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.serializeBinaryToWriter f ); } - f = message.getName(); + f = message.getKey(); if (f.length > 0) { writer.writeString( 3, @@ -5103,16 +6630,16 @@ proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.serializeBinaryToWriter * optional string actor_type = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.getActorType = function() { +proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.getActorType = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.GetActorStateRequest} returns this */ -proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.setActorType = function(value) { +proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.setActorType = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5121,34 +6648,34 @@ proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.setActorType = * optional string actor_id = 2; * @return {string} */ -proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.getActorId = function() { +proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.getActorId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.GetActorStateRequest} returns this */ -proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.setActorId = function(value) { +proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.setActorId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional string name = 3; + * optional string key = 3; * @return {string} */ -proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.getName = function() { +proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.getKey = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.GetActorStateRequest} returns this */ -proto.dapr.proto.runtime.v1.UnregisterActorTimerRequest.prototype.setName = function(value) { +proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.setKey = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; @@ -5169,8 +6696,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.GetActorStateResponse.toObject(opt_includeInstance, this); }; @@ -5179,17 +6706,12 @@ proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.toObject = fu * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.GetActorStateResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.GetActorStateResponse.toObject = function(includeInstance, msg) { var f, obj = { - actorType: jspb.Message.getFieldWithDefault(msg, 1, ""), - actorId: jspb.Message.getFieldWithDefault(msg, 2, ""), - name: jspb.Message.getFieldWithDefault(msg, 3, ""), - dueTime: jspb.Message.getFieldWithDefault(msg, 4, ""), - period: jspb.Message.getFieldWithDefault(msg, 5, ""), data: msg.getData_asB64() }; @@ -5204,23 +6726,23 @@ proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.toObject = function(inc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} + * @return {!proto.dapr.proto.runtime.v1.GetActorStateResponse} */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.GetActorStateResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.RegisterActorReminderRequest; - return proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.GetActorStateResponse; + return proto.dapr.proto.runtime.v1.GetActorStateResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.GetActorStateResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} + * @return {!proto.dapr.proto.runtime.v1.GetActorStateResponse} */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.GetActorStateResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5228,26 +6750,6 @@ proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.deserializeBinaryFromRe var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setActorType(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setActorId(value); - break; - case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 4: - var value = /** @type {string} */ (reader.readString()); - msg.setDueTime(value); - break; - case 5: - var value = /** @type {string} */ (reader.readString()); - msg.setPeriod(value); - break; - case 6: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setData(value); break; @@ -5264,9 +6766,9 @@ proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.deserializeBinaryFromRe * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.GetActorStateResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5274,51 +6776,16 @@ proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.serializeBina /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} message + * @param {!proto.dapr.proto.runtime.v1.GetActorStateResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.GetActorStateResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getActorType(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getActorId(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); - } - f = message.getDueTime(); - if (f.length > 0) { - writer.writeString( - 4, - f - ); - } - f = message.getPeriod(); - if (f.length > 0) { - writer.writeString( - 5, - f - ); - } f = message.getData_asU8(); if (f.length > 0) { writer.writeBytes( - 6, + 1, f ); } @@ -5326,134 +6793,264 @@ proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.serializeBinaryToWriter /** - * optional string actor_type = 1; + * optional bytes data = 1; + * @return {!(string|Uint8Array)} + */ +proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * optional bytes data = 1; + * This is a type-conversion wrapper around `getData()` * @return {string} */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getActorType = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); }; /** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + * optional bytes data = 1; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setActorType = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); +proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); }; /** - * optional string actor_id = 2; - * @return {string} + * @param {!(string|Uint8Array)} value + * @return {!proto.dapr.proto.runtime.v1.GetActorStateResponse} returns this */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getActorId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 1, value); }; + /** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + * List of repeated fields within this message type. + * @private {!Array} + * @const */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setActorId = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.toObject(opt_includeInstance, this); }; /** - * optional string name = 3; - * @return {string} + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.toObject = function(includeInstance, msg) { + var f, obj = { + actorType: jspb.Message.getFieldWithDefault(msg, 1, ""), + actorId: jspb.Message.getFieldWithDefault(msg, 2, ""), + operationsList: jspb.Message.toObjectList(msg.getOperationsList(), + proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} + */ +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest; + return proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} + */ +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setActorType(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setActorId(value); + break; + case 3: + var value = new proto.dapr.proto.runtime.v1.TransactionalActorStateOperation; + reader.readMessage(value,proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.deserializeBinaryFromReader); + msg.addOperations(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); }; /** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getActorType(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getActorId(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getOperationsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.serializeBinaryToWriter + ); + } }; /** - * optional string due_time = 4; + * optional string actor_type = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getDueTime = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.getActorType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} returns this */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setDueTime = function(value) { - return jspb.Message.setProto3StringField(this, 4, value); +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.setActorType = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional string period = 5; + * optional string actor_id = 2; * @return {string} */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getPeriod = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.getActorId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} returns this */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setPeriod = function(value) { - return jspb.Message.setProto3StringField(this, 5, value); +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.setActorId = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional bytes data = 6; - * @return {!(string|Uint8Array)} + * repeated TransactionalActorStateOperation operations = 3; + * @return {!Array} */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getData = function() { - return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 6, "")); +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.getOperationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.dapr.proto.runtime.v1.TransactionalActorStateOperation, 3)); }; /** - * optional bytes data = 6; - * This is a type-conversion wrapper around `getData()` - * @return {string} - */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getData_asB64 = function() { - return /** @type {string} */ (jspb.Message.bytesAsB64( - this.getData())); + * @param {!Array} value + * @return {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} returns this +*/ +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.setOperationsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** - * optional bytes data = 6; - * Note that Uint8Array is not supported on all browsers. - * @see http://caniuse.com/Uint8Array - * This is a type-conversion wrapper around `getData()` - * @return {!Uint8Array} + * @param {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation=} opt_value + * @param {number=} opt_index + * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.getData_asU8 = function() { - return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( - this.getData())); +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.addOperations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.dapr.proto.runtime.v1.TransactionalActorStateOperation, opt_index); }; /** - * @param {!(string|Uint8Array)} value - * @return {!proto.dapr.proto.runtime.v1.RegisterActorReminderRequest} returns this + * Clears the list making it empty but non-null. + * @return {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} returns this */ -proto.dapr.proto.runtime.v1.RegisterActorReminderRequest.prototype.setData = function(value) { - return jspb.Message.setProto3BytesField(this, 6, value); +proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.clearOperationsList = function() { + return this.setOperationsList([]); }; @@ -5473,8 +7070,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.toObject(opt_includeInstance, this); }; @@ -5483,15 +7080,15 @@ proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.toObject = * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.toObject = function(includeInstance, msg) { var f, obj = { - actorType: jspb.Message.getFieldWithDefault(msg, 1, ""), - actorId: jspb.Message.getFieldWithDefault(msg, 2, ""), - name: jspb.Message.getFieldWithDefault(msg, 3, "") + operationtype: jspb.Message.getFieldWithDefault(msg, 1, ""), + key: jspb.Message.getFieldWithDefault(msg, 2, ""), + value: (f = msg.getValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) }; if (includeInstance) { @@ -5505,23 +7102,23 @@ proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.toObject = function(i /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} + * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} */ -proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest; - return proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.TransactionalActorStateOperation; + return proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} + * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} */ -proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5530,15 +7127,16 @@ proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.deserializeBinaryFrom switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setActorType(value); + msg.setOperationtype(value); break; case 2: var value = /** @type {string} */ (reader.readString()); - msg.setActorId(value); + msg.setKey(value); break; case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); + var value = new google_protobuf_any_pb.Any; + reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); + msg.setValue(value); break; default: reader.skipField(); @@ -5553,9 +7151,9 @@ proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.deserializeBinaryFrom * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5563,87 +7161,107 @@ proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.serializeBi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} message + * @param {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getActorType(); + f = message.getOperationtype(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getActorId(); + f = message.getKey(); if (f.length > 0) { writer.writeString( 2, f ); } - f = message.getName(); - if (f.length > 0) { - writer.writeString( + f = message.getValue(); + if (f != null) { + writer.writeMessage( 3, - f + f, + google_protobuf_any_pb.Any.serializeBinaryToWriter ); } }; /** - * optional string actor_type = 1; + * optional string operationType = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.getActorType = function() { +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.getOperationtype = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} returns this */ -proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.setActorType = function(value) { +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.setOperationtype = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional string actor_id = 2; + * optional string key = 2; * @return {string} */ -proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.getActorId = function() { +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.getKey = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} returns this */ -proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.setActorId = function(value) { +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.setKey = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional string name = 3; - * @return {string} + * optional google.protobuf.Any value = 3; + * @return {?proto.google.protobuf.Any} */ -proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.getValue = function() { + return /** @type{?proto.google.protobuf.Any} */ ( + jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 3)); }; /** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest} returns this + * @param {?proto.google.protobuf.Any|undefined} value + * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} returns this +*/ +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.setValue = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} returns this */ -proto.dapr.proto.runtime.v1.UnregisterActorReminderRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.clearValue = function() { + return this.setValue(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.hasValue = function() { + return jspb.Message.getField(this, 3) != null; }; @@ -5663,8 +7281,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.GetActorStateRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.InvokeActorRequest.toObject(opt_includeInstance, this); }; @@ -5673,15 +7291,16 @@ proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.GetActorStateRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.InvokeActorRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.GetActorStateRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.InvokeActorRequest.toObject = function(includeInstance, msg) { var f, obj = { actorType: jspb.Message.getFieldWithDefault(msg, 1, ""), actorId: jspb.Message.getFieldWithDefault(msg, 2, ""), - key: jspb.Message.getFieldWithDefault(msg, 3, "") + method: jspb.Message.getFieldWithDefault(msg, 3, ""), + data: msg.getData_asB64() }; if (includeInstance) { @@ -5695,23 +7314,23 @@ proto.dapr.proto.runtime.v1.GetActorStateRequest.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.GetActorStateRequest} + * @return {!proto.dapr.proto.runtime.v1.InvokeActorRequest} */ -proto.dapr.proto.runtime.v1.GetActorStateRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.InvokeActorRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.GetActorStateRequest; - return proto.dapr.proto.runtime.v1.GetActorStateRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.InvokeActorRequest; + return proto.dapr.proto.runtime.v1.InvokeActorRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.GetActorStateRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.InvokeActorRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.GetActorStateRequest} + * @return {!proto.dapr.proto.runtime.v1.InvokeActorRequest} */ -proto.dapr.proto.runtime.v1.GetActorStateRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.InvokeActorRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5728,7 +7347,11 @@ proto.dapr.proto.runtime.v1.GetActorStateRequest.deserializeBinaryFromReader = f break; case 3: var value = /** @type {string} */ (reader.readString()); - msg.setKey(value); + msg.setMethod(value); + break; + case 4: + var value = /** @type {!Uint8Array} */ (reader.readBytes()); + msg.setData(value); break; default: reader.skipField(); @@ -5743,9 +7366,9 @@ proto.dapr.proto.runtime.v1.GetActorStateRequest.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.GetActorStateRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.InvokeActorRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5753,11 +7376,11 @@ proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.GetActorStateRequest} message + * @param {!proto.dapr.proto.runtime.v1.InvokeActorRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.GetActorStateRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.InvokeActorRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getActorType(); if (f.length > 0) { @@ -5773,10 +7396,17 @@ proto.dapr.proto.runtime.v1.GetActorStateRequest.serializeBinaryToWriter = funct f ); } - f = message.getKey(); + f = message.getMethod(); + if (f.length > 0) { + writer.writeString( + 3, + f + ); + } + f = message.getData_asU8(); if (f.length > 0) { - writer.writeString( - 3, + writer.writeBytes( + 4, f ); } @@ -5787,16 +7417,16 @@ proto.dapr.proto.runtime.v1.GetActorStateRequest.serializeBinaryToWriter = funct * optional string actor_type = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.getActorType = function() { +proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.getActorType = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.GetActorStateRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.InvokeActorRequest} returns this */ -proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.setActorType = function(value) { +proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.setActorType = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; @@ -5805,38 +7435,80 @@ proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.setActorType = functi * optional string actor_id = 2; * @return {string} */ -proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.getActorId = function() { +proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.getActorId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.GetActorStateRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.InvokeActorRequest} returns this */ -proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.setActorId = function(value) { +proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.setActorId = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional string key = 3; + * optional string method = 3; * @return {string} */ -proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.getKey = function() { +proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.getMethod = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.GetActorStateRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.InvokeActorRequest} returns this */ -proto.dapr.proto.runtime.v1.GetActorStateRequest.prototype.setKey = function(value) { +proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.setMethod = function(value) { return jspb.Message.setProto3StringField(this, 3, value); }; +/** + * optional bytes data = 4; + * @return {!(string|Uint8Array)} + */ +proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.getData = function() { + return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * optional bytes data = 4; + * This is a type-conversion wrapper around `getData()` + * @return {string} + */ +proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.getData_asB64 = function() { + return /** @type {string} */ (jspb.Message.bytesAsB64( + this.getData())); +}; + + +/** + * optional bytes data = 4; + * Note that Uint8Array is not supported on all browsers. + * @see http://caniuse.com/Uint8Array + * This is a type-conversion wrapper around `getData()` + * @return {!Uint8Array} + */ +proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.getData_asU8 = function() { + return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( + this.getData())); +}; + + +/** + * @param {!(string|Uint8Array)} value + * @return {!proto.dapr.proto.runtime.v1.InvokeActorRequest} returns this + */ +proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.setData = function(value) { + return jspb.Message.setProto3BytesField(this, 4, value); +}; + + @@ -5853,8 +7525,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.GetActorStateResponse.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.InvokeActorResponse.toObject(opt_includeInstance, this); }; @@ -5863,11 +7535,11 @@ proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.toObject = function( * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.GetActorStateResponse} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.InvokeActorResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.GetActorStateResponse.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.InvokeActorResponse.toObject = function(includeInstance, msg) { var f, obj = { data: msg.getData_asB64() }; @@ -5883,23 +7555,23 @@ proto.dapr.proto.runtime.v1.GetActorStateResponse.toObject = function(includeIns /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.GetActorStateResponse} + * @return {!proto.dapr.proto.runtime.v1.InvokeActorResponse} */ -proto.dapr.proto.runtime.v1.GetActorStateResponse.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.InvokeActorResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.GetActorStateResponse; - return proto.dapr.proto.runtime.v1.GetActorStateResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.InvokeActorResponse; + return proto.dapr.proto.runtime.v1.InvokeActorResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.GetActorStateResponse} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.InvokeActorResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.GetActorStateResponse} + * @return {!proto.dapr.proto.runtime.v1.InvokeActorResponse} */ -proto.dapr.proto.runtime.v1.GetActorStateResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.InvokeActorResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -5923,9 +7595,9 @@ proto.dapr.proto.runtime.v1.GetActorStateResponse.deserializeBinaryFromReader = * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.GetActorStateResponse.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.InvokeActorResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -5933,11 +7605,11 @@ proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.serializeBinary = fu /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.GetActorStateResponse} message + * @param {!proto.dapr.proto.runtime.v1.InvokeActorResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.GetActorStateResponse.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.InvokeActorResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getData_asU8(); if (f.length > 0) { @@ -5953,7 +7625,7 @@ proto.dapr.proto.runtime.v1.GetActorStateResponse.serializeBinaryToWriter = func * optional bytes data = 1; * @return {!(string|Uint8Array)} */ -proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.getData = function() { +proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.getData = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; @@ -5963,7 +7635,7 @@ proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.getData = function() * This is a type-conversion wrapper around `getData()` * @return {string} */ -proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.getData_asB64 = function() { +proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.getData_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getData())); }; @@ -5976,7 +7648,7 @@ proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.getData_asB64 = func * This is a type-conversion wrapper around `getData()` * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.getData_asU8 = function() { +proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.getData_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getData())); }; @@ -5984,9 +7656,9 @@ proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.getData_asU8 = funct /** * @param {!(string|Uint8Array)} value - * @return {!proto.dapr.proto.runtime.v1.GetActorStateResponse} returns this + * @return {!proto.dapr.proto.runtime.v1.InvokeActorResponse} returns this */ -proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.setData = function(value) { +proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.setData = function(value) { return jspb.Message.setProto3BytesField(this, 1, value); }; @@ -5997,7 +7669,7 @@ proto.dapr.proto.runtime.v1.GetActorStateResponse.prototype.setData = function(v * @private {!Array} * @const */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.repeatedFields_ = [3]; +proto.dapr.proto.runtime.v1.GetMetadataResponse.repeatedFields_ = [2,3]; @@ -6014,8 +7686,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.GetMetadataResponse.toObject(opt_includeInstance, this); }; @@ -6024,16 +7696,18 @@ proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.toObje * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.GetMetadataResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.GetMetadataResponse.toObject = function(includeInstance, msg) { var f, obj = { - actorType: jspb.Message.getFieldWithDefault(msg, 1, ""), - actorId: jspb.Message.getFieldWithDefault(msg, 2, ""), - operationsList: jspb.Message.toObjectList(msg.getOperationsList(), - proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.toObject, includeInstance) + id: jspb.Message.getFieldWithDefault(msg, 1, ""), + activeActorsCountList: jspb.Message.toObjectList(msg.getActiveActorsCountList(), + proto.dapr.proto.runtime.v1.ActiveActorsCount.toObject, includeInstance), + registeredComponentsList: jspb.Message.toObjectList(msg.getRegisteredComponentsList(), + proto.dapr.proto.runtime.v1.RegisteredComponents.toObject, includeInstance), + extendedMetadataMap: (f = msg.getExtendedMetadataMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -6047,23 +7721,23 @@ proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.toObject = funct /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} + * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.GetMetadataResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest; - return proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.GetMetadataResponse; + return proto.dapr.proto.runtime.v1.GetMetadataResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.GetMetadataResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} + * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.GetMetadataResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6072,16 +7746,23 @@ proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.deserializeBinar switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setActorType(value); + msg.setId(value); break; case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setActorId(value); + var value = new proto.dapr.proto.runtime.v1.ActiveActorsCount; + reader.readMessage(value,proto.dapr.proto.runtime.v1.ActiveActorsCount.deserializeBinaryFromReader); + msg.addActiveActorsCount(value); break; case 3: - var value = new proto.dapr.proto.runtime.v1.TransactionalActorStateOperation; - reader.readMessage(value,proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.deserializeBinaryFromReader); - msg.addOperations(value); + var value = new proto.dapr.proto.runtime.v1.RegisteredComponents; + reader.readMessage(value,proto.dapr.proto.runtime.v1.RegisteredComponents.deserializeBinaryFromReader); + msg.addRegisteredComponents(value); + break; + case 4: + var value = msg.getExtendedMetadataMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); break; default: reader.skipField(); @@ -6096,9 +7777,9 @@ proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.deserializeBinar * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.GetMetadataResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6106,109 +7787,156 @@ proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.serial /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} message + * @param {!proto.dapr.proto.runtime.v1.GetMetadataResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.GetMetadataResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getActorType(); + f = message.getId(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getActorId(); + f = message.getActiveActorsCountList(); if (f.length > 0) { - writer.writeString( + writer.writeRepeatedMessage( 2, - f + f, + proto.dapr.proto.runtime.v1.ActiveActorsCount.serializeBinaryToWriter ); } - f = message.getOperationsList(); + f = message.getRegisteredComponentsList(); if (f.length > 0) { writer.writeRepeatedMessage( 3, f, - proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.serializeBinaryToWriter + proto.dapr.proto.runtime.v1.RegisteredComponents.serializeBinaryToWriter ); } + f = message.getExtendedMetadataMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } }; /** - * optional string actor_type = 1; + * optional string id = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.getActorType = function() { +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} returns this */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.setActorType = function(value) { +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.setId = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional string actor_id = 2; - * @return {string} + * repeated ActiveActorsCount active_actors_count = 2; + * @return {!Array} */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.getActorId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.getActiveActorsCountList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.dapr.proto.runtime.v1.ActiveActorsCount, 2)); }; /** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} returns this + * @param {!Array} value + * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} returns this +*/ +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.setActiveActorsCountList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.dapr.proto.runtime.v1.ActiveActorsCount=} opt_value + * @param {number=} opt_index + * @return {!proto.dapr.proto.runtime.v1.ActiveActorsCount} */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.setActorId = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.addActiveActorsCount = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.dapr.proto.runtime.v1.ActiveActorsCount, opt_index); }; /** - * repeated TransactionalActorStateOperation operations = 3; - * @return {!Array} + * Clears the list making it empty but non-null. + * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} returns this */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.getOperationsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.dapr.proto.runtime.v1.TransactionalActorStateOperation, 3)); +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.clearActiveActorsCountList = function() { + return this.setActiveActorsCountList([]); +}; + + +/** + * repeated RegisteredComponents registered_components = 3; + * @return {!Array} + */ +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.getRegisteredComponentsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.dapr.proto.runtime.v1.RegisteredComponents, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} returns this +*/ +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.setRegisteredComponentsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.dapr.proto.runtime.v1.RegisteredComponents=} opt_value + * @param {number=} opt_index + * @return {!proto.dapr.proto.runtime.v1.RegisteredComponents} + */ +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.addRegisteredComponents = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.dapr.proto.runtime.v1.RegisteredComponents, opt_index); }; /** - * @param {!Array} value - * @return {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} returns this -*/ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.setOperationsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 3, value); + * Clears the list making it empty but non-null. + * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} returns this + */ +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.clearRegisteredComponentsList = function() { + return this.setRegisteredComponentsList([]); }; /** - * @param {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation=} opt_value - * @param {number=} opt_index - * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} + * map extended_metadata = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.addOperations = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.dapr.proto.runtime.v1.TransactionalActorStateOperation, opt_index); +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.getExtendedMetadataMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); }; /** - * Clears the list making it empty but non-null. - * @return {!proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest} returns this + * Clears values from the map. The map will be non-null. + * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} returns this */ -proto.dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest.prototype.clearOperationsList = function() { - return this.setOperationsList([]); -}; +proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.clearExtendedMetadataMap = function() { + this.getExtendedMetadataMap().clear(); + return this;}; @@ -6227,8 +7955,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.ActiveActorsCount.toObject(opt_includeInstance, this); }; @@ -6237,15 +7965,14 @@ proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.toObject * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.ActiveActorsCount} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.ActiveActorsCount.toObject = function(includeInstance, msg) { var f, obj = { - operationtype: jspb.Message.getFieldWithDefault(msg, 1, ""), - key: jspb.Message.getFieldWithDefault(msg, 2, ""), - value: (f = msg.getValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) + type: jspb.Message.getFieldWithDefault(msg, 1, ""), + count: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -6259,23 +7986,23 @@ proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.toObject = function /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} + * @return {!proto.dapr.proto.runtime.v1.ActiveActorsCount} */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.ActiveActorsCount.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.TransactionalActorStateOperation; - return proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.ActiveActorsCount; + return proto.dapr.proto.runtime.v1.ActiveActorsCount.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.ActiveActorsCount} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} + * @return {!proto.dapr.proto.runtime.v1.ActiveActorsCount} */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.ActiveActorsCount.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6284,16 +8011,11 @@ proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.deserializeBinaryFr switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setOperationtype(value); + msg.setType(value); break; case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setKey(value); - break; - case 3: - var value = new google_protobuf_any_pb.Any; - reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); - msg.setValue(value); + var value = /** @type {number} */ (reader.readInt32()); + msg.setCount(value); break; default: reader.skipField(); @@ -6308,9 +8030,9 @@ proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.deserializeBinaryFr * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.ActiveActorsCount.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6318,107 +8040,62 @@ proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.serialize /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} message + * @param {!proto.dapr.proto.runtime.v1.ActiveActorsCount} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.ActiveActorsCount.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getOperationtype(); + f = message.getType(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getKey(); - if (f.length > 0) { - writer.writeString( + f = message.getCount(); + if (f !== 0) { + writer.writeInt32( 2, f ); } - f = message.getValue(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_any_pb.Any.serializeBinaryToWriter - ); - } }; /** - * optional string operationType = 1; + * optional string type = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.getOperationtype = function() { +proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.getType = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} returns this + * @return {!proto.dapr.proto.runtime.v1.ActiveActorsCount} returns this */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.setOperationtype = function(value) { +proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.setType = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional string key = 2; - * @return {string} - */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.getKey = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} returns this - */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.setKey = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional google.protobuf.Any value = 3; - * @return {?proto.google.protobuf.Any} - */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.getValue = function() { - return /** @type{?proto.google.protobuf.Any} */ ( - jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 3)); -}; - - -/** - * @param {?proto.google.protobuf.Any|undefined} value - * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} returns this -*/ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.setValue = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.dapr.proto.runtime.v1.TransactionalActorStateOperation} returns this + * optional int32 count = 2; + * @return {number} */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.clearValue = function() { - return this.setValue(undefined); +proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.getCount = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** - * Returns whether this field is set. - * @return {boolean} + * @param {number} value + * @return {!proto.dapr.proto.runtime.v1.ActiveActorsCount} returns this */ -proto.dapr.proto.runtime.v1.TransactionalActorStateOperation.prototype.hasValue = function() { - return jspb.Message.getField(this, 3) != null; +proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.setCount = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); }; @@ -6438,8 +8115,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.InvokeActorRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.RegisteredComponents.toObject(opt_includeInstance, this); }; @@ -6448,16 +8125,15 @@ proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.InvokeActorRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.RegisteredComponents} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.RegisteredComponents.toObject = function(includeInstance, msg) { var f, obj = { - actorType: jspb.Message.getFieldWithDefault(msg, 1, ""), - actorId: jspb.Message.getFieldWithDefault(msg, 2, ""), - method: jspb.Message.getFieldWithDefault(msg, 3, ""), - data: msg.getData_asB64() + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + type: jspb.Message.getFieldWithDefault(msg, 2, ""), + version: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -6471,23 +8147,23 @@ proto.dapr.proto.runtime.v1.InvokeActorRequest.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.InvokeActorRequest} + * @return {!proto.dapr.proto.runtime.v1.RegisteredComponents} */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.RegisteredComponents.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.InvokeActorRequest; - return proto.dapr.proto.runtime.v1.InvokeActorRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.RegisteredComponents; + return proto.dapr.proto.runtime.v1.RegisteredComponents.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.InvokeActorRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.RegisteredComponents} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.InvokeActorRequest} + * @return {!proto.dapr.proto.runtime.v1.RegisteredComponents} */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.RegisteredComponents.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6496,19 +8172,15 @@ proto.dapr.proto.runtime.v1.InvokeActorRequest.deserializeBinaryFromReader = fun switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setActorType(value); + msg.setName(value); break; case 2: var value = /** @type {string} */ (reader.readString()); - msg.setActorId(value); + msg.setType(value); break; case 3: var value = /** @type {string} */ (reader.readString()); - msg.setMethod(value); - break; - case 4: - var value = /** @type {!Uint8Array} */ (reader.readBytes()); - msg.setData(value); + msg.setVersion(value); break; default: reader.skipField(); @@ -6523,9 +8195,9 @@ proto.dapr.proto.runtime.v1.InvokeActorRequest.deserializeBinaryFromReader = fun * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.InvokeActorRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.RegisteredComponents.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6533,136 +8205,87 @@ proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.serializeBinary = funct /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.InvokeActorRequest} message + * @param {!proto.dapr.proto.runtime.v1.RegisteredComponents} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.RegisteredComponents.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getActorType(); + f = message.getName(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getActorId(); + f = message.getType(); if (f.length > 0) { writer.writeString( 2, f ); } - f = message.getMethod(); + f = message.getVersion(); if (f.length > 0) { writer.writeString( 3, f ); } - f = message.getData_asU8(); - if (f.length > 0) { - writer.writeBytes( - 4, - f - ); - } -}; - - -/** - * optional string actor_type = 1; - * @return {string} - */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.getActorType = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.InvokeActorRequest} returns this - */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.setActorType = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string actor_id = 2; - * @return {string} - */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.getActorId = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.InvokeActorRequest} returns this - */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.setActorId = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional string method = 3; + * optional string name = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.getMethod = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.InvokeActorRequest} returns this + * @return {!proto.dapr.proto.runtime.v1.RegisteredComponents} returns this */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.setMethod = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); +proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional bytes data = 4; - * @return {!(string|Uint8Array)} + * optional string type = 2; + * @return {string} */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.getData = function() { - return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.getType = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * optional bytes data = 4; - * This is a type-conversion wrapper around `getData()` - * @return {string} + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisteredComponents} returns this */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.getData_asB64 = function() { - return /** @type {string} */ (jspb.Message.bytesAsB64( - this.getData())); +proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.setType = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; /** - * optional bytes data = 4; - * Note that Uint8Array is not supported on all browsers. - * @see http://caniuse.com/Uint8Array - * This is a type-conversion wrapper around `getData()` - * @return {!Uint8Array} + * optional string version = 3; + * @return {string} */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.getData_asU8 = function() { - return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( - this.getData())); +proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.getVersion = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** - * @param {!(string|Uint8Array)} value - * @return {!proto.dapr.proto.runtime.v1.InvokeActorRequest} returns this + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.RegisteredComponents} returns this */ -proto.dapr.proto.runtime.v1.InvokeActorRequest.prototype.setData = function(value) { - return jspb.Message.setProto3BytesField(this, 4, value); +proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.setVersion = function(value) { + return jspb.Message.setProto3StringField(this, 3, value); }; @@ -6682,8 +8305,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.InvokeActorResponse.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.SetMetadataRequest.toObject(opt_includeInstance, this); }; @@ -6692,13 +8315,14 @@ proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.InvokeActorResponse} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.SetMetadataRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.InvokeActorResponse.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.SetMetadataRequest.toObject = function(includeInstance, msg) { var f, obj = { - data: msg.getData_asB64() + key: jspb.Message.getFieldWithDefault(msg, 1, ""), + value: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -6712,23 +8336,23 @@ proto.dapr.proto.runtime.v1.InvokeActorResponse.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.InvokeActorResponse} + * @return {!proto.dapr.proto.runtime.v1.SetMetadataRequest} */ -proto.dapr.proto.runtime.v1.InvokeActorResponse.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.SetMetadataRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.InvokeActorResponse; - return proto.dapr.proto.runtime.v1.InvokeActorResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.SetMetadataRequest; + return proto.dapr.proto.runtime.v1.SetMetadataRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.InvokeActorResponse} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.SetMetadataRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.InvokeActorResponse} + * @return {!proto.dapr.proto.runtime.v1.SetMetadataRequest} */ -proto.dapr.proto.runtime.v1.InvokeActorResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.SetMetadataRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6736,8 +8360,12 @@ proto.dapr.proto.runtime.v1.InvokeActorResponse.deserializeBinaryFromReader = fu var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {!Uint8Array} */ (reader.readBytes()); - msg.setData(value); + var value = /** @type {string} */ (reader.readString()); + msg.setKey(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setValue(value); break; default: reader.skipField(); @@ -6752,9 +8380,9 @@ proto.dapr.proto.runtime.v1.InvokeActorResponse.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.InvokeActorResponse.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.SetMetadataRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6762,61 +8390,62 @@ proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.InvokeActorResponse} message + * @param {!proto.dapr.proto.runtime.v1.SetMetadataRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.InvokeActorResponse.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.SetMetadataRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getData_asU8(); + f = message.getKey(); if (f.length > 0) { - writer.writeBytes( + writer.writeString( 1, f ); } + f = message.getValue(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } }; /** - * optional bytes data = 1; - * @return {!(string|Uint8Array)} + * optional string key = 1; + * @return {string} */ -proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.getData = function() { - return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.getKey = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** - * optional bytes data = 1; - * This is a type-conversion wrapper around `getData()` - * @return {string} + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.SetMetadataRequest} returns this */ -proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.getData_asB64 = function() { - return /** @type {string} */ (jspb.Message.bytesAsB64( - this.getData())); +proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.setKey = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional bytes data = 1; - * Note that Uint8Array is not supported on all browsers. - * @see http://caniuse.com/Uint8Array - * This is a type-conversion wrapper around `getData()` - * @return {!Uint8Array} + * optional string value = 2; + * @return {string} */ -proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.getData_asU8 = function() { - return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( - this.getData())); +proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.getValue = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** - * @param {!(string|Uint8Array)} value - * @return {!proto.dapr.proto.runtime.v1.InvokeActorResponse} returns this + * @param {string} value + * @return {!proto.dapr.proto.runtime.v1.SetMetadataRequest} returns this */ -proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.setData = function(value) { - return jspb.Message.setProto3BytesField(this, 1, value); +proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.setValue = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); }; @@ -6826,7 +8455,7 @@ proto.dapr.proto.runtime.v1.InvokeActorResponse.prototype.setData = function(val * @private {!Array} * @const */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.repeatedFields_ = [2,3]; +proto.dapr.proto.runtime.v1.GetConfigurationRequest.repeatedFields_ = [2]; @@ -6843,8 +8472,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.GetMetadataResponse.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.GetConfigurationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.GetConfigurationRequest.toObject(opt_includeInstance, this); }; @@ -6853,18 +8482,15 @@ proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.toObject = function(op * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.GetMetadataResponse} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.GetConfigurationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.GetConfigurationRequest.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - activeActorsCountList: jspb.Message.toObjectList(msg.getActiveActorsCountList(), - proto.dapr.proto.runtime.v1.ActiveActorsCount.toObject, includeInstance), - registeredComponentsList: jspb.Message.toObjectList(msg.getRegisteredComponentsList(), - proto.dapr.proto.runtime.v1.RegisteredComponents.toObject, includeInstance), - extendedMetadataMap: (f = msg.getExtendedMetadataMap()) ? f.toObject(includeInstance, undefined) : [] + storeName: jspb.Message.getFieldWithDefault(msg, 1, ""), + keysList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -6878,23 +8504,23 @@ proto.dapr.proto.runtime.v1.GetMetadataResponse.toObject = function(includeInsta /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} + * @return {!proto.dapr.proto.runtime.v1.GetConfigurationRequest} */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.GetConfigurationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.GetMetadataResponse; - return proto.dapr.proto.runtime.v1.GetMetadataResponse.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.GetConfigurationRequest; + return proto.dapr.proto.runtime.v1.GetConfigurationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.GetMetadataResponse} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.GetConfigurationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} + * @return {!proto.dapr.proto.runtime.v1.GetConfigurationRequest} */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.GetConfigurationRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -6903,20 +8529,14 @@ proto.dapr.proto.runtime.v1.GetMetadataResponse.deserializeBinaryFromReader = fu switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setId(value); + msg.setStoreName(value); break; case 2: - var value = new proto.dapr.proto.runtime.v1.ActiveActorsCount; - reader.readMessage(value,proto.dapr.proto.runtime.v1.ActiveActorsCount.deserializeBinaryFromReader); - msg.addActiveActorsCount(value); + var value = /** @type {string} */ (reader.readString()); + msg.addKeys(value); break; case 3: - var value = new proto.dapr.proto.runtime.v1.RegisteredComponents; - reader.readMessage(value,proto.dapr.proto.runtime.v1.RegisteredComponents.deserializeBinaryFromReader); - msg.addRegisteredComponents(value); - break; - case 4: - var value = msg.getExtendedMetadataMap(); + var value = msg.getMetadataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); }); @@ -6934,9 +8554,9 @@ proto.dapr.proto.runtime.v1.GetMetadataResponse.deserializeBinaryFromReader = fu * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.GetConfigurationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.GetMetadataResponse.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.GetConfigurationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -6944,159 +8564,118 @@ proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.serializeBinary = func /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.GetMetadataResponse} message + * @param {!proto.dapr.proto.runtime.v1.GetConfigurationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.GetConfigurationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getId(); + f = message.getStoreName(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getActiveActorsCountList(); + f = message.getKeysList(); if (f.length > 0) { - writer.writeRepeatedMessage( + writer.writeRepeatedString( 2, - f, - proto.dapr.proto.runtime.v1.ActiveActorsCount.serializeBinaryToWriter - ); - } - f = message.getRegisteredComponentsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 3, - f, - proto.dapr.proto.runtime.v1.RegisteredComponents.serializeBinaryToWriter + f ); } - f = message.getExtendedMetadataMap(true); + f = message.getMetadataMap(true); if (f && f.getLength() > 0) { - f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); } }; /** - * optional string id = 1; + * optional string store_name = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.getId = function() { +proto.dapr.proto.runtime.v1.GetConfigurationRequest.prototype.getStoreName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} returns this + * @return {!proto.dapr.proto.runtime.v1.GetConfigurationRequest} returns this */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.setId = function(value) { +proto.dapr.proto.runtime.v1.GetConfigurationRequest.prototype.setStoreName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * repeated ActiveActorsCount active_actors_count = 2; - * @return {!Array} - */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.getActiveActorsCountList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.dapr.proto.runtime.v1.ActiveActorsCount, 2)); -}; - - -/** - * @param {!Array} value - * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} returns this -*/ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.setActiveActorsCountList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - - -/** - * @param {!proto.dapr.proto.runtime.v1.ActiveActorsCount=} opt_value - * @param {number=} opt_index - * @return {!proto.dapr.proto.runtime.v1.ActiveActorsCount} - */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.addActiveActorsCount = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.dapr.proto.runtime.v1.ActiveActorsCount, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} returns this - */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.clearActiveActorsCountList = function() { - return this.setActiveActorsCountList([]); -}; - - -/** - * repeated RegisteredComponents registered_components = 3; - * @return {!Array} + * repeated string keys = 2; + * @return {!Array} */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.getRegisteredComponentsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.dapr.proto.runtime.v1.RegisteredComponents, 3)); +proto.dapr.proto.runtime.v1.GetConfigurationRequest.prototype.getKeysList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; - -/** - * @param {!Array} value - * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} returns this -*/ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.setRegisteredComponentsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 3, value); + +/** + * @param {!Array} value + * @return {!proto.dapr.proto.runtime.v1.GetConfigurationRequest} returns this + */ +proto.dapr.proto.runtime.v1.GetConfigurationRequest.prototype.setKeysList = function(value) { + return jspb.Message.setField(this, 2, value || []); }; /** - * @param {!proto.dapr.proto.runtime.v1.RegisteredComponents=} opt_value + * @param {string} value * @param {number=} opt_index - * @return {!proto.dapr.proto.runtime.v1.RegisteredComponents} + * @return {!proto.dapr.proto.runtime.v1.GetConfigurationRequest} returns this */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.addRegisteredComponents = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.dapr.proto.runtime.v1.RegisteredComponents, opt_index); +proto.dapr.proto.runtime.v1.GetConfigurationRequest.prototype.addKeys = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. - * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} returns this + * @return {!proto.dapr.proto.runtime.v1.GetConfigurationRequest} returns this */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.clearRegisteredComponentsList = function() { - return this.setRegisteredComponentsList([]); +proto.dapr.proto.runtime.v1.GetConfigurationRequest.prototype.clearKeysList = function() { + return this.setKeysList([]); }; /** - * map extended_metadata = 4; + * map metadata = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.getExtendedMetadataMap = function(opt_noLazyCreate) { +proto.dapr.proto.runtime.v1.GetConfigurationRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( - jspb.Message.getMapField(this, 4, opt_noLazyCreate, + jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. - * @return {!proto.dapr.proto.runtime.v1.GetMetadataResponse} returns this + * @return {!proto.dapr.proto.runtime.v1.GetConfigurationRequest} returns this */ -proto.dapr.proto.runtime.v1.GetMetadataResponse.prototype.clearExtendedMetadataMap = function() { - this.getExtendedMetadataMap().clear(); +proto.dapr.proto.runtime.v1.GetConfigurationRequest.prototype.clearMetadataMap = function() { + this.getMetadataMap().clear(); return this;}; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.dapr.proto.runtime.v1.GetConfigurationResponse.repeatedFields_ = [1]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -7112,8 +8691,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.ActiveActorsCount.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.GetConfigurationResponse.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.GetConfigurationResponse.toObject(opt_includeInstance, this); }; @@ -7122,14 +8701,14 @@ proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.toObject = function(opt_ * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.ActiveActorsCount} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.GetConfigurationResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.ActiveActorsCount.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.GetConfigurationResponse.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - count: jspb.Message.getFieldWithDefault(msg, 2, 0) + itemsList: jspb.Message.toObjectList(msg.getItemsList(), + dapr_proto_common_v1_common_pb.ConfigurationItem.toObject, includeInstance) }; if (includeInstance) { @@ -7143,23 +8722,23 @@ proto.dapr.proto.runtime.v1.ActiveActorsCount.toObject = function(includeInstanc /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.ActiveActorsCount} + * @return {!proto.dapr.proto.runtime.v1.GetConfigurationResponse} */ -proto.dapr.proto.runtime.v1.ActiveActorsCount.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.GetConfigurationResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.ActiveActorsCount; - return proto.dapr.proto.runtime.v1.ActiveActorsCount.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.GetConfigurationResponse; + return proto.dapr.proto.runtime.v1.GetConfigurationResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.ActiveActorsCount} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.GetConfigurationResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.ActiveActorsCount} + * @return {!proto.dapr.proto.runtime.v1.GetConfigurationResponse} */ -proto.dapr.proto.runtime.v1.ActiveActorsCount.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.GetConfigurationResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7167,12 +8746,9 @@ proto.dapr.proto.runtime.v1.ActiveActorsCount.deserializeBinaryFromReader = func var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setType(value); - break; - case 2: - var value = /** @type {number} */ (reader.readInt32()); - msg.setCount(value); + var value = new dapr_proto_common_v1_common_pb.ConfigurationItem; + reader.readMessage(value,dapr_proto_common_v1_common_pb.ConfigurationItem.deserializeBinaryFromReader); + msg.addItems(value); break; default: reader.skipField(); @@ -7187,9 +8763,9 @@ proto.dapr.proto.runtime.v1.ActiveActorsCount.deserializeBinaryFromReader = func * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.GetConfigurationResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.ActiveActorsCount.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.GetConfigurationResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7197,66 +8773,69 @@ proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.serializeBinary = functi /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.ActiveActorsCount} message + * @param {!proto.dapr.proto.runtime.v1.GetConfigurationResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.ActiveActorsCount.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.GetConfigurationResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getType(); + f = message.getItemsList(); if (f.length > 0) { - writer.writeString( + writer.writeRepeatedMessage( 1, - f - ); - } - f = message.getCount(); - if (f !== 0) { - writer.writeInt32( - 2, - f + f, + dapr_proto_common_v1_common_pb.ConfigurationItem.serializeBinaryToWriter ); } }; /** - * optional string type = 1; - * @return {string} + * repeated dapr.proto.common.v1.ConfigurationItem items = 1; + * @return {!Array} */ -proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.getType = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.dapr.proto.runtime.v1.GetConfigurationResponse.prototype.getItemsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, dapr_proto_common_v1_common_pb.ConfigurationItem, 1)); }; /** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.ActiveActorsCount} returns this - */ -proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.setType = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + * @param {!Array} value + * @return {!proto.dapr.proto.runtime.v1.GetConfigurationResponse} returns this +*/ +proto.dapr.proto.runtime.v1.GetConfigurationResponse.prototype.setItemsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * optional int32 count = 2; - * @return {number} + * @param {!proto.dapr.proto.common.v1.ConfigurationItem=} opt_value + * @param {number=} opt_index + * @return {!proto.dapr.proto.common.v1.ConfigurationItem} */ -proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.getCount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +proto.dapr.proto.runtime.v1.GetConfigurationResponse.prototype.addItems = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.dapr.proto.common.v1.ConfigurationItem, opt_index); }; /** - * @param {number} value - * @return {!proto.dapr.proto.runtime.v1.ActiveActorsCount} returns this + * Clears the list making it empty but non-null. + * @return {!proto.dapr.proto.runtime.v1.GetConfigurationResponse} returns this */ -proto.dapr.proto.runtime.v1.ActiveActorsCount.prototype.setCount = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); +proto.dapr.proto.runtime.v1.GetConfigurationResponse.prototype.clearItemsList = function() { + return this.setItemsList([]); }; +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.repeatedFields_ = [2]; + if (jspb.Message.GENERATE_TO_OBJECT) { @@ -7272,8 +8851,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.RegisteredComponents.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.toObject(opt_includeInstance, this); }; @@ -7282,15 +8861,15 @@ proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.toObject = function(o * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.RegisteredComponents} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.RegisteredComponents.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - type: jspb.Message.getFieldWithDefault(msg, 2, ""), - version: jspb.Message.getFieldWithDefault(msg, 3, "") + storeName: jspb.Message.getFieldWithDefault(msg, 1, ""), + keysList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -7304,23 +8883,23 @@ proto.dapr.proto.runtime.v1.RegisteredComponents.toObject = function(includeInst /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.RegisteredComponents} + * @return {!proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest} */ -proto.dapr.proto.runtime.v1.RegisteredComponents.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.RegisteredComponents; - return proto.dapr.proto.runtime.v1.RegisteredComponents.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest; + return proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.RegisteredComponents} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.RegisteredComponents} + * @return {!proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest} */ -proto.dapr.proto.runtime.v1.RegisteredComponents.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7329,15 +8908,17 @@ proto.dapr.proto.runtime.v1.RegisteredComponents.deserializeBinaryFromReader = f switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); - msg.setName(value); + msg.setStoreName(value); break; case 2: var value = /** @type {string} */ (reader.readString()); - msg.setType(value); + msg.addKeys(value); break; case 3: - var value = /** @type {string} */ (reader.readString()); - msg.setVersion(value); + var value = msg.getMetadataMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); break; default: reader.skipField(); @@ -7352,9 +8933,9 @@ proto.dapr.proto.runtime.v1.RegisteredComponents.deserializeBinaryFromReader = f * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.RegisteredComponents.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7362,90 +8943,117 @@ proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.serializeBinary = fun /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.RegisteredComponents} message + * @param {!proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.RegisteredComponents.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getName(); + f = message.getStoreName(); if (f.length > 0) { writer.writeString( 1, f ); } - f = message.getType(); + f = message.getKeysList(); if (f.length > 0) { - writer.writeString( + writer.writeRepeatedString( 2, f ); } - f = message.getVersion(); - if (f.length > 0) { - writer.writeString( - 3, - f - ); + f = message.getMetadataMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); } }; /** - * optional string name = 1; + * optional string store_name = 1; * @return {string} */ -proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.getName = function() { +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.prototype.getStoreName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisteredComponents} returns this + * @return {!proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest} returns this */ -proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.setName = function(value) { +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.prototype.setStoreName = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** - * optional string type = 2; - * @return {string} + * repeated string keys = 2; + * @return {!Array} */ -proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.getType = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.prototype.getKeysList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest} returns this + */ +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.prototype.setKeysList = function(value) { + return jspb.Message.setField(this, 2, value || []); }; /** * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisteredComponents} returns this + * @param {number=} opt_index + * @return {!proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest} returns this */ -proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.setType = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.prototype.addKeys = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** - * optional string version = 3; - * @return {string} + * Clears the list making it empty but non-null. + * @return {!proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest} returns this */ -proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.getVersion = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.prototype.clearKeysList = function() { + return this.setKeysList([]); }; /** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.RegisteredComponents} returns this + * map metadata = 3; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} */ -proto.dapr.proto.runtime.v1.RegisteredComponents.prototype.setVersion = function(value) { - return jspb.Message.setProto3StringField(this, 3, value); +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.prototype.getMetadataMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 3, opt_noLazyCreate, + null)); }; +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest} returns this + */ +proto.dapr.proto.runtime.v1.SubscribeConfigurationRequest.prototype.clearMetadataMap = function() { + this.getMetadataMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.repeatedFields_ = [1]; @@ -7462,8 +9070,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) { * http://goto/soy-param-migration * @return {!Object} */ -proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.toObject = function(opt_includeInstance) { - return proto.dapr.proto.runtime.v1.SetMetadataRequest.toObject(opt_includeInstance, this); +proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.prototype.toObject = function(opt_includeInstance) { + return proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.toObject(opt_includeInstance, this); }; @@ -7472,14 +9080,14 @@ proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.toObject = function(opt * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration - * @param {!proto.dapr.proto.runtime.v1.SetMetadataRequest} msg The msg instance to transform. + * @param {!proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.SetMetadataRequest.toObject = function(includeInstance, msg) { +proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.toObject = function(includeInstance, msg) { var f, obj = { - key: jspb.Message.getFieldWithDefault(msg, 1, ""), - value: jspb.Message.getFieldWithDefault(msg, 2, "") + itemsList: jspb.Message.toObjectList(msg.getItemsList(), + dapr_proto_common_v1_common_pb.ConfigurationItem.toObject, includeInstance) }; if (includeInstance) { @@ -7493,23 +9101,23 @@ proto.dapr.proto.runtime.v1.SetMetadataRequest.toObject = function(includeInstan /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.dapr.proto.runtime.v1.SetMetadataRequest} + * @return {!proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse} */ -proto.dapr.proto.runtime.v1.SetMetadataRequest.deserializeBinary = function(bytes) { +proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); - var msg = new proto.dapr.proto.runtime.v1.SetMetadataRequest; - return proto.dapr.proto.runtime.v1.SetMetadataRequest.deserializeBinaryFromReader(msg, reader); + var msg = new proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse; + return proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. - * @param {!proto.dapr.proto.runtime.v1.SetMetadataRequest} msg The message object to deserialize into. + * @param {!proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.dapr.proto.runtime.v1.SetMetadataRequest} + * @return {!proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse} */ -proto.dapr.proto.runtime.v1.SetMetadataRequest.deserializeBinaryFromReader = function(msg, reader) { +proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; @@ -7517,12 +9125,9 @@ proto.dapr.proto.runtime.v1.SetMetadataRequest.deserializeBinaryFromReader = fun var field = reader.getFieldNumber(); switch (field) { case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setKey(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setValue(value); + var value = new dapr_proto_common_v1_common_pb.ConfigurationItem; + reader.readMessage(value,dapr_proto_common_v1_common_pb.ConfigurationItem.deserializeBinaryFromReader); + msg.addItems(value); break; default: reader.skipField(); @@ -7537,9 +9142,9 @@ proto.dapr.proto.runtime.v1.SetMetadataRequest.deserializeBinaryFromReader = fun * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ -proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.serializeBinary = function() { +proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); - proto.dapr.proto.runtime.v1.SetMetadataRequest.serializeBinaryToWriter(this, writer); + proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; @@ -7547,62 +9152,58 @@ proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.serializeBinary = funct /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. - * @param {!proto.dapr.proto.runtime.v1.SetMetadataRequest} message + * @param {!proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ -proto.dapr.proto.runtime.v1.SetMetadataRequest.serializeBinaryToWriter = function(message, writer) { +proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; - f = message.getKey(); + f = message.getItemsList(); if (f.length > 0) { - writer.writeString( + writer.writeRepeatedMessage( 1, - f - ); - } - f = message.getValue(); - if (f.length > 0) { - writer.writeString( - 2, - f + f, + dapr_proto_common_v1_common_pb.ConfigurationItem.serializeBinaryToWriter ); } }; /** - * optional string key = 1; - * @return {string} + * repeated dapr.proto.common.v1.ConfigurationItem items = 1; + * @return {!Array} */ -proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.getKey = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.prototype.getItemsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, dapr_proto_common_v1_common_pb.ConfigurationItem, 1)); }; /** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.SetMetadataRequest} returns this - */ -proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.setKey = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); + * @param {!Array} value + * @return {!proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse} returns this +*/ +proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.prototype.setItemsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** - * optional string value = 2; - * @return {string} + * @param {!proto.dapr.proto.common.v1.ConfigurationItem=} opt_value + * @param {number=} opt_index + * @return {!proto.dapr.proto.common.v1.ConfigurationItem} */ -proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.getValue = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.prototype.addItems = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.dapr.proto.common.v1.ConfigurationItem, opt_index); }; /** - * @param {string} value - * @return {!proto.dapr.proto.runtime.v1.SetMetadataRequest} returns this + * Clears the list making it empty but non-null. + * @return {!proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse} returns this */ -proto.dapr.proto.runtime.v1.SetMetadataRequest.prototype.setValue = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); +proto.dapr.proto.runtime.v1.SubscribeConfigurationResponse.prototype.clearItemsList = function() { + return this.setItemsList([]); }; diff --git a/src/proto/google/protobuf/any.proto b/src/proto/google/protobuf/any.proto index 6ed8a23c..e2c2042f 100644 --- a/src/proto/google/protobuf/any.proto +++ b/src/proto/google/protobuf/any.proto @@ -64,7 +64,7 @@ option objc_class_prefix = "GPB"; // foo = any.unpack(Foo.class); // } // -// Example 3: Pack and unpack a message in Python. +// Example 3: Pack and unpack a message in Python. // // foo = Foo(...) // any = Any() @@ -74,7 +74,7 @@ option objc_class_prefix = "GPB"; // any.Unpack(foo) // ... // -// Example 4: Pack and unpack a message in Go +// Example 4: Pack and unpack a message in Go // // foo := &pb.Foo{...} // any, err := anypb.New(foo) @@ -95,7 +95,7 @@ option objc_class_prefix = "GPB"; // // // JSON -// ==== +// // The JSON representation of an `Any` value uses the regular // representation of the deserialized, embedded message, with an // additional field `@type` which contains the type URL. Example: diff --git a/src/proto/google/protobuf/any_pb.js b/src/proto/google/protobuf/any_pb.js index cec1761c..2154f207 100644 --- a/src/proto/google/protobuf/any_pb.js +++ b/src/proto/google/protobuf/any_pb.js @@ -2,7 +2,6 @@ /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public diff --git a/src/proto/google/protobuf/empty_pb.js b/src/proto/google/protobuf/empty_pb.js index bd5d8a4e..d85fa310 100644 --- a/src/proto/google/protobuf/empty_pb.js +++ b/src/proto/google/protobuf/empty_pb.js @@ -2,7 +2,6 @@ /** * @fileoverview * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public