mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-13 04:58:09 +00:00
api: Remove generated API files from repo + update build.
All these files can be generated using the `make api` command and there is no real need to commit these into the repo. Only the api/go files need to be comitted of how the Go import system works. This also updates the Rust, Go, JS and gRPC-web (JS) code generation and UI build to use the nix-shell environment instead of using Docker.
This commit is contained in:
4
api/js/.gitignore
vendored
Normal file
4
api/js/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
*.ts
|
||||
*.js
|
||||
/node_modules
|
||||
*.log
|
38
api/js/Makefile
vendored
38
api/js/Makefile
vendored
@ -3,7 +3,7 @@
|
||||
PROTOC_PATH := ./node_modules/grpc-tools/bin/protoc
|
||||
PROTOC_GEN_TS_PATH := ./node_modules/.bin/protoc-gen-ts
|
||||
PROTOC_GEN_GRPC_PATH := ./node_modules/.bin/grpc_tools_node_protoc_plugin
|
||||
PROTOC_ARGS := -I=/googleapis -I=../proto --plugin=protoc-gen-ts=$(PROTOC_GEN_TS_PATH) --plugin=protoc-gen-grpc=$(PROTOC_GEN_GRPC_PATH) --js_out=import_style=commonjs,binary:. --ts_out=service=grpc-node,mode=grpc-js:.
|
||||
PROTOC_ARGS := -I=../proto --plugin=protoc-gen-ts=$(PROTOC_GEN_TS_PATH) --plugin=protoc-gen-grpc=$(PROTOC_GEN_GRPC_PATH) --js_out=import_style=commonjs,binary:. --ts_out=service=grpc-node,mode=grpc-js:.
|
||||
PROTOC_GRPC_ARGS := $(PROTOC_ARGS) --grpc_out=grpc_js:.
|
||||
|
||||
all: requirements common gw api integration stream google-api
|
||||
@ -12,31 +12,31 @@ requirements:
|
||||
yarn install
|
||||
|
||||
common:
|
||||
protoc $(PROTOC_ARGS) ../proto/common/common.proto
|
||||
$(PROTOC_PATH) $(PROTOC_ARGS) ../proto/common/common.proto
|
||||
|
||||
gw:
|
||||
protoc $(PROTOC_ARGS) ../proto/gw/gw.proto
|
||||
$(PROTOC_PATH) $(PROTOC_ARGS) ../proto/gw/gw.proto
|
||||
|
||||
api:
|
||||
protoc ${PROTOC_GRPC_ARGS} ../proto/api/internal.proto
|
||||
protoc ${PROTOC_GRPC_ARGS} ../proto/api/user.proto
|
||||
protoc ${PROTOC_GRPC_ARGS} ../proto/api/tenant.proto
|
||||
protoc ${PROTOC_GRPC_ARGS} ../proto/api/application.proto
|
||||
protoc ${PROTOC_GRPC_ARGS} ../proto/api/device_profile.proto
|
||||
protoc ${PROTOC_GRPC_ARGS} ../proto/api/device_profile_template.proto
|
||||
protoc ${PROTOC_GRPC_ARGS} ../proto/api/device.proto
|
||||
protoc ${PROTOC_GRPC_ARGS} ../proto/api/gateway.proto
|
||||
protoc ${PROTOC_GRPC_ARGS} ../proto/api/multicast_group.proto
|
||||
protoc ${PROTOC_GRPC_ARGS} ../proto/api/relay.proto
|
||||
$(PROTOC_PATH) ${PROTOC_GRPC_ARGS} ../proto/api/internal.proto
|
||||
$(PROTOC_PATH) ${PROTOC_GRPC_ARGS} ../proto/api/user.proto
|
||||
$(PROTOC_PATH) ${PROTOC_GRPC_ARGS} ../proto/api/tenant.proto
|
||||
$(PROTOC_PATH) ${PROTOC_GRPC_ARGS} ../proto/api/application.proto
|
||||
$(PROTOC_PATH) ${PROTOC_GRPC_ARGS} ../proto/api/device_profile.proto
|
||||
$(PROTOC_PATH) ${PROTOC_GRPC_ARGS} ../proto/api/device_profile_template.proto
|
||||
$(PROTOC_PATH) ${PROTOC_GRPC_ARGS} ../proto/api/device.proto
|
||||
$(PROTOC_PATH) ${PROTOC_GRPC_ARGS} ../proto/api/gateway.proto
|
||||
$(PROTOC_PATH) ${PROTOC_GRPC_ARGS} ../proto/api/multicast_group.proto
|
||||
$(PROTOC_PATH) ${PROTOC_GRPC_ARGS} ../proto/api/relay.proto
|
||||
|
||||
integration:
|
||||
protoc ${PROTOC_ARGS} ../proto/integration/integration.proto
|
||||
$(PROTOC_PATH) ${PROTOC_ARGS} ../proto/integration/integration.proto
|
||||
|
||||
stream:
|
||||
protoc ${PROTOC_ARGS} ../proto/stream/meta.proto
|
||||
protoc ${PROTOC_ARGS} ../proto/stream/frame.proto
|
||||
protoc ${PROTOC_ARGS} ../proto/stream/api_request.proto
|
||||
protoc ${PROTOC_ARGS} ../proto/stream/backend_interfaces.proto
|
||||
$(PROTOC_PATH) ${PROTOC_ARGS} ../proto/stream/meta.proto
|
||||
$(PROTOC_PATH) ${PROTOC_ARGS} ../proto/stream/frame.proto
|
||||
$(PROTOC_PATH) ${PROTOC_ARGS} ../proto/stream/api_request.proto
|
||||
$(PROTOC_PATH) ${PROTOC_ARGS} ../proto/stream/backend_interfaces.proto
|
||||
|
||||
google-api:
|
||||
protoc $(PROTOC_ARGS) /googleapis/google/api/*.proto
|
||||
$(PROTOC_PATH) $(PROTOC_ARGS) ../proto/google/api/*.proto
|
||||
|
255
api/js/api/application_grpc_pb.d.ts
vendored
255
api/js/api/application_grpc_pb.d.ts
vendored
@ -1,255 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// package: api
|
||||
// file: api/application.proto
|
||||
|
||||
import * as api_application_pb from "../api/application_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
|
||||
interface IApplicationServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
create: grpc.MethodDefinition<api_application_pb.CreateApplicationRequest, api_application_pb.CreateApplicationResponse>;
|
||||
get: grpc.MethodDefinition<api_application_pb.GetApplicationRequest, api_application_pb.GetApplicationResponse>;
|
||||
update: grpc.MethodDefinition<api_application_pb.UpdateApplicationRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.MethodDefinition<api_application_pb.DeleteApplicationRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.MethodDefinition<api_application_pb.ListApplicationsRequest, api_application_pb.ListApplicationsResponse>;
|
||||
listIntegrations: grpc.MethodDefinition<api_application_pb.ListIntegrationsRequest, api_application_pb.ListIntegrationsResponse>;
|
||||
createHttpIntegration: grpc.MethodDefinition<api_application_pb.CreateHttpIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getHttpIntegration: grpc.MethodDefinition<api_application_pb.GetHttpIntegrationRequest, api_application_pb.GetHttpIntegrationResponse>;
|
||||
updateHttpIntegration: grpc.MethodDefinition<api_application_pb.UpdateHttpIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteHttpIntegration: grpc.MethodDefinition<api_application_pb.DeleteHttpIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createInfluxDbIntegration: grpc.MethodDefinition<api_application_pb.CreateInfluxDbIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getInfluxDbIntegration: grpc.MethodDefinition<api_application_pb.GetInfluxDbIntegrationRequest, api_application_pb.GetInfluxDbIntegrationResponse>;
|
||||
updateInfluxDbIntegration: grpc.MethodDefinition<api_application_pb.UpdateInfluxDbIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteInfluxDbIntegration: grpc.MethodDefinition<api_application_pb.DeleteInfluxDbIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createThingsBoardIntegration: grpc.MethodDefinition<api_application_pb.CreateThingsBoardIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getThingsBoardIntegration: grpc.MethodDefinition<api_application_pb.GetThingsBoardIntegrationRequest, api_application_pb.GetThingsBoardIntegrationResponse>;
|
||||
updateThingsBoardIntegration: grpc.MethodDefinition<api_application_pb.UpdateThingsBoardIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteThingsBoardIntegration: grpc.MethodDefinition<api_application_pb.DeleteThingsBoardIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createMyDevicesIntegration: grpc.MethodDefinition<api_application_pb.CreateMyDevicesIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getMyDevicesIntegration: grpc.MethodDefinition<api_application_pb.GetMyDevicesIntegrationRequest, api_application_pb.GetMyDevicesIntegrationResponse>;
|
||||
updateMyDevicesIntegration: grpc.MethodDefinition<api_application_pb.UpdateMyDevicesIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteMyDevicesIntegration: grpc.MethodDefinition<api_application_pb.DeleteMyDevicesIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createLoraCloudIntegration: grpc.MethodDefinition<api_application_pb.CreateLoraCloudIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getLoraCloudIntegration: grpc.MethodDefinition<api_application_pb.GetLoraCloudIntegrationRequest, api_application_pb.GetLoraCloudIntegrationResponse>;
|
||||
updateLoraCloudIntegration: grpc.MethodDefinition<api_application_pb.UpdateLoraCloudIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteLoraCloudIntegration: grpc.MethodDefinition<api_application_pb.DeleteLoraCloudIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createGcpPubSubIntegration: grpc.MethodDefinition<api_application_pb.CreateGcpPubSubIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getGcpPubSubIntegration: grpc.MethodDefinition<api_application_pb.GetGcpPubSubIntegrationRequest, api_application_pb.GetGcpPubSubIntegrationResponse>;
|
||||
updateGcpPubSubIntegration: grpc.MethodDefinition<api_application_pb.UpdateGcpPubSubIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteGcpPubSubIntegration: grpc.MethodDefinition<api_application_pb.DeleteGcpPubSubIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createAwsSnsIntegration: grpc.MethodDefinition<api_application_pb.CreateAwsSnsIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getAwsSnsIntegration: grpc.MethodDefinition<api_application_pb.GetAwsSnsIntegrationRequest, api_application_pb.GetAwsSnsIntegrationResponse>;
|
||||
updateAwsSnsIntegration: grpc.MethodDefinition<api_application_pb.UpdateAwsSnsIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteAwsSnsIntegration: grpc.MethodDefinition<api_application_pb.DeleteAwsSnsIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createAzureServiceBusIntegration: grpc.MethodDefinition<api_application_pb.CreateAzureServiceBusIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getAzureServiceBusIntegration: grpc.MethodDefinition<api_application_pb.GetAzureServiceBusIntegrationRequest, api_application_pb.GetAzureServiceBusIntegrationResponse>;
|
||||
updateAzureServiceBusIntegration: grpc.MethodDefinition<api_application_pb.UpdateAzureServiceBusIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteAzureServiceBusIntegration: grpc.MethodDefinition<api_application_pb.DeleteAzureServiceBusIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createPilotThingsIntegration: grpc.MethodDefinition<api_application_pb.CreatePilotThingsIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getPilotThingsIntegration: grpc.MethodDefinition<api_application_pb.GetPilotThingsIntegrationRequest, api_application_pb.GetPilotThingsIntegrationResponse>;
|
||||
updatePilotThingsIntegration: grpc.MethodDefinition<api_application_pb.UpdatePilotThingsIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deletePilotThingsIntegration: grpc.MethodDefinition<api_application_pb.DeletePilotThingsIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createIftttIntegration: grpc.MethodDefinition<api_application_pb.CreateIftttIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getIftttIntegration: grpc.MethodDefinition<api_application_pb.GetIftttIntegrationRequest, api_application_pb.GetIftttIntegrationResponse>;
|
||||
updateIftttIntegration: grpc.MethodDefinition<api_application_pb.UpdateIftttIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteIftttIntegration: grpc.MethodDefinition<api_application_pb.DeleteIftttIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
generateMqttIntegrationClientCertificate: grpc.MethodDefinition<api_application_pb.GenerateMqttIntegrationClientCertificateRequest, api_application_pb.GenerateMqttIntegrationClientCertificateResponse>;
|
||||
}
|
||||
|
||||
export const ApplicationServiceService: IApplicationServiceService;
|
||||
|
||||
export interface IApplicationServiceServer extends grpc.UntypedServiceImplementation {
|
||||
create: grpc.handleUnaryCall<api_application_pb.CreateApplicationRequest, api_application_pb.CreateApplicationResponse>;
|
||||
get: grpc.handleUnaryCall<api_application_pb.GetApplicationRequest, api_application_pb.GetApplicationResponse>;
|
||||
update: grpc.handleUnaryCall<api_application_pb.UpdateApplicationRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.handleUnaryCall<api_application_pb.DeleteApplicationRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.handleUnaryCall<api_application_pb.ListApplicationsRequest, api_application_pb.ListApplicationsResponse>;
|
||||
listIntegrations: grpc.handleUnaryCall<api_application_pb.ListIntegrationsRequest, api_application_pb.ListIntegrationsResponse>;
|
||||
createHttpIntegration: grpc.handleUnaryCall<api_application_pb.CreateHttpIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getHttpIntegration: grpc.handleUnaryCall<api_application_pb.GetHttpIntegrationRequest, api_application_pb.GetHttpIntegrationResponse>;
|
||||
updateHttpIntegration: grpc.handleUnaryCall<api_application_pb.UpdateHttpIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteHttpIntegration: grpc.handleUnaryCall<api_application_pb.DeleteHttpIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createInfluxDbIntegration: grpc.handleUnaryCall<api_application_pb.CreateInfluxDbIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getInfluxDbIntegration: grpc.handleUnaryCall<api_application_pb.GetInfluxDbIntegrationRequest, api_application_pb.GetInfluxDbIntegrationResponse>;
|
||||
updateInfluxDbIntegration: grpc.handleUnaryCall<api_application_pb.UpdateInfluxDbIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteInfluxDbIntegration: grpc.handleUnaryCall<api_application_pb.DeleteInfluxDbIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createThingsBoardIntegration: grpc.handleUnaryCall<api_application_pb.CreateThingsBoardIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getThingsBoardIntegration: grpc.handleUnaryCall<api_application_pb.GetThingsBoardIntegrationRequest, api_application_pb.GetThingsBoardIntegrationResponse>;
|
||||
updateThingsBoardIntegration: grpc.handleUnaryCall<api_application_pb.UpdateThingsBoardIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteThingsBoardIntegration: grpc.handleUnaryCall<api_application_pb.DeleteThingsBoardIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createMyDevicesIntegration: grpc.handleUnaryCall<api_application_pb.CreateMyDevicesIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getMyDevicesIntegration: grpc.handleUnaryCall<api_application_pb.GetMyDevicesIntegrationRequest, api_application_pb.GetMyDevicesIntegrationResponse>;
|
||||
updateMyDevicesIntegration: grpc.handleUnaryCall<api_application_pb.UpdateMyDevicesIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteMyDevicesIntegration: grpc.handleUnaryCall<api_application_pb.DeleteMyDevicesIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createLoraCloudIntegration: grpc.handleUnaryCall<api_application_pb.CreateLoraCloudIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getLoraCloudIntegration: grpc.handleUnaryCall<api_application_pb.GetLoraCloudIntegrationRequest, api_application_pb.GetLoraCloudIntegrationResponse>;
|
||||
updateLoraCloudIntegration: grpc.handleUnaryCall<api_application_pb.UpdateLoraCloudIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteLoraCloudIntegration: grpc.handleUnaryCall<api_application_pb.DeleteLoraCloudIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createGcpPubSubIntegration: grpc.handleUnaryCall<api_application_pb.CreateGcpPubSubIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getGcpPubSubIntegration: grpc.handleUnaryCall<api_application_pb.GetGcpPubSubIntegrationRequest, api_application_pb.GetGcpPubSubIntegrationResponse>;
|
||||
updateGcpPubSubIntegration: grpc.handleUnaryCall<api_application_pb.UpdateGcpPubSubIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteGcpPubSubIntegration: grpc.handleUnaryCall<api_application_pb.DeleteGcpPubSubIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createAwsSnsIntegration: grpc.handleUnaryCall<api_application_pb.CreateAwsSnsIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getAwsSnsIntegration: grpc.handleUnaryCall<api_application_pb.GetAwsSnsIntegrationRequest, api_application_pb.GetAwsSnsIntegrationResponse>;
|
||||
updateAwsSnsIntegration: grpc.handleUnaryCall<api_application_pb.UpdateAwsSnsIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteAwsSnsIntegration: grpc.handleUnaryCall<api_application_pb.DeleteAwsSnsIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createAzureServiceBusIntegration: grpc.handleUnaryCall<api_application_pb.CreateAzureServiceBusIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getAzureServiceBusIntegration: grpc.handleUnaryCall<api_application_pb.GetAzureServiceBusIntegrationRequest, api_application_pb.GetAzureServiceBusIntegrationResponse>;
|
||||
updateAzureServiceBusIntegration: grpc.handleUnaryCall<api_application_pb.UpdateAzureServiceBusIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteAzureServiceBusIntegration: grpc.handleUnaryCall<api_application_pb.DeleteAzureServiceBusIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createPilotThingsIntegration: grpc.handleUnaryCall<api_application_pb.CreatePilotThingsIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getPilotThingsIntegration: grpc.handleUnaryCall<api_application_pb.GetPilotThingsIntegrationRequest, api_application_pb.GetPilotThingsIntegrationResponse>;
|
||||
updatePilotThingsIntegration: grpc.handleUnaryCall<api_application_pb.UpdatePilotThingsIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deletePilotThingsIntegration: grpc.handleUnaryCall<api_application_pb.DeletePilotThingsIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
createIftttIntegration: grpc.handleUnaryCall<api_application_pb.CreateIftttIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
getIftttIntegration: grpc.handleUnaryCall<api_application_pb.GetIftttIntegrationRequest, api_application_pb.GetIftttIntegrationResponse>;
|
||||
updateIftttIntegration: grpc.handleUnaryCall<api_application_pb.UpdateIftttIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteIftttIntegration: grpc.handleUnaryCall<api_application_pb.DeleteIftttIntegrationRequest, google_protobuf_empty_pb.Empty>;
|
||||
generateMqttIntegrationClientCertificate: grpc.handleUnaryCall<api_application_pb.GenerateMqttIntegrationClientCertificateRequest, api_application_pb.GenerateMqttIntegrationClientCertificateResponse>;
|
||||
}
|
||||
|
||||
export class ApplicationServiceClient extends grpc.Client {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
create(argument: api_application_pb.CreateApplicationRequest, callback: grpc.requestCallback<api_application_pb.CreateApplicationResponse>): grpc.ClientUnaryCall;
|
||||
create(argument: api_application_pb.CreateApplicationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.CreateApplicationResponse>): grpc.ClientUnaryCall;
|
||||
create(argument: api_application_pb.CreateApplicationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.CreateApplicationResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_application_pb.GetApplicationRequest, callback: grpc.requestCallback<api_application_pb.GetApplicationResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_application_pb.GetApplicationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetApplicationResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_application_pb.GetApplicationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetApplicationResponse>): grpc.ClientUnaryCall;
|
||||
update(argument: api_application_pb.UpdateApplicationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_application_pb.UpdateApplicationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_application_pb.UpdateApplicationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_application_pb.DeleteApplicationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_application_pb.DeleteApplicationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_application_pb.DeleteApplicationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
list(argument: api_application_pb.ListApplicationsRequest, callback: grpc.requestCallback<api_application_pb.ListApplicationsResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_application_pb.ListApplicationsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.ListApplicationsResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_application_pb.ListApplicationsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.ListApplicationsResponse>): grpc.ClientUnaryCall;
|
||||
listIntegrations(argument: api_application_pb.ListIntegrationsRequest, callback: grpc.requestCallback<api_application_pb.ListIntegrationsResponse>): grpc.ClientUnaryCall;
|
||||
listIntegrations(argument: api_application_pb.ListIntegrationsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.ListIntegrationsResponse>): grpc.ClientUnaryCall;
|
||||
listIntegrations(argument: api_application_pb.ListIntegrationsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.ListIntegrationsResponse>): grpc.ClientUnaryCall;
|
||||
createHttpIntegration(argument: api_application_pb.CreateHttpIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createHttpIntegration(argument: api_application_pb.CreateHttpIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createHttpIntegration(argument: api_application_pb.CreateHttpIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getHttpIntegration(argument: api_application_pb.GetHttpIntegrationRequest, callback: grpc.requestCallback<api_application_pb.GetHttpIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getHttpIntegration(argument: api_application_pb.GetHttpIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetHttpIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getHttpIntegration(argument: api_application_pb.GetHttpIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetHttpIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
updateHttpIntegration(argument: api_application_pb.UpdateHttpIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateHttpIntegration(argument: api_application_pb.UpdateHttpIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateHttpIntegration(argument: api_application_pb.UpdateHttpIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteHttpIntegration(argument: api_application_pb.DeleteHttpIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteHttpIntegration(argument: api_application_pb.DeleteHttpIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteHttpIntegration(argument: api_application_pb.DeleteHttpIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createInfluxDbIntegration(argument: api_application_pb.CreateInfluxDbIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createInfluxDbIntegration(argument: api_application_pb.CreateInfluxDbIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createInfluxDbIntegration(argument: api_application_pb.CreateInfluxDbIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getInfluxDbIntegration(argument: api_application_pb.GetInfluxDbIntegrationRequest, callback: grpc.requestCallback<api_application_pb.GetInfluxDbIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getInfluxDbIntegration(argument: api_application_pb.GetInfluxDbIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetInfluxDbIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getInfluxDbIntegration(argument: api_application_pb.GetInfluxDbIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetInfluxDbIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
updateInfluxDbIntegration(argument: api_application_pb.UpdateInfluxDbIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateInfluxDbIntegration(argument: api_application_pb.UpdateInfluxDbIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateInfluxDbIntegration(argument: api_application_pb.UpdateInfluxDbIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteInfluxDbIntegration(argument: api_application_pb.DeleteInfluxDbIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteInfluxDbIntegration(argument: api_application_pb.DeleteInfluxDbIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteInfluxDbIntegration(argument: api_application_pb.DeleteInfluxDbIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createThingsBoardIntegration(argument: api_application_pb.CreateThingsBoardIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createThingsBoardIntegration(argument: api_application_pb.CreateThingsBoardIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createThingsBoardIntegration(argument: api_application_pb.CreateThingsBoardIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getThingsBoardIntegration(argument: api_application_pb.GetThingsBoardIntegrationRequest, callback: grpc.requestCallback<api_application_pb.GetThingsBoardIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getThingsBoardIntegration(argument: api_application_pb.GetThingsBoardIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetThingsBoardIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getThingsBoardIntegration(argument: api_application_pb.GetThingsBoardIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetThingsBoardIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
updateThingsBoardIntegration(argument: api_application_pb.UpdateThingsBoardIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateThingsBoardIntegration(argument: api_application_pb.UpdateThingsBoardIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateThingsBoardIntegration(argument: api_application_pb.UpdateThingsBoardIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteThingsBoardIntegration(argument: api_application_pb.DeleteThingsBoardIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteThingsBoardIntegration(argument: api_application_pb.DeleteThingsBoardIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteThingsBoardIntegration(argument: api_application_pb.DeleteThingsBoardIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createMyDevicesIntegration(argument: api_application_pb.CreateMyDevicesIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createMyDevicesIntegration(argument: api_application_pb.CreateMyDevicesIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createMyDevicesIntegration(argument: api_application_pb.CreateMyDevicesIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getMyDevicesIntegration(argument: api_application_pb.GetMyDevicesIntegrationRequest, callback: grpc.requestCallback<api_application_pb.GetMyDevicesIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getMyDevicesIntegration(argument: api_application_pb.GetMyDevicesIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetMyDevicesIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getMyDevicesIntegration(argument: api_application_pb.GetMyDevicesIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetMyDevicesIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
updateMyDevicesIntegration(argument: api_application_pb.UpdateMyDevicesIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateMyDevicesIntegration(argument: api_application_pb.UpdateMyDevicesIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateMyDevicesIntegration(argument: api_application_pb.UpdateMyDevicesIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteMyDevicesIntegration(argument: api_application_pb.DeleteMyDevicesIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteMyDevicesIntegration(argument: api_application_pb.DeleteMyDevicesIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteMyDevicesIntegration(argument: api_application_pb.DeleteMyDevicesIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createLoraCloudIntegration(argument: api_application_pb.CreateLoraCloudIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createLoraCloudIntegration(argument: api_application_pb.CreateLoraCloudIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createLoraCloudIntegration(argument: api_application_pb.CreateLoraCloudIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getLoraCloudIntegration(argument: api_application_pb.GetLoraCloudIntegrationRequest, callback: grpc.requestCallback<api_application_pb.GetLoraCloudIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getLoraCloudIntegration(argument: api_application_pb.GetLoraCloudIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetLoraCloudIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getLoraCloudIntegration(argument: api_application_pb.GetLoraCloudIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetLoraCloudIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
updateLoraCloudIntegration(argument: api_application_pb.UpdateLoraCloudIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateLoraCloudIntegration(argument: api_application_pb.UpdateLoraCloudIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateLoraCloudIntegration(argument: api_application_pb.UpdateLoraCloudIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteLoraCloudIntegration(argument: api_application_pb.DeleteLoraCloudIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteLoraCloudIntegration(argument: api_application_pb.DeleteLoraCloudIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteLoraCloudIntegration(argument: api_application_pb.DeleteLoraCloudIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createGcpPubSubIntegration(argument: api_application_pb.CreateGcpPubSubIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createGcpPubSubIntegration(argument: api_application_pb.CreateGcpPubSubIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createGcpPubSubIntegration(argument: api_application_pb.CreateGcpPubSubIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getGcpPubSubIntegration(argument: api_application_pb.GetGcpPubSubIntegrationRequest, callback: grpc.requestCallback<api_application_pb.GetGcpPubSubIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getGcpPubSubIntegration(argument: api_application_pb.GetGcpPubSubIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetGcpPubSubIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getGcpPubSubIntegration(argument: api_application_pb.GetGcpPubSubIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetGcpPubSubIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
updateGcpPubSubIntegration(argument: api_application_pb.UpdateGcpPubSubIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateGcpPubSubIntegration(argument: api_application_pb.UpdateGcpPubSubIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateGcpPubSubIntegration(argument: api_application_pb.UpdateGcpPubSubIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteGcpPubSubIntegration(argument: api_application_pb.DeleteGcpPubSubIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteGcpPubSubIntegration(argument: api_application_pb.DeleteGcpPubSubIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteGcpPubSubIntegration(argument: api_application_pb.DeleteGcpPubSubIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createAwsSnsIntegration(argument: api_application_pb.CreateAwsSnsIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createAwsSnsIntegration(argument: api_application_pb.CreateAwsSnsIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createAwsSnsIntegration(argument: api_application_pb.CreateAwsSnsIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getAwsSnsIntegration(argument: api_application_pb.GetAwsSnsIntegrationRequest, callback: grpc.requestCallback<api_application_pb.GetAwsSnsIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getAwsSnsIntegration(argument: api_application_pb.GetAwsSnsIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetAwsSnsIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getAwsSnsIntegration(argument: api_application_pb.GetAwsSnsIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetAwsSnsIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
updateAwsSnsIntegration(argument: api_application_pb.UpdateAwsSnsIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateAwsSnsIntegration(argument: api_application_pb.UpdateAwsSnsIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateAwsSnsIntegration(argument: api_application_pb.UpdateAwsSnsIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteAwsSnsIntegration(argument: api_application_pb.DeleteAwsSnsIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteAwsSnsIntegration(argument: api_application_pb.DeleteAwsSnsIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteAwsSnsIntegration(argument: api_application_pb.DeleteAwsSnsIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createAzureServiceBusIntegration(argument: api_application_pb.CreateAzureServiceBusIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createAzureServiceBusIntegration(argument: api_application_pb.CreateAzureServiceBusIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createAzureServiceBusIntegration(argument: api_application_pb.CreateAzureServiceBusIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getAzureServiceBusIntegration(argument: api_application_pb.GetAzureServiceBusIntegrationRequest, callback: grpc.requestCallback<api_application_pb.GetAzureServiceBusIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getAzureServiceBusIntegration(argument: api_application_pb.GetAzureServiceBusIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetAzureServiceBusIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getAzureServiceBusIntegration(argument: api_application_pb.GetAzureServiceBusIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetAzureServiceBusIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
updateAzureServiceBusIntegration(argument: api_application_pb.UpdateAzureServiceBusIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateAzureServiceBusIntegration(argument: api_application_pb.UpdateAzureServiceBusIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateAzureServiceBusIntegration(argument: api_application_pb.UpdateAzureServiceBusIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteAzureServiceBusIntegration(argument: api_application_pb.DeleteAzureServiceBusIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteAzureServiceBusIntegration(argument: api_application_pb.DeleteAzureServiceBusIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteAzureServiceBusIntegration(argument: api_application_pb.DeleteAzureServiceBusIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createPilotThingsIntegration(argument: api_application_pb.CreatePilotThingsIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createPilotThingsIntegration(argument: api_application_pb.CreatePilotThingsIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createPilotThingsIntegration(argument: api_application_pb.CreatePilotThingsIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getPilotThingsIntegration(argument: api_application_pb.GetPilotThingsIntegrationRequest, callback: grpc.requestCallback<api_application_pb.GetPilotThingsIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getPilotThingsIntegration(argument: api_application_pb.GetPilotThingsIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetPilotThingsIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getPilotThingsIntegration(argument: api_application_pb.GetPilotThingsIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetPilotThingsIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
updatePilotThingsIntegration(argument: api_application_pb.UpdatePilotThingsIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updatePilotThingsIntegration(argument: api_application_pb.UpdatePilotThingsIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updatePilotThingsIntegration(argument: api_application_pb.UpdatePilotThingsIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deletePilotThingsIntegration(argument: api_application_pb.DeletePilotThingsIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deletePilotThingsIntegration(argument: api_application_pb.DeletePilotThingsIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deletePilotThingsIntegration(argument: api_application_pb.DeletePilotThingsIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createIftttIntegration(argument: api_application_pb.CreateIftttIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createIftttIntegration(argument: api_application_pb.CreateIftttIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createIftttIntegration(argument: api_application_pb.CreateIftttIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getIftttIntegration(argument: api_application_pb.GetIftttIntegrationRequest, callback: grpc.requestCallback<api_application_pb.GetIftttIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getIftttIntegration(argument: api_application_pb.GetIftttIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetIftttIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
getIftttIntegration(argument: api_application_pb.GetIftttIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GetIftttIntegrationResponse>): grpc.ClientUnaryCall;
|
||||
updateIftttIntegration(argument: api_application_pb.UpdateIftttIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateIftttIntegration(argument: api_application_pb.UpdateIftttIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateIftttIntegration(argument: api_application_pb.UpdateIftttIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteIftttIntegration(argument: api_application_pb.DeleteIftttIntegrationRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteIftttIntegration(argument: api_application_pb.DeleteIftttIntegrationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteIftttIntegration(argument: api_application_pb.DeleteIftttIntegrationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
generateMqttIntegrationClientCertificate(argument: api_application_pb.GenerateMqttIntegrationClientCertificateRequest, callback: grpc.requestCallback<api_application_pb.GenerateMqttIntegrationClientCertificateResponse>): grpc.ClientUnaryCall;
|
||||
generateMqttIntegrationClientCertificate(argument: api_application_pb.GenerateMqttIntegrationClientCertificateRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GenerateMqttIntegrationClientCertificateResponse>): grpc.ClientUnaryCall;
|
||||
generateMqttIntegrationClientCertificate(argument: api_application_pb.GenerateMqttIntegrationClientCertificateRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_application_pb.GenerateMqttIntegrationClientCertificateResponse>): grpc.ClientUnaryCall;
|
||||
}
|
1273
api/js/api/application_grpc_pb.js
vendored
1273
api/js/api/application_grpc_pb.js
vendored
File diff suppressed because it is too large
Load Diff
1923
api/js/api/application_pb.d.ts
vendored
1923
api/js/api/application_pb.d.ts
vendored
File diff suppressed because it is too large
Load Diff
14595
api/js/api/application_pb.js
vendored
14595
api/js/api/application_pb.js
vendored
File diff suppressed because it is too large
Load Diff
120
api/js/api/device_grpc_pb.d.ts
vendored
120
api/js/api/device_grpc_pb.d.ts
vendored
@ -1,120 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// package: api
|
||||
// file: api/device.proto
|
||||
|
||||
import * as api_device_pb from "../api/device_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
|
||||
interface IDeviceServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
create: grpc.MethodDefinition<api_device_pb.CreateDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
get: grpc.MethodDefinition<api_device_pb.GetDeviceRequest, api_device_pb.GetDeviceResponse>;
|
||||
update: grpc.MethodDefinition<api_device_pb.UpdateDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.MethodDefinition<api_device_pb.DeleteDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.MethodDefinition<api_device_pb.ListDevicesRequest, api_device_pb.ListDevicesResponse>;
|
||||
createKeys: grpc.MethodDefinition<api_device_pb.CreateDeviceKeysRequest, google_protobuf_empty_pb.Empty>;
|
||||
getKeys: grpc.MethodDefinition<api_device_pb.GetDeviceKeysRequest, api_device_pb.GetDeviceKeysResponse>;
|
||||
updateKeys: grpc.MethodDefinition<api_device_pb.UpdateDeviceKeysRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteKeys: grpc.MethodDefinition<api_device_pb.DeleteDeviceKeysRequest, google_protobuf_empty_pb.Empty>;
|
||||
flushDevNonces: grpc.MethodDefinition<api_device_pb.FlushDevNoncesRequest, google_protobuf_empty_pb.Empty>;
|
||||
activate: grpc.MethodDefinition<api_device_pb.ActivateDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
deactivate: grpc.MethodDefinition<api_device_pb.DeactivateDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
getActivation: grpc.MethodDefinition<api_device_pb.GetDeviceActivationRequest, api_device_pb.GetDeviceActivationResponse>;
|
||||
getRandomDevAddr: grpc.MethodDefinition<api_device_pb.GetRandomDevAddrRequest, api_device_pb.GetRandomDevAddrResponse>;
|
||||
getMetrics: grpc.MethodDefinition<api_device_pb.GetDeviceMetricsRequest, api_device_pb.GetDeviceMetricsResponse>;
|
||||
getLinkMetrics: grpc.MethodDefinition<api_device_pb.GetDeviceLinkMetricsRequest, api_device_pb.GetDeviceLinkMetricsResponse>;
|
||||
enqueue: grpc.MethodDefinition<api_device_pb.EnqueueDeviceQueueItemRequest, api_device_pb.EnqueueDeviceQueueItemResponse>;
|
||||
flushQueue: grpc.MethodDefinition<api_device_pb.FlushDeviceQueueRequest, google_protobuf_empty_pb.Empty>;
|
||||
getQueue: grpc.MethodDefinition<api_device_pb.GetDeviceQueueItemsRequest, api_device_pb.GetDeviceQueueItemsResponse>;
|
||||
getNextFCntDown: grpc.MethodDefinition<api_device_pb.GetDeviceNextFCntDownRequest, api_device_pb.GetDeviceNextFCntDownResponse>;
|
||||
}
|
||||
|
||||
export const DeviceServiceService: IDeviceServiceService;
|
||||
|
||||
export interface IDeviceServiceServer extends grpc.UntypedServiceImplementation {
|
||||
create: grpc.handleUnaryCall<api_device_pb.CreateDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
get: grpc.handleUnaryCall<api_device_pb.GetDeviceRequest, api_device_pb.GetDeviceResponse>;
|
||||
update: grpc.handleUnaryCall<api_device_pb.UpdateDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.handleUnaryCall<api_device_pb.DeleteDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.handleUnaryCall<api_device_pb.ListDevicesRequest, api_device_pb.ListDevicesResponse>;
|
||||
createKeys: grpc.handleUnaryCall<api_device_pb.CreateDeviceKeysRequest, google_protobuf_empty_pb.Empty>;
|
||||
getKeys: grpc.handleUnaryCall<api_device_pb.GetDeviceKeysRequest, api_device_pb.GetDeviceKeysResponse>;
|
||||
updateKeys: grpc.handleUnaryCall<api_device_pb.UpdateDeviceKeysRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteKeys: grpc.handleUnaryCall<api_device_pb.DeleteDeviceKeysRequest, google_protobuf_empty_pb.Empty>;
|
||||
flushDevNonces: grpc.handleUnaryCall<api_device_pb.FlushDevNoncesRequest, google_protobuf_empty_pb.Empty>;
|
||||
activate: grpc.handleUnaryCall<api_device_pb.ActivateDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
deactivate: grpc.handleUnaryCall<api_device_pb.DeactivateDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
getActivation: grpc.handleUnaryCall<api_device_pb.GetDeviceActivationRequest, api_device_pb.GetDeviceActivationResponse>;
|
||||
getRandomDevAddr: grpc.handleUnaryCall<api_device_pb.GetRandomDevAddrRequest, api_device_pb.GetRandomDevAddrResponse>;
|
||||
getMetrics: grpc.handleUnaryCall<api_device_pb.GetDeviceMetricsRequest, api_device_pb.GetDeviceMetricsResponse>;
|
||||
getLinkMetrics: grpc.handleUnaryCall<api_device_pb.GetDeviceLinkMetricsRequest, api_device_pb.GetDeviceLinkMetricsResponse>;
|
||||
enqueue: grpc.handleUnaryCall<api_device_pb.EnqueueDeviceQueueItemRequest, api_device_pb.EnqueueDeviceQueueItemResponse>;
|
||||
flushQueue: grpc.handleUnaryCall<api_device_pb.FlushDeviceQueueRequest, google_protobuf_empty_pb.Empty>;
|
||||
getQueue: grpc.handleUnaryCall<api_device_pb.GetDeviceQueueItemsRequest, api_device_pb.GetDeviceQueueItemsResponse>;
|
||||
getNextFCntDown: grpc.handleUnaryCall<api_device_pb.GetDeviceNextFCntDownRequest, api_device_pb.GetDeviceNextFCntDownResponse>;
|
||||
}
|
||||
|
||||
export class DeviceServiceClient extends grpc.Client {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
create(argument: api_device_pb.CreateDeviceRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
create(argument: api_device_pb.CreateDeviceRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
create(argument: api_device_pb.CreateDeviceRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
get(argument: api_device_pb.GetDeviceRequest, callback: grpc.requestCallback<api_device_pb.GetDeviceResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_device_pb.GetDeviceRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_device_pb.GetDeviceRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceResponse>): grpc.ClientUnaryCall;
|
||||
update(argument: api_device_pb.UpdateDeviceRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_device_pb.UpdateDeviceRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_device_pb.UpdateDeviceRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_device_pb.DeleteDeviceRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_device_pb.DeleteDeviceRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_device_pb.DeleteDeviceRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
list(argument: api_device_pb.ListDevicesRequest, callback: grpc.requestCallback<api_device_pb.ListDevicesResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_device_pb.ListDevicesRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.ListDevicesResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_device_pb.ListDevicesRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.ListDevicesResponse>): grpc.ClientUnaryCall;
|
||||
createKeys(argument: api_device_pb.CreateDeviceKeysRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createKeys(argument: api_device_pb.CreateDeviceKeysRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
createKeys(argument: api_device_pb.CreateDeviceKeysRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getKeys(argument: api_device_pb.GetDeviceKeysRequest, callback: grpc.requestCallback<api_device_pb.GetDeviceKeysResponse>): grpc.ClientUnaryCall;
|
||||
getKeys(argument: api_device_pb.GetDeviceKeysRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceKeysResponse>): grpc.ClientUnaryCall;
|
||||
getKeys(argument: api_device_pb.GetDeviceKeysRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceKeysResponse>): grpc.ClientUnaryCall;
|
||||
updateKeys(argument: api_device_pb.UpdateDeviceKeysRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateKeys(argument: api_device_pb.UpdateDeviceKeysRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateKeys(argument: api_device_pb.UpdateDeviceKeysRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteKeys(argument: api_device_pb.DeleteDeviceKeysRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteKeys(argument: api_device_pb.DeleteDeviceKeysRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteKeys(argument: api_device_pb.DeleteDeviceKeysRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
flushDevNonces(argument: api_device_pb.FlushDevNoncesRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
flushDevNonces(argument: api_device_pb.FlushDevNoncesRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
flushDevNonces(argument: api_device_pb.FlushDevNoncesRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
activate(argument: api_device_pb.ActivateDeviceRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
activate(argument: api_device_pb.ActivateDeviceRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
activate(argument: api_device_pb.ActivateDeviceRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deactivate(argument: api_device_pb.DeactivateDeviceRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deactivate(argument: api_device_pb.DeactivateDeviceRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deactivate(argument: api_device_pb.DeactivateDeviceRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getActivation(argument: api_device_pb.GetDeviceActivationRequest, callback: grpc.requestCallback<api_device_pb.GetDeviceActivationResponse>): grpc.ClientUnaryCall;
|
||||
getActivation(argument: api_device_pb.GetDeviceActivationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceActivationResponse>): grpc.ClientUnaryCall;
|
||||
getActivation(argument: api_device_pb.GetDeviceActivationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceActivationResponse>): grpc.ClientUnaryCall;
|
||||
getRandomDevAddr(argument: api_device_pb.GetRandomDevAddrRequest, callback: grpc.requestCallback<api_device_pb.GetRandomDevAddrResponse>): grpc.ClientUnaryCall;
|
||||
getRandomDevAddr(argument: api_device_pb.GetRandomDevAddrRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetRandomDevAddrResponse>): grpc.ClientUnaryCall;
|
||||
getRandomDevAddr(argument: api_device_pb.GetRandomDevAddrRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetRandomDevAddrResponse>): grpc.ClientUnaryCall;
|
||||
getMetrics(argument: api_device_pb.GetDeviceMetricsRequest, callback: grpc.requestCallback<api_device_pb.GetDeviceMetricsResponse>): grpc.ClientUnaryCall;
|
||||
getMetrics(argument: api_device_pb.GetDeviceMetricsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceMetricsResponse>): grpc.ClientUnaryCall;
|
||||
getMetrics(argument: api_device_pb.GetDeviceMetricsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceMetricsResponse>): grpc.ClientUnaryCall;
|
||||
getLinkMetrics(argument: api_device_pb.GetDeviceLinkMetricsRequest, callback: grpc.requestCallback<api_device_pb.GetDeviceLinkMetricsResponse>): grpc.ClientUnaryCall;
|
||||
getLinkMetrics(argument: api_device_pb.GetDeviceLinkMetricsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceLinkMetricsResponse>): grpc.ClientUnaryCall;
|
||||
getLinkMetrics(argument: api_device_pb.GetDeviceLinkMetricsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceLinkMetricsResponse>): grpc.ClientUnaryCall;
|
||||
enqueue(argument: api_device_pb.EnqueueDeviceQueueItemRequest, callback: grpc.requestCallback<api_device_pb.EnqueueDeviceQueueItemResponse>): grpc.ClientUnaryCall;
|
||||
enqueue(argument: api_device_pb.EnqueueDeviceQueueItemRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.EnqueueDeviceQueueItemResponse>): grpc.ClientUnaryCall;
|
||||
enqueue(argument: api_device_pb.EnqueueDeviceQueueItemRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.EnqueueDeviceQueueItemResponse>): grpc.ClientUnaryCall;
|
||||
flushQueue(argument: api_device_pb.FlushDeviceQueueRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
flushQueue(argument: api_device_pb.FlushDeviceQueueRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
flushQueue(argument: api_device_pb.FlushDeviceQueueRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getQueue(argument: api_device_pb.GetDeviceQueueItemsRequest, callback: grpc.requestCallback<api_device_pb.GetDeviceQueueItemsResponse>): grpc.ClientUnaryCall;
|
||||
getQueue(argument: api_device_pb.GetDeviceQueueItemsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceQueueItemsResponse>): grpc.ClientUnaryCall;
|
||||
getQueue(argument: api_device_pb.GetDeviceQueueItemsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceQueueItemsResponse>): grpc.ClientUnaryCall;
|
||||
getNextFCntDown(argument: api_device_pb.GetDeviceNextFCntDownRequest, callback: grpc.requestCallback<api_device_pb.GetDeviceNextFCntDownResponse>): grpc.ClientUnaryCall;
|
||||
getNextFCntDown(argument: api_device_pb.GetDeviceNextFCntDownRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceNextFCntDownResponse>): grpc.ClientUnaryCall;
|
||||
getNextFCntDown(argument: api_device_pb.GetDeviceNextFCntDownRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_pb.GetDeviceNextFCntDownResponse>): grpc.ClientUnaryCall;
|
||||
}
|
606
api/js/api/device_grpc_pb.js
vendored
606
api/js/api/device_grpc_pb.js
vendored
@ -1,606 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
'use strict';
|
||||
var grpc = require('@grpc/grpc-js');
|
||||
var api_device_pb = require('../api/device_pb.js');
|
||||
var common_common_pb = require('../common/common_pb.js');
|
||||
var google_api_annotations_pb = require('../google/api/annotations_pb.js');
|
||||
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
||||
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
||||
|
||||
function serialize_api_ActivateDeviceRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.ActivateDeviceRequest)) {
|
||||
throw new Error('Expected argument of type api.ActivateDeviceRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ActivateDeviceRequest(buffer_arg) {
|
||||
return api_device_pb.ActivateDeviceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_CreateDeviceKeysRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.CreateDeviceKeysRequest)) {
|
||||
throw new Error('Expected argument of type api.CreateDeviceKeysRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateDeviceKeysRequest(buffer_arg) {
|
||||
return api_device_pb.CreateDeviceKeysRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_CreateDeviceRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.CreateDeviceRequest)) {
|
||||
throw new Error('Expected argument of type api.CreateDeviceRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateDeviceRequest(buffer_arg) {
|
||||
return api_device_pb.CreateDeviceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_DeactivateDeviceRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.DeactivateDeviceRequest)) {
|
||||
throw new Error('Expected argument of type api.DeactivateDeviceRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_DeactivateDeviceRequest(buffer_arg) {
|
||||
return api_device_pb.DeactivateDeviceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_DeleteDeviceKeysRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.DeleteDeviceKeysRequest)) {
|
||||
throw new Error('Expected argument of type api.DeleteDeviceKeysRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_DeleteDeviceKeysRequest(buffer_arg) {
|
||||
return api_device_pb.DeleteDeviceKeysRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_DeleteDeviceRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.DeleteDeviceRequest)) {
|
||||
throw new Error('Expected argument of type api.DeleteDeviceRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_DeleteDeviceRequest(buffer_arg) {
|
||||
return api_device_pb.DeleteDeviceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_EnqueueDeviceQueueItemRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.EnqueueDeviceQueueItemRequest)) {
|
||||
throw new Error('Expected argument of type api.EnqueueDeviceQueueItemRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_EnqueueDeviceQueueItemRequest(buffer_arg) {
|
||||
return api_device_pb.EnqueueDeviceQueueItemRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_EnqueueDeviceQueueItemResponse(arg) {
|
||||
if (!(arg instanceof api_device_pb.EnqueueDeviceQueueItemResponse)) {
|
||||
throw new Error('Expected argument of type api.EnqueueDeviceQueueItemResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_EnqueueDeviceQueueItemResponse(buffer_arg) {
|
||||
return api_device_pb.EnqueueDeviceQueueItemResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_FlushDevNoncesRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.FlushDevNoncesRequest)) {
|
||||
throw new Error('Expected argument of type api.FlushDevNoncesRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_FlushDevNoncesRequest(buffer_arg) {
|
||||
return api_device_pb.FlushDevNoncesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_FlushDeviceQueueRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.FlushDeviceQueueRequest)) {
|
||||
throw new Error('Expected argument of type api.FlushDeviceQueueRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_FlushDeviceQueueRequest(buffer_arg) {
|
||||
return api_device_pb.FlushDeviceQueueRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceActivationRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceActivationRequest)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceActivationRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceActivationRequest(buffer_arg) {
|
||||
return api_device_pb.GetDeviceActivationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceActivationResponse(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceActivationResponse)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceActivationResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceActivationResponse(buffer_arg) {
|
||||
return api_device_pb.GetDeviceActivationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceKeysRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceKeysRequest)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceKeysRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceKeysRequest(buffer_arg) {
|
||||
return api_device_pb.GetDeviceKeysRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceKeysResponse(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceKeysResponse)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceKeysResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceKeysResponse(buffer_arg) {
|
||||
return api_device_pb.GetDeviceKeysResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceLinkMetricsRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceLinkMetricsRequest)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceLinkMetricsRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceLinkMetricsRequest(buffer_arg) {
|
||||
return api_device_pb.GetDeviceLinkMetricsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceLinkMetricsResponse(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceLinkMetricsResponse)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceLinkMetricsResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceLinkMetricsResponse(buffer_arg) {
|
||||
return api_device_pb.GetDeviceLinkMetricsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceMetricsRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceMetricsRequest)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceMetricsRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceMetricsRequest(buffer_arg) {
|
||||
return api_device_pb.GetDeviceMetricsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceMetricsResponse(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceMetricsResponse)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceMetricsResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceMetricsResponse(buffer_arg) {
|
||||
return api_device_pb.GetDeviceMetricsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceNextFCntDownRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceNextFCntDownRequest)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceNextFCntDownRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceNextFCntDownRequest(buffer_arg) {
|
||||
return api_device_pb.GetDeviceNextFCntDownRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceNextFCntDownResponse(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceNextFCntDownResponse)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceNextFCntDownResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceNextFCntDownResponse(buffer_arg) {
|
||||
return api_device_pb.GetDeviceNextFCntDownResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceQueueItemsRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceQueueItemsRequest)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceQueueItemsRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceQueueItemsRequest(buffer_arg) {
|
||||
return api_device_pb.GetDeviceQueueItemsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceQueueItemsResponse(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceQueueItemsResponse)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceQueueItemsResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceQueueItemsResponse(buffer_arg) {
|
||||
return api_device_pb.GetDeviceQueueItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceRequest)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceRequest(buffer_arg) {
|
||||
return api_device_pb.GetDeviceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceResponse(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetDeviceResponse)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceResponse(buffer_arg) {
|
||||
return api_device_pb.GetDeviceResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetRandomDevAddrRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetRandomDevAddrRequest)) {
|
||||
throw new Error('Expected argument of type api.GetRandomDevAddrRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetRandomDevAddrRequest(buffer_arg) {
|
||||
return api_device_pb.GetRandomDevAddrRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetRandomDevAddrResponse(arg) {
|
||||
if (!(arg instanceof api_device_pb.GetRandomDevAddrResponse)) {
|
||||
throw new Error('Expected argument of type api.GetRandomDevAddrResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetRandomDevAddrResponse(buffer_arg) {
|
||||
return api_device_pb.GetRandomDevAddrResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListDevicesRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.ListDevicesRequest)) {
|
||||
throw new Error('Expected argument of type api.ListDevicesRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListDevicesRequest(buffer_arg) {
|
||||
return api_device_pb.ListDevicesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListDevicesResponse(arg) {
|
||||
if (!(arg instanceof api_device_pb.ListDevicesResponse)) {
|
||||
throw new Error('Expected argument of type api.ListDevicesResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListDevicesResponse(buffer_arg) {
|
||||
return api_device_pb.ListDevicesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_UpdateDeviceKeysRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.UpdateDeviceKeysRequest)) {
|
||||
throw new Error('Expected argument of type api.UpdateDeviceKeysRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_UpdateDeviceKeysRequest(buffer_arg) {
|
||||
return api_device_pb.UpdateDeviceKeysRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_UpdateDeviceRequest(arg) {
|
||||
if (!(arg instanceof api_device_pb.UpdateDeviceRequest)) {
|
||||
throw new Error('Expected argument of type api.UpdateDeviceRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_UpdateDeviceRequest(buffer_arg) {
|
||||
return api_device_pb.UpdateDeviceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_google_protobuf_Empty(arg) {
|
||||
if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
|
||||
throw new Error('Expected argument of type google.protobuf.Empty');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_google_protobuf_Empty(buffer_arg) {
|
||||
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// DeviceService is the service providing API methods for managing devices.
|
||||
var DeviceServiceService = exports.DeviceServiceService = {
|
||||
// Create the given device.
|
||||
create: {
|
||||
path: '/api.DeviceService/Create',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.CreateDeviceRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_CreateDeviceRequest,
|
||||
requestDeserialize: deserialize_api_CreateDeviceRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Get returns the device for the given DevEUI.
|
||||
get: {
|
||||
path: '/api.DeviceService/Get',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.GetDeviceRequest,
|
||||
responseType: api_device_pb.GetDeviceResponse,
|
||||
requestSerialize: serialize_api_GetDeviceRequest,
|
||||
requestDeserialize: deserialize_api_GetDeviceRequest,
|
||||
responseSerialize: serialize_api_GetDeviceResponse,
|
||||
responseDeserialize: deserialize_api_GetDeviceResponse,
|
||||
},
|
||||
// Update the given device.
|
||||
update: {
|
||||
path: '/api.DeviceService/Update',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.UpdateDeviceRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_UpdateDeviceRequest,
|
||||
requestDeserialize: deserialize_api_UpdateDeviceRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Delete the device with the given DevEUI.
|
||||
delete: {
|
||||
path: '/api.DeviceService/Delete',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.DeleteDeviceRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_DeleteDeviceRequest,
|
||||
requestDeserialize: deserialize_api_DeleteDeviceRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Get the list of devices.
|
||||
list: {
|
||||
path: '/api.DeviceService/List',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.ListDevicesRequest,
|
||||
responseType: api_device_pb.ListDevicesResponse,
|
||||
requestSerialize: serialize_api_ListDevicesRequest,
|
||||
requestDeserialize: deserialize_api_ListDevicesRequest,
|
||||
responseSerialize: serialize_api_ListDevicesResponse,
|
||||
responseDeserialize: deserialize_api_ListDevicesResponse,
|
||||
},
|
||||
// Create the given device-keys.
|
||||
createKeys: {
|
||||
path: '/api.DeviceService/CreateKeys',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.CreateDeviceKeysRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_CreateDeviceKeysRequest,
|
||||
requestDeserialize: deserialize_api_CreateDeviceKeysRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Get the device-keys for the given DevEUI.
|
||||
getKeys: {
|
||||
path: '/api.DeviceService/GetKeys',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.GetDeviceKeysRequest,
|
||||
responseType: api_device_pb.GetDeviceKeysResponse,
|
||||
requestSerialize: serialize_api_GetDeviceKeysRequest,
|
||||
requestDeserialize: deserialize_api_GetDeviceKeysRequest,
|
||||
responseSerialize: serialize_api_GetDeviceKeysResponse,
|
||||
responseDeserialize: deserialize_api_GetDeviceKeysResponse,
|
||||
},
|
||||
// Update the given device-keys.
|
||||
updateKeys: {
|
||||
path: '/api.DeviceService/UpdateKeys',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.UpdateDeviceKeysRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_UpdateDeviceKeysRequest,
|
||||
requestDeserialize: deserialize_api_UpdateDeviceKeysRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Delete the device-keys for the given DevEUI.
|
||||
deleteKeys: {
|
||||
path: '/api.DeviceService/DeleteKeys',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.DeleteDeviceKeysRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_DeleteDeviceKeysRequest,
|
||||
requestDeserialize: deserialize_api_DeleteDeviceKeysRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// FlushDevNonces flushes the OTAA device nonces.
|
||||
flushDevNonces: {
|
||||
path: '/api.DeviceService/FlushDevNonces',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.FlushDevNoncesRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_FlushDevNoncesRequest,
|
||||
requestDeserialize: deserialize_api_FlushDevNoncesRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Activate (re)activates the device with the given parameters (for ABP or for
|
||||
// importing OTAA activations).
|
||||
activate: {
|
||||
path: '/api.DeviceService/Activate',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.ActivateDeviceRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_ActivateDeviceRequest,
|
||||
requestDeserialize: deserialize_api_ActivateDeviceRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Deactivate de-activates the device.
|
||||
deactivate: {
|
||||
path: '/api.DeviceService/Deactivate',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.DeactivateDeviceRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_DeactivateDeviceRequest,
|
||||
requestDeserialize: deserialize_api_DeactivateDeviceRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// GetActivation returns the current activation details of the device (OTAA or
|
||||
// ABP).
|
||||
getActivation: {
|
||||
path: '/api.DeviceService/GetActivation',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.GetDeviceActivationRequest,
|
||||
responseType: api_device_pb.GetDeviceActivationResponse,
|
||||
requestSerialize: serialize_api_GetDeviceActivationRequest,
|
||||
requestDeserialize: deserialize_api_GetDeviceActivationRequest,
|
||||
responseSerialize: serialize_api_GetDeviceActivationResponse,
|
||||
responseDeserialize: deserialize_api_GetDeviceActivationResponse,
|
||||
},
|
||||
// GetRandomDevAddr returns a random DevAddr taking the NwkID prefix into
|
||||
// account.
|
||||
getRandomDevAddr: {
|
||||
path: '/api.DeviceService/GetRandomDevAddr',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.GetRandomDevAddrRequest,
|
||||
responseType: api_device_pb.GetRandomDevAddrResponse,
|
||||
requestSerialize: serialize_api_GetRandomDevAddrRequest,
|
||||
requestDeserialize: deserialize_api_GetRandomDevAddrRequest,
|
||||
responseSerialize: serialize_api_GetRandomDevAddrResponse,
|
||||
responseDeserialize: deserialize_api_GetRandomDevAddrResponse,
|
||||
},
|
||||
// GetMetrics returns the device metrics.
|
||||
// Note that this requires a device-profile with codec and measurements
|
||||
// configured.
|
||||
getMetrics: {
|
||||
path: '/api.DeviceService/GetMetrics',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.GetDeviceMetricsRequest,
|
||||
responseType: api_device_pb.GetDeviceMetricsResponse,
|
||||
requestSerialize: serialize_api_GetDeviceMetricsRequest,
|
||||
requestDeserialize: deserialize_api_GetDeviceMetricsRequest,
|
||||
responseSerialize: serialize_api_GetDeviceMetricsResponse,
|
||||
responseDeserialize: deserialize_api_GetDeviceMetricsResponse,
|
||||
},
|
||||
// GetLinkMetrics returns the device link metrics.
|
||||
// This includes uplinks, downlinks, RSSI, SNR, etc...
|
||||
getLinkMetrics: {
|
||||
path: '/api.DeviceService/GetLinkMetrics',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.GetDeviceLinkMetricsRequest,
|
||||
responseType: api_device_pb.GetDeviceLinkMetricsResponse,
|
||||
requestSerialize: serialize_api_GetDeviceLinkMetricsRequest,
|
||||
requestDeserialize: deserialize_api_GetDeviceLinkMetricsRequest,
|
||||
responseSerialize: serialize_api_GetDeviceLinkMetricsResponse,
|
||||
responseDeserialize: deserialize_api_GetDeviceLinkMetricsResponse,
|
||||
},
|
||||
// Enqueue adds the given item to the downlink queue.
|
||||
enqueue: {
|
||||
path: '/api.DeviceService/Enqueue',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.EnqueueDeviceQueueItemRequest,
|
||||
responseType: api_device_pb.EnqueueDeviceQueueItemResponse,
|
||||
requestSerialize: serialize_api_EnqueueDeviceQueueItemRequest,
|
||||
requestDeserialize: deserialize_api_EnqueueDeviceQueueItemRequest,
|
||||
responseSerialize: serialize_api_EnqueueDeviceQueueItemResponse,
|
||||
responseDeserialize: deserialize_api_EnqueueDeviceQueueItemResponse,
|
||||
},
|
||||
// FlushQueue flushes the downlink device-queue.
|
||||
flushQueue: {
|
||||
path: '/api.DeviceService/FlushQueue',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.FlushDeviceQueueRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_FlushDeviceQueueRequest,
|
||||
requestDeserialize: deserialize_api_FlushDeviceQueueRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// GetQueue returns the downlink device-queue.
|
||||
getQueue: {
|
||||
path: '/api.DeviceService/GetQueue',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.GetDeviceQueueItemsRequest,
|
||||
responseType: api_device_pb.GetDeviceQueueItemsResponse,
|
||||
requestSerialize: serialize_api_GetDeviceQueueItemsRequest,
|
||||
requestDeserialize: deserialize_api_GetDeviceQueueItemsRequest,
|
||||
responseSerialize: serialize_api_GetDeviceQueueItemsResponse,
|
||||
responseDeserialize: deserialize_api_GetDeviceQueueItemsResponse,
|
||||
},
|
||||
// GetNextFCntDown returns the next FCntDown to use for enqueing encrypted
|
||||
// downlinks. The difference with the DeviceActivation f_cont_down is that
|
||||
// this method takes potential existing queue-items into account.
|
||||
getNextFCntDown: {
|
||||
path: '/api.DeviceService/GetNextFCntDown',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_pb.GetDeviceNextFCntDownRequest,
|
||||
responseType: api_device_pb.GetDeviceNextFCntDownResponse,
|
||||
requestSerialize: serialize_api_GetDeviceNextFCntDownRequest,
|
||||
requestDeserialize: deserialize_api_GetDeviceNextFCntDownRequest,
|
||||
responseSerialize: serialize_api_GetDeviceNextFCntDownResponse,
|
||||
responseDeserialize: deserialize_api_GetDeviceNextFCntDownResponse,
|
||||
},
|
||||
};
|
||||
|
||||
exports.DeviceServiceClient = grpc.makeGenericClientConstructor(DeviceServiceService);
|
1074
api/js/api/device_pb.d.ts
vendored
1074
api/js/api/device_pb.d.ts
vendored
File diff suppressed because it is too large
Load Diff
8346
api/js/api/device_pb.js
vendored
8346
api/js/api/device_pb.js
vendored
File diff suppressed because it is too large
Load Diff
50
api/js/api/device_profile_grpc_pb.d.ts
vendored
50
api/js/api/device_profile_grpc_pb.d.ts
vendored
@ -1,50 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// package: api
|
||||
// file: api/device_profile.proto
|
||||
|
||||
import * as api_device_profile_pb from "../api/device_profile_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
|
||||
interface IDeviceProfileServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
create: grpc.MethodDefinition<api_device_profile_pb.CreateDeviceProfileRequest, api_device_profile_pb.CreateDeviceProfileResponse>;
|
||||
get: grpc.MethodDefinition<api_device_profile_pb.GetDeviceProfileRequest, api_device_profile_pb.GetDeviceProfileResponse>;
|
||||
update: grpc.MethodDefinition<api_device_profile_pb.UpdateDeviceProfileRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.MethodDefinition<api_device_profile_pb.DeleteDeviceProfileRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.MethodDefinition<api_device_profile_pb.ListDeviceProfilesRequest, api_device_profile_pb.ListDeviceProfilesResponse>;
|
||||
listAdrAlgorithms: grpc.MethodDefinition<google_protobuf_empty_pb.Empty, api_device_profile_pb.ListDeviceProfileAdrAlgorithmsResponse>;
|
||||
}
|
||||
|
||||
export const DeviceProfileServiceService: IDeviceProfileServiceService;
|
||||
|
||||
export interface IDeviceProfileServiceServer extends grpc.UntypedServiceImplementation {
|
||||
create: grpc.handleUnaryCall<api_device_profile_pb.CreateDeviceProfileRequest, api_device_profile_pb.CreateDeviceProfileResponse>;
|
||||
get: grpc.handleUnaryCall<api_device_profile_pb.GetDeviceProfileRequest, api_device_profile_pb.GetDeviceProfileResponse>;
|
||||
update: grpc.handleUnaryCall<api_device_profile_pb.UpdateDeviceProfileRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.handleUnaryCall<api_device_profile_pb.DeleteDeviceProfileRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.handleUnaryCall<api_device_profile_pb.ListDeviceProfilesRequest, api_device_profile_pb.ListDeviceProfilesResponse>;
|
||||
listAdrAlgorithms: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, api_device_profile_pb.ListDeviceProfileAdrAlgorithmsResponse>;
|
||||
}
|
||||
|
||||
export class DeviceProfileServiceClient extends grpc.Client {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
create(argument: api_device_profile_pb.CreateDeviceProfileRequest, callback: grpc.requestCallback<api_device_profile_pb.CreateDeviceProfileResponse>): grpc.ClientUnaryCall;
|
||||
create(argument: api_device_profile_pb.CreateDeviceProfileRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_profile_pb.CreateDeviceProfileResponse>): grpc.ClientUnaryCall;
|
||||
create(argument: api_device_profile_pb.CreateDeviceProfileRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_profile_pb.CreateDeviceProfileResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_device_profile_pb.GetDeviceProfileRequest, callback: grpc.requestCallback<api_device_profile_pb.GetDeviceProfileResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_device_profile_pb.GetDeviceProfileRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_profile_pb.GetDeviceProfileResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_device_profile_pb.GetDeviceProfileRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_profile_pb.GetDeviceProfileResponse>): grpc.ClientUnaryCall;
|
||||
update(argument: api_device_profile_pb.UpdateDeviceProfileRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_device_profile_pb.UpdateDeviceProfileRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_device_profile_pb.UpdateDeviceProfileRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_device_profile_pb.DeleteDeviceProfileRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_device_profile_pb.DeleteDeviceProfileRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_device_profile_pb.DeleteDeviceProfileRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
list(argument: api_device_profile_pb.ListDeviceProfilesRequest, callback: grpc.requestCallback<api_device_profile_pb.ListDeviceProfilesResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_device_profile_pb.ListDeviceProfilesRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_profile_pb.ListDeviceProfilesResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_device_profile_pb.ListDeviceProfilesRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_profile_pb.ListDeviceProfilesResponse>): grpc.ClientUnaryCall;
|
||||
listAdrAlgorithms(argument: google_protobuf_empty_pb.Empty, callback: grpc.requestCallback<api_device_profile_pb.ListDeviceProfileAdrAlgorithmsResponse>): grpc.ClientUnaryCall;
|
||||
listAdrAlgorithms(argument: google_protobuf_empty_pb.Empty, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_profile_pb.ListDeviceProfileAdrAlgorithmsResponse>): grpc.ClientUnaryCall;
|
||||
listAdrAlgorithms(argument: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_profile_pb.ListDeviceProfileAdrAlgorithmsResponse>): grpc.ClientUnaryCall;
|
||||
}
|
199
api/js/api/device_profile_grpc_pb.js
vendored
199
api/js/api/device_profile_grpc_pb.js
vendored
@ -1,199 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
'use strict';
|
||||
var grpc = require('@grpc/grpc-js');
|
||||
var api_device_profile_pb = require('../api/device_profile_pb.js');
|
||||
var google_api_annotations_pb = require('../google/api/annotations_pb.js');
|
||||
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
||||
var common_common_pb = require('../common/common_pb.js');
|
||||
|
||||
function serialize_api_CreateDeviceProfileRequest(arg) {
|
||||
if (!(arg instanceof api_device_profile_pb.CreateDeviceProfileRequest)) {
|
||||
throw new Error('Expected argument of type api.CreateDeviceProfileRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateDeviceProfileRequest(buffer_arg) {
|
||||
return api_device_profile_pb.CreateDeviceProfileRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_CreateDeviceProfileResponse(arg) {
|
||||
if (!(arg instanceof api_device_profile_pb.CreateDeviceProfileResponse)) {
|
||||
throw new Error('Expected argument of type api.CreateDeviceProfileResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateDeviceProfileResponse(buffer_arg) {
|
||||
return api_device_profile_pb.CreateDeviceProfileResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_DeleteDeviceProfileRequest(arg) {
|
||||
if (!(arg instanceof api_device_profile_pb.DeleteDeviceProfileRequest)) {
|
||||
throw new Error('Expected argument of type api.DeleteDeviceProfileRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_DeleteDeviceProfileRequest(buffer_arg) {
|
||||
return api_device_profile_pb.DeleteDeviceProfileRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceProfileRequest(arg) {
|
||||
if (!(arg instanceof api_device_profile_pb.GetDeviceProfileRequest)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceProfileRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceProfileRequest(buffer_arg) {
|
||||
return api_device_profile_pb.GetDeviceProfileRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceProfileResponse(arg) {
|
||||
if (!(arg instanceof api_device_profile_pb.GetDeviceProfileResponse)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceProfileResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceProfileResponse(buffer_arg) {
|
||||
return api_device_profile_pb.GetDeviceProfileResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListDeviceProfileAdrAlgorithmsResponse(arg) {
|
||||
if (!(arg instanceof api_device_profile_pb.ListDeviceProfileAdrAlgorithmsResponse)) {
|
||||
throw new Error('Expected argument of type api.ListDeviceProfileAdrAlgorithmsResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListDeviceProfileAdrAlgorithmsResponse(buffer_arg) {
|
||||
return api_device_profile_pb.ListDeviceProfileAdrAlgorithmsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListDeviceProfilesRequest(arg) {
|
||||
if (!(arg instanceof api_device_profile_pb.ListDeviceProfilesRequest)) {
|
||||
throw new Error('Expected argument of type api.ListDeviceProfilesRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListDeviceProfilesRequest(buffer_arg) {
|
||||
return api_device_profile_pb.ListDeviceProfilesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListDeviceProfilesResponse(arg) {
|
||||
if (!(arg instanceof api_device_profile_pb.ListDeviceProfilesResponse)) {
|
||||
throw new Error('Expected argument of type api.ListDeviceProfilesResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListDeviceProfilesResponse(buffer_arg) {
|
||||
return api_device_profile_pb.ListDeviceProfilesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_UpdateDeviceProfileRequest(arg) {
|
||||
if (!(arg instanceof api_device_profile_pb.UpdateDeviceProfileRequest)) {
|
||||
throw new Error('Expected argument of type api.UpdateDeviceProfileRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_UpdateDeviceProfileRequest(buffer_arg) {
|
||||
return api_device_profile_pb.UpdateDeviceProfileRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_google_protobuf_Empty(arg) {
|
||||
if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
|
||||
throw new Error('Expected argument of type google.protobuf.Empty');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_google_protobuf_Empty(buffer_arg) {
|
||||
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// DeviceProfileService is the service providing API methods for managing
|
||||
// device-profiles.
|
||||
var DeviceProfileServiceService = exports.DeviceProfileServiceService = {
|
||||
// Create the given device-profile.
|
||||
create: {
|
||||
path: '/api.DeviceProfileService/Create',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_profile_pb.CreateDeviceProfileRequest,
|
||||
responseType: api_device_profile_pb.CreateDeviceProfileResponse,
|
||||
requestSerialize: serialize_api_CreateDeviceProfileRequest,
|
||||
requestDeserialize: deserialize_api_CreateDeviceProfileRequest,
|
||||
responseSerialize: serialize_api_CreateDeviceProfileResponse,
|
||||
responseDeserialize: deserialize_api_CreateDeviceProfileResponse,
|
||||
},
|
||||
// Get the device-profile for the given ID.
|
||||
get: {
|
||||
path: '/api.DeviceProfileService/Get',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_profile_pb.GetDeviceProfileRequest,
|
||||
responseType: api_device_profile_pb.GetDeviceProfileResponse,
|
||||
requestSerialize: serialize_api_GetDeviceProfileRequest,
|
||||
requestDeserialize: deserialize_api_GetDeviceProfileRequest,
|
||||
responseSerialize: serialize_api_GetDeviceProfileResponse,
|
||||
responseDeserialize: deserialize_api_GetDeviceProfileResponse,
|
||||
},
|
||||
// Update the given device-profile.
|
||||
update: {
|
||||
path: '/api.DeviceProfileService/Update',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_profile_pb.UpdateDeviceProfileRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_UpdateDeviceProfileRequest,
|
||||
requestDeserialize: deserialize_api_UpdateDeviceProfileRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Delete the device-profile with the given ID.
|
||||
delete: {
|
||||
path: '/api.DeviceProfileService/Delete',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_profile_pb.DeleteDeviceProfileRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_DeleteDeviceProfileRequest,
|
||||
requestDeserialize: deserialize_api_DeleteDeviceProfileRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// List the available device-profiles.
|
||||
list: {
|
||||
path: '/api.DeviceProfileService/List',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_profile_pb.ListDeviceProfilesRequest,
|
||||
responseType: api_device_profile_pb.ListDeviceProfilesResponse,
|
||||
requestSerialize: serialize_api_ListDeviceProfilesRequest,
|
||||
requestDeserialize: deserialize_api_ListDeviceProfilesRequest,
|
||||
responseSerialize: serialize_api_ListDeviceProfilesResponse,
|
||||
responseDeserialize: deserialize_api_ListDeviceProfilesResponse,
|
||||
},
|
||||
// List available ADR algorithms.
|
||||
listAdrAlgorithms: {
|
||||
path: '/api.DeviceProfileService/ListAdrAlgorithms',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: google_protobuf_empty_pb.Empty,
|
||||
responseType: api_device_profile_pb.ListDeviceProfileAdrAlgorithmsResponse,
|
||||
requestSerialize: serialize_google_protobuf_Empty,
|
||||
requestDeserialize: deserialize_google_protobuf_Empty,
|
||||
responseSerialize: serialize_api_ListDeviceProfileAdrAlgorithmsResponse,
|
||||
responseDeserialize: deserialize_api_ListDeviceProfileAdrAlgorithmsResponse,
|
||||
},
|
||||
};
|
||||
|
||||
exports.DeviceProfileServiceClient = grpc.makeGenericClientConstructor(DeviceProfileServiceService);
|
610
api/js/api/device_profile_pb.d.ts
vendored
610
api/js/api/device_profile_pb.d.ts
vendored
@ -1,610 +0,0 @@
|
||||
// package: api
|
||||
// file: api/device_profile.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_api_annotations_pb from "../google/api/annotations_pb";
|
||||
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as common_common_pb from "../common/common_pb";
|
||||
|
||||
export class DeviceProfile extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
getRegion(): common_common_pb.RegionMap[keyof common_common_pb.RegionMap];
|
||||
setRegion(value: common_common_pb.RegionMap[keyof common_common_pb.RegionMap]): void;
|
||||
|
||||
getMacVersion(): common_common_pb.MacVersionMap[keyof common_common_pb.MacVersionMap];
|
||||
setMacVersion(value: common_common_pb.MacVersionMap[keyof common_common_pb.MacVersionMap]): void;
|
||||
|
||||
getRegParamsRevision(): common_common_pb.RegParamsRevisionMap[keyof common_common_pb.RegParamsRevisionMap];
|
||||
setRegParamsRevision(value: common_common_pb.RegParamsRevisionMap[keyof common_common_pb.RegParamsRevisionMap]): void;
|
||||
|
||||
getAdrAlgorithmId(): string;
|
||||
setAdrAlgorithmId(value: string): void;
|
||||
|
||||
getPayloadCodecRuntime(): CodecRuntimeMap[keyof CodecRuntimeMap];
|
||||
setPayloadCodecRuntime(value: CodecRuntimeMap[keyof CodecRuntimeMap]): void;
|
||||
|
||||
getPayloadCodecScript(): string;
|
||||
setPayloadCodecScript(value: string): void;
|
||||
|
||||
getFlushQueueOnActivate(): boolean;
|
||||
setFlushQueueOnActivate(value: boolean): void;
|
||||
|
||||
getUplinkInterval(): number;
|
||||
setUplinkInterval(value: number): void;
|
||||
|
||||
getDeviceStatusReqInterval(): number;
|
||||
setDeviceStatusReqInterval(value: number): void;
|
||||
|
||||
getSupportsOtaa(): boolean;
|
||||
setSupportsOtaa(value: boolean): void;
|
||||
|
||||
getSupportsClassB(): boolean;
|
||||
setSupportsClassB(value: boolean): void;
|
||||
|
||||
getSupportsClassC(): boolean;
|
||||
setSupportsClassC(value: boolean): void;
|
||||
|
||||
getClassBTimeout(): number;
|
||||
setClassBTimeout(value: number): void;
|
||||
|
||||
getClassBPingSlotNbK(): number;
|
||||
setClassBPingSlotNbK(value: number): void;
|
||||
|
||||
getClassBPingSlotDr(): number;
|
||||
setClassBPingSlotDr(value: number): void;
|
||||
|
||||
getClassBPingSlotFreq(): number;
|
||||
setClassBPingSlotFreq(value: number): void;
|
||||
|
||||
getClassCTimeout(): number;
|
||||
setClassCTimeout(value: number): void;
|
||||
|
||||
getAbpRx1Delay(): number;
|
||||
setAbpRx1Delay(value: number): void;
|
||||
|
||||
getAbpRx1DrOffset(): number;
|
||||
setAbpRx1DrOffset(value: number): void;
|
||||
|
||||
getAbpRx2Dr(): number;
|
||||
setAbpRx2Dr(value: number): void;
|
||||
|
||||
getAbpRx2Freq(): number;
|
||||
setAbpRx2Freq(value: number): void;
|
||||
|
||||
getTagsMap(): jspb.Map<string, string>;
|
||||
clearTagsMap(): void;
|
||||
getMeasurementsMap(): jspb.Map<string, Measurement>;
|
||||
clearMeasurementsMap(): void;
|
||||
getAutoDetectMeasurements(): boolean;
|
||||
setAutoDetectMeasurements(value: boolean): void;
|
||||
|
||||
getRegionConfigId(): string;
|
||||
setRegionConfigId(value: string): void;
|
||||
|
||||
getIsRelay(): boolean;
|
||||
setIsRelay(value: boolean): void;
|
||||
|
||||
getIsRelayEd(): boolean;
|
||||
setIsRelayEd(value: boolean): void;
|
||||
|
||||
getRelayEdRelayOnly(): boolean;
|
||||
setRelayEdRelayOnly(value: boolean): void;
|
||||
|
||||
getRelayEnabled(): boolean;
|
||||
setRelayEnabled(value: boolean): void;
|
||||
|
||||
getRelayCadPeriodicity(): CadPeriodicityMap[keyof CadPeriodicityMap];
|
||||
setRelayCadPeriodicity(value: CadPeriodicityMap[keyof CadPeriodicityMap]): void;
|
||||
|
||||
getRelayDefaultChannelIndex(): number;
|
||||
setRelayDefaultChannelIndex(value: number): void;
|
||||
|
||||
getRelaySecondChannelFreq(): number;
|
||||
setRelaySecondChannelFreq(value: number): void;
|
||||
|
||||
getRelaySecondChannelDr(): number;
|
||||
setRelaySecondChannelDr(value: number): void;
|
||||
|
||||
getRelaySecondChannelAckOffset(): SecondChAckOffsetMap[keyof SecondChAckOffsetMap];
|
||||
setRelaySecondChannelAckOffset(value: SecondChAckOffsetMap[keyof SecondChAckOffsetMap]): void;
|
||||
|
||||
getRelayEdActivationMode(): RelayModeActivationMap[keyof RelayModeActivationMap];
|
||||
setRelayEdActivationMode(value: RelayModeActivationMap[keyof RelayModeActivationMap]): void;
|
||||
|
||||
getRelayEdSmartEnableLevel(): number;
|
||||
setRelayEdSmartEnableLevel(value: number): void;
|
||||
|
||||
getRelayEdBackOff(): number;
|
||||
setRelayEdBackOff(value: number): void;
|
||||
|
||||
getRelayEdUplinkLimitBucketSize(): number;
|
||||
setRelayEdUplinkLimitBucketSize(value: number): void;
|
||||
|
||||
getRelayEdUplinkLimitReloadRate(): number;
|
||||
setRelayEdUplinkLimitReloadRate(value: number): void;
|
||||
|
||||
getRelayJoinReqLimitReloadRate(): number;
|
||||
setRelayJoinReqLimitReloadRate(value: number): void;
|
||||
|
||||
getRelayNotifyLimitReloadRate(): number;
|
||||
setRelayNotifyLimitReloadRate(value: number): void;
|
||||
|
||||
getRelayGlobalUplinkLimitReloadRate(): number;
|
||||
setRelayGlobalUplinkLimitReloadRate(value: number): void;
|
||||
|
||||
getRelayOverallLimitReloadRate(): number;
|
||||
setRelayOverallLimitReloadRate(value: number): void;
|
||||
|
||||
getRelayJoinReqLimitBucketSize(): number;
|
||||
setRelayJoinReqLimitBucketSize(value: number): void;
|
||||
|
||||
getRelayNotifyLimitBucketSize(): number;
|
||||
setRelayNotifyLimitBucketSize(value: number): void;
|
||||
|
||||
getRelayGlobalUplinkLimitBucketSize(): number;
|
||||
setRelayGlobalUplinkLimitBucketSize(value: number): void;
|
||||
|
||||
getRelayOverallLimitBucketSize(): number;
|
||||
setRelayOverallLimitBucketSize(value: number): void;
|
||||
|
||||
getAllowRoaming(): boolean;
|
||||
setAllowRoaming(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeviceProfile.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeviceProfile): DeviceProfile.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeviceProfile, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeviceProfile;
|
||||
static deserializeBinaryFromReader(message: DeviceProfile, reader: jspb.BinaryReader): DeviceProfile;
|
||||
}
|
||||
|
||||
export namespace DeviceProfile {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
tenantId: string,
|
||||
name: string,
|
||||
description: string,
|
||||
region: common_common_pb.RegionMap[keyof common_common_pb.RegionMap],
|
||||
macVersion: common_common_pb.MacVersionMap[keyof common_common_pb.MacVersionMap],
|
||||
regParamsRevision: common_common_pb.RegParamsRevisionMap[keyof common_common_pb.RegParamsRevisionMap],
|
||||
adrAlgorithmId: string,
|
||||
payloadCodecRuntime: CodecRuntimeMap[keyof CodecRuntimeMap],
|
||||
payloadCodecScript: string,
|
||||
flushQueueOnActivate: boolean,
|
||||
uplinkInterval: number,
|
||||
deviceStatusReqInterval: number,
|
||||
supportsOtaa: boolean,
|
||||
supportsClassB: boolean,
|
||||
supportsClassC: boolean,
|
||||
classBTimeout: number,
|
||||
classBPingSlotNbK: number,
|
||||
classBPingSlotDr: number,
|
||||
classBPingSlotFreq: number,
|
||||
classCTimeout: number,
|
||||
abpRx1Delay: number,
|
||||
abpRx1DrOffset: number,
|
||||
abpRx2Dr: number,
|
||||
abpRx2Freq: number,
|
||||
tagsMap: Array<[string, string]>,
|
||||
measurementsMap: Array<[string, Measurement.AsObject]>,
|
||||
autoDetectMeasurements: boolean,
|
||||
regionConfigId: string,
|
||||
isRelay: boolean,
|
||||
isRelayEd: boolean,
|
||||
relayEdRelayOnly: boolean,
|
||||
relayEnabled: boolean,
|
||||
relayCadPeriodicity: CadPeriodicityMap[keyof CadPeriodicityMap],
|
||||
relayDefaultChannelIndex: number,
|
||||
relaySecondChannelFreq: number,
|
||||
relaySecondChannelDr: number,
|
||||
relaySecondChannelAckOffset: SecondChAckOffsetMap[keyof SecondChAckOffsetMap],
|
||||
relayEdActivationMode: RelayModeActivationMap[keyof RelayModeActivationMap],
|
||||
relayEdSmartEnableLevel: number,
|
||||
relayEdBackOff: number,
|
||||
relayEdUplinkLimitBucketSize: number,
|
||||
relayEdUplinkLimitReloadRate: number,
|
||||
relayJoinReqLimitReloadRate: number,
|
||||
relayNotifyLimitReloadRate: number,
|
||||
relayGlobalUplinkLimitReloadRate: number,
|
||||
relayOverallLimitReloadRate: number,
|
||||
relayJoinReqLimitBucketSize: number,
|
||||
relayNotifyLimitBucketSize: number,
|
||||
relayGlobalUplinkLimitBucketSize: number,
|
||||
relayOverallLimitBucketSize: number,
|
||||
allowRoaming: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class Measurement extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getKind(): MeasurementKindMap[keyof MeasurementKindMap];
|
||||
setKind(value: MeasurementKindMap[keyof MeasurementKindMap]): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Measurement.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Measurement): Measurement.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Measurement, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Measurement;
|
||||
static deserializeBinaryFromReader(message: Measurement, reader: jspb.BinaryReader): Measurement;
|
||||
}
|
||||
|
||||
export namespace Measurement {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
kind: MeasurementKindMap[keyof MeasurementKindMap],
|
||||
}
|
||||
}
|
||||
|
||||
export class DeviceProfileListItem extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getRegion(): common_common_pb.RegionMap[keyof common_common_pb.RegionMap];
|
||||
setRegion(value: common_common_pb.RegionMap[keyof common_common_pb.RegionMap]): void;
|
||||
|
||||
getMacVersion(): common_common_pb.MacVersionMap[keyof common_common_pb.MacVersionMap];
|
||||
setMacVersion(value: common_common_pb.MacVersionMap[keyof common_common_pb.MacVersionMap]): void;
|
||||
|
||||
getRegParamsRevision(): common_common_pb.RegParamsRevisionMap[keyof common_common_pb.RegParamsRevisionMap];
|
||||
setRegParamsRevision(value: common_common_pb.RegParamsRevisionMap[keyof common_common_pb.RegParamsRevisionMap]): void;
|
||||
|
||||
getSupportsOtaa(): boolean;
|
||||
setSupportsOtaa(value: boolean): void;
|
||||
|
||||
getSupportsClassB(): boolean;
|
||||
setSupportsClassB(value: boolean): void;
|
||||
|
||||
getSupportsClassC(): boolean;
|
||||
setSupportsClassC(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeviceProfileListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeviceProfileListItem): DeviceProfileListItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeviceProfileListItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeviceProfileListItem;
|
||||
static deserializeBinaryFromReader(message: DeviceProfileListItem, reader: jspb.BinaryReader): DeviceProfileListItem;
|
||||
}
|
||||
|
||||
export namespace DeviceProfileListItem {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
name: string,
|
||||
region: common_common_pb.RegionMap[keyof common_common_pb.RegionMap],
|
||||
macVersion: common_common_pb.MacVersionMap[keyof common_common_pb.MacVersionMap],
|
||||
regParamsRevision: common_common_pb.RegParamsRevisionMap[keyof common_common_pb.RegParamsRevisionMap],
|
||||
supportsOtaa: boolean,
|
||||
supportsClassB: boolean,
|
||||
supportsClassC: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateDeviceProfileRequest extends jspb.Message {
|
||||
hasDeviceProfile(): boolean;
|
||||
clearDeviceProfile(): void;
|
||||
getDeviceProfile(): DeviceProfile | undefined;
|
||||
setDeviceProfile(value?: DeviceProfile): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateDeviceProfileRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateDeviceProfileRequest): CreateDeviceProfileRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateDeviceProfileRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateDeviceProfileRequest;
|
||||
static deserializeBinaryFromReader(message: CreateDeviceProfileRequest, reader: jspb.BinaryReader): CreateDeviceProfileRequest;
|
||||
}
|
||||
|
||||
export namespace CreateDeviceProfileRequest {
|
||||
export type AsObject = {
|
||||
deviceProfile?: DeviceProfile.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateDeviceProfileResponse extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateDeviceProfileResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateDeviceProfileResponse): CreateDeviceProfileResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateDeviceProfileResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateDeviceProfileResponse;
|
||||
static deserializeBinaryFromReader(message: CreateDeviceProfileResponse, reader: jspb.BinaryReader): CreateDeviceProfileResponse;
|
||||
}
|
||||
|
||||
export namespace CreateDeviceProfileResponse {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetDeviceProfileRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDeviceProfileRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDeviceProfileRequest): GetDeviceProfileRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetDeviceProfileRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetDeviceProfileRequest;
|
||||
static deserializeBinaryFromReader(message: GetDeviceProfileRequest, reader: jspb.BinaryReader): GetDeviceProfileRequest;
|
||||
}
|
||||
|
||||
export namespace GetDeviceProfileRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetDeviceProfileResponse extends jspb.Message {
|
||||
hasDeviceProfile(): boolean;
|
||||
clearDeviceProfile(): void;
|
||||
getDeviceProfile(): DeviceProfile | undefined;
|
||||
setDeviceProfile(value?: DeviceProfile): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDeviceProfileResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDeviceProfileResponse): GetDeviceProfileResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetDeviceProfileResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetDeviceProfileResponse;
|
||||
static deserializeBinaryFromReader(message: GetDeviceProfileResponse, reader: jspb.BinaryReader): GetDeviceProfileResponse;
|
||||
}
|
||||
|
||||
export namespace GetDeviceProfileResponse {
|
||||
export type AsObject = {
|
||||
deviceProfile?: DeviceProfile.AsObject,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateDeviceProfileRequest extends jspb.Message {
|
||||
hasDeviceProfile(): boolean;
|
||||
clearDeviceProfile(): void;
|
||||
getDeviceProfile(): DeviceProfile | undefined;
|
||||
setDeviceProfile(value?: DeviceProfile): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateDeviceProfileRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateDeviceProfileRequest): UpdateDeviceProfileRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateDeviceProfileRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateDeviceProfileRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateDeviceProfileRequest, reader: jspb.BinaryReader): UpdateDeviceProfileRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateDeviceProfileRequest {
|
||||
export type AsObject = {
|
||||
deviceProfile?: DeviceProfile.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteDeviceProfileRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteDeviceProfileRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteDeviceProfileRequest): DeleteDeviceProfileRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteDeviceProfileRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteDeviceProfileRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteDeviceProfileRequest, reader: jspb.BinaryReader): DeleteDeviceProfileRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteDeviceProfileRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListDeviceProfilesRequest extends jspb.Message {
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getSearch(): string;
|
||||
setSearch(value: string): void;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListDeviceProfilesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListDeviceProfilesRequest): ListDeviceProfilesRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListDeviceProfilesRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListDeviceProfilesRequest;
|
||||
static deserializeBinaryFromReader(message: ListDeviceProfilesRequest, reader: jspb.BinaryReader): ListDeviceProfilesRequest;
|
||||
}
|
||||
|
||||
export namespace ListDeviceProfilesRequest {
|
||||
export type AsObject = {
|
||||
limit: number,
|
||||
offset: number,
|
||||
search: string,
|
||||
tenantId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListDeviceProfilesResponse extends jspb.Message {
|
||||
getTotalCount(): number;
|
||||
setTotalCount(value: number): void;
|
||||
|
||||
clearResultList(): void;
|
||||
getResultList(): Array<DeviceProfileListItem>;
|
||||
setResultList(value: Array<DeviceProfileListItem>): void;
|
||||
addResult(value?: DeviceProfileListItem, index?: number): DeviceProfileListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListDeviceProfilesResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListDeviceProfilesResponse): ListDeviceProfilesResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListDeviceProfilesResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListDeviceProfilesResponse;
|
||||
static deserializeBinaryFromReader(message: ListDeviceProfilesResponse, reader: jspb.BinaryReader): ListDeviceProfilesResponse;
|
||||
}
|
||||
|
||||
export namespace ListDeviceProfilesResponse {
|
||||
export type AsObject = {
|
||||
totalCount: number,
|
||||
resultList: Array<DeviceProfileListItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListDeviceProfileAdrAlgorithmsResponse extends jspb.Message {
|
||||
getTotalCount(): number;
|
||||
setTotalCount(value: number): void;
|
||||
|
||||
clearResultList(): void;
|
||||
getResultList(): Array<AdrAlgorithmListItem>;
|
||||
setResultList(value: Array<AdrAlgorithmListItem>): void;
|
||||
addResult(value?: AdrAlgorithmListItem, index?: number): AdrAlgorithmListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListDeviceProfileAdrAlgorithmsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListDeviceProfileAdrAlgorithmsResponse): ListDeviceProfileAdrAlgorithmsResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListDeviceProfileAdrAlgorithmsResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListDeviceProfileAdrAlgorithmsResponse;
|
||||
static deserializeBinaryFromReader(message: ListDeviceProfileAdrAlgorithmsResponse, reader: jspb.BinaryReader): ListDeviceProfileAdrAlgorithmsResponse;
|
||||
}
|
||||
|
||||
export namespace ListDeviceProfileAdrAlgorithmsResponse {
|
||||
export type AsObject = {
|
||||
totalCount: number,
|
||||
resultList: Array<AdrAlgorithmListItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class AdrAlgorithmListItem extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AdrAlgorithmListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AdrAlgorithmListItem): AdrAlgorithmListItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: AdrAlgorithmListItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AdrAlgorithmListItem;
|
||||
static deserializeBinaryFromReader(message: AdrAlgorithmListItem, reader: jspb.BinaryReader): AdrAlgorithmListItem;
|
||||
}
|
||||
|
||||
export namespace AdrAlgorithmListItem {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
name: string,
|
||||
}
|
||||
}
|
||||
|
||||
export interface CodecRuntimeMap {
|
||||
NONE: 0;
|
||||
CAYENNE_LPP: 1;
|
||||
JS: 2;
|
||||
}
|
||||
|
||||
export const CodecRuntime: CodecRuntimeMap;
|
||||
|
||||
export interface MeasurementKindMap {
|
||||
UNKNOWN: 0;
|
||||
COUNTER: 1;
|
||||
ABSOLUTE: 2;
|
||||
GAUGE: 3;
|
||||
STRING: 4;
|
||||
}
|
||||
|
||||
export const MeasurementKind: MeasurementKindMap;
|
||||
|
||||
export interface CadPeriodicityMap {
|
||||
SEC_1: 0;
|
||||
MS_500: 1;
|
||||
MS_250: 2;
|
||||
MS_100: 3;
|
||||
MS_50: 4;
|
||||
MS_20: 5;
|
||||
}
|
||||
|
||||
export const CadPeriodicity: CadPeriodicityMap;
|
||||
|
||||
export interface SecondChAckOffsetMap {
|
||||
KHZ_0: 0;
|
||||
KHZ_200: 1;
|
||||
KHZ_400: 2;
|
||||
KHZ_800: 3;
|
||||
KHZ_1600: 4;
|
||||
KHZ_3200: 5;
|
||||
}
|
||||
|
||||
export const SecondChAckOffset: SecondChAckOffsetMap;
|
||||
|
||||
export interface RelayModeActivationMap {
|
||||
DISABLE_RELAY_MODE: 0;
|
||||
ENABLE_RELAY_MODE: 1;
|
||||
DYNAMIC: 2;
|
||||
END_DEVICE_CONTROLLED: 3;
|
||||
}
|
||||
|
||||
export const RelayModeActivation: RelayModeActivationMap;
|
||||
|
4341
api/js/api/device_profile_pb.js
vendored
4341
api/js/api/device_profile_pb.js
vendored
File diff suppressed because it is too large
Load Diff
45
api/js/api/device_profile_template_grpc_pb.d.ts
vendored
45
api/js/api/device_profile_template_grpc_pb.d.ts
vendored
@ -1,45 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// package: api
|
||||
// file: api/device_profile_template.proto
|
||||
|
||||
import * as api_device_profile_template_pb from "../api/device_profile_template_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
|
||||
interface IDeviceProfileTemplateServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
create: grpc.MethodDefinition<api_device_profile_template_pb.CreateDeviceProfileTemplateRequest, google_protobuf_empty_pb.Empty>;
|
||||
get: grpc.MethodDefinition<api_device_profile_template_pb.GetDeviceProfileTemplateRequest, api_device_profile_template_pb.GetDeviceProfileTemplateResponse>;
|
||||
update: grpc.MethodDefinition<api_device_profile_template_pb.UpdateDeviceProfileTemplateRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.MethodDefinition<api_device_profile_template_pb.DeleteDeviceProfileTemplateRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.MethodDefinition<api_device_profile_template_pb.ListDeviceProfileTemplatesRequest, api_device_profile_template_pb.ListDeviceProfileTemplatesResponse>;
|
||||
}
|
||||
|
||||
export const DeviceProfileTemplateServiceService: IDeviceProfileTemplateServiceService;
|
||||
|
||||
export interface IDeviceProfileTemplateServiceServer extends grpc.UntypedServiceImplementation {
|
||||
create: grpc.handleUnaryCall<api_device_profile_template_pb.CreateDeviceProfileTemplateRequest, google_protobuf_empty_pb.Empty>;
|
||||
get: grpc.handleUnaryCall<api_device_profile_template_pb.GetDeviceProfileTemplateRequest, api_device_profile_template_pb.GetDeviceProfileTemplateResponse>;
|
||||
update: grpc.handleUnaryCall<api_device_profile_template_pb.UpdateDeviceProfileTemplateRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.handleUnaryCall<api_device_profile_template_pb.DeleteDeviceProfileTemplateRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.handleUnaryCall<api_device_profile_template_pb.ListDeviceProfileTemplatesRequest, api_device_profile_template_pb.ListDeviceProfileTemplatesResponse>;
|
||||
}
|
||||
|
||||
export class DeviceProfileTemplateServiceClient extends grpc.Client {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
create(argument: api_device_profile_template_pb.CreateDeviceProfileTemplateRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
create(argument: api_device_profile_template_pb.CreateDeviceProfileTemplateRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
create(argument: api_device_profile_template_pb.CreateDeviceProfileTemplateRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
get(argument: api_device_profile_template_pb.GetDeviceProfileTemplateRequest, callback: grpc.requestCallback<api_device_profile_template_pb.GetDeviceProfileTemplateResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_device_profile_template_pb.GetDeviceProfileTemplateRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_profile_template_pb.GetDeviceProfileTemplateResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_device_profile_template_pb.GetDeviceProfileTemplateRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_profile_template_pb.GetDeviceProfileTemplateResponse>): grpc.ClientUnaryCall;
|
||||
update(argument: api_device_profile_template_pb.UpdateDeviceProfileTemplateRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_device_profile_template_pb.UpdateDeviceProfileTemplateRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_device_profile_template_pb.UpdateDeviceProfileTemplateRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_device_profile_template_pb.DeleteDeviceProfileTemplateRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_device_profile_template_pb.DeleteDeviceProfileTemplateRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_device_profile_template_pb.DeleteDeviceProfileTemplateRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
list(argument: api_device_profile_template_pb.ListDeviceProfileTemplatesRequest, callback: grpc.requestCallback<api_device_profile_template_pb.ListDeviceProfileTemplatesResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_device_profile_template_pb.ListDeviceProfileTemplatesRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_device_profile_template_pb.ListDeviceProfileTemplatesResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_device_profile_template_pb.ListDeviceProfileTemplatesRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_device_profile_template_pb.ListDeviceProfileTemplatesResponse>): grpc.ClientUnaryCall;
|
||||
}
|
165
api/js/api/device_profile_template_grpc_pb.js
vendored
165
api/js/api/device_profile_template_grpc_pb.js
vendored
@ -1,165 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
'use strict';
|
||||
var grpc = require('@grpc/grpc-js');
|
||||
var api_device_profile_template_pb = require('../api/device_profile_template_pb.js');
|
||||
var google_api_annotations_pb = require('../google/api/annotations_pb.js');
|
||||
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
||||
var common_common_pb = require('../common/common_pb.js');
|
||||
var api_device_profile_pb = require('../api/device_profile_pb.js');
|
||||
|
||||
function serialize_api_CreateDeviceProfileTemplateRequest(arg) {
|
||||
if (!(arg instanceof api_device_profile_template_pb.CreateDeviceProfileTemplateRequest)) {
|
||||
throw new Error('Expected argument of type api.CreateDeviceProfileTemplateRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateDeviceProfileTemplateRequest(buffer_arg) {
|
||||
return api_device_profile_template_pb.CreateDeviceProfileTemplateRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_DeleteDeviceProfileTemplateRequest(arg) {
|
||||
if (!(arg instanceof api_device_profile_template_pb.DeleteDeviceProfileTemplateRequest)) {
|
||||
throw new Error('Expected argument of type api.DeleteDeviceProfileTemplateRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_DeleteDeviceProfileTemplateRequest(buffer_arg) {
|
||||
return api_device_profile_template_pb.DeleteDeviceProfileTemplateRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceProfileTemplateRequest(arg) {
|
||||
if (!(arg instanceof api_device_profile_template_pb.GetDeviceProfileTemplateRequest)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceProfileTemplateRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceProfileTemplateRequest(buffer_arg) {
|
||||
return api_device_profile_template_pb.GetDeviceProfileTemplateRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDeviceProfileTemplateResponse(arg) {
|
||||
if (!(arg instanceof api_device_profile_template_pb.GetDeviceProfileTemplateResponse)) {
|
||||
throw new Error('Expected argument of type api.GetDeviceProfileTemplateResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDeviceProfileTemplateResponse(buffer_arg) {
|
||||
return api_device_profile_template_pb.GetDeviceProfileTemplateResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListDeviceProfileTemplatesRequest(arg) {
|
||||
if (!(arg instanceof api_device_profile_template_pb.ListDeviceProfileTemplatesRequest)) {
|
||||
throw new Error('Expected argument of type api.ListDeviceProfileTemplatesRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListDeviceProfileTemplatesRequest(buffer_arg) {
|
||||
return api_device_profile_template_pb.ListDeviceProfileTemplatesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListDeviceProfileTemplatesResponse(arg) {
|
||||
if (!(arg instanceof api_device_profile_template_pb.ListDeviceProfileTemplatesResponse)) {
|
||||
throw new Error('Expected argument of type api.ListDeviceProfileTemplatesResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListDeviceProfileTemplatesResponse(buffer_arg) {
|
||||
return api_device_profile_template_pb.ListDeviceProfileTemplatesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_UpdateDeviceProfileTemplateRequest(arg) {
|
||||
if (!(arg instanceof api_device_profile_template_pb.UpdateDeviceProfileTemplateRequest)) {
|
||||
throw new Error('Expected argument of type api.UpdateDeviceProfileTemplateRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_UpdateDeviceProfileTemplateRequest(buffer_arg) {
|
||||
return api_device_profile_template_pb.UpdateDeviceProfileTemplateRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_google_protobuf_Empty(arg) {
|
||||
if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
|
||||
throw new Error('Expected argument of type google.protobuf.Empty');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_google_protobuf_Empty(buffer_arg) {
|
||||
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// DeviceProfileTemplateService is the service providing API methods for managing device-profile templates.
|
||||
var DeviceProfileTemplateServiceService = exports.DeviceProfileTemplateServiceService = {
|
||||
// Create the given device-profile template.
|
||||
create: {
|
||||
path: '/api.DeviceProfileTemplateService/Create',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_profile_template_pb.CreateDeviceProfileTemplateRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_CreateDeviceProfileTemplateRequest,
|
||||
requestDeserialize: deserialize_api_CreateDeviceProfileTemplateRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Get the device-profile template for the given ID.
|
||||
get: {
|
||||
path: '/api.DeviceProfileTemplateService/Get',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_profile_template_pb.GetDeviceProfileTemplateRequest,
|
||||
responseType: api_device_profile_template_pb.GetDeviceProfileTemplateResponse,
|
||||
requestSerialize: serialize_api_GetDeviceProfileTemplateRequest,
|
||||
requestDeserialize: deserialize_api_GetDeviceProfileTemplateRequest,
|
||||
responseSerialize: serialize_api_GetDeviceProfileTemplateResponse,
|
||||
responseDeserialize: deserialize_api_GetDeviceProfileTemplateResponse,
|
||||
},
|
||||
// Update the given device-profile template.
|
||||
update: {
|
||||
path: '/api.DeviceProfileTemplateService/Update',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_profile_template_pb.UpdateDeviceProfileTemplateRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_UpdateDeviceProfileTemplateRequest,
|
||||
requestDeserialize: deserialize_api_UpdateDeviceProfileTemplateRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Delete the device-profile template with the given ID.
|
||||
delete: {
|
||||
path: '/api.DeviceProfileTemplateService/Delete',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_profile_template_pb.DeleteDeviceProfileTemplateRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_DeleteDeviceProfileTemplateRequest,
|
||||
requestDeserialize: deserialize_api_DeleteDeviceProfileTemplateRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// List the available device-profile templates.
|
||||
list: {
|
||||
path: '/api.DeviceProfileTemplateService/List',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_device_profile_template_pb.ListDeviceProfileTemplatesRequest,
|
||||
responseType: api_device_profile_template_pb.ListDeviceProfileTemplatesResponse,
|
||||
requestSerialize: serialize_api_ListDeviceProfileTemplatesRequest,
|
||||
requestDeserialize: deserialize_api_ListDeviceProfileTemplatesRequest,
|
||||
responseSerialize: serialize_api_ListDeviceProfileTemplatesResponse,
|
||||
responseDeserialize: deserialize_api_ListDeviceProfileTemplatesResponse,
|
||||
},
|
||||
};
|
||||
|
||||
exports.DeviceProfileTemplateServiceClient = grpc.makeGenericClientConstructor(DeviceProfileTemplateServiceService);
|
376
api/js/api/device_profile_template_pb.d.ts
vendored
376
api/js/api/device_profile_template_pb.d.ts
vendored
@ -1,376 +0,0 @@
|
||||
// package: api
|
||||
// file: api/device_profile_template.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_api_annotations_pb from "../google/api/annotations_pb";
|
||||
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as common_common_pb from "../common/common_pb";
|
||||
import * as api_device_profile_pb from "../api/device_profile_pb";
|
||||
|
||||
export class DeviceProfileTemplate extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
getVendor(): string;
|
||||
setVendor(value: string): void;
|
||||
|
||||
getFirmware(): string;
|
||||
setFirmware(value: string): void;
|
||||
|
||||
getRegion(): common_common_pb.RegionMap[keyof common_common_pb.RegionMap];
|
||||
setRegion(value: common_common_pb.RegionMap[keyof common_common_pb.RegionMap]): void;
|
||||
|
||||
getMacVersion(): common_common_pb.MacVersionMap[keyof common_common_pb.MacVersionMap];
|
||||
setMacVersion(value: common_common_pb.MacVersionMap[keyof common_common_pb.MacVersionMap]): void;
|
||||
|
||||
getRegParamsRevision(): common_common_pb.RegParamsRevisionMap[keyof common_common_pb.RegParamsRevisionMap];
|
||||
setRegParamsRevision(value: common_common_pb.RegParamsRevisionMap[keyof common_common_pb.RegParamsRevisionMap]): void;
|
||||
|
||||
getAdrAlgorithmId(): string;
|
||||
setAdrAlgorithmId(value: string): void;
|
||||
|
||||
getPayloadCodecRuntime(): api_device_profile_pb.CodecRuntimeMap[keyof api_device_profile_pb.CodecRuntimeMap];
|
||||
setPayloadCodecRuntime(value: api_device_profile_pb.CodecRuntimeMap[keyof api_device_profile_pb.CodecRuntimeMap]): void;
|
||||
|
||||
getPayloadCodecScript(): string;
|
||||
setPayloadCodecScript(value: string): void;
|
||||
|
||||
getFlushQueueOnActivate(): boolean;
|
||||
setFlushQueueOnActivate(value: boolean): void;
|
||||
|
||||
getUplinkInterval(): number;
|
||||
setUplinkInterval(value: number): void;
|
||||
|
||||
getDeviceStatusReqInterval(): number;
|
||||
setDeviceStatusReqInterval(value: number): void;
|
||||
|
||||
getSupportsOtaa(): boolean;
|
||||
setSupportsOtaa(value: boolean): void;
|
||||
|
||||
getSupportsClassB(): boolean;
|
||||
setSupportsClassB(value: boolean): void;
|
||||
|
||||
getSupportsClassC(): boolean;
|
||||
setSupportsClassC(value: boolean): void;
|
||||
|
||||
getClassBTimeout(): number;
|
||||
setClassBTimeout(value: number): void;
|
||||
|
||||
getClassBPingSlotNbK(): number;
|
||||
setClassBPingSlotNbK(value: number): void;
|
||||
|
||||
getClassBPingSlotDr(): number;
|
||||
setClassBPingSlotDr(value: number): void;
|
||||
|
||||
getClassBPingSlotFreq(): number;
|
||||
setClassBPingSlotFreq(value: number): void;
|
||||
|
||||
getClassCTimeout(): number;
|
||||
setClassCTimeout(value: number): void;
|
||||
|
||||
getAbpRx1Delay(): number;
|
||||
setAbpRx1Delay(value: number): void;
|
||||
|
||||
getAbpRx1DrOffset(): number;
|
||||
setAbpRx1DrOffset(value: number): void;
|
||||
|
||||
getAbpRx2Dr(): number;
|
||||
setAbpRx2Dr(value: number): void;
|
||||
|
||||
getAbpRx2Freq(): number;
|
||||
setAbpRx2Freq(value: number): void;
|
||||
|
||||
getTagsMap(): jspb.Map<string, string>;
|
||||
clearTagsMap(): void;
|
||||
getMeasurementsMap(): jspb.Map<string, api_device_profile_pb.Measurement>;
|
||||
clearMeasurementsMap(): void;
|
||||
getAutoDetectMeasurements(): boolean;
|
||||
setAutoDetectMeasurements(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeviceProfileTemplate.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeviceProfileTemplate): DeviceProfileTemplate.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeviceProfileTemplate, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeviceProfileTemplate;
|
||||
static deserializeBinaryFromReader(message: DeviceProfileTemplate, reader: jspb.BinaryReader): DeviceProfileTemplate;
|
||||
}
|
||||
|
||||
export namespace DeviceProfileTemplate {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
name: string,
|
||||
description: string,
|
||||
vendor: string,
|
||||
firmware: string,
|
||||
region: common_common_pb.RegionMap[keyof common_common_pb.RegionMap],
|
||||
macVersion: common_common_pb.MacVersionMap[keyof common_common_pb.MacVersionMap],
|
||||
regParamsRevision: common_common_pb.RegParamsRevisionMap[keyof common_common_pb.RegParamsRevisionMap],
|
||||
adrAlgorithmId: string,
|
||||
payloadCodecRuntime: api_device_profile_pb.CodecRuntimeMap[keyof api_device_profile_pb.CodecRuntimeMap],
|
||||
payloadCodecScript: string,
|
||||
flushQueueOnActivate: boolean,
|
||||
uplinkInterval: number,
|
||||
deviceStatusReqInterval: number,
|
||||
supportsOtaa: boolean,
|
||||
supportsClassB: boolean,
|
||||
supportsClassC: boolean,
|
||||
classBTimeout: number,
|
||||
classBPingSlotNbK: number,
|
||||
classBPingSlotDr: number,
|
||||
classBPingSlotFreq: number,
|
||||
classCTimeout: number,
|
||||
abpRx1Delay: number,
|
||||
abpRx1DrOffset: number,
|
||||
abpRx2Dr: number,
|
||||
abpRx2Freq: number,
|
||||
tagsMap: Array<[string, string]>,
|
||||
measurementsMap: Array<[string, api_device_profile_pb.Measurement.AsObject]>,
|
||||
autoDetectMeasurements: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeviceProfileTemplateListItem extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getVendor(): string;
|
||||
setVendor(value: string): void;
|
||||
|
||||
getFirmware(): string;
|
||||
setFirmware(value: string): void;
|
||||
|
||||
getRegion(): common_common_pb.RegionMap[keyof common_common_pb.RegionMap];
|
||||
setRegion(value: common_common_pb.RegionMap[keyof common_common_pb.RegionMap]): void;
|
||||
|
||||
getMacVersion(): common_common_pb.MacVersionMap[keyof common_common_pb.MacVersionMap];
|
||||
setMacVersion(value: common_common_pb.MacVersionMap[keyof common_common_pb.MacVersionMap]): void;
|
||||
|
||||
getRegParamsRevision(): common_common_pb.RegParamsRevisionMap[keyof common_common_pb.RegParamsRevisionMap];
|
||||
setRegParamsRevision(value: common_common_pb.RegParamsRevisionMap[keyof common_common_pb.RegParamsRevisionMap]): void;
|
||||
|
||||
getSupportsOtaa(): boolean;
|
||||
setSupportsOtaa(value: boolean): void;
|
||||
|
||||
getSupportsClassB(): boolean;
|
||||
setSupportsClassB(value: boolean): void;
|
||||
|
||||
getSupportsClassC(): boolean;
|
||||
setSupportsClassC(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeviceProfileTemplateListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeviceProfileTemplateListItem): DeviceProfileTemplateListItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeviceProfileTemplateListItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeviceProfileTemplateListItem;
|
||||
static deserializeBinaryFromReader(message: DeviceProfileTemplateListItem, reader: jspb.BinaryReader): DeviceProfileTemplateListItem;
|
||||
}
|
||||
|
||||
export namespace DeviceProfileTemplateListItem {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
name: string,
|
||||
vendor: string,
|
||||
firmware: string,
|
||||
region: common_common_pb.RegionMap[keyof common_common_pb.RegionMap],
|
||||
macVersion: common_common_pb.MacVersionMap[keyof common_common_pb.MacVersionMap],
|
||||
regParamsRevision: common_common_pb.RegParamsRevisionMap[keyof common_common_pb.RegParamsRevisionMap],
|
||||
supportsOtaa: boolean,
|
||||
supportsClassB: boolean,
|
||||
supportsClassC: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateDeviceProfileTemplateRequest extends jspb.Message {
|
||||
hasDeviceProfileTemplate(): boolean;
|
||||
clearDeviceProfileTemplate(): void;
|
||||
getDeviceProfileTemplate(): DeviceProfileTemplate | undefined;
|
||||
setDeviceProfileTemplate(value?: DeviceProfileTemplate): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateDeviceProfileTemplateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateDeviceProfileTemplateRequest): CreateDeviceProfileTemplateRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateDeviceProfileTemplateRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateDeviceProfileTemplateRequest;
|
||||
static deserializeBinaryFromReader(message: CreateDeviceProfileTemplateRequest, reader: jspb.BinaryReader): CreateDeviceProfileTemplateRequest;
|
||||
}
|
||||
|
||||
export namespace CreateDeviceProfileTemplateRequest {
|
||||
export type AsObject = {
|
||||
deviceProfileTemplate?: DeviceProfileTemplate.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetDeviceProfileTemplateRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDeviceProfileTemplateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDeviceProfileTemplateRequest): GetDeviceProfileTemplateRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetDeviceProfileTemplateRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetDeviceProfileTemplateRequest;
|
||||
static deserializeBinaryFromReader(message: GetDeviceProfileTemplateRequest, reader: jspb.BinaryReader): GetDeviceProfileTemplateRequest;
|
||||
}
|
||||
|
||||
export namespace GetDeviceProfileTemplateRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetDeviceProfileTemplateResponse extends jspb.Message {
|
||||
hasDeviceProfileTemplate(): boolean;
|
||||
clearDeviceProfileTemplate(): void;
|
||||
getDeviceProfileTemplate(): DeviceProfileTemplate | undefined;
|
||||
setDeviceProfileTemplate(value?: DeviceProfileTemplate): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDeviceProfileTemplateResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDeviceProfileTemplateResponse): GetDeviceProfileTemplateResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetDeviceProfileTemplateResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetDeviceProfileTemplateResponse;
|
||||
static deserializeBinaryFromReader(message: GetDeviceProfileTemplateResponse, reader: jspb.BinaryReader): GetDeviceProfileTemplateResponse;
|
||||
}
|
||||
|
||||
export namespace GetDeviceProfileTemplateResponse {
|
||||
export type AsObject = {
|
||||
deviceProfileTemplate?: DeviceProfileTemplate.AsObject,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateDeviceProfileTemplateRequest extends jspb.Message {
|
||||
hasDeviceProfileTemplate(): boolean;
|
||||
clearDeviceProfileTemplate(): void;
|
||||
getDeviceProfileTemplate(): DeviceProfileTemplate | undefined;
|
||||
setDeviceProfileTemplate(value?: DeviceProfileTemplate): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateDeviceProfileTemplateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateDeviceProfileTemplateRequest): UpdateDeviceProfileTemplateRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateDeviceProfileTemplateRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateDeviceProfileTemplateRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateDeviceProfileTemplateRequest, reader: jspb.BinaryReader): UpdateDeviceProfileTemplateRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateDeviceProfileTemplateRequest {
|
||||
export type AsObject = {
|
||||
deviceProfileTemplate?: DeviceProfileTemplate.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteDeviceProfileTemplateRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteDeviceProfileTemplateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteDeviceProfileTemplateRequest): DeleteDeviceProfileTemplateRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteDeviceProfileTemplateRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteDeviceProfileTemplateRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteDeviceProfileTemplateRequest, reader: jspb.BinaryReader): DeleteDeviceProfileTemplateRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteDeviceProfileTemplateRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListDeviceProfileTemplatesRequest extends jspb.Message {
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListDeviceProfileTemplatesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListDeviceProfileTemplatesRequest): ListDeviceProfileTemplatesRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListDeviceProfileTemplatesRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListDeviceProfileTemplatesRequest;
|
||||
static deserializeBinaryFromReader(message: ListDeviceProfileTemplatesRequest, reader: jspb.BinaryReader): ListDeviceProfileTemplatesRequest;
|
||||
}
|
||||
|
||||
export namespace ListDeviceProfileTemplatesRequest {
|
||||
export type AsObject = {
|
||||
limit: number,
|
||||
offset: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListDeviceProfileTemplatesResponse extends jspb.Message {
|
||||
getTotalCount(): number;
|
||||
setTotalCount(value: number): void;
|
||||
|
||||
clearResultList(): void;
|
||||
getResultList(): Array<DeviceProfileTemplateListItem>;
|
||||
setResultList(value: Array<DeviceProfileTemplateListItem>): void;
|
||||
addResult(value?: DeviceProfileTemplateListItem, index?: number): DeviceProfileTemplateListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListDeviceProfileTemplatesResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListDeviceProfileTemplatesResponse): ListDeviceProfileTemplatesResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListDeviceProfileTemplatesResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListDeviceProfileTemplatesResponse;
|
||||
static deserializeBinaryFromReader(message: ListDeviceProfileTemplatesResponse, reader: jspb.BinaryReader): ListDeviceProfileTemplatesResponse;
|
||||
}
|
||||
|
||||
export namespace ListDeviceProfileTemplatesResponse {
|
||||
export type AsObject = {
|
||||
totalCount: number,
|
||||
resultList: Array<DeviceProfileTemplateListItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
2866
api/js/api/device_profile_template_pb.js
vendored
2866
api/js/api/device_profile_template_pb.js
vendored
File diff suppressed because it is too large
Load Diff
55
api/js/api/gateway_grpc_pb.d.ts
vendored
55
api/js/api/gateway_grpc_pb.d.ts
vendored
@ -1,55 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// package: api
|
||||
// file: api/gateway.proto
|
||||
|
||||
import * as api_gateway_pb from "../api/gateway_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
|
||||
interface IGatewayServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
create: grpc.MethodDefinition<api_gateway_pb.CreateGatewayRequest, google_protobuf_empty_pb.Empty>;
|
||||
get: grpc.MethodDefinition<api_gateway_pb.GetGatewayRequest, api_gateway_pb.GetGatewayResponse>;
|
||||
update: grpc.MethodDefinition<api_gateway_pb.UpdateGatewayRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.MethodDefinition<api_gateway_pb.DeleteGatewayRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.MethodDefinition<api_gateway_pb.ListGatewaysRequest, api_gateway_pb.ListGatewaysResponse>;
|
||||
generateClientCertificate: grpc.MethodDefinition<api_gateway_pb.GenerateGatewayClientCertificateRequest, api_gateway_pb.GenerateGatewayClientCertificateResponse>;
|
||||
getMetrics: grpc.MethodDefinition<api_gateway_pb.GetGatewayMetricsRequest, api_gateway_pb.GetGatewayMetricsResponse>;
|
||||
}
|
||||
|
||||
export const GatewayServiceService: IGatewayServiceService;
|
||||
|
||||
export interface IGatewayServiceServer extends grpc.UntypedServiceImplementation {
|
||||
create: grpc.handleUnaryCall<api_gateway_pb.CreateGatewayRequest, google_protobuf_empty_pb.Empty>;
|
||||
get: grpc.handleUnaryCall<api_gateway_pb.GetGatewayRequest, api_gateway_pb.GetGatewayResponse>;
|
||||
update: grpc.handleUnaryCall<api_gateway_pb.UpdateGatewayRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.handleUnaryCall<api_gateway_pb.DeleteGatewayRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.handleUnaryCall<api_gateway_pb.ListGatewaysRequest, api_gateway_pb.ListGatewaysResponse>;
|
||||
generateClientCertificate: grpc.handleUnaryCall<api_gateway_pb.GenerateGatewayClientCertificateRequest, api_gateway_pb.GenerateGatewayClientCertificateResponse>;
|
||||
getMetrics: grpc.handleUnaryCall<api_gateway_pb.GetGatewayMetricsRequest, api_gateway_pb.GetGatewayMetricsResponse>;
|
||||
}
|
||||
|
||||
export class GatewayServiceClient extends grpc.Client {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
create(argument: api_gateway_pb.CreateGatewayRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
create(argument: api_gateway_pb.CreateGatewayRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
create(argument: api_gateway_pb.CreateGatewayRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
get(argument: api_gateway_pb.GetGatewayRequest, callback: grpc.requestCallback<api_gateway_pb.GetGatewayResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_gateway_pb.GetGatewayRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_gateway_pb.GetGatewayResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_gateway_pb.GetGatewayRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_gateway_pb.GetGatewayResponse>): grpc.ClientUnaryCall;
|
||||
update(argument: api_gateway_pb.UpdateGatewayRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_gateway_pb.UpdateGatewayRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_gateway_pb.UpdateGatewayRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_gateway_pb.DeleteGatewayRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_gateway_pb.DeleteGatewayRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_gateway_pb.DeleteGatewayRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
list(argument: api_gateway_pb.ListGatewaysRequest, callback: grpc.requestCallback<api_gateway_pb.ListGatewaysResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_gateway_pb.ListGatewaysRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_gateway_pb.ListGatewaysResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_gateway_pb.ListGatewaysRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_gateway_pb.ListGatewaysResponse>): grpc.ClientUnaryCall;
|
||||
generateClientCertificate(argument: api_gateway_pb.GenerateGatewayClientCertificateRequest, callback: grpc.requestCallback<api_gateway_pb.GenerateGatewayClientCertificateResponse>): grpc.ClientUnaryCall;
|
||||
generateClientCertificate(argument: api_gateway_pb.GenerateGatewayClientCertificateRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_gateway_pb.GenerateGatewayClientCertificateResponse>): grpc.ClientUnaryCall;
|
||||
generateClientCertificate(argument: api_gateway_pb.GenerateGatewayClientCertificateRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_gateway_pb.GenerateGatewayClientCertificateResponse>): grpc.ClientUnaryCall;
|
||||
getMetrics(argument: api_gateway_pb.GetGatewayMetricsRequest, callback: grpc.requestCallback<api_gateway_pb.GetGatewayMetricsResponse>): grpc.ClientUnaryCall;
|
||||
getMetrics(argument: api_gateway_pb.GetGatewayMetricsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_gateway_pb.GetGatewayMetricsResponse>): grpc.ClientUnaryCall;
|
||||
getMetrics(argument: api_gateway_pb.GetGatewayMetricsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_gateway_pb.GetGatewayMetricsResponse>): grpc.ClientUnaryCall;
|
||||
}
|
232
api/js/api/gateway_grpc_pb.js
vendored
232
api/js/api/gateway_grpc_pb.js
vendored
@ -1,232 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
'use strict';
|
||||
var grpc = require('@grpc/grpc-js');
|
||||
var api_gateway_pb = require('../api/gateway_pb.js');
|
||||
var google_api_annotations_pb = require('../google/api/annotations_pb.js');
|
||||
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
||||
var common_common_pb = require('../common/common_pb.js');
|
||||
|
||||
function serialize_api_CreateGatewayRequest(arg) {
|
||||
if (!(arg instanceof api_gateway_pb.CreateGatewayRequest)) {
|
||||
throw new Error('Expected argument of type api.CreateGatewayRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateGatewayRequest(buffer_arg) {
|
||||
return api_gateway_pb.CreateGatewayRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_DeleteGatewayRequest(arg) {
|
||||
if (!(arg instanceof api_gateway_pb.DeleteGatewayRequest)) {
|
||||
throw new Error('Expected argument of type api.DeleteGatewayRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_DeleteGatewayRequest(buffer_arg) {
|
||||
return api_gateway_pb.DeleteGatewayRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GenerateGatewayClientCertificateRequest(arg) {
|
||||
if (!(arg instanceof api_gateway_pb.GenerateGatewayClientCertificateRequest)) {
|
||||
throw new Error('Expected argument of type api.GenerateGatewayClientCertificateRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GenerateGatewayClientCertificateRequest(buffer_arg) {
|
||||
return api_gateway_pb.GenerateGatewayClientCertificateRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GenerateGatewayClientCertificateResponse(arg) {
|
||||
if (!(arg instanceof api_gateway_pb.GenerateGatewayClientCertificateResponse)) {
|
||||
throw new Error('Expected argument of type api.GenerateGatewayClientCertificateResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GenerateGatewayClientCertificateResponse(buffer_arg) {
|
||||
return api_gateway_pb.GenerateGatewayClientCertificateResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetGatewayMetricsRequest(arg) {
|
||||
if (!(arg instanceof api_gateway_pb.GetGatewayMetricsRequest)) {
|
||||
throw new Error('Expected argument of type api.GetGatewayMetricsRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetGatewayMetricsRequest(buffer_arg) {
|
||||
return api_gateway_pb.GetGatewayMetricsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetGatewayMetricsResponse(arg) {
|
||||
if (!(arg instanceof api_gateway_pb.GetGatewayMetricsResponse)) {
|
||||
throw new Error('Expected argument of type api.GetGatewayMetricsResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetGatewayMetricsResponse(buffer_arg) {
|
||||
return api_gateway_pb.GetGatewayMetricsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetGatewayRequest(arg) {
|
||||
if (!(arg instanceof api_gateway_pb.GetGatewayRequest)) {
|
||||
throw new Error('Expected argument of type api.GetGatewayRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetGatewayRequest(buffer_arg) {
|
||||
return api_gateway_pb.GetGatewayRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetGatewayResponse(arg) {
|
||||
if (!(arg instanceof api_gateway_pb.GetGatewayResponse)) {
|
||||
throw new Error('Expected argument of type api.GetGatewayResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetGatewayResponse(buffer_arg) {
|
||||
return api_gateway_pb.GetGatewayResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListGatewaysRequest(arg) {
|
||||
if (!(arg instanceof api_gateway_pb.ListGatewaysRequest)) {
|
||||
throw new Error('Expected argument of type api.ListGatewaysRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListGatewaysRequest(buffer_arg) {
|
||||
return api_gateway_pb.ListGatewaysRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListGatewaysResponse(arg) {
|
||||
if (!(arg instanceof api_gateway_pb.ListGatewaysResponse)) {
|
||||
throw new Error('Expected argument of type api.ListGatewaysResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListGatewaysResponse(buffer_arg) {
|
||||
return api_gateway_pb.ListGatewaysResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_UpdateGatewayRequest(arg) {
|
||||
if (!(arg instanceof api_gateway_pb.UpdateGatewayRequest)) {
|
||||
throw new Error('Expected argument of type api.UpdateGatewayRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_UpdateGatewayRequest(buffer_arg) {
|
||||
return api_gateway_pb.UpdateGatewayRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_google_protobuf_Empty(arg) {
|
||||
if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
|
||||
throw new Error('Expected argument of type google.protobuf.Empty');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_google_protobuf_Empty(buffer_arg) {
|
||||
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// GatewayService is the service providing API methods for managing gateways.
|
||||
var GatewayServiceService = exports.GatewayServiceService = {
|
||||
// Create creates the given gateway.
|
||||
create: {
|
||||
path: '/api.GatewayService/Create',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_gateway_pb.CreateGatewayRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_CreateGatewayRequest,
|
||||
requestDeserialize: deserialize_api_CreateGatewayRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Get returns the gateway for the given Gateway ID.
|
||||
get: {
|
||||
path: '/api.GatewayService/Get',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_gateway_pb.GetGatewayRequest,
|
||||
responseType: api_gateway_pb.GetGatewayResponse,
|
||||
requestSerialize: serialize_api_GetGatewayRequest,
|
||||
requestDeserialize: deserialize_api_GetGatewayRequest,
|
||||
responseSerialize: serialize_api_GetGatewayResponse,
|
||||
responseDeserialize: deserialize_api_GetGatewayResponse,
|
||||
},
|
||||
// Update updates the given gateway.
|
||||
update: {
|
||||
path: '/api.GatewayService/Update',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_gateway_pb.UpdateGatewayRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_UpdateGatewayRequest,
|
||||
requestDeserialize: deserialize_api_UpdateGatewayRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Delete deletes the gateway matching the given Gateway ID.
|
||||
delete: {
|
||||
path: '/api.GatewayService/Delete',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_gateway_pb.DeleteGatewayRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_DeleteGatewayRequest,
|
||||
requestDeserialize: deserialize_api_DeleteGatewayRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Get the list of gateways.
|
||||
list: {
|
||||
path: '/api.GatewayService/List',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_gateway_pb.ListGatewaysRequest,
|
||||
responseType: api_gateway_pb.ListGatewaysResponse,
|
||||
requestSerialize: serialize_api_ListGatewaysRequest,
|
||||
requestDeserialize: deserialize_api_ListGatewaysRequest,
|
||||
responseSerialize: serialize_api_ListGatewaysResponse,
|
||||
responseDeserialize: deserialize_api_ListGatewaysResponse,
|
||||
},
|
||||
// Generate client-certificate for the gateway.
|
||||
generateClientCertificate: {
|
||||
path: '/api.GatewayService/GenerateClientCertificate',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_gateway_pb.GenerateGatewayClientCertificateRequest,
|
||||
responseType: api_gateway_pb.GenerateGatewayClientCertificateResponse,
|
||||
requestSerialize: serialize_api_GenerateGatewayClientCertificateRequest,
|
||||
requestDeserialize: deserialize_api_GenerateGatewayClientCertificateRequest,
|
||||
responseSerialize: serialize_api_GenerateGatewayClientCertificateResponse,
|
||||
responseDeserialize: deserialize_api_GenerateGatewayClientCertificateResponse,
|
||||
},
|
||||
// GetMetrics returns the gateway metrics.
|
||||
getMetrics: {
|
||||
path: '/api.GatewayService/GetMetrics',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_gateway_pb.GetGatewayMetricsRequest,
|
||||
responseType: api_gateway_pb.GetGatewayMetricsResponse,
|
||||
requestSerialize: serialize_api_GetGatewayMetricsRequest,
|
||||
requestDeserialize: deserialize_api_GetGatewayMetricsRequest,
|
||||
responseSerialize: serialize_api_GetGatewayMetricsResponse,
|
||||
responseDeserialize: deserialize_api_GetGatewayMetricsResponse,
|
||||
},
|
||||
};
|
||||
|
||||
exports.GatewayServiceClient = grpc.makeGenericClientConstructor(GatewayServiceService);
|
462
api/js/api/gateway_pb.d.ts
vendored
462
api/js/api/gateway_pb.d.ts
vendored
@ -1,462 +0,0 @@
|
||||
// package: api
|
||||
// file: api/gateway.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_api_annotations_pb from "../google/api/annotations_pb";
|
||||
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as common_common_pb from "../common/common_pb";
|
||||
|
||||
export class Gateway extends jspb.Message {
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
hasLocation(): boolean;
|
||||
clearLocation(): void;
|
||||
getLocation(): common_common_pb.Location | undefined;
|
||||
setLocation(value?: common_common_pb.Location): void;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
getTagsMap(): jspb.Map<string, string>;
|
||||
clearTagsMap(): void;
|
||||
getMetadataMap(): jspb.Map<string, string>;
|
||||
clearMetadataMap(): void;
|
||||
getStatsInterval(): number;
|
||||
setStatsInterval(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Gateway.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Gateway): Gateway.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Gateway, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Gateway;
|
||||
static deserializeBinaryFromReader(message: Gateway, reader: jspb.BinaryReader): Gateway;
|
||||
}
|
||||
|
||||
export namespace Gateway {
|
||||
export type AsObject = {
|
||||
gatewayId: string,
|
||||
name: string,
|
||||
description: string,
|
||||
location?: common_common_pb.Location.AsObject,
|
||||
tenantId: string,
|
||||
tagsMap: Array<[string, string]>,
|
||||
metadataMap: Array<[string, string]>,
|
||||
statsInterval: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class GatewayListItem extends jspb.Message {
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
hasLocation(): boolean;
|
||||
clearLocation(): void;
|
||||
getLocation(): common_common_pb.Location | undefined;
|
||||
setLocation(value?: common_common_pb.Location): void;
|
||||
|
||||
getPropertiesMap(): jspb.Map<string, string>;
|
||||
clearPropertiesMap(): void;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasLastSeenAt(): boolean;
|
||||
clearLastSeenAt(): void;
|
||||
getLastSeenAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setLastSeenAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
getState(): GatewayStateMap[keyof GatewayStateMap];
|
||||
setState(value: GatewayStateMap[keyof GatewayStateMap]): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GatewayListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GatewayListItem): GatewayListItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GatewayListItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GatewayListItem;
|
||||
static deserializeBinaryFromReader(message: GatewayListItem, reader: jspb.BinaryReader): GatewayListItem;
|
||||
}
|
||||
|
||||
export namespace GatewayListItem {
|
||||
export type AsObject = {
|
||||
tenantId: string,
|
||||
gatewayId: string,
|
||||
name: string,
|
||||
description: string,
|
||||
location?: common_common_pb.Location.AsObject,
|
||||
propertiesMap: Array<[string, string]>,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
lastSeenAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
state: GatewayStateMap[keyof GatewayStateMap],
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateGatewayRequest extends jspb.Message {
|
||||
hasGateway(): boolean;
|
||||
clearGateway(): void;
|
||||
getGateway(): Gateway | undefined;
|
||||
setGateway(value?: Gateway): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateGatewayRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateGatewayRequest): CreateGatewayRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateGatewayRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateGatewayRequest;
|
||||
static deserializeBinaryFromReader(message: CreateGatewayRequest, reader: jspb.BinaryReader): CreateGatewayRequest;
|
||||
}
|
||||
|
||||
export namespace CreateGatewayRequest {
|
||||
export type AsObject = {
|
||||
gateway?: Gateway.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetGatewayRequest extends jspb.Message {
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetGatewayRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetGatewayRequest): GetGatewayRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetGatewayRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetGatewayRequest;
|
||||
static deserializeBinaryFromReader(message: GetGatewayRequest, reader: jspb.BinaryReader): GetGatewayRequest;
|
||||
}
|
||||
|
||||
export namespace GetGatewayRequest {
|
||||
export type AsObject = {
|
||||
gatewayId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetGatewayResponse extends jspb.Message {
|
||||
hasGateway(): boolean;
|
||||
clearGateway(): void;
|
||||
getGateway(): Gateway | undefined;
|
||||
setGateway(value?: Gateway): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasLastSeenAt(): boolean;
|
||||
clearLastSeenAt(): void;
|
||||
getLastSeenAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setLastSeenAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetGatewayResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetGatewayResponse): GetGatewayResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetGatewayResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetGatewayResponse;
|
||||
static deserializeBinaryFromReader(message: GetGatewayResponse, reader: jspb.BinaryReader): GetGatewayResponse;
|
||||
}
|
||||
|
||||
export namespace GetGatewayResponse {
|
||||
export type AsObject = {
|
||||
gateway?: Gateway.AsObject,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
lastSeenAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateGatewayRequest extends jspb.Message {
|
||||
hasGateway(): boolean;
|
||||
clearGateway(): void;
|
||||
getGateway(): Gateway | undefined;
|
||||
setGateway(value?: Gateway): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateGatewayRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateGatewayRequest): UpdateGatewayRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateGatewayRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateGatewayRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateGatewayRequest, reader: jspb.BinaryReader): UpdateGatewayRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateGatewayRequest {
|
||||
export type AsObject = {
|
||||
gateway?: Gateway.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteGatewayRequest extends jspb.Message {
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteGatewayRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteGatewayRequest): DeleteGatewayRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteGatewayRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteGatewayRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteGatewayRequest, reader: jspb.BinaryReader): DeleteGatewayRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteGatewayRequest {
|
||||
export type AsObject = {
|
||||
gatewayId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListGatewaysRequest extends jspb.Message {
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getSearch(): string;
|
||||
setSearch(value: string): void;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
getMulticastGroupId(): string;
|
||||
setMulticastGroupId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListGatewaysRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListGatewaysRequest): ListGatewaysRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListGatewaysRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListGatewaysRequest;
|
||||
static deserializeBinaryFromReader(message: ListGatewaysRequest, reader: jspb.BinaryReader): ListGatewaysRequest;
|
||||
}
|
||||
|
||||
export namespace ListGatewaysRequest {
|
||||
export type AsObject = {
|
||||
limit: number,
|
||||
offset: number,
|
||||
search: string,
|
||||
tenantId: string,
|
||||
multicastGroupId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListGatewaysResponse extends jspb.Message {
|
||||
getTotalCount(): number;
|
||||
setTotalCount(value: number): void;
|
||||
|
||||
clearResultList(): void;
|
||||
getResultList(): Array<GatewayListItem>;
|
||||
setResultList(value: Array<GatewayListItem>): void;
|
||||
addResult(value?: GatewayListItem, index?: number): GatewayListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListGatewaysResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListGatewaysResponse): ListGatewaysResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListGatewaysResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListGatewaysResponse;
|
||||
static deserializeBinaryFromReader(message: ListGatewaysResponse, reader: jspb.BinaryReader): ListGatewaysResponse;
|
||||
}
|
||||
|
||||
export namespace ListGatewaysResponse {
|
||||
export type AsObject = {
|
||||
totalCount: number,
|
||||
resultList: Array<GatewayListItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class GenerateGatewayClientCertificateRequest extends jspb.Message {
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GenerateGatewayClientCertificateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GenerateGatewayClientCertificateRequest): GenerateGatewayClientCertificateRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GenerateGatewayClientCertificateRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GenerateGatewayClientCertificateRequest;
|
||||
static deserializeBinaryFromReader(message: GenerateGatewayClientCertificateRequest, reader: jspb.BinaryReader): GenerateGatewayClientCertificateRequest;
|
||||
}
|
||||
|
||||
export namespace GenerateGatewayClientCertificateRequest {
|
||||
export type AsObject = {
|
||||
gatewayId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GenerateGatewayClientCertificateResponse extends jspb.Message {
|
||||
getTlsCert(): string;
|
||||
setTlsCert(value: string): void;
|
||||
|
||||
getTlsKey(): string;
|
||||
setTlsKey(value: string): void;
|
||||
|
||||
getCaCert(): string;
|
||||
setCaCert(value: string): void;
|
||||
|
||||
hasExpiresAt(): boolean;
|
||||
clearExpiresAt(): void;
|
||||
getExpiresAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setExpiresAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GenerateGatewayClientCertificateResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GenerateGatewayClientCertificateResponse): GenerateGatewayClientCertificateResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GenerateGatewayClientCertificateResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GenerateGatewayClientCertificateResponse;
|
||||
static deserializeBinaryFromReader(message: GenerateGatewayClientCertificateResponse, reader: jspb.BinaryReader): GenerateGatewayClientCertificateResponse;
|
||||
}
|
||||
|
||||
export namespace GenerateGatewayClientCertificateResponse {
|
||||
export type AsObject = {
|
||||
tlsCert: string,
|
||||
tlsKey: string,
|
||||
caCert: string,
|
||||
expiresAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetGatewayMetricsRequest extends jspb.Message {
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
hasStart(): boolean;
|
||||
clearStart(): void;
|
||||
getStart(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setStart(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasEnd(): boolean;
|
||||
clearEnd(): void;
|
||||
getEnd(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setEnd(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
getAggregation(): common_common_pb.AggregationMap[keyof common_common_pb.AggregationMap];
|
||||
setAggregation(value: common_common_pb.AggregationMap[keyof common_common_pb.AggregationMap]): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetGatewayMetricsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetGatewayMetricsRequest): GetGatewayMetricsRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetGatewayMetricsRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetGatewayMetricsRequest;
|
||||
static deserializeBinaryFromReader(message: GetGatewayMetricsRequest, reader: jspb.BinaryReader): GetGatewayMetricsRequest;
|
||||
}
|
||||
|
||||
export namespace GetGatewayMetricsRequest {
|
||||
export type AsObject = {
|
||||
gatewayId: string,
|
||||
start?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
end?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
aggregation: common_common_pb.AggregationMap[keyof common_common_pb.AggregationMap],
|
||||
}
|
||||
}
|
||||
|
||||
export class GetGatewayMetricsResponse extends jspb.Message {
|
||||
hasRxPackets(): boolean;
|
||||
clearRxPackets(): void;
|
||||
getRxPackets(): common_common_pb.Metric | undefined;
|
||||
setRxPackets(value?: common_common_pb.Metric): void;
|
||||
|
||||
hasTxPackets(): boolean;
|
||||
clearTxPackets(): void;
|
||||
getTxPackets(): common_common_pb.Metric | undefined;
|
||||
setTxPackets(value?: common_common_pb.Metric): void;
|
||||
|
||||
hasTxPacketsPerFreq(): boolean;
|
||||
clearTxPacketsPerFreq(): void;
|
||||
getTxPacketsPerFreq(): common_common_pb.Metric | undefined;
|
||||
setTxPacketsPerFreq(value?: common_common_pb.Metric): void;
|
||||
|
||||
hasRxPacketsPerFreq(): boolean;
|
||||
clearRxPacketsPerFreq(): void;
|
||||
getRxPacketsPerFreq(): common_common_pb.Metric | undefined;
|
||||
setRxPacketsPerFreq(value?: common_common_pb.Metric): void;
|
||||
|
||||
hasTxPacketsPerDr(): boolean;
|
||||
clearTxPacketsPerDr(): void;
|
||||
getTxPacketsPerDr(): common_common_pb.Metric | undefined;
|
||||
setTxPacketsPerDr(value?: common_common_pb.Metric): void;
|
||||
|
||||
hasRxPacketsPerDr(): boolean;
|
||||
clearRxPacketsPerDr(): void;
|
||||
getRxPacketsPerDr(): common_common_pb.Metric | undefined;
|
||||
setRxPacketsPerDr(value?: common_common_pb.Metric): void;
|
||||
|
||||
hasTxPacketsPerStatus(): boolean;
|
||||
clearTxPacketsPerStatus(): void;
|
||||
getTxPacketsPerStatus(): common_common_pb.Metric | undefined;
|
||||
setTxPacketsPerStatus(value?: common_common_pb.Metric): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetGatewayMetricsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetGatewayMetricsResponse): GetGatewayMetricsResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetGatewayMetricsResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetGatewayMetricsResponse;
|
||||
static deserializeBinaryFromReader(message: GetGatewayMetricsResponse, reader: jspb.BinaryReader): GetGatewayMetricsResponse;
|
||||
}
|
||||
|
||||
export namespace GetGatewayMetricsResponse {
|
||||
export type AsObject = {
|
||||
rxPackets?: common_common_pb.Metric.AsObject,
|
||||
txPackets?: common_common_pb.Metric.AsObject,
|
||||
txPacketsPerFreq?: common_common_pb.Metric.AsObject,
|
||||
rxPacketsPerFreq?: common_common_pb.Metric.AsObject,
|
||||
txPacketsPerDr?: common_common_pb.Metric.AsObject,
|
||||
rxPacketsPerDr?: common_common_pb.Metric.AsObject,
|
||||
txPacketsPerStatus?: common_common_pb.Metric.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export interface GatewayStateMap {
|
||||
NEVER_SEEN: 0;
|
||||
ONLINE: 1;
|
||||
OFFLINE: 2;
|
||||
}
|
||||
|
||||
export const GatewayState: GatewayStateMap;
|
||||
|
3569
api/js/api/gateway_pb.js
vendored
3569
api/js/api/gateway_pb.js
vendored
File diff suppressed because it is too large
Load Diff
102
api/js/api/internal_grpc_pb.d.ts
vendored
102
api/js/api/internal_grpc_pb.d.ts
vendored
@ -1,102 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// package: api
|
||||
// file: api/internal.proto
|
||||
|
||||
import * as api_internal_pb from "../api/internal_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
|
||||
interface IInternalServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
login: grpc.MethodDefinition<api_internal_pb.LoginRequest, api_internal_pb.LoginResponse>;
|
||||
profile: grpc.MethodDefinition<google_protobuf_empty_pb.Empty, api_internal_pb.ProfileResponse>;
|
||||
globalSearch: grpc.MethodDefinition<api_internal_pb.GlobalSearchRequest, api_internal_pb.GlobalSearchResponse>;
|
||||
createApiKey: grpc.MethodDefinition<api_internal_pb.CreateApiKeyRequest, api_internal_pb.CreateApiKeyResponse>;
|
||||
deleteApiKey: grpc.MethodDefinition<api_internal_pb.DeleteApiKeyRequest, google_protobuf_empty_pb.Empty>;
|
||||
listApiKeys: grpc.MethodDefinition<api_internal_pb.ListApiKeysRequest, api_internal_pb.ListApiKeysResponse>;
|
||||
settings: grpc.MethodDefinition<google_protobuf_empty_pb.Empty, api_internal_pb.SettingsResponse>;
|
||||
openIdConnectLogin: grpc.MethodDefinition<api_internal_pb.OpenIdConnectLoginRequest, api_internal_pb.OpenIdConnectLoginResponse>;
|
||||
oAuth2Login: grpc.MethodDefinition<api_internal_pb.OAuth2LoginRequest, api_internal_pb.OAuth2LoginResponse>;
|
||||
getDevicesSummary: grpc.MethodDefinition<api_internal_pb.GetDevicesSummaryRequest, api_internal_pb.GetDevicesSummaryResponse>;
|
||||
getGatewaysSummary: grpc.MethodDefinition<api_internal_pb.GetGatewaysSummaryRequest, api_internal_pb.GetGatewaysSummaryResponse>;
|
||||
streamGatewayFrames: grpc.MethodDefinition<api_internal_pb.StreamGatewayFramesRequest, api_internal_pb.LogItem>;
|
||||
streamDeviceFrames: grpc.MethodDefinition<api_internal_pb.StreamDeviceFramesRequest, api_internal_pb.LogItem>;
|
||||
streamDeviceEvents: grpc.MethodDefinition<api_internal_pb.StreamDeviceEventsRequest, api_internal_pb.LogItem>;
|
||||
listRegions: grpc.MethodDefinition<google_protobuf_empty_pb.Empty, api_internal_pb.ListRegionsResponse>;
|
||||
getRegion: grpc.MethodDefinition<api_internal_pb.GetRegionRequest, api_internal_pb.GetRegionResponse>;
|
||||
getVersion: grpc.MethodDefinition<google_protobuf_empty_pb.Empty, api_internal_pb.GetVersionResponse>;
|
||||
}
|
||||
|
||||
export const InternalServiceService: IInternalServiceService;
|
||||
|
||||
export interface IInternalServiceServer extends grpc.UntypedServiceImplementation {
|
||||
login: grpc.handleUnaryCall<api_internal_pb.LoginRequest, api_internal_pb.LoginResponse>;
|
||||
profile: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, api_internal_pb.ProfileResponse>;
|
||||
globalSearch: grpc.handleUnaryCall<api_internal_pb.GlobalSearchRequest, api_internal_pb.GlobalSearchResponse>;
|
||||
createApiKey: grpc.handleUnaryCall<api_internal_pb.CreateApiKeyRequest, api_internal_pb.CreateApiKeyResponse>;
|
||||
deleteApiKey: grpc.handleUnaryCall<api_internal_pb.DeleteApiKeyRequest, google_protobuf_empty_pb.Empty>;
|
||||
listApiKeys: grpc.handleUnaryCall<api_internal_pb.ListApiKeysRequest, api_internal_pb.ListApiKeysResponse>;
|
||||
settings: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, api_internal_pb.SettingsResponse>;
|
||||
openIdConnectLogin: grpc.handleUnaryCall<api_internal_pb.OpenIdConnectLoginRequest, api_internal_pb.OpenIdConnectLoginResponse>;
|
||||
oAuth2Login: grpc.handleUnaryCall<api_internal_pb.OAuth2LoginRequest, api_internal_pb.OAuth2LoginResponse>;
|
||||
getDevicesSummary: grpc.handleUnaryCall<api_internal_pb.GetDevicesSummaryRequest, api_internal_pb.GetDevicesSummaryResponse>;
|
||||
getGatewaysSummary: grpc.handleUnaryCall<api_internal_pb.GetGatewaysSummaryRequest, api_internal_pb.GetGatewaysSummaryResponse>;
|
||||
streamGatewayFrames: grpc.handleServerStreamingCall<api_internal_pb.StreamGatewayFramesRequest, api_internal_pb.LogItem>;
|
||||
streamDeviceFrames: grpc.handleServerStreamingCall<api_internal_pb.StreamDeviceFramesRequest, api_internal_pb.LogItem>;
|
||||
streamDeviceEvents: grpc.handleServerStreamingCall<api_internal_pb.StreamDeviceEventsRequest, api_internal_pb.LogItem>;
|
||||
listRegions: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, api_internal_pb.ListRegionsResponse>;
|
||||
getRegion: grpc.handleUnaryCall<api_internal_pb.GetRegionRequest, api_internal_pb.GetRegionResponse>;
|
||||
getVersion: grpc.handleUnaryCall<google_protobuf_empty_pb.Empty, api_internal_pb.GetVersionResponse>;
|
||||
}
|
||||
|
||||
export class InternalServiceClient extends grpc.Client {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
login(argument: api_internal_pb.LoginRequest, callback: grpc.requestCallback<api_internal_pb.LoginResponse>): grpc.ClientUnaryCall;
|
||||
login(argument: api_internal_pb.LoginRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.LoginResponse>): grpc.ClientUnaryCall;
|
||||
login(argument: api_internal_pb.LoginRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.LoginResponse>): grpc.ClientUnaryCall;
|
||||
profile(argument: google_protobuf_empty_pb.Empty, callback: grpc.requestCallback<api_internal_pb.ProfileResponse>): grpc.ClientUnaryCall;
|
||||
profile(argument: google_protobuf_empty_pb.Empty, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.ProfileResponse>): grpc.ClientUnaryCall;
|
||||
profile(argument: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.ProfileResponse>): grpc.ClientUnaryCall;
|
||||
globalSearch(argument: api_internal_pb.GlobalSearchRequest, callback: grpc.requestCallback<api_internal_pb.GlobalSearchResponse>): grpc.ClientUnaryCall;
|
||||
globalSearch(argument: api_internal_pb.GlobalSearchRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.GlobalSearchResponse>): grpc.ClientUnaryCall;
|
||||
globalSearch(argument: api_internal_pb.GlobalSearchRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.GlobalSearchResponse>): grpc.ClientUnaryCall;
|
||||
createApiKey(argument: api_internal_pb.CreateApiKeyRequest, callback: grpc.requestCallback<api_internal_pb.CreateApiKeyResponse>): grpc.ClientUnaryCall;
|
||||
createApiKey(argument: api_internal_pb.CreateApiKeyRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.CreateApiKeyResponse>): grpc.ClientUnaryCall;
|
||||
createApiKey(argument: api_internal_pb.CreateApiKeyRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.CreateApiKeyResponse>): grpc.ClientUnaryCall;
|
||||
deleteApiKey(argument: api_internal_pb.DeleteApiKeyRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteApiKey(argument: api_internal_pb.DeleteApiKeyRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteApiKey(argument: api_internal_pb.DeleteApiKeyRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
listApiKeys(argument: api_internal_pb.ListApiKeysRequest, callback: grpc.requestCallback<api_internal_pb.ListApiKeysResponse>): grpc.ClientUnaryCall;
|
||||
listApiKeys(argument: api_internal_pb.ListApiKeysRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.ListApiKeysResponse>): grpc.ClientUnaryCall;
|
||||
listApiKeys(argument: api_internal_pb.ListApiKeysRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.ListApiKeysResponse>): grpc.ClientUnaryCall;
|
||||
settings(argument: google_protobuf_empty_pb.Empty, callback: grpc.requestCallback<api_internal_pb.SettingsResponse>): grpc.ClientUnaryCall;
|
||||
settings(argument: google_protobuf_empty_pb.Empty, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.SettingsResponse>): grpc.ClientUnaryCall;
|
||||
settings(argument: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.SettingsResponse>): grpc.ClientUnaryCall;
|
||||
openIdConnectLogin(argument: api_internal_pb.OpenIdConnectLoginRequest, callback: grpc.requestCallback<api_internal_pb.OpenIdConnectLoginResponse>): grpc.ClientUnaryCall;
|
||||
openIdConnectLogin(argument: api_internal_pb.OpenIdConnectLoginRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.OpenIdConnectLoginResponse>): grpc.ClientUnaryCall;
|
||||
openIdConnectLogin(argument: api_internal_pb.OpenIdConnectLoginRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.OpenIdConnectLoginResponse>): grpc.ClientUnaryCall;
|
||||
oAuth2Login(argument: api_internal_pb.OAuth2LoginRequest, callback: grpc.requestCallback<api_internal_pb.OAuth2LoginResponse>): grpc.ClientUnaryCall;
|
||||
oAuth2Login(argument: api_internal_pb.OAuth2LoginRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.OAuth2LoginResponse>): grpc.ClientUnaryCall;
|
||||
oAuth2Login(argument: api_internal_pb.OAuth2LoginRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.OAuth2LoginResponse>): grpc.ClientUnaryCall;
|
||||
getDevicesSummary(argument: api_internal_pb.GetDevicesSummaryRequest, callback: grpc.requestCallback<api_internal_pb.GetDevicesSummaryResponse>): grpc.ClientUnaryCall;
|
||||
getDevicesSummary(argument: api_internal_pb.GetDevicesSummaryRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.GetDevicesSummaryResponse>): grpc.ClientUnaryCall;
|
||||
getDevicesSummary(argument: api_internal_pb.GetDevicesSummaryRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.GetDevicesSummaryResponse>): grpc.ClientUnaryCall;
|
||||
getGatewaysSummary(argument: api_internal_pb.GetGatewaysSummaryRequest, callback: grpc.requestCallback<api_internal_pb.GetGatewaysSummaryResponse>): grpc.ClientUnaryCall;
|
||||
getGatewaysSummary(argument: api_internal_pb.GetGatewaysSummaryRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.GetGatewaysSummaryResponse>): grpc.ClientUnaryCall;
|
||||
getGatewaysSummary(argument: api_internal_pb.GetGatewaysSummaryRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.GetGatewaysSummaryResponse>): grpc.ClientUnaryCall;
|
||||
streamGatewayFrames(argument: api_internal_pb.StreamGatewayFramesRequest, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<api_internal_pb.LogItem>;
|
||||
streamGatewayFrames(argument: api_internal_pb.StreamGatewayFramesRequest, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<api_internal_pb.LogItem>;
|
||||
streamDeviceFrames(argument: api_internal_pb.StreamDeviceFramesRequest, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<api_internal_pb.LogItem>;
|
||||
streamDeviceFrames(argument: api_internal_pb.StreamDeviceFramesRequest, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<api_internal_pb.LogItem>;
|
||||
streamDeviceEvents(argument: api_internal_pb.StreamDeviceEventsRequest, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<api_internal_pb.LogItem>;
|
||||
streamDeviceEvents(argument: api_internal_pb.StreamDeviceEventsRequest, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<api_internal_pb.LogItem>;
|
||||
listRegions(argument: google_protobuf_empty_pb.Empty, callback: grpc.requestCallback<api_internal_pb.ListRegionsResponse>): grpc.ClientUnaryCall;
|
||||
listRegions(argument: google_protobuf_empty_pb.Empty, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.ListRegionsResponse>): grpc.ClientUnaryCall;
|
||||
listRegions(argument: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.ListRegionsResponse>): grpc.ClientUnaryCall;
|
||||
getRegion(argument: api_internal_pb.GetRegionRequest, callback: grpc.requestCallback<api_internal_pb.GetRegionResponse>): grpc.ClientUnaryCall;
|
||||
getRegion(argument: api_internal_pb.GetRegionRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.GetRegionResponse>): grpc.ClientUnaryCall;
|
||||
getRegion(argument: api_internal_pb.GetRegionRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.GetRegionResponse>): grpc.ClientUnaryCall;
|
||||
getVersion(argument: google_protobuf_empty_pb.Empty, callback: grpc.requestCallback<api_internal_pb.GetVersionResponse>): grpc.ClientUnaryCall;
|
||||
getVersion(argument: google_protobuf_empty_pb.Empty, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.GetVersionResponse>): grpc.ClientUnaryCall;
|
||||
getVersion(argument: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_internal_pb.GetVersionResponse>): grpc.ClientUnaryCall;
|
||||
}
|
528
api/js/api/internal_grpc_pb.js
vendored
528
api/js/api/internal_grpc_pb.js
vendored
@ -1,528 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
'use strict';
|
||||
var grpc = require('@grpc/grpc-js');
|
||||
var api_internal_pb = require('../api/internal_pb.js');
|
||||
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
||||
var common_common_pb = require('../common/common_pb.js');
|
||||
var api_user_pb = require('../api/user_pb.js');
|
||||
|
||||
function serialize_api_CreateApiKeyRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.CreateApiKeyRequest)) {
|
||||
throw new Error('Expected argument of type api.CreateApiKeyRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateApiKeyRequest(buffer_arg) {
|
||||
return api_internal_pb.CreateApiKeyRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_CreateApiKeyResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.CreateApiKeyResponse)) {
|
||||
throw new Error('Expected argument of type api.CreateApiKeyResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateApiKeyResponse(buffer_arg) {
|
||||
return api_internal_pb.CreateApiKeyResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_DeleteApiKeyRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.DeleteApiKeyRequest)) {
|
||||
throw new Error('Expected argument of type api.DeleteApiKeyRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_DeleteApiKeyRequest(buffer_arg) {
|
||||
return api_internal_pb.DeleteApiKeyRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDevicesSummaryRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.GetDevicesSummaryRequest)) {
|
||||
throw new Error('Expected argument of type api.GetDevicesSummaryRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDevicesSummaryRequest(buffer_arg) {
|
||||
return api_internal_pb.GetDevicesSummaryRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetDevicesSummaryResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.GetDevicesSummaryResponse)) {
|
||||
throw new Error('Expected argument of type api.GetDevicesSummaryResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetDevicesSummaryResponse(buffer_arg) {
|
||||
return api_internal_pb.GetDevicesSummaryResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetGatewaysSummaryRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.GetGatewaysSummaryRequest)) {
|
||||
throw new Error('Expected argument of type api.GetGatewaysSummaryRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetGatewaysSummaryRequest(buffer_arg) {
|
||||
return api_internal_pb.GetGatewaysSummaryRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetGatewaysSummaryResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.GetGatewaysSummaryResponse)) {
|
||||
throw new Error('Expected argument of type api.GetGatewaysSummaryResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetGatewaysSummaryResponse(buffer_arg) {
|
||||
return api_internal_pb.GetGatewaysSummaryResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetRegionRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.GetRegionRequest)) {
|
||||
throw new Error('Expected argument of type api.GetRegionRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetRegionRequest(buffer_arg) {
|
||||
return api_internal_pb.GetRegionRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetRegionResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.GetRegionResponse)) {
|
||||
throw new Error('Expected argument of type api.GetRegionResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetRegionResponse(buffer_arg) {
|
||||
return api_internal_pb.GetRegionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetVersionResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.GetVersionResponse)) {
|
||||
throw new Error('Expected argument of type api.GetVersionResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetVersionResponse(buffer_arg) {
|
||||
return api_internal_pb.GetVersionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GlobalSearchRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.GlobalSearchRequest)) {
|
||||
throw new Error('Expected argument of type api.GlobalSearchRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GlobalSearchRequest(buffer_arg) {
|
||||
return api_internal_pb.GlobalSearchRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GlobalSearchResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.GlobalSearchResponse)) {
|
||||
throw new Error('Expected argument of type api.GlobalSearchResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GlobalSearchResponse(buffer_arg) {
|
||||
return api_internal_pb.GlobalSearchResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListApiKeysRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.ListApiKeysRequest)) {
|
||||
throw new Error('Expected argument of type api.ListApiKeysRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListApiKeysRequest(buffer_arg) {
|
||||
return api_internal_pb.ListApiKeysRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListApiKeysResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.ListApiKeysResponse)) {
|
||||
throw new Error('Expected argument of type api.ListApiKeysResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListApiKeysResponse(buffer_arg) {
|
||||
return api_internal_pb.ListApiKeysResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListRegionsResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.ListRegionsResponse)) {
|
||||
throw new Error('Expected argument of type api.ListRegionsResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListRegionsResponse(buffer_arg) {
|
||||
return api_internal_pb.ListRegionsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_LogItem(arg) {
|
||||
if (!(arg instanceof api_internal_pb.LogItem)) {
|
||||
throw new Error('Expected argument of type api.LogItem');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_LogItem(buffer_arg) {
|
||||
return api_internal_pb.LogItem.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_LoginRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.LoginRequest)) {
|
||||
throw new Error('Expected argument of type api.LoginRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_LoginRequest(buffer_arg) {
|
||||
return api_internal_pb.LoginRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_LoginResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.LoginResponse)) {
|
||||
throw new Error('Expected argument of type api.LoginResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_LoginResponse(buffer_arg) {
|
||||
return api_internal_pb.LoginResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_OAuth2LoginRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.OAuth2LoginRequest)) {
|
||||
throw new Error('Expected argument of type api.OAuth2LoginRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_OAuth2LoginRequest(buffer_arg) {
|
||||
return api_internal_pb.OAuth2LoginRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_OAuth2LoginResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.OAuth2LoginResponse)) {
|
||||
throw new Error('Expected argument of type api.OAuth2LoginResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_OAuth2LoginResponse(buffer_arg) {
|
||||
return api_internal_pb.OAuth2LoginResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_OpenIdConnectLoginRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.OpenIdConnectLoginRequest)) {
|
||||
throw new Error('Expected argument of type api.OpenIdConnectLoginRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_OpenIdConnectLoginRequest(buffer_arg) {
|
||||
return api_internal_pb.OpenIdConnectLoginRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_OpenIdConnectLoginResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.OpenIdConnectLoginResponse)) {
|
||||
throw new Error('Expected argument of type api.OpenIdConnectLoginResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_OpenIdConnectLoginResponse(buffer_arg) {
|
||||
return api_internal_pb.OpenIdConnectLoginResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ProfileResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.ProfileResponse)) {
|
||||
throw new Error('Expected argument of type api.ProfileResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ProfileResponse(buffer_arg) {
|
||||
return api_internal_pb.ProfileResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_SettingsResponse(arg) {
|
||||
if (!(arg instanceof api_internal_pb.SettingsResponse)) {
|
||||
throw new Error('Expected argument of type api.SettingsResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_SettingsResponse(buffer_arg) {
|
||||
return api_internal_pb.SettingsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_StreamDeviceEventsRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.StreamDeviceEventsRequest)) {
|
||||
throw new Error('Expected argument of type api.StreamDeviceEventsRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_StreamDeviceEventsRequest(buffer_arg) {
|
||||
return api_internal_pb.StreamDeviceEventsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_StreamDeviceFramesRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.StreamDeviceFramesRequest)) {
|
||||
throw new Error('Expected argument of type api.StreamDeviceFramesRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_StreamDeviceFramesRequest(buffer_arg) {
|
||||
return api_internal_pb.StreamDeviceFramesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_StreamGatewayFramesRequest(arg) {
|
||||
if (!(arg instanceof api_internal_pb.StreamGatewayFramesRequest)) {
|
||||
throw new Error('Expected argument of type api.StreamGatewayFramesRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_StreamGatewayFramesRequest(buffer_arg) {
|
||||
return api_internal_pb.StreamGatewayFramesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_google_protobuf_Empty(arg) {
|
||||
if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
|
||||
throw new Error('Expected argument of type google.protobuf.Empty');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_google_protobuf_Empty(buffer_arg) {
|
||||
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// InternalService is the service providing API endpoints for internal usage.
|
||||
var InternalServiceService = exports.InternalServiceService = {
|
||||
// Log in a user
|
||||
login: {
|
||||
path: '/api.InternalService/Login',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_internal_pb.LoginRequest,
|
||||
responseType: api_internal_pb.LoginResponse,
|
||||
requestSerialize: serialize_api_LoginRequest,
|
||||
requestDeserialize: deserialize_api_LoginRequest,
|
||||
responseSerialize: serialize_api_LoginResponse,
|
||||
responseDeserialize: deserialize_api_LoginResponse,
|
||||
},
|
||||
// Get the current user's profile
|
||||
profile: {
|
||||
path: '/api.InternalService/Profile',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: google_protobuf_empty_pb.Empty,
|
||||
responseType: api_internal_pb.ProfileResponse,
|
||||
requestSerialize: serialize_google_protobuf_Empty,
|
||||
requestDeserialize: deserialize_google_protobuf_Empty,
|
||||
responseSerialize: serialize_api_ProfileResponse,
|
||||
responseDeserialize: deserialize_api_ProfileResponse,
|
||||
},
|
||||
// Perform a global search.
|
||||
globalSearch: {
|
||||
path: '/api.InternalService/GlobalSearch',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_internal_pb.GlobalSearchRequest,
|
||||
responseType: api_internal_pb.GlobalSearchResponse,
|
||||
requestSerialize: serialize_api_GlobalSearchRequest,
|
||||
requestDeserialize: deserialize_api_GlobalSearchRequest,
|
||||
responseSerialize: serialize_api_GlobalSearchResponse,
|
||||
responseDeserialize: deserialize_api_GlobalSearchResponse,
|
||||
},
|
||||
// CreateApiKey creates the given API key.
|
||||
createApiKey: {
|
||||
path: '/api.InternalService/CreateApiKey',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_internal_pb.CreateApiKeyRequest,
|
||||
responseType: api_internal_pb.CreateApiKeyResponse,
|
||||
requestSerialize: serialize_api_CreateApiKeyRequest,
|
||||
requestDeserialize: deserialize_api_CreateApiKeyRequest,
|
||||
responseSerialize: serialize_api_CreateApiKeyResponse,
|
||||
responseDeserialize: deserialize_api_CreateApiKeyResponse,
|
||||
},
|
||||
// DeleteApiKey deletes the API key.
|
||||
deleteApiKey: {
|
||||
path: '/api.InternalService/DeleteApiKey',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_internal_pb.DeleteApiKeyRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_DeleteApiKeyRequest,
|
||||
requestDeserialize: deserialize_api_DeleteApiKeyRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// ListApiKeys lists the available API keys.
|
||||
listApiKeys: {
|
||||
path: '/api.InternalService/ListApiKeys',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_internal_pb.ListApiKeysRequest,
|
||||
responseType: api_internal_pb.ListApiKeysResponse,
|
||||
requestSerialize: serialize_api_ListApiKeysRequest,
|
||||
requestDeserialize: deserialize_api_ListApiKeysRequest,
|
||||
responseSerialize: serialize_api_ListApiKeysResponse,
|
||||
responseDeserialize: deserialize_api_ListApiKeysResponse,
|
||||
},
|
||||
// Get the global settings.
|
||||
settings: {
|
||||
path: '/api.InternalService/Settings',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: google_protobuf_empty_pb.Empty,
|
||||
responseType: api_internal_pb.SettingsResponse,
|
||||
requestSerialize: serialize_google_protobuf_Empty,
|
||||
requestDeserialize: deserialize_google_protobuf_Empty,
|
||||
responseSerialize: serialize_api_SettingsResponse,
|
||||
responseDeserialize: deserialize_api_SettingsResponse,
|
||||
},
|
||||
// OpenId Connect login.
|
||||
openIdConnectLogin: {
|
||||
path: '/api.InternalService/OpenIdConnectLogin',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_internal_pb.OpenIdConnectLoginRequest,
|
||||
responseType: api_internal_pb.OpenIdConnectLoginResponse,
|
||||
requestSerialize: serialize_api_OpenIdConnectLoginRequest,
|
||||
requestDeserialize: deserialize_api_OpenIdConnectLoginRequest,
|
||||
responseSerialize: serialize_api_OpenIdConnectLoginResponse,
|
||||
responseDeserialize: deserialize_api_OpenIdConnectLoginResponse,
|
||||
},
|
||||
// OAuth2 login.
|
||||
oAuth2Login: {
|
||||
path: '/api.InternalService/OAuth2Login',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_internal_pb.OAuth2LoginRequest,
|
||||
responseType: api_internal_pb.OAuth2LoginResponse,
|
||||
requestSerialize: serialize_api_OAuth2LoginRequest,
|
||||
requestDeserialize: deserialize_api_OAuth2LoginRequest,
|
||||
responseSerialize: serialize_api_OAuth2LoginResponse,
|
||||
responseDeserialize: deserialize_api_OAuth2LoginResponse,
|
||||
},
|
||||
// GetDevicesSummary returns an aggregated summary of the devices.
|
||||
getDevicesSummary: {
|
||||
path: '/api.InternalService/GetDevicesSummary',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_internal_pb.GetDevicesSummaryRequest,
|
||||
responseType: api_internal_pb.GetDevicesSummaryResponse,
|
||||
requestSerialize: serialize_api_GetDevicesSummaryRequest,
|
||||
requestDeserialize: deserialize_api_GetDevicesSummaryRequest,
|
||||
responseSerialize: serialize_api_GetDevicesSummaryResponse,
|
||||
responseDeserialize: deserialize_api_GetDevicesSummaryResponse,
|
||||
},
|
||||
// GetGatewaysSummary returns an aggregated summary of the gateways.
|
||||
getGatewaysSummary: {
|
||||
path: '/api.InternalService/GetGatewaysSummary',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_internal_pb.GetGatewaysSummaryRequest,
|
||||
responseType: api_internal_pb.GetGatewaysSummaryResponse,
|
||||
requestSerialize: serialize_api_GetGatewaysSummaryRequest,
|
||||
requestDeserialize: deserialize_api_GetGatewaysSummaryRequest,
|
||||
responseSerialize: serialize_api_GetGatewaysSummaryResponse,
|
||||
responseDeserialize: deserialize_api_GetGatewaysSummaryResponse,
|
||||
},
|
||||
// Stream frame for the given Gateway ID.
|
||||
streamGatewayFrames: {
|
||||
path: '/api.InternalService/StreamGatewayFrames',
|
||||
requestStream: false,
|
||||
responseStream: true,
|
||||
requestType: api_internal_pb.StreamGatewayFramesRequest,
|
||||
responseType: api_internal_pb.LogItem,
|
||||
requestSerialize: serialize_api_StreamGatewayFramesRequest,
|
||||
requestDeserialize: deserialize_api_StreamGatewayFramesRequest,
|
||||
responseSerialize: serialize_api_LogItem,
|
||||
responseDeserialize: deserialize_api_LogItem,
|
||||
},
|
||||
// Stream frames for the given Device EUI.
|
||||
streamDeviceFrames: {
|
||||
path: '/api.InternalService/StreamDeviceFrames',
|
||||
requestStream: false,
|
||||
responseStream: true,
|
||||
requestType: api_internal_pb.StreamDeviceFramesRequest,
|
||||
responseType: api_internal_pb.LogItem,
|
||||
requestSerialize: serialize_api_StreamDeviceFramesRequest,
|
||||
requestDeserialize: deserialize_api_StreamDeviceFramesRequest,
|
||||
responseSerialize: serialize_api_LogItem,
|
||||
responseDeserialize: deserialize_api_LogItem,
|
||||
},
|
||||
// Stream events for the given Device EUI.
|
||||
streamDeviceEvents: {
|
||||
path: '/api.InternalService/StreamDeviceEvents',
|
||||
requestStream: false,
|
||||
responseStream: true,
|
||||
requestType: api_internal_pb.StreamDeviceEventsRequest,
|
||||
responseType: api_internal_pb.LogItem,
|
||||
requestSerialize: serialize_api_StreamDeviceEventsRequest,
|
||||
requestDeserialize: deserialize_api_StreamDeviceEventsRequest,
|
||||
responseSerialize: serialize_api_LogItem,
|
||||
responseDeserialize: deserialize_api_LogItem,
|
||||
},
|
||||
// ListRegions lists the available (configured) regions.
|
||||
listRegions: {
|
||||
path: '/api.InternalService/ListRegions',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: google_protobuf_empty_pb.Empty,
|
||||
responseType: api_internal_pb.ListRegionsResponse,
|
||||
requestSerialize: serialize_google_protobuf_Empty,
|
||||
requestDeserialize: deserialize_google_protobuf_Empty,
|
||||
responseSerialize: serialize_api_ListRegionsResponse,
|
||||
responseDeserialize: deserialize_api_ListRegionsResponse,
|
||||
},
|
||||
// GetRegion returns the region details for the given region.
|
||||
getRegion: {
|
||||
path: '/api.InternalService/GetRegion',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_internal_pb.GetRegionRequest,
|
||||
responseType: api_internal_pb.GetRegionResponse,
|
||||
requestSerialize: serialize_api_GetRegionRequest,
|
||||
requestDeserialize: deserialize_api_GetRegionRequest,
|
||||
responseSerialize: serialize_api_GetRegionResponse,
|
||||
responseDeserialize: deserialize_api_GetRegionResponse,
|
||||
},
|
||||
// GetVersion returns the ChirpStack version.
|
||||
getVersion: {
|
||||
path: '/api.InternalService/GetVersion',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: google_protobuf_empty_pb.Empty,
|
||||
responseType: api_internal_pb.GetVersionResponse,
|
||||
requestSerialize: serialize_google_protobuf_Empty,
|
||||
requestDeserialize: deserialize_google_protobuf_Empty,
|
||||
responseSerialize: serialize_api_GetVersionResponse,
|
||||
responseDeserialize: deserialize_api_GetVersionResponse,
|
||||
},
|
||||
};
|
||||
|
||||
exports.InternalServiceClient = grpc.makeGenericClientConstructor(InternalServiceService);
|
951
api/js/api/internal_pb.d.ts
vendored
951
api/js/api/internal_pb.d.ts
vendored
@ -1,951 +0,0 @@
|
||||
// package: api
|
||||
// file: api/internal.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as common_common_pb from "../common/common_pb";
|
||||
import * as api_user_pb from "../api/user_pb";
|
||||
|
||||
export class ApiKey extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): void;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ApiKey.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ApiKey): ApiKey.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ApiKey, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ApiKey;
|
||||
static deserializeBinaryFromReader(message: ApiKey, reader: jspb.BinaryReader): ApiKey;
|
||||
}
|
||||
|
||||
export namespace ApiKey {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
name: string,
|
||||
isAdmin: boolean,
|
||||
tenantId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateApiKeyRequest extends jspb.Message {
|
||||
hasApiKey(): boolean;
|
||||
clearApiKey(): void;
|
||||
getApiKey(): ApiKey | undefined;
|
||||
setApiKey(value?: ApiKey): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateApiKeyRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateApiKeyRequest): CreateApiKeyRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateApiKeyRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateApiKeyRequest;
|
||||
static deserializeBinaryFromReader(message: CreateApiKeyRequest, reader: jspb.BinaryReader): CreateApiKeyRequest;
|
||||
}
|
||||
|
||||
export namespace CreateApiKeyRequest {
|
||||
export type AsObject = {
|
||||
apiKey?: ApiKey.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateApiKeyResponse extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getToken(): string;
|
||||
setToken(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateApiKeyResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateApiKeyResponse): CreateApiKeyResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateApiKeyResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateApiKeyResponse;
|
||||
static deserializeBinaryFromReader(message: CreateApiKeyResponse, reader: jspb.BinaryReader): CreateApiKeyResponse;
|
||||
}
|
||||
|
||||
export namespace CreateApiKeyResponse {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
token: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteApiKeyRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteApiKeyRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteApiKeyRequest): DeleteApiKeyRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteApiKeyRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteApiKeyRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteApiKeyRequest, reader: jspb.BinaryReader): DeleteApiKeyRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteApiKeyRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListApiKeysRequest extends jspb.Message {
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): void;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListApiKeysRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListApiKeysRequest): ListApiKeysRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListApiKeysRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListApiKeysRequest;
|
||||
static deserializeBinaryFromReader(message: ListApiKeysRequest, reader: jspb.BinaryReader): ListApiKeysRequest;
|
||||
}
|
||||
|
||||
export namespace ListApiKeysRequest {
|
||||
export type AsObject = {
|
||||
limit: number,
|
||||
offset: number,
|
||||
isAdmin: boolean,
|
||||
tenantId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListApiKeysResponse extends jspb.Message {
|
||||
getTotalCount(): number;
|
||||
setTotalCount(value: number): void;
|
||||
|
||||
clearResultList(): void;
|
||||
getResultList(): Array<ApiKey>;
|
||||
setResultList(value: Array<ApiKey>): void;
|
||||
addResult(value?: ApiKey, index?: number): ApiKey;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListApiKeysResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListApiKeysResponse): ListApiKeysResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListApiKeysResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListApiKeysResponse;
|
||||
static deserializeBinaryFromReader(message: ListApiKeysResponse, reader: jspb.BinaryReader): ListApiKeysResponse;
|
||||
}
|
||||
|
||||
export namespace ListApiKeysResponse {
|
||||
export type AsObject = {
|
||||
totalCount: number,
|
||||
resultList: Array<ApiKey.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserTenantLink extends jspb.Message {
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): void;
|
||||
|
||||
getIsDeviceAdmin(): boolean;
|
||||
setIsDeviceAdmin(value: boolean): void;
|
||||
|
||||
getIsGatewayAdmin(): boolean;
|
||||
setIsGatewayAdmin(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserTenantLink.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserTenantLink): UserTenantLink.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UserTenantLink, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserTenantLink;
|
||||
static deserializeBinaryFromReader(message: UserTenantLink, reader: jspb.BinaryReader): UserTenantLink;
|
||||
}
|
||||
|
||||
export namespace UserTenantLink {
|
||||
export type AsObject = {
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
tenantId: string,
|
||||
isAdmin: boolean,
|
||||
isDeviceAdmin: boolean,
|
||||
isGatewayAdmin: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class LoginRequest extends jspb.Message {
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LoginRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LoginRequest): LoginRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LoginRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LoginRequest;
|
||||
static deserializeBinaryFromReader(message: LoginRequest, reader: jspb.BinaryReader): LoginRequest;
|
||||
}
|
||||
|
||||
export namespace LoginRequest {
|
||||
export type AsObject = {
|
||||
email: string,
|
||||
password: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class LoginResponse extends jspb.Message {
|
||||
getJwt(): string;
|
||||
setJwt(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LoginResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LoginResponse): LoginResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LoginResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LoginResponse;
|
||||
static deserializeBinaryFromReader(message: LoginResponse, reader: jspb.BinaryReader): LoginResponse;
|
||||
}
|
||||
|
||||
export namespace LoginResponse {
|
||||
export type AsObject = {
|
||||
jwt: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ProfileResponse extends jspb.Message {
|
||||
hasUser(): boolean;
|
||||
clearUser(): void;
|
||||
getUser(): api_user_pb.User | undefined;
|
||||
setUser(value?: api_user_pb.User): void;
|
||||
|
||||
clearTenantsList(): void;
|
||||
getTenantsList(): Array<UserTenantLink>;
|
||||
setTenantsList(value: Array<UserTenantLink>): void;
|
||||
addTenants(value?: UserTenantLink, index?: number): UserTenantLink;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ProfileResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ProfileResponse): ProfileResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ProfileResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ProfileResponse;
|
||||
static deserializeBinaryFromReader(message: ProfileResponse, reader: jspb.BinaryReader): ProfileResponse;
|
||||
}
|
||||
|
||||
export namespace ProfileResponse {
|
||||
export type AsObject = {
|
||||
user?: api_user_pb.User.AsObject,
|
||||
tenantsList: Array<UserTenantLink.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class GlobalSearchRequest extends jspb.Message {
|
||||
getSearch(): string;
|
||||
setSearch(value: string): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GlobalSearchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GlobalSearchRequest): GlobalSearchRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GlobalSearchRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GlobalSearchRequest;
|
||||
static deserializeBinaryFromReader(message: GlobalSearchRequest, reader: jspb.BinaryReader): GlobalSearchRequest;
|
||||
}
|
||||
|
||||
export namespace GlobalSearchRequest {
|
||||
export type AsObject = {
|
||||
search: string,
|
||||
limit: number,
|
||||
offset: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class GlobalSearchResponse extends jspb.Message {
|
||||
clearResultList(): void;
|
||||
getResultList(): Array<GlobalSearchResult>;
|
||||
setResultList(value: Array<GlobalSearchResult>): void;
|
||||
addResult(value?: GlobalSearchResult, index?: number): GlobalSearchResult;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GlobalSearchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GlobalSearchResponse): GlobalSearchResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GlobalSearchResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GlobalSearchResponse;
|
||||
static deserializeBinaryFromReader(message: GlobalSearchResponse, reader: jspb.BinaryReader): GlobalSearchResponse;
|
||||
}
|
||||
|
||||
export namespace GlobalSearchResponse {
|
||||
export type AsObject = {
|
||||
resultList: Array<GlobalSearchResult.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class GlobalSearchResult extends jspb.Message {
|
||||
getKind(): string;
|
||||
setKind(value: string): void;
|
||||
|
||||
getScore(): number;
|
||||
setScore(value: number): void;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
getTenantName(): string;
|
||||
setTenantName(value: string): void;
|
||||
|
||||
getApplicationId(): string;
|
||||
setApplicationId(value: string): void;
|
||||
|
||||
getApplicationName(): string;
|
||||
setApplicationName(value: string): void;
|
||||
|
||||
getDeviceDevEui(): string;
|
||||
setDeviceDevEui(value: string): void;
|
||||
|
||||
getDeviceName(): string;
|
||||
setDeviceName(value: string): void;
|
||||
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
getGatewayName(): string;
|
||||
setGatewayName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GlobalSearchResult.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GlobalSearchResult): GlobalSearchResult.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GlobalSearchResult, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GlobalSearchResult;
|
||||
static deserializeBinaryFromReader(message: GlobalSearchResult, reader: jspb.BinaryReader): GlobalSearchResult;
|
||||
}
|
||||
|
||||
export namespace GlobalSearchResult {
|
||||
export type AsObject = {
|
||||
kind: string,
|
||||
score: number,
|
||||
tenantId: string,
|
||||
tenantName: string,
|
||||
applicationId: string,
|
||||
applicationName: string,
|
||||
deviceDevEui: string,
|
||||
deviceName: string,
|
||||
gatewayId: string,
|
||||
gatewayName: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class SettingsResponse extends jspb.Message {
|
||||
hasOpenidConnect(): boolean;
|
||||
clearOpenidConnect(): void;
|
||||
getOpenidConnect(): OpenIdConnect | undefined;
|
||||
setOpenidConnect(value?: OpenIdConnect): void;
|
||||
|
||||
hasOauth2(): boolean;
|
||||
clearOauth2(): void;
|
||||
getOauth2(): OAuth2 | undefined;
|
||||
setOauth2(value?: OAuth2): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): SettingsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: SettingsResponse): SettingsResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: SettingsResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): SettingsResponse;
|
||||
static deserializeBinaryFromReader(message: SettingsResponse, reader: jspb.BinaryReader): SettingsResponse;
|
||||
}
|
||||
|
||||
export namespace SettingsResponse {
|
||||
export type AsObject = {
|
||||
openidConnect?: OpenIdConnect.AsObject,
|
||||
oauth2?: OAuth2.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class OpenIdConnect extends jspb.Message {
|
||||
getEnabled(): boolean;
|
||||
setEnabled(value: boolean): void;
|
||||
|
||||
getLoginUrl(): string;
|
||||
setLoginUrl(value: string): void;
|
||||
|
||||
getLoginLabel(): string;
|
||||
setLoginLabel(value: string): void;
|
||||
|
||||
getLogoutUrl(): string;
|
||||
setLogoutUrl(value: string): void;
|
||||
|
||||
getLoginRedirect(): boolean;
|
||||
setLoginRedirect(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OpenIdConnect.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OpenIdConnect): OpenIdConnect.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: OpenIdConnect, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OpenIdConnect;
|
||||
static deserializeBinaryFromReader(message: OpenIdConnect, reader: jspb.BinaryReader): OpenIdConnect;
|
||||
}
|
||||
|
||||
export namespace OpenIdConnect {
|
||||
export type AsObject = {
|
||||
enabled: boolean,
|
||||
loginUrl: string,
|
||||
loginLabel: string,
|
||||
logoutUrl: string,
|
||||
loginRedirect: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class OAuth2 extends jspb.Message {
|
||||
getEnabled(): boolean;
|
||||
setEnabled(value: boolean): void;
|
||||
|
||||
getLoginUrl(): string;
|
||||
setLoginUrl(value: string): void;
|
||||
|
||||
getLoginLabel(): string;
|
||||
setLoginLabel(value: string): void;
|
||||
|
||||
getLogoutUrl(): string;
|
||||
setLogoutUrl(value: string): void;
|
||||
|
||||
getLoginRedirect(): boolean;
|
||||
setLoginRedirect(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OAuth2.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OAuth2): OAuth2.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: OAuth2, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OAuth2;
|
||||
static deserializeBinaryFromReader(message: OAuth2, reader: jspb.BinaryReader): OAuth2;
|
||||
}
|
||||
|
||||
export namespace OAuth2 {
|
||||
export type AsObject = {
|
||||
enabled: boolean,
|
||||
loginUrl: string,
|
||||
loginLabel: string,
|
||||
logoutUrl: string,
|
||||
loginRedirect: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class OpenIdConnectLoginRequest extends jspb.Message {
|
||||
getCode(): string;
|
||||
setCode(value: string): void;
|
||||
|
||||
getState(): string;
|
||||
setState(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OpenIdConnectLoginRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OpenIdConnectLoginRequest): OpenIdConnectLoginRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: OpenIdConnectLoginRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OpenIdConnectLoginRequest;
|
||||
static deserializeBinaryFromReader(message: OpenIdConnectLoginRequest, reader: jspb.BinaryReader): OpenIdConnectLoginRequest;
|
||||
}
|
||||
|
||||
export namespace OpenIdConnectLoginRequest {
|
||||
export type AsObject = {
|
||||
code: string,
|
||||
state: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class OpenIdConnectLoginResponse extends jspb.Message {
|
||||
getToken(): string;
|
||||
setToken(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OpenIdConnectLoginResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OpenIdConnectLoginResponse): OpenIdConnectLoginResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: OpenIdConnectLoginResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OpenIdConnectLoginResponse;
|
||||
static deserializeBinaryFromReader(message: OpenIdConnectLoginResponse, reader: jspb.BinaryReader): OpenIdConnectLoginResponse;
|
||||
}
|
||||
|
||||
export namespace OpenIdConnectLoginResponse {
|
||||
export type AsObject = {
|
||||
token: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class OAuth2LoginRequest extends jspb.Message {
|
||||
getCode(): string;
|
||||
setCode(value: string): void;
|
||||
|
||||
getState(): string;
|
||||
setState(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OAuth2LoginRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OAuth2LoginRequest): OAuth2LoginRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: OAuth2LoginRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OAuth2LoginRequest;
|
||||
static deserializeBinaryFromReader(message: OAuth2LoginRequest, reader: jspb.BinaryReader): OAuth2LoginRequest;
|
||||
}
|
||||
|
||||
export namespace OAuth2LoginRequest {
|
||||
export type AsObject = {
|
||||
code: string,
|
||||
state: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class OAuth2LoginResponse extends jspb.Message {
|
||||
getToken(): string;
|
||||
setToken(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OAuth2LoginResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OAuth2LoginResponse): OAuth2LoginResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: OAuth2LoginResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OAuth2LoginResponse;
|
||||
static deserializeBinaryFromReader(message: OAuth2LoginResponse, reader: jspb.BinaryReader): OAuth2LoginResponse;
|
||||
}
|
||||
|
||||
export namespace OAuth2LoginResponse {
|
||||
export type AsObject = {
|
||||
token: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetDevicesSummaryRequest extends jspb.Message {
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDevicesSummaryRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDevicesSummaryRequest): GetDevicesSummaryRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetDevicesSummaryRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetDevicesSummaryRequest;
|
||||
static deserializeBinaryFromReader(message: GetDevicesSummaryRequest, reader: jspb.BinaryReader): GetDevicesSummaryRequest;
|
||||
}
|
||||
|
||||
export namespace GetDevicesSummaryRequest {
|
||||
export type AsObject = {
|
||||
tenantId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetDevicesSummaryResponse extends jspb.Message {
|
||||
getActiveCount(): number;
|
||||
setActiveCount(value: number): void;
|
||||
|
||||
getInactiveCount(): number;
|
||||
setInactiveCount(value: number): void;
|
||||
|
||||
getDrCountMap(): jspb.Map<number, number>;
|
||||
clearDrCountMap(): void;
|
||||
getNeverSeenCount(): number;
|
||||
setNeverSeenCount(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDevicesSummaryResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDevicesSummaryResponse): GetDevicesSummaryResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetDevicesSummaryResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetDevicesSummaryResponse;
|
||||
static deserializeBinaryFromReader(message: GetDevicesSummaryResponse, reader: jspb.BinaryReader): GetDevicesSummaryResponse;
|
||||
}
|
||||
|
||||
export namespace GetDevicesSummaryResponse {
|
||||
export type AsObject = {
|
||||
activeCount: number,
|
||||
inactiveCount: number,
|
||||
drCountMap: Array<[number, number]>,
|
||||
neverSeenCount: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetGatewaysSummaryRequest extends jspb.Message {
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetGatewaysSummaryRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetGatewaysSummaryRequest): GetGatewaysSummaryRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetGatewaysSummaryRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetGatewaysSummaryRequest;
|
||||
static deserializeBinaryFromReader(message: GetGatewaysSummaryRequest, reader: jspb.BinaryReader): GetGatewaysSummaryRequest;
|
||||
}
|
||||
|
||||
export namespace GetGatewaysSummaryRequest {
|
||||
export type AsObject = {
|
||||
tenantId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetGatewaysSummaryResponse extends jspb.Message {
|
||||
getOnlineCount(): number;
|
||||
setOnlineCount(value: number): void;
|
||||
|
||||
getOfflineCount(): number;
|
||||
setOfflineCount(value: number): void;
|
||||
|
||||
getNeverSeenCount(): number;
|
||||
setNeverSeenCount(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetGatewaysSummaryResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetGatewaysSummaryResponse): GetGatewaysSummaryResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetGatewaysSummaryResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetGatewaysSummaryResponse;
|
||||
static deserializeBinaryFromReader(message: GetGatewaysSummaryResponse, reader: jspb.BinaryReader): GetGatewaysSummaryResponse;
|
||||
}
|
||||
|
||||
export namespace GetGatewaysSummaryResponse {
|
||||
export type AsObject = {
|
||||
onlineCount: number,
|
||||
offlineCount: number,
|
||||
neverSeenCount: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class LogItem extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasTime(): boolean;
|
||||
clearTime(): void;
|
||||
getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
getBody(): string;
|
||||
setBody(value: string): void;
|
||||
|
||||
getPropertiesMap(): jspb.Map<string, string>;
|
||||
clearPropertiesMap(): void;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LogItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LogItem): LogItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LogItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LogItem;
|
||||
static deserializeBinaryFromReader(message: LogItem, reader: jspb.BinaryReader): LogItem;
|
||||
}
|
||||
|
||||
export namespace LogItem {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
time?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
description: string,
|
||||
body: string,
|
||||
propertiesMap: Array<[string, string]>,
|
||||
}
|
||||
}
|
||||
|
||||
export class StreamGatewayFramesRequest extends jspb.Message {
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): StreamGatewayFramesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StreamGatewayFramesRequest): StreamGatewayFramesRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: StreamGatewayFramesRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StreamGatewayFramesRequest;
|
||||
static deserializeBinaryFromReader(message: StreamGatewayFramesRequest, reader: jspb.BinaryReader): StreamGatewayFramesRequest;
|
||||
}
|
||||
|
||||
export namespace StreamGatewayFramesRequest {
|
||||
export type AsObject = {
|
||||
gatewayId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class StreamDeviceFramesRequest extends jspb.Message {
|
||||
getDevEui(): string;
|
||||
setDevEui(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): StreamDeviceFramesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StreamDeviceFramesRequest): StreamDeviceFramesRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: StreamDeviceFramesRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StreamDeviceFramesRequest;
|
||||
static deserializeBinaryFromReader(message: StreamDeviceFramesRequest, reader: jspb.BinaryReader): StreamDeviceFramesRequest;
|
||||
}
|
||||
|
||||
export namespace StreamDeviceFramesRequest {
|
||||
export type AsObject = {
|
||||
devEui: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class StreamDeviceEventsRequest extends jspb.Message {
|
||||
getDevEui(): string;
|
||||
setDevEui(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): StreamDeviceEventsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StreamDeviceEventsRequest): StreamDeviceEventsRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: StreamDeviceEventsRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StreamDeviceEventsRequest;
|
||||
static deserializeBinaryFromReader(message: StreamDeviceEventsRequest, reader: jspb.BinaryReader): StreamDeviceEventsRequest;
|
||||
}
|
||||
|
||||
export namespace StreamDeviceEventsRequest {
|
||||
export type AsObject = {
|
||||
devEui: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListRegionsResponse extends jspb.Message {
|
||||
clearRegionsList(): void;
|
||||
getRegionsList(): Array<RegionListItem>;
|
||||
setRegionsList(value: Array<RegionListItem>): void;
|
||||
addRegions(value?: RegionListItem, index?: number): RegionListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListRegionsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListRegionsResponse): ListRegionsResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListRegionsResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListRegionsResponse;
|
||||
static deserializeBinaryFromReader(message: ListRegionsResponse, reader: jspb.BinaryReader): ListRegionsResponse;
|
||||
}
|
||||
|
||||
export namespace ListRegionsResponse {
|
||||
export type AsObject = {
|
||||
regionsList: Array<RegionListItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class RegionListItem extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getRegion(): common_common_pb.RegionMap[keyof common_common_pb.RegionMap];
|
||||
setRegion(value: common_common_pb.RegionMap[keyof common_common_pb.RegionMap]): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RegionListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RegionListItem): RegionListItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RegionListItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RegionListItem;
|
||||
static deserializeBinaryFromReader(message: RegionListItem, reader: jspb.BinaryReader): RegionListItem;
|
||||
}
|
||||
|
||||
export namespace RegionListItem {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
region: common_common_pb.RegionMap[keyof common_common_pb.RegionMap],
|
||||
description: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetRegionRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetRegionRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetRegionRequest): GetRegionRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetRegionRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetRegionRequest;
|
||||
static deserializeBinaryFromReader(message: GetRegionRequest, reader: jspb.BinaryReader): GetRegionRequest;
|
||||
}
|
||||
|
||||
export namespace GetRegionRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetRegionResponse extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getRegion(): common_common_pb.RegionMap[keyof common_common_pb.RegionMap];
|
||||
setRegion(value: common_common_pb.RegionMap[keyof common_common_pb.RegionMap]): void;
|
||||
|
||||
getUserInfo(): string;
|
||||
setUserInfo(value: string): void;
|
||||
|
||||
clearUplinkChannelsList(): void;
|
||||
getUplinkChannelsList(): Array<RegionChannel>;
|
||||
setUplinkChannelsList(value: Array<RegionChannel>): void;
|
||||
addUplinkChannels(value?: RegionChannel, index?: number): RegionChannel;
|
||||
|
||||
getRx1Delay(): number;
|
||||
setRx1Delay(value: number): void;
|
||||
|
||||
getRx1DrOffset(): number;
|
||||
setRx1DrOffset(value: number): void;
|
||||
|
||||
getRx2Dr(): number;
|
||||
setRx2Dr(value: number): void;
|
||||
|
||||
getRx2Frequency(): number;
|
||||
setRx2Frequency(value: number): void;
|
||||
|
||||
getClassBPingSlotDr(): number;
|
||||
setClassBPingSlotDr(value: number): void;
|
||||
|
||||
getClassBPingSlotFrequency(): number;
|
||||
setClassBPingSlotFrequency(value: number): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetRegionResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetRegionResponse): GetRegionResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetRegionResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetRegionResponse;
|
||||
static deserializeBinaryFromReader(message: GetRegionResponse, reader: jspb.BinaryReader): GetRegionResponse;
|
||||
}
|
||||
|
||||
export namespace GetRegionResponse {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
region: common_common_pb.RegionMap[keyof common_common_pb.RegionMap],
|
||||
userInfo: string,
|
||||
uplinkChannelsList: Array<RegionChannel.AsObject>,
|
||||
rx1Delay: number,
|
||||
rx1DrOffset: number,
|
||||
rx2Dr: number,
|
||||
rx2Frequency: number,
|
||||
classBPingSlotDr: number,
|
||||
classBPingSlotFrequency: number,
|
||||
description: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class RegionChannel extends jspb.Message {
|
||||
getFrequency(): number;
|
||||
setFrequency(value: number): void;
|
||||
|
||||
getDrMin(): number;
|
||||
setDrMin(value: number): void;
|
||||
|
||||
getDrMax(): number;
|
||||
setDrMax(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RegionChannel.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RegionChannel): RegionChannel.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RegionChannel, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RegionChannel;
|
||||
static deserializeBinaryFromReader(message: RegionChannel, reader: jspb.BinaryReader): RegionChannel;
|
||||
}
|
||||
|
||||
export namespace RegionChannel {
|
||||
export type AsObject = {
|
||||
frequency: number,
|
||||
drMin: number,
|
||||
drMax: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetVersionResponse extends jspb.Message {
|
||||
getVersion(): string;
|
||||
setVersion(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetVersionResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetVersionResponse): GetVersionResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetVersionResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetVersionResponse;
|
||||
static deserializeBinaryFromReader(message: GetVersionResponse, reader: jspb.BinaryReader): GetVersionResponse;
|
||||
}
|
||||
|
||||
export namespace GetVersionResponse {
|
||||
export type AsObject = {
|
||||
version: string,
|
||||
}
|
||||
}
|
||||
|
7294
api/js/api/internal_pb.js
vendored
7294
api/js/api/internal_pb.js
vendored
File diff suppressed because it is too large
Load Diff
80
api/js/api/multicast_group_grpc_pb.d.ts
vendored
80
api/js/api/multicast_group_grpc_pb.d.ts
vendored
@ -1,80 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// package: api
|
||||
// file: api/multicast_group.proto
|
||||
|
||||
import * as api_multicast_group_pb from "../api/multicast_group_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
|
||||
interface IMulticastGroupServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
create: grpc.MethodDefinition<api_multicast_group_pb.CreateMulticastGroupRequest, api_multicast_group_pb.CreateMulticastGroupResponse>;
|
||||
get: grpc.MethodDefinition<api_multicast_group_pb.GetMulticastGroupRequest, api_multicast_group_pb.GetMulticastGroupResponse>;
|
||||
update: grpc.MethodDefinition<api_multicast_group_pb.UpdateMulticastGroupRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.MethodDefinition<api_multicast_group_pb.DeleteMulticastGroupRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.MethodDefinition<api_multicast_group_pb.ListMulticastGroupsRequest, api_multicast_group_pb.ListMulticastGroupsResponse>;
|
||||
addDevice: grpc.MethodDefinition<api_multicast_group_pb.AddDeviceToMulticastGroupRequest, google_protobuf_empty_pb.Empty>;
|
||||
removeDevice: grpc.MethodDefinition<api_multicast_group_pb.RemoveDeviceFromMulticastGroupRequest, google_protobuf_empty_pb.Empty>;
|
||||
addGateway: grpc.MethodDefinition<api_multicast_group_pb.AddGatewayToMulticastGroupRequest, google_protobuf_empty_pb.Empty>;
|
||||
removeGateway: grpc.MethodDefinition<api_multicast_group_pb.RemoveGatewayFromMulticastGroupRequest, google_protobuf_empty_pb.Empty>;
|
||||
enqueue: grpc.MethodDefinition<api_multicast_group_pb.EnqueueMulticastGroupQueueItemRequest, api_multicast_group_pb.EnqueueMulticastGroupQueueItemResponse>;
|
||||
flushQueue: grpc.MethodDefinition<api_multicast_group_pb.FlushMulticastGroupQueueRequest, google_protobuf_empty_pb.Empty>;
|
||||
listQueue: grpc.MethodDefinition<api_multicast_group_pb.ListMulticastGroupQueueRequest, api_multicast_group_pb.ListMulticastGroupQueueResponse>;
|
||||
}
|
||||
|
||||
export const MulticastGroupServiceService: IMulticastGroupServiceService;
|
||||
|
||||
export interface IMulticastGroupServiceServer extends grpc.UntypedServiceImplementation {
|
||||
create: grpc.handleUnaryCall<api_multicast_group_pb.CreateMulticastGroupRequest, api_multicast_group_pb.CreateMulticastGroupResponse>;
|
||||
get: grpc.handleUnaryCall<api_multicast_group_pb.GetMulticastGroupRequest, api_multicast_group_pb.GetMulticastGroupResponse>;
|
||||
update: grpc.handleUnaryCall<api_multicast_group_pb.UpdateMulticastGroupRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.handleUnaryCall<api_multicast_group_pb.DeleteMulticastGroupRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.handleUnaryCall<api_multicast_group_pb.ListMulticastGroupsRequest, api_multicast_group_pb.ListMulticastGroupsResponse>;
|
||||
addDevice: grpc.handleUnaryCall<api_multicast_group_pb.AddDeviceToMulticastGroupRequest, google_protobuf_empty_pb.Empty>;
|
||||
removeDevice: grpc.handleUnaryCall<api_multicast_group_pb.RemoveDeviceFromMulticastGroupRequest, google_protobuf_empty_pb.Empty>;
|
||||
addGateway: grpc.handleUnaryCall<api_multicast_group_pb.AddGatewayToMulticastGroupRequest, google_protobuf_empty_pb.Empty>;
|
||||
removeGateway: grpc.handleUnaryCall<api_multicast_group_pb.RemoveGatewayFromMulticastGroupRequest, google_protobuf_empty_pb.Empty>;
|
||||
enqueue: grpc.handleUnaryCall<api_multicast_group_pb.EnqueueMulticastGroupQueueItemRequest, api_multicast_group_pb.EnqueueMulticastGroupQueueItemResponse>;
|
||||
flushQueue: grpc.handleUnaryCall<api_multicast_group_pb.FlushMulticastGroupQueueRequest, google_protobuf_empty_pb.Empty>;
|
||||
listQueue: grpc.handleUnaryCall<api_multicast_group_pb.ListMulticastGroupQueueRequest, api_multicast_group_pb.ListMulticastGroupQueueResponse>;
|
||||
}
|
||||
|
||||
export class MulticastGroupServiceClient extends grpc.Client {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
create(argument: api_multicast_group_pb.CreateMulticastGroupRequest, callback: grpc.requestCallback<api_multicast_group_pb.CreateMulticastGroupResponse>): grpc.ClientUnaryCall;
|
||||
create(argument: api_multicast_group_pb.CreateMulticastGroupRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_multicast_group_pb.CreateMulticastGroupResponse>): grpc.ClientUnaryCall;
|
||||
create(argument: api_multicast_group_pb.CreateMulticastGroupRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_multicast_group_pb.CreateMulticastGroupResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_multicast_group_pb.GetMulticastGroupRequest, callback: grpc.requestCallback<api_multicast_group_pb.GetMulticastGroupResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_multicast_group_pb.GetMulticastGroupRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_multicast_group_pb.GetMulticastGroupResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_multicast_group_pb.GetMulticastGroupRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_multicast_group_pb.GetMulticastGroupResponse>): grpc.ClientUnaryCall;
|
||||
update(argument: api_multicast_group_pb.UpdateMulticastGroupRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_multicast_group_pb.UpdateMulticastGroupRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_multicast_group_pb.UpdateMulticastGroupRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_multicast_group_pb.DeleteMulticastGroupRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_multicast_group_pb.DeleteMulticastGroupRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_multicast_group_pb.DeleteMulticastGroupRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
list(argument: api_multicast_group_pb.ListMulticastGroupsRequest, callback: grpc.requestCallback<api_multicast_group_pb.ListMulticastGroupsResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_multicast_group_pb.ListMulticastGroupsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_multicast_group_pb.ListMulticastGroupsResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_multicast_group_pb.ListMulticastGroupsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_multicast_group_pb.ListMulticastGroupsResponse>): grpc.ClientUnaryCall;
|
||||
addDevice(argument: api_multicast_group_pb.AddDeviceToMulticastGroupRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
addDevice(argument: api_multicast_group_pb.AddDeviceToMulticastGroupRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
addDevice(argument: api_multicast_group_pb.AddDeviceToMulticastGroupRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
removeDevice(argument: api_multicast_group_pb.RemoveDeviceFromMulticastGroupRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
removeDevice(argument: api_multicast_group_pb.RemoveDeviceFromMulticastGroupRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
removeDevice(argument: api_multicast_group_pb.RemoveDeviceFromMulticastGroupRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
addGateway(argument: api_multicast_group_pb.AddGatewayToMulticastGroupRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
addGateway(argument: api_multicast_group_pb.AddGatewayToMulticastGroupRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
addGateway(argument: api_multicast_group_pb.AddGatewayToMulticastGroupRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
removeGateway(argument: api_multicast_group_pb.RemoveGatewayFromMulticastGroupRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
removeGateway(argument: api_multicast_group_pb.RemoveGatewayFromMulticastGroupRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
removeGateway(argument: api_multicast_group_pb.RemoveGatewayFromMulticastGroupRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
enqueue(argument: api_multicast_group_pb.EnqueueMulticastGroupQueueItemRequest, callback: grpc.requestCallback<api_multicast_group_pb.EnqueueMulticastGroupQueueItemResponse>): grpc.ClientUnaryCall;
|
||||
enqueue(argument: api_multicast_group_pb.EnqueueMulticastGroupQueueItemRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_multicast_group_pb.EnqueueMulticastGroupQueueItemResponse>): grpc.ClientUnaryCall;
|
||||
enqueue(argument: api_multicast_group_pb.EnqueueMulticastGroupQueueItemRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_multicast_group_pb.EnqueueMulticastGroupQueueItemResponse>): grpc.ClientUnaryCall;
|
||||
flushQueue(argument: api_multicast_group_pb.FlushMulticastGroupQueueRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
flushQueue(argument: api_multicast_group_pb.FlushMulticastGroupQueueRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
flushQueue(argument: api_multicast_group_pb.FlushMulticastGroupQueueRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
listQueue(argument: api_multicast_group_pb.ListMulticastGroupQueueRequest, callback: grpc.requestCallback<api_multicast_group_pb.ListMulticastGroupQueueResponse>): grpc.ClientUnaryCall;
|
||||
listQueue(argument: api_multicast_group_pb.ListMulticastGroupQueueRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_multicast_group_pb.ListMulticastGroupQueueResponse>): grpc.ClientUnaryCall;
|
||||
listQueue(argument: api_multicast_group_pb.ListMulticastGroupQueueRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_multicast_group_pb.ListMulticastGroupQueueResponse>): grpc.ClientUnaryCall;
|
||||
}
|
358
api/js/api/multicast_group_grpc_pb.js
vendored
358
api/js/api/multicast_group_grpc_pb.js
vendored
@ -1,358 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
'use strict';
|
||||
var grpc = require('@grpc/grpc-js');
|
||||
var api_multicast_group_pb = require('../api/multicast_group_pb.js');
|
||||
var google_api_annotations_pb = require('../google/api/annotations_pb.js');
|
||||
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
||||
var common_common_pb = require('../common/common_pb.js');
|
||||
|
||||
function serialize_api_AddDeviceToMulticastGroupRequest(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.AddDeviceToMulticastGroupRequest)) {
|
||||
throw new Error('Expected argument of type api.AddDeviceToMulticastGroupRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_AddDeviceToMulticastGroupRequest(buffer_arg) {
|
||||
return api_multicast_group_pb.AddDeviceToMulticastGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_AddGatewayToMulticastGroupRequest(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.AddGatewayToMulticastGroupRequest)) {
|
||||
throw new Error('Expected argument of type api.AddGatewayToMulticastGroupRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_AddGatewayToMulticastGroupRequest(buffer_arg) {
|
||||
return api_multicast_group_pb.AddGatewayToMulticastGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_CreateMulticastGroupRequest(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.CreateMulticastGroupRequest)) {
|
||||
throw new Error('Expected argument of type api.CreateMulticastGroupRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateMulticastGroupRequest(buffer_arg) {
|
||||
return api_multicast_group_pb.CreateMulticastGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_CreateMulticastGroupResponse(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.CreateMulticastGroupResponse)) {
|
||||
throw new Error('Expected argument of type api.CreateMulticastGroupResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateMulticastGroupResponse(buffer_arg) {
|
||||
return api_multicast_group_pb.CreateMulticastGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_DeleteMulticastGroupRequest(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.DeleteMulticastGroupRequest)) {
|
||||
throw new Error('Expected argument of type api.DeleteMulticastGroupRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_DeleteMulticastGroupRequest(buffer_arg) {
|
||||
return api_multicast_group_pb.DeleteMulticastGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_EnqueueMulticastGroupQueueItemRequest(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.EnqueueMulticastGroupQueueItemRequest)) {
|
||||
throw new Error('Expected argument of type api.EnqueueMulticastGroupQueueItemRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_EnqueueMulticastGroupQueueItemRequest(buffer_arg) {
|
||||
return api_multicast_group_pb.EnqueueMulticastGroupQueueItemRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_EnqueueMulticastGroupQueueItemResponse(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.EnqueueMulticastGroupQueueItemResponse)) {
|
||||
throw new Error('Expected argument of type api.EnqueueMulticastGroupQueueItemResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_EnqueueMulticastGroupQueueItemResponse(buffer_arg) {
|
||||
return api_multicast_group_pb.EnqueueMulticastGroupQueueItemResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_FlushMulticastGroupQueueRequest(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.FlushMulticastGroupQueueRequest)) {
|
||||
throw new Error('Expected argument of type api.FlushMulticastGroupQueueRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_FlushMulticastGroupQueueRequest(buffer_arg) {
|
||||
return api_multicast_group_pb.FlushMulticastGroupQueueRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetMulticastGroupRequest(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.GetMulticastGroupRequest)) {
|
||||
throw new Error('Expected argument of type api.GetMulticastGroupRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetMulticastGroupRequest(buffer_arg) {
|
||||
return api_multicast_group_pb.GetMulticastGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetMulticastGroupResponse(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.GetMulticastGroupResponse)) {
|
||||
throw new Error('Expected argument of type api.GetMulticastGroupResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetMulticastGroupResponse(buffer_arg) {
|
||||
return api_multicast_group_pb.GetMulticastGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListMulticastGroupQueueRequest(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.ListMulticastGroupQueueRequest)) {
|
||||
throw new Error('Expected argument of type api.ListMulticastGroupQueueRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListMulticastGroupQueueRequest(buffer_arg) {
|
||||
return api_multicast_group_pb.ListMulticastGroupQueueRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListMulticastGroupQueueResponse(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.ListMulticastGroupQueueResponse)) {
|
||||
throw new Error('Expected argument of type api.ListMulticastGroupQueueResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListMulticastGroupQueueResponse(buffer_arg) {
|
||||
return api_multicast_group_pb.ListMulticastGroupQueueResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListMulticastGroupsRequest(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.ListMulticastGroupsRequest)) {
|
||||
throw new Error('Expected argument of type api.ListMulticastGroupsRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListMulticastGroupsRequest(buffer_arg) {
|
||||
return api_multicast_group_pb.ListMulticastGroupsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListMulticastGroupsResponse(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.ListMulticastGroupsResponse)) {
|
||||
throw new Error('Expected argument of type api.ListMulticastGroupsResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListMulticastGroupsResponse(buffer_arg) {
|
||||
return api_multicast_group_pb.ListMulticastGroupsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_RemoveDeviceFromMulticastGroupRequest(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.RemoveDeviceFromMulticastGroupRequest)) {
|
||||
throw new Error('Expected argument of type api.RemoveDeviceFromMulticastGroupRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_RemoveDeviceFromMulticastGroupRequest(buffer_arg) {
|
||||
return api_multicast_group_pb.RemoveDeviceFromMulticastGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_RemoveGatewayFromMulticastGroupRequest(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.RemoveGatewayFromMulticastGroupRequest)) {
|
||||
throw new Error('Expected argument of type api.RemoveGatewayFromMulticastGroupRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_RemoveGatewayFromMulticastGroupRequest(buffer_arg) {
|
||||
return api_multicast_group_pb.RemoveGatewayFromMulticastGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_UpdateMulticastGroupRequest(arg) {
|
||||
if (!(arg instanceof api_multicast_group_pb.UpdateMulticastGroupRequest)) {
|
||||
throw new Error('Expected argument of type api.UpdateMulticastGroupRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_UpdateMulticastGroupRequest(buffer_arg) {
|
||||
return api_multicast_group_pb.UpdateMulticastGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_google_protobuf_Empty(arg) {
|
||||
if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
|
||||
throw new Error('Expected argument of type google.protobuf.Empty');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_google_protobuf_Empty(buffer_arg) {
|
||||
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// MulticastGroupService is the service managing multicast-groups.
|
||||
var MulticastGroupServiceService = exports.MulticastGroupServiceService = {
|
||||
// Create the given multicast group.
|
||||
create: {
|
||||
path: '/api.MulticastGroupService/Create',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_multicast_group_pb.CreateMulticastGroupRequest,
|
||||
responseType: api_multicast_group_pb.CreateMulticastGroupResponse,
|
||||
requestSerialize: serialize_api_CreateMulticastGroupRequest,
|
||||
requestDeserialize: deserialize_api_CreateMulticastGroupRequest,
|
||||
responseSerialize: serialize_api_CreateMulticastGroupResponse,
|
||||
responseDeserialize: deserialize_api_CreateMulticastGroupResponse,
|
||||
},
|
||||
// Get returns the multicast group for the given ID.
|
||||
get: {
|
||||
path: '/api.MulticastGroupService/Get',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_multicast_group_pb.GetMulticastGroupRequest,
|
||||
responseType: api_multicast_group_pb.GetMulticastGroupResponse,
|
||||
requestSerialize: serialize_api_GetMulticastGroupRequest,
|
||||
requestDeserialize: deserialize_api_GetMulticastGroupRequest,
|
||||
responseSerialize: serialize_api_GetMulticastGroupResponse,
|
||||
responseDeserialize: deserialize_api_GetMulticastGroupResponse,
|
||||
},
|
||||
// Update the given multicast group.
|
||||
update: {
|
||||
path: '/api.MulticastGroupService/Update',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_multicast_group_pb.UpdateMulticastGroupRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_UpdateMulticastGroupRequest,
|
||||
requestDeserialize: deserialize_api_UpdateMulticastGroupRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Delete the multicast-group with the given ID.
|
||||
delete: {
|
||||
path: '/api.MulticastGroupService/Delete',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_multicast_group_pb.DeleteMulticastGroupRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_DeleteMulticastGroupRequest,
|
||||
requestDeserialize: deserialize_api_DeleteMulticastGroupRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// List the available multicast groups.
|
||||
list: {
|
||||
path: '/api.MulticastGroupService/List',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_multicast_group_pb.ListMulticastGroupsRequest,
|
||||
responseType: api_multicast_group_pb.ListMulticastGroupsResponse,
|
||||
requestSerialize: serialize_api_ListMulticastGroupsRequest,
|
||||
requestDeserialize: deserialize_api_ListMulticastGroupsRequest,
|
||||
responseSerialize: serialize_api_ListMulticastGroupsResponse,
|
||||
responseDeserialize: deserialize_api_ListMulticastGroupsResponse,
|
||||
},
|
||||
// Add a device to the multicast group.
|
||||
addDevice: {
|
||||
path: '/api.MulticastGroupService/AddDevice',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_multicast_group_pb.AddDeviceToMulticastGroupRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_AddDeviceToMulticastGroupRequest,
|
||||
requestDeserialize: deserialize_api_AddDeviceToMulticastGroupRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Remove a device from the multicast group.
|
||||
removeDevice: {
|
||||
path: '/api.MulticastGroupService/RemoveDevice',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_multicast_group_pb.RemoveDeviceFromMulticastGroupRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_RemoveDeviceFromMulticastGroupRequest,
|
||||
requestDeserialize: deserialize_api_RemoveDeviceFromMulticastGroupRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Add a gateway to the multicast group.
|
||||
addGateway: {
|
||||
path: '/api.MulticastGroupService/AddGateway',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_multicast_group_pb.AddGatewayToMulticastGroupRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_AddGatewayToMulticastGroupRequest,
|
||||
requestDeserialize: deserialize_api_AddGatewayToMulticastGroupRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Remove a gateway from the multicast group.
|
||||
removeGateway: {
|
||||
path: '/api.MulticastGroupService/RemoveGateway',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_multicast_group_pb.RemoveGatewayFromMulticastGroupRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_RemoveGatewayFromMulticastGroupRequest,
|
||||
requestDeserialize: deserialize_api_RemoveGatewayFromMulticastGroupRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Add the given item to the multicast group queue.
|
||||
enqueue: {
|
||||
path: '/api.MulticastGroupService/Enqueue',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_multicast_group_pb.EnqueueMulticastGroupQueueItemRequest,
|
||||
responseType: api_multicast_group_pb.EnqueueMulticastGroupQueueItemResponse,
|
||||
requestSerialize: serialize_api_EnqueueMulticastGroupQueueItemRequest,
|
||||
requestDeserialize: deserialize_api_EnqueueMulticastGroupQueueItemRequest,
|
||||
responseSerialize: serialize_api_EnqueueMulticastGroupQueueItemResponse,
|
||||
responseDeserialize: deserialize_api_EnqueueMulticastGroupQueueItemResponse,
|
||||
},
|
||||
// Flush the queue for the given multicast group.
|
||||
flushQueue: {
|
||||
path: '/api.MulticastGroupService/FlushQueue',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_multicast_group_pb.FlushMulticastGroupQueueRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_FlushMulticastGroupQueueRequest,
|
||||
requestDeserialize: deserialize_api_FlushMulticastGroupQueueRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// List the items in the multicast group queue.
|
||||
listQueue: {
|
||||
path: '/api.MulticastGroupService/ListQueue',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_multicast_group_pb.ListMulticastGroupQueueRequest,
|
||||
responseType: api_multicast_group_pb.ListMulticastGroupQueueResponse,
|
||||
requestSerialize: serialize_api_ListMulticastGroupQueueRequest,
|
||||
requestDeserialize: deserialize_api_ListMulticastGroupQueueRequest,
|
||||
responseSerialize: serialize_api_ListMulticastGroupQueueResponse,
|
||||
responseDeserialize: deserialize_api_ListMulticastGroupQueueResponse,
|
||||
},
|
||||
};
|
||||
|
||||
exports.MulticastGroupServiceClient = grpc.makeGenericClientConstructor(MulticastGroupServiceService);
|
569
api/js/api/multicast_group_pb.d.ts
vendored
569
api/js/api/multicast_group_pb.d.ts
vendored
@ -1,569 +0,0 @@
|
||||
// package: api
|
||||
// file: api/multicast_group.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_api_annotations_pb from "../google/api/annotations_pb";
|
||||
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as common_common_pb from "../common/common_pb";
|
||||
|
||||
export class MulticastGroup extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getApplicationId(): string;
|
||||
setApplicationId(value: string): void;
|
||||
|
||||
getRegion(): common_common_pb.RegionMap[keyof common_common_pb.RegionMap];
|
||||
setRegion(value: common_common_pb.RegionMap[keyof common_common_pb.RegionMap]): void;
|
||||
|
||||
getMcAddr(): string;
|
||||
setMcAddr(value: string): void;
|
||||
|
||||
getMcNwkSKey(): string;
|
||||
setMcNwkSKey(value: string): void;
|
||||
|
||||
getMcAppSKey(): string;
|
||||
setMcAppSKey(value: string): void;
|
||||
|
||||
getFCnt(): number;
|
||||
setFCnt(value: number): void;
|
||||
|
||||
getGroupType(): MulticastGroupTypeMap[keyof MulticastGroupTypeMap];
|
||||
setGroupType(value: MulticastGroupTypeMap[keyof MulticastGroupTypeMap]): void;
|
||||
|
||||
getDr(): number;
|
||||
setDr(value: number): void;
|
||||
|
||||
getFrequency(): number;
|
||||
setFrequency(value: number): void;
|
||||
|
||||
getClassBPingSlotPeriod(): number;
|
||||
setClassBPingSlotPeriod(value: number): void;
|
||||
|
||||
getClassBPingSlotNbK(): number;
|
||||
setClassBPingSlotNbK(value: number): void;
|
||||
|
||||
getClassCSchedulingType(): MulticastGroupSchedulingTypeMap[keyof MulticastGroupSchedulingTypeMap];
|
||||
setClassCSchedulingType(value: MulticastGroupSchedulingTypeMap[keyof MulticastGroupSchedulingTypeMap]): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MulticastGroup.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MulticastGroup): MulticastGroup.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MulticastGroup, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MulticastGroup;
|
||||
static deserializeBinaryFromReader(message: MulticastGroup, reader: jspb.BinaryReader): MulticastGroup;
|
||||
}
|
||||
|
||||
export namespace MulticastGroup {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
name: string,
|
||||
applicationId: string,
|
||||
region: common_common_pb.RegionMap[keyof common_common_pb.RegionMap],
|
||||
mcAddr: string,
|
||||
mcNwkSKey: string,
|
||||
mcAppSKey: string,
|
||||
fCnt: number,
|
||||
groupType: MulticastGroupTypeMap[keyof MulticastGroupTypeMap],
|
||||
dr: number,
|
||||
frequency: number,
|
||||
classBPingSlotPeriod: number,
|
||||
classBPingSlotNbK: number,
|
||||
classCSchedulingType: MulticastGroupSchedulingTypeMap[keyof MulticastGroupSchedulingTypeMap],
|
||||
}
|
||||
}
|
||||
|
||||
export class MulticastGroupListItem extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getRegion(): common_common_pb.RegionMap[keyof common_common_pb.RegionMap];
|
||||
setRegion(value: common_common_pb.RegionMap[keyof common_common_pb.RegionMap]): void;
|
||||
|
||||
getGroupType(): MulticastGroupTypeMap[keyof MulticastGroupTypeMap];
|
||||
setGroupType(value: MulticastGroupTypeMap[keyof MulticastGroupTypeMap]): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MulticastGroupListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MulticastGroupListItem): MulticastGroupListItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MulticastGroupListItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MulticastGroupListItem;
|
||||
static deserializeBinaryFromReader(message: MulticastGroupListItem, reader: jspb.BinaryReader): MulticastGroupListItem;
|
||||
}
|
||||
|
||||
export namespace MulticastGroupListItem {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
name: string,
|
||||
region: common_common_pb.RegionMap[keyof common_common_pb.RegionMap],
|
||||
groupType: MulticastGroupTypeMap[keyof MulticastGroupTypeMap],
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateMulticastGroupRequest extends jspb.Message {
|
||||
hasMulticastGroup(): boolean;
|
||||
clearMulticastGroup(): void;
|
||||
getMulticastGroup(): MulticastGroup | undefined;
|
||||
setMulticastGroup(value?: MulticastGroup): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMulticastGroupRequest): CreateMulticastGroupRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMulticastGroupRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMulticastGroupRequest;
|
||||
static deserializeBinaryFromReader(message: CreateMulticastGroupRequest, reader: jspb.BinaryReader): CreateMulticastGroupRequest;
|
||||
}
|
||||
|
||||
export namespace CreateMulticastGroupRequest {
|
||||
export type AsObject = {
|
||||
multicastGroup?: MulticastGroup.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateMulticastGroupResponse extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMulticastGroupResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMulticastGroupResponse): CreateMulticastGroupResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateMulticastGroupResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateMulticastGroupResponse;
|
||||
static deserializeBinaryFromReader(message: CreateMulticastGroupResponse, reader: jspb.BinaryReader): CreateMulticastGroupResponse;
|
||||
}
|
||||
|
||||
export namespace CreateMulticastGroupResponse {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMulticastGroupRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMulticastGroupRequest): GetMulticastGroupRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMulticastGroupRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMulticastGroupRequest;
|
||||
static deserializeBinaryFromReader(message: GetMulticastGroupRequest, reader: jspb.BinaryReader): GetMulticastGroupRequest;
|
||||
}
|
||||
|
||||
export namespace GetMulticastGroupRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMulticastGroupResponse extends jspb.Message {
|
||||
hasMulticastGroup(): boolean;
|
||||
clearMulticastGroup(): void;
|
||||
getMulticastGroup(): MulticastGroup | undefined;
|
||||
setMulticastGroup(value?: MulticastGroup): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMulticastGroupResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMulticastGroupResponse): GetMulticastGroupResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetMulticastGroupResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMulticastGroupResponse;
|
||||
static deserializeBinaryFromReader(message: GetMulticastGroupResponse, reader: jspb.BinaryReader): GetMulticastGroupResponse;
|
||||
}
|
||||
|
||||
export namespace GetMulticastGroupResponse {
|
||||
export type AsObject = {
|
||||
multicastGroup?: MulticastGroup.AsObject,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateMulticastGroupRequest extends jspb.Message {
|
||||
hasMulticastGroup(): boolean;
|
||||
clearMulticastGroup(): void;
|
||||
getMulticastGroup(): MulticastGroup | undefined;
|
||||
setMulticastGroup(value?: MulticastGroup): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMulticastGroupRequest): UpdateMulticastGroupRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateMulticastGroupRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateMulticastGroupRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateMulticastGroupRequest, reader: jspb.BinaryReader): UpdateMulticastGroupRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateMulticastGroupRequest {
|
||||
export type AsObject = {
|
||||
multicastGroup?: MulticastGroup.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteMulticastGroupRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMulticastGroupRequest): DeleteMulticastGroupRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteMulticastGroupRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteMulticastGroupRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteMulticastGroupRequest, reader: jspb.BinaryReader): DeleteMulticastGroupRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteMulticastGroupRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMulticastGroupsRequest extends jspb.Message {
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getSearch(): string;
|
||||
setSearch(value: string): void;
|
||||
|
||||
getApplicationId(): string;
|
||||
setApplicationId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMulticastGroupsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMulticastGroupsRequest): ListMulticastGroupsRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMulticastGroupsRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMulticastGroupsRequest;
|
||||
static deserializeBinaryFromReader(message: ListMulticastGroupsRequest, reader: jspb.BinaryReader): ListMulticastGroupsRequest;
|
||||
}
|
||||
|
||||
export namespace ListMulticastGroupsRequest {
|
||||
export type AsObject = {
|
||||
limit: number,
|
||||
offset: number,
|
||||
search: string,
|
||||
applicationId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMulticastGroupsResponse extends jspb.Message {
|
||||
getTotalCount(): number;
|
||||
setTotalCount(value: number): void;
|
||||
|
||||
clearResultList(): void;
|
||||
getResultList(): Array<MulticastGroupListItem>;
|
||||
setResultList(value: Array<MulticastGroupListItem>): void;
|
||||
addResult(value?: MulticastGroupListItem, index?: number): MulticastGroupListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMulticastGroupsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMulticastGroupsResponse): ListMulticastGroupsResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMulticastGroupsResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMulticastGroupsResponse;
|
||||
static deserializeBinaryFromReader(message: ListMulticastGroupsResponse, reader: jspb.BinaryReader): ListMulticastGroupsResponse;
|
||||
}
|
||||
|
||||
export namespace ListMulticastGroupsResponse {
|
||||
export type AsObject = {
|
||||
totalCount: number,
|
||||
resultList: Array<MulticastGroupListItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class AddDeviceToMulticastGroupRequest extends jspb.Message {
|
||||
getMulticastGroupId(): string;
|
||||
setMulticastGroupId(value: string): void;
|
||||
|
||||
getDevEui(): string;
|
||||
setDevEui(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AddDeviceToMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AddDeviceToMulticastGroupRequest): AddDeviceToMulticastGroupRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: AddDeviceToMulticastGroupRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AddDeviceToMulticastGroupRequest;
|
||||
static deserializeBinaryFromReader(message: AddDeviceToMulticastGroupRequest, reader: jspb.BinaryReader): AddDeviceToMulticastGroupRequest;
|
||||
}
|
||||
|
||||
export namespace AddDeviceToMulticastGroupRequest {
|
||||
export type AsObject = {
|
||||
multicastGroupId: string,
|
||||
devEui: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class RemoveDeviceFromMulticastGroupRequest extends jspb.Message {
|
||||
getMulticastGroupId(): string;
|
||||
setMulticastGroupId(value: string): void;
|
||||
|
||||
getDevEui(): string;
|
||||
setDevEui(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RemoveDeviceFromMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RemoveDeviceFromMulticastGroupRequest): RemoveDeviceFromMulticastGroupRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RemoveDeviceFromMulticastGroupRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RemoveDeviceFromMulticastGroupRequest;
|
||||
static deserializeBinaryFromReader(message: RemoveDeviceFromMulticastGroupRequest, reader: jspb.BinaryReader): RemoveDeviceFromMulticastGroupRequest;
|
||||
}
|
||||
|
||||
export namespace RemoveDeviceFromMulticastGroupRequest {
|
||||
export type AsObject = {
|
||||
multicastGroupId: string,
|
||||
devEui: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class AddGatewayToMulticastGroupRequest extends jspb.Message {
|
||||
getMulticastGroupId(): string;
|
||||
setMulticastGroupId(value: string): void;
|
||||
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AddGatewayToMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AddGatewayToMulticastGroupRequest): AddGatewayToMulticastGroupRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: AddGatewayToMulticastGroupRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AddGatewayToMulticastGroupRequest;
|
||||
static deserializeBinaryFromReader(message: AddGatewayToMulticastGroupRequest, reader: jspb.BinaryReader): AddGatewayToMulticastGroupRequest;
|
||||
}
|
||||
|
||||
export namespace AddGatewayToMulticastGroupRequest {
|
||||
export type AsObject = {
|
||||
multicastGroupId: string,
|
||||
gatewayId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class RemoveGatewayFromMulticastGroupRequest extends jspb.Message {
|
||||
getMulticastGroupId(): string;
|
||||
setMulticastGroupId(value: string): void;
|
||||
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RemoveGatewayFromMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RemoveGatewayFromMulticastGroupRequest): RemoveGatewayFromMulticastGroupRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RemoveGatewayFromMulticastGroupRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RemoveGatewayFromMulticastGroupRequest;
|
||||
static deserializeBinaryFromReader(message: RemoveGatewayFromMulticastGroupRequest, reader: jspb.BinaryReader): RemoveGatewayFromMulticastGroupRequest;
|
||||
}
|
||||
|
||||
export namespace RemoveGatewayFromMulticastGroupRequest {
|
||||
export type AsObject = {
|
||||
multicastGroupId: string,
|
||||
gatewayId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class MulticastGroupQueueItem extends jspb.Message {
|
||||
getMulticastGroupId(): string;
|
||||
setMulticastGroupId(value: string): void;
|
||||
|
||||
getFCnt(): number;
|
||||
setFCnt(value: number): void;
|
||||
|
||||
getFPort(): number;
|
||||
setFPort(value: number): void;
|
||||
|
||||
getData(): Uint8Array | string;
|
||||
getData_asU8(): Uint8Array;
|
||||
getData_asB64(): string;
|
||||
setData(value: Uint8Array | string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MulticastGroupQueueItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MulticastGroupQueueItem): MulticastGroupQueueItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MulticastGroupQueueItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MulticastGroupQueueItem;
|
||||
static deserializeBinaryFromReader(message: MulticastGroupQueueItem, reader: jspb.BinaryReader): MulticastGroupQueueItem;
|
||||
}
|
||||
|
||||
export namespace MulticastGroupQueueItem {
|
||||
export type AsObject = {
|
||||
multicastGroupId: string,
|
||||
fCnt: number,
|
||||
fPort: number,
|
||||
data: Uint8Array | string,
|
||||
}
|
||||
}
|
||||
|
||||
export class EnqueueMulticastGroupQueueItemRequest extends jspb.Message {
|
||||
hasQueueItem(): boolean;
|
||||
clearQueueItem(): void;
|
||||
getQueueItem(): MulticastGroupQueueItem | undefined;
|
||||
setQueueItem(value?: MulticastGroupQueueItem): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): EnqueueMulticastGroupQueueItemRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: EnqueueMulticastGroupQueueItemRequest): EnqueueMulticastGroupQueueItemRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: EnqueueMulticastGroupQueueItemRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): EnqueueMulticastGroupQueueItemRequest;
|
||||
static deserializeBinaryFromReader(message: EnqueueMulticastGroupQueueItemRequest, reader: jspb.BinaryReader): EnqueueMulticastGroupQueueItemRequest;
|
||||
}
|
||||
|
||||
export namespace EnqueueMulticastGroupQueueItemRequest {
|
||||
export type AsObject = {
|
||||
queueItem?: MulticastGroupQueueItem.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class EnqueueMulticastGroupQueueItemResponse extends jspb.Message {
|
||||
getFCnt(): number;
|
||||
setFCnt(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): EnqueueMulticastGroupQueueItemResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: EnqueueMulticastGroupQueueItemResponse): EnqueueMulticastGroupQueueItemResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: EnqueueMulticastGroupQueueItemResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): EnqueueMulticastGroupQueueItemResponse;
|
||||
static deserializeBinaryFromReader(message: EnqueueMulticastGroupQueueItemResponse, reader: jspb.BinaryReader): EnqueueMulticastGroupQueueItemResponse;
|
||||
}
|
||||
|
||||
export namespace EnqueueMulticastGroupQueueItemResponse {
|
||||
export type AsObject = {
|
||||
fCnt: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class FlushMulticastGroupQueueRequest extends jspb.Message {
|
||||
getMulticastGroupId(): string;
|
||||
setMulticastGroupId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): FlushMulticastGroupQueueRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: FlushMulticastGroupQueueRequest): FlushMulticastGroupQueueRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: FlushMulticastGroupQueueRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): FlushMulticastGroupQueueRequest;
|
||||
static deserializeBinaryFromReader(message: FlushMulticastGroupQueueRequest, reader: jspb.BinaryReader): FlushMulticastGroupQueueRequest;
|
||||
}
|
||||
|
||||
export namespace FlushMulticastGroupQueueRequest {
|
||||
export type AsObject = {
|
||||
multicastGroupId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMulticastGroupQueueRequest extends jspb.Message {
|
||||
getMulticastGroupId(): string;
|
||||
setMulticastGroupId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMulticastGroupQueueRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMulticastGroupQueueRequest): ListMulticastGroupQueueRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMulticastGroupQueueRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMulticastGroupQueueRequest;
|
||||
static deserializeBinaryFromReader(message: ListMulticastGroupQueueRequest, reader: jspb.BinaryReader): ListMulticastGroupQueueRequest;
|
||||
}
|
||||
|
||||
export namespace ListMulticastGroupQueueRequest {
|
||||
export type AsObject = {
|
||||
multicastGroupId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListMulticastGroupQueueResponse extends jspb.Message {
|
||||
clearItemsList(): void;
|
||||
getItemsList(): Array<MulticastGroupQueueItem>;
|
||||
setItemsList(value: Array<MulticastGroupQueueItem>): void;
|
||||
addItems(value?: MulticastGroupQueueItem, index?: number): MulticastGroupQueueItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMulticastGroupQueueResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMulticastGroupQueueResponse): ListMulticastGroupQueueResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListMulticastGroupQueueResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListMulticastGroupQueueResponse;
|
||||
static deserializeBinaryFromReader(message: ListMulticastGroupQueueResponse, reader: jspb.BinaryReader): ListMulticastGroupQueueResponse;
|
||||
}
|
||||
|
||||
export namespace ListMulticastGroupQueueResponse {
|
||||
export type AsObject = {
|
||||
itemsList: Array<MulticastGroupQueueItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export interface MulticastGroupTypeMap {
|
||||
CLASS_C: 0;
|
||||
CLASS_B: 1;
|
||||
}
|
||||
|
||||
export const MulticastGroupType: MulticastGroupTypeMap;
|
||||
|
||||
export interface MulticastGroupSchedulingTypeMap {
|
||||
DELAY: 0;
|
||||
GPS_TIME: 1;
|
||||
}
|
||||
|
||||
export const MulticastGroupSchedulingType: MulticastGroupSchedulingTypeMap;
|
||||
|
4263
api/js/api/multicast_group_pb.js
vendored
4263
api/js/api/multicast_group_pb.js
vendored
File diff suppressed because it is too large
Load Diff
40
api/js/api/relay_grpc_pb.d.ts
vendored
40
api/js/api/relay_grpc_pb.d.ts
vendored
@ -1,40 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// package: api
|
||||
// file: api/relay.proto
|
||||
|
||||
import * as api_relay_pb from "../api/relay_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
|
||||
interface IRelayServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
list: grpc.MethodDefinition<api_relay_pb.ListRelaysRequest, api_relay_pb.ListRelaysResponse>;
|
||||
addDevice: grpc.MethodDefinition<api_relay_pb.AddRelayDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
removeDevice: grpc.MethodDefinition<api_relay_pb.RemoveRelayDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
listDevices: grpc.MethodDefinition<api_relay_pb.ListRelayDevicesRequest, api_relay_pb.ListRelayDevicesResponse>;
|
||||
}
|
||||
|
||||
export const RelayServiceService: IRelayServiceService;
|
||||
|
||||
export interface IRelayServiceServer extends grpc.UntypedServiceImplementation {
|
||||
list: grpc.handleUnaryCall<api_relay_pb.ListRelaysRequest, api_relay_pb.ListRelaysResponse>;
|
||||
addDevice: grpc.handleUnaryCall<api_relay_pb.AddRelayDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
removeDevice: grpc.handleUnaryCall<api_relay_pb.RemoveRelayDeviceRequest, google_protobuf_empty_pb.Empty>;
|
||||
listDevices: grpc.handleUnaryCall<api_relay_pb.ListRelayDevicesRequest, api_relay_pb.ListRelayDevicesResponse>;
|
||||
}
|
||||
|
||||
export class RelayServiceClient extends grpc.Client {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
list(argument: api_relay_pb.ListRelaysRequest, callback: grpc.requestCallback<api_relay_pb.ListRelaysResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_relay_pb.ListRelaysRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_relay_pb.ListRelaysResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_relay_pb.ListRelaysRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_relay_pb.ListRelaysResponse>): grpc.ClientUnaryCall;
|
||||
addDevice(argument: api_relay_pb.AddRelayDeviceRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
addDevice(argument: api_relay_pb.AddRelayDeviceRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
addDevice(argument: api_relay_pb.AddRelayDeviceRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
removeDevice(argument: api_relay_pb.RemoveRelayDeviceRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
removeDevice(argument: api_relay_pb.RemoveRelayDeviceRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
removeDevice(argument: api_relay_pb.RemoveRelayDeviceRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
listDevices(argument: api_relay_pb.ListRelayDevicesRequest, callback: grpc.requestCallback<api_relay_pb.ListRelayDevicesResponse>): grpc.ClientUnaryCall;
|
||||
listDevices(argument: api_relay_pb.ListRelayDevicesRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_relay_pb.ListRelayDevicesResponse>): grpc.ClientUnaryCall;
|
||||
listDevices(argument: api_relay_pb.ListRelayDevicesRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_relay_pb.ListRelayDevicesResponse>): grpc.ClientUnaryCall;
|
||||
}
|
140
api/js/api/relay_grpc_pb.js
vendored
140
api/js/api/relay_grpc_pb.js
vendored
@ -1,140 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
'use strict';
|
||||
var grpc = require('@grpc/grpc-js');
|
||||
var api_relay_pb = require('../api/relay_pb.js');
|
||||
var google_api_annotations_pb = require('../google/api/annotations_pb.js');
|
||||
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
||||
|
||||
function serialize_api_AddRelayDeviceRequest(arg) {
|
||||
if (!(arg instanceof api_relay_pb.AddRelayDeviceRequest)) {
|
||||
throw new Error('Expected argument of type api.AddRelayDeviceRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_AddRelayDeviceRequest(buffer_arg) {
|
||||
return api_relay_pb.AddRelayDeviceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListRelayDevicesRequest(arg) {
|
||||
if (!(arg instanceof api_relay_pb.ListRelayDevicesRequest)) {
|
||||
throw new Error('Expected argument of type api.ListRelayDevicesRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListRelayDevicesRequest(buffer_arg) {
|
||||
return api_relay_pb.ListRelayDevicesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListRelayDevicesResponse(arg) {
|
||||
if (!(arg instanceof api_relay_pb.ListRelayDevicesResponse)) {
|
||||
throw new Error('Expected argument of type api.ListRelayDevicesResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListRelayDevicesResponse(buffer_arg) {
|
||||
return api_relay_pb.ListRelayDevicesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListRelaysRequest(arg) {
|
||||
if (!(arg instanceof api_relay_pb.ListRelaysRequest)) {
|
||||
throw new Error('Expected argument of type api.ListRelaysRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListRelaysRequest(buffer_arg) {
|
||||
return api_relay_pb.ListRelaysRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListRelaysResponse(arg) {
|
||||
if (!(arg instanceof api_relay_pb.ListRelaysResponse)) {
|
||||
throw new Error('Expected argument of type api.ListRelaysResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListRelaysResponse(buffer_arg) {
|
||||
return api_relay_pb.ListRelaysResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_RemoveRelayDeviceRequest(arg) {
|
||||
if (!(arg instanceof api_relay_pb.RemoveRelayDeviceRequest)) {
|
||||
throw new Error('Expected argument of type api.RemoveRelayDeviceRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_RemoveRelayDeviceRequest(buffer_arg) {
|
||||
return api_relay_pb.RemoveRelayDeviceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_google_protobuf_Empty(arg) {
|
||||
if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
|
||||
throw new Error('Expected argument of type google.protobuf.Empty');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_google_protobuf_Empty(buffer_arg) {
|
||||
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// RelayService is the service providing API methos for managing relays.
|
||||
var RelayServiceService = exports.RelayServiceService = {
|
||||
// List lists the relays for the given application id.
|
||||
list: {
|
||||
path: '/api.RelayService/List',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_relay_pb.ListRelaysRequest,
|
||||
responseType: api_relay_pb.ListRelaysResponse,
|
||||
requestSerialize: serialize_api_ListRelaysRequest,
|
||||
requestDeserialize: deserialize_api_ListRelaysRequest,
|
||||
responseSerialize: serialize_api_ListRelaysResponse,
|
||||
responseDeserialize: deserialize_api_ListRelaysResponse,
|
||||
},
|
||||
// AddDevice adds the given device to the relay.
|
||||
addDevice: {
|
||||
path: '/api.RelayService/AddDevice',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_relay_pb.AddRelayDeviceRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_AddRelayDeviceRequest,
|
||||
requestDeserialize: deserialize_api_AddRelayDeviceRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// RemoveDevice removes the given device from the relay.
|
||||
removeDevice: {
|
||||
path: '/api.RelayService/RemoveDevice',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_relay_pb.RemoveRelayDeviceRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_RemoveRelayDeviceRequest,
|
||||
requestDeserialize: deserialize_api_RemoveRelayDeviceRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// ListDevices lists the devices for the given relay.
|
||||
listDevices: {
|
||||
path: '/api.RelayService/ListDevices',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_relay_pb.ListRelayDevicesRequest,
|
||||
responseType: api_relay_pb.ListRelayDevicesResponse,
|
||||
requestSerialize: serialize_api_ListRelayDevicesRequest,
|
||||
requestDeserialize: deserialize_api_ListRelayDevicesRequest,
|
||||
responseSerialize: serialize_api_ListRelayDevicesResponse,
|
||||
responseDeserialize: deserialize_api_ListRelayDevicesResponse,
|
||||
},
|
||||
};
|
||||
|
||||
exports.RelayServiceClient = grpc.makeGenericClientConstructor(RelayServiceService);
|
218
api/js/api/relay_pb.d.ts
vendored
218
api/js/api/relay_pb.d.ts
vendored
@ -1,218 +0,0 @@
|
||||
// package: api
|
||||
// file: api/relay.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_api_annotations_pb from "../google/api/annotations_pb";
|
||||
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
|
||||
export class RelayListItem extends jspb.Message {
|
||||
getDevEui(): string;
|
||||
setDevEui(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RelayListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RelayListItem): RelayListItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RelayListItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RelayListItem;
|
||||
static deserializeBinaryFromReader(message: RelayListItem, reader: jspb.BinaryReader): RelayListItem;
|
||||
}
|
||||
|
||||
export namespace RelayListItem {
|
||||
export type AsObject = {
|
||||
devEui: string,
|
||||
name: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListRelaysRequest extends jspb.Message {
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getApplicationId(): string;
|
||||
setApplicationId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListRelaysRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListRelaysRequest): ListRelaysRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListRelaysRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListRelaysRequest;
|
||||
static deserializeBinaryFromReader(message: ListRelaysRequest, reader: jspb.BinaryReader): ListRelaysRequest;
|
||||
}
|
||||
|
||||
export namespace ListRelaysRequest {
|
||||
export type AsObject = {
|
||||
limit: number,
|
||||
offset: number,
|
||||
applicationId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListRelaysResponse extends jspb.Message {
|
||||
getTotalCount(): number;
|
||||
setTotalCount(value: number): void;
|
||||
|
||||
clearResultList(): void;
|
||||
getResultList(): Array<RelayListItem>;
|
||||
setResultList(value: Array<RelayListItem>): void;
|
||||
addResult(value?: RelayListItem, index?: number): RelayListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListRelaysResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListRelaysResponse): ListRelaysResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListRelaysResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListRelaysResponse;
|
||||
static deserializeBinaryFromReader(message: ListRelaysResponse, reader: jspb.BinaryReader): ListRelaysResponse;
|
||||
}
|
||||
|
||||
export namespace ListRelaysResponse {
|
||||
export type AsObject = {
|
||||
totalCount: number,
|
||||
resultList: Array<RelayListItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class AddRelayDeviceRequest extends jspb.Message {
|
||||
getRelayDevEui(): string;
|
||||
setRelayDevEui(value: string): void;
|
||||
|
||||
getDeviceDevEui(): string;
|
||||
setDeviceDevEui(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AddRelayDeviceRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AddRelayDeviceRequest): AddRelayDeviceRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: AddRelayDeviceRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AddRelayDeviceRequest;
|
||||
static deserializeBinaryFromReader(message: AddRelayDeviceRequest, reader: jspb.BinaryReader): AddRelayDeviceRequest;
|
||||
}
|
||||
|
||||
export namespace AddRelayDeviceRequest {
|
||||
export type AsObject = {
|
||||
relayDevEui: string,
|
||||
deviceDevEui: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class RemoveRelayDeviceRequest extends jspb.Message {
|
||||
getRelayDevEui(): string;
|
||||
setRelayDevEui(value: string): void;
|
||||
|
||||
getDeviceDevEui(): string;
|
||||
setDeviceDevEui(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RemoveRelayDeviceRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RemoveRelayDeviceRequest): RemoveRelayDeviceRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RemoveRelayDeviceRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RemoveRelayDeviceRequest;
|
||||
static deserializeBinaryFromReader(message: RemoveRelayDeviceRequest, reader: jspb.BinaryReader): RemoveRelayDeviceRequest;
|
||||
}
|
||||
|
||||
export namespace RemoveRelayDeviceRequest {
|
||||
export type AsObject = {
|
||||
relayDevEui: string,
|
||||
deviceDevEui: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListRelayDevicesRequest extends jspb.Message {
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getRelayDevEui(): string;
|
||||
setRelayDevEui(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListRelayDevicesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListRelayDevicesRequest): ListRelayDevicesRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListRelayDevicesRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListRelayDevicesRequest;
|
||||
static deserializeBinaryFromReader(message: ListRelayDevicesRequest, reader: jspb.BinaryReader): ListRelayDevicesRequest;
|
||||
}
|
||||
|
||||
export namespace ListRelayDevicesRequest {
|
||||
export type AsObject = {
|
||||
limit: number,
|
||||
offset: number,
|
||||
relayDevEui: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class RelayDeviceListItem extends jspb.Message {
|
||||
getDevEui(): string;
|
||||
setDevEui(value: string): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RelayDeviceListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RelayDeviceListItem): RelayDeviceListItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RelayDeviceListItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RelayDeviceListItem;
|
||||
static deserializeBinaryFromReader(message: RelayDeviceListItem, reader: jspb.BinaryReader): RelayDeviceListItem;
|
||||
}
|
||||
|
||||
export namespace RelayDeviceListItem {
|
||||
export type AsObject = {
|
||||
devEui: string,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
name: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListRelayDevicesResponse extends jspb.Message {
|
||||
getTotalCount(): number;
|
||||
setTotalCount(value: number): void;
|
||||
|
||||
clearResultList(): void;
|
||||
getResultList(): Array<RelayDeviceListItem>;
|
||||
setResultList(value: Array<RelayDeviceListItem>): void;
|
||||
addResult(value?: RelayDeviceListItem, index?: number): RelayDeviceListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListRelayDevicesResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListRelayDevicesResponse): ListRelayDevicesResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListRelayDevicesResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListRelayDevicesResponse;
|
||||
static deserializeBinaryFromReader(message: ListRelayDevicesResponse, reader: jspb.BinaryReader): ListRelayDevicesResponse;
|
||||
}
|
||||
|
||||
export namespace ListRelayDevicesResponse {
|
||||
export type AsObject = {
|
||||
totalCount: number,
|
||||
resultList: Array<RelayDeviceListItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
1648
api/js/api/relay_pb.js
vendored
1648
api/js/api/relay_pb.js
vendored
File diff suppressed because it is too large
Load Diff
70
api/js/api/tenant_grpc_pb.d.ts
vendored
70
api/js/api/tenant_grpc_pb.d.ts
vendored
@ -1,70 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// package: api
|
||||
// file: api/tenant.proto
|
||||
|
||||
import * as api_tenant_pb from "../api/tenant_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
|
||||
interface ITenantServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
create: grpc.MethodDefinition<api_tenant_pb.CreateTenantRequest, api_tenant_pb.CreateTenantResponse>;
|
||||
get: grpc.MethodDefinition<api_tenant_pb.GetTenantRequest, api_tenant_pb.GetTenantResponse>;
|
||||
update: grpc.MethodDefinition<api_tenant_pb.UpdateTenantRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.MethodDefinition<api_tenant_pb.DeleteTenantRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.MethodDefinition<api_tenant_pb.ListTenantsRequest, api_tenant_pb.ListTenantsResponse>;
|
||||
addUser: grpc.MethodDefinition<api_tenant_pb.AddTenantUserRequest, google_protobuf_empty_pb.Empty>;
|
||||
getUser: grpc.MethodDefinition<api_tenant_pb.GetTenantUserRequest, api_tenant_pb.GetTenantUserResponse>;
|
||||
updateUser: grpc.MethodDefinition<api_tenant_pb.UpdateTenantUserRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteUser: grpc.MethodDefinition<api_tenant_pb.DeleteTenantUserRequest, google_protobuf_empty_pb.Empty>;
|
||||
listUsers: grpc.MethodDefinition<api_tenant_pb.ListTenantUsersRequest, api_tenant_pb.ListTenantUsersResponse>;
|
||||
}
|
||||
|
||||
export const TenantServiceService: ITenantServiceService;
|
||||
|
||||
export interface ITenantServiceServer extends grpc.UntypedServiceImplementation {
|
||||
create: grpc.handleUnaryCall<api_tenant_pb.CreateTenantRequest, api_tenant_pb.CreateTenantResponse>;
|
||||
get: grpc.handleUnaryCall<api_tenant_pb.GetTenantRequest, api_tenant_pb.GetTenantResponse>;
|
||||
update: grpc.handleUnaryCall<api_tenant_pb.UpdateTenantRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.handleUnaryCall<api_tenant_pb.DeleteTenantRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.handleUnaryCall<api_tenant_pb.ListTenantsRequest, api_tenant_pb.ListTenantsResponse>;
|
||||
addUser: grpc.handleUnaryCall<api_tenant_pb.AddTenantUserRequest, google_protobuf_empty_pb.Empty>;
|
||||
getUser: grpc.handleUnaryCall<api_tenant_pb.GetTenantUserRequest, api_tenant_pb.GetTenantUserResponse>;
|
||||
updateUser: grpc.handleUnaryCall<api_tenant_pb.UpdateTenantUserRequest, google_protobuf_empty_pb.Empty>;
|
||||
deleteUser: grpc.handleUnaryCall<api_tenant_pb.DeleteTenantUserRequest, google_protobuf_empty_pb.Empty>;
|
||||
listUsers: grpc.handleUnaryCall<api_tenant_pb.ListTenantUsersRequest, api_tenant_pb.ListTenantUsersResponse>;
|
||||
}
|
||||
|
||||
export class TenantServiceClient extends grpc.Client {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
create(argument: api_tenant_pb.CreateTenantRequest, callback: grpc.requestCallback<api_tenant_pb.CreateTenantResponse>): grpc.ClientUnaryCall;
|
||||
create(argument: api_tenant_pb.CreateTenantRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_tenant_pb.CreateTenantResponse>): grpc.ClientUnaryCall;
|
||||
create(argument: api_tenant_pb.CreateTenantRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_tenant_pb.CreateTenantResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_tenant_pb.GetTenantRequest, callback: grpc.requestCallback<api_tenant_pb.GetTenantResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_tenant_pb.GetTenantRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_tenant_pb.GetTenantResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_tenant_pb.GetTenantRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_tenant_pb.GetTenantResponse>): grpc.ClientUnaryCall;
|
||||
update(argument: api_tenant_pb.UpdateTenantRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_tenant_pb.UpdateTenantRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_tenant_pb.UpdateTenantRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_tenant_pb.DeleteTenantRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_tenant_pb.DeleteTenantRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_tenant_pb.DeleteTenantRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
list(argument: api_tenant_pb.ListTenantsRequest, callback: grpc.requestCallback<api_tenant_pb.ListTenantsResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_tenant_pb.ListTenantsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_tenant_pb.ListTenantsResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_tenant_pb.ListTenantsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_tenant_pb.ListTenantsResponse>): grpc.ClientUnaryCall;
|
||||
addUser(argument: api_tenant_pb.AddTenantUserRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
addUser(argument: api_tenant_pb.AddTenantUserRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
addUser(argument: api_tenant_pb.AddTenantUserRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
getUser(argument: api_tenant_pb.GetTenantUserRequest, callback: grpc.requestCallback<api_tenant_pb.GetTenantUserResponse>): grpc.ClientUnaryCall;
|
||||
getUser(argument: api_tenant_pb.GetTenantUserRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_tenant_pb.GetTenantUserResponse>): grpc.ClientUnaryCall;
|
||||
getUser(argument: api_tenant_pb.GetTenantUserRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_tenant_pb.GetTenantUserResponse>): grpc.ClientUnaryCall;
|
||||
updateUser(argument: api_tenant_pb.UpdateTenantUserRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateUser(argument: api_tenant_pb.UpdateTenantUserRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updateUser(argument: api_tenant_pb.UpdateTenantUserRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteUser(argument: api_tenant_pb.DeleteTenantUserRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteUser(argument: api_tenant_pb.DeleteTenantUserRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
deleteUser(argument: api_tenant_pb.DeleteTenantUserRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
listUsers(argument: api_tenant_pb.ListTenantUsersRequest, callback: grpc.requestCallback<api_tenant_pb.ListTenantUsersResponse>): grpc.ClientUnaryCall;
|
||||
listUsers(argument: api_tenant_pb.ListTenantUsersRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_tenant_pb.ListTenantUsersResponse>): grpc.ClientUnaryCall;
|
||||
listUsers(argument: api_tenant_pb.ListTenantUsersRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_tenant_pb.ListTenantUsersResponse>): grpc.ClientUnaryCall;
|
||||
}
|
312
api/js/api/tenant_grpc_pb.js
vendored
312
api/js/api/tenant_grpc_pb.js
vendored
@ -1,312 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
'use strict';
|
||||
var grpc = require('@grpc/grpc-js');
|
||||
var api_tenant_pb = require('../api/tenant_pb.js');
|
||||
var google_api_annotations_pb = require('../google/api/annotations_pb.js');
|
||||
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
||||
|
||||
function serialize_api_AddTenantUserRequest(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.AddTenantUserRequest)) {
|
||||
throw new Error('Expected argument of type api.AddTenantUserRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_AddTenantUserRequest(buffer_arg) {
|
||||
return api_tenant_pb.AddTenantUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_CreateTenantRequest(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.CreateTenantRequest)) {
|
||||
throw new Error('Expected argument of type api.CreateTenantRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateTenantRequest(buffer_arg) {
|
||||
return api_tenant_pb.CreateTenantRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_CreateTenantResponse(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.CreateTenantResponse)) {
|
||||
throw new Error('Expected argument of type api.CreateTenantResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateTenantResponse(buffer_arg) {
|
||||
return api_tenant_pb.CreateTenantResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_DeleteTenantRequest(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.DeleteTenantRequest)) {
|
||||
throw new Error('Expected argument of type api.DeleteTenantRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_DeleteTenantRequest(buffer_arg) {
|
||||
return api_tenant_pb.DeleteTenantRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_DeleteTenantUserRequest(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.DeleteTenantUserRequest)) {
|
||||
throw new Error('Expected argument of type api.DeleteTenantUserRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_DeleteTenantUserRequest(buffer_arg) {
|
||||
return api_tenant_pb.DeleteTenantUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetTenantRequest(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.GetTenantRequest)) {
|
||||
throw new Error('Expected argument of type api.GetTenantRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetTenantRequest(buffer_arg) {
|
||||
return api_tenant_pb.GetTenantRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetTenantResponse(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.GetTenantResponse)) {
|
||||
throw new Error('Expected argument of type api.GetTenantResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetTenantResponse(buffer_arg) {
|
||||
return api_tenant_pb.GetTenantResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetTenantUserRequest(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.GetTenantUserRequest)) {
|
||||
throw new Error('Expected argument of type api.GetTenantUserRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetTenantUserRequest(buffer_arg) {
|
||||
return api_tenant_pb.GetTenantUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetTenantUserResponse(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.GetTenantUserResponse)) {
|
||||
throw new Error('Expected argument of type api.GetTenantUserResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetTenantUserResponse(buffer_arg) {
|
||||
return api_tenant_pb.GetTenantUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListTenantUsersRequest(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.ListTenantUsersRequest)) {
|
||||
throw new Error('Expected argument of type api.ListTenantUsersRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListTenantUsersRequest(buffer_arg) {
|
||||
return api_tenant_pb.ListTenantUsersRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListTenantUsersResponse(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.ListTenantUsersResponse)) {
|
||||
throw new Error('Expected argument of type api.ListTenantUsersResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListTenantUsersResponse(buffer_arg) {
|
||||
return api_tenant_pb.ListTenantUsersResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListTenantsRequest(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.ListTenantsRequest)) {
|
||||
throw new Error('Expected argument of type api.ListTenantsRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListTenantsRequest(buffer_arg) {
|
||||
return api_tenant_pb.ListTenantsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListTenantsResponse(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.ListTenantsResponse)) {
|
||||
throw new Error('Expected argument of type api.ListTenantsResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListTenantsResponse(buffer_arg) {
|
||||
return api_tenant_pb.ListTenantsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_UpdateTenantRequest(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.UpdateTenantRequest)) {
|
||||
throw new Error('Expected argument of type api.UpdateTenantRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_UpdateTenantRequest(buffer_arg) {
|
||||
return api_tenant_pb.UpdateTenantRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_UpdateTenantUserRequest(arg) {
|
||||
if (!(arg instanceof api_tenant_pb.UpdateTenantUserRequest)) {
|
||||
throw new Error('Expected argument of type api.UpdateTenantUserRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_UpdateTenantUserRequest(buffer_arg) {
|
||||
return api_tenant_pb.UpdateTenantUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_google_protobuf_Empty(arg) {
|
||||
if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
|
||||
throw new Error('Expected argument of type google.protobuf.Empty');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_google_protobuf_Empty(buffer_arg) {
|
||||
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// TenantService is the service providing API methods for managing tenants.
|
||||
var TenantServiceService = exports.TenantServiceService = {
|
||||
// Create a new tenant.
|
||||
create: {
|
||||
path: '/api.TenantService/Create',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_tenant_pb.CreateTenantRequest,
|
||||
responseType: api_tenant_pb.CreateTenantResponse,
|
||||
requestSerialize: serialize_api_CreateTenantRequest,
|
||||
requestDeserialize: deserialize_api_CreateTenantRequest,
|
||||
responseSerialize: serialize_api_CreateTenantResponse,
|
||||
responseDeserialize: deserialize_api_CreateTenantResponse,
|
||||
},
|
||||
// Get the tenant for the given ID.
|
||||
get: {
|
||||
path: '/api.TenantService/Get',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_tenant_pb.GetTenantRequest,
|
||||
responseType: api_tenant_pb.GetTenantResponse,
|
||||
requestSerialize: serialize_api_GetTenantRequest,
|
||||
requestDeserialize: deserialize_api_GetTenantRequest,
|
||||
responseSerialize: serialize_api_GetTenantResponse,
|
||||
responseDeserialize: deserialize_api_GetTenantResponse,
|
||||
},
|
||||
// Update the given tenant.
|
||||
update: {
|
||||
path: '/api.TenantService/Update',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_tenant_pb.UpdateTenantRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_UpdateTenantRequest,
|
||||
requestDeserialize: deserialize_api_UpdateTenantRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Delete the tenant with the given ID.
|
||||
delete: {
|
||||
path: '/api.TenantService/Delete',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_tenant_pb.DeleteTenantRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_DeleteTenantRequest,
|
||||
requestDeserialize: deserialize_api_DeleteTenantRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Get the list of tenants.
|
||||
list: {
|
||||
path: '/api.TenantService/List',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_tenant_pb.ListTenantsRequest,
|
||||
responseType: api_tenant_pb.ListTenantsResponse,
|
||||
requestSerialize: serialize_api_ListTenantsRequest,
|
||||
requestDeserialize: deserialize_api_ListTenantsRequest,
|
||||
responseSerialize: serialize_api_ListTenantsResponse,
|
||||
responseDeserialize: deserialize_api_ListTenantsResponse,
|
||||
},
|
||||
// Add an user to the tenant.
|
||||
// Note: the user must already exist.
|
||||
addUser: {
|
||||
path: '/api.TenantService/AddUser',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_tenant_pb.AddTenantUserRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_AddTenantUserRequest,
|
||||
requestDeserialize: deserialize_api_AddTenantUserRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Get the the tenant user for the given tenant and user IDs.
|
||||
getUser: {
|
||||
path: '/api.TenantService/GetUser',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_tenant_pb.GetTenantUserRequest,
|
||||
responseType: api_tenant_pb.GetTenantUserResponse,
|
||||
requestSerialize: serialize_api_GetTenantUserRequest,
|
||||
requestDeserialize: deserialize_api_GetTenantUserRequest,
|
||||
responseSerialize: serialize_api_GetTenantUserResponse,
|
||||
responseDeserialize: deserialize_api_GetTenantUserResponse,
|
||||
},
|
||||
// Update the given tenant user.
|
||||
updateUser: {
|
||||
path: '/api.TenantService/UpdateUser',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_tenant_pb.UpdateTenantUserRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_UpdateTenantUserRequest,
|
||||
requestDeserialize: deserialize_api_UpdateTenantUserRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Delete the given tenant user.
|
||||
deleteUser: {
|
||||
path: '/api.TenantService/DeleteUser',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_tenant_pb.DeleteTenantUserRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_DeleteTenantUserRequest,
|
||||
requestDeserialize: deserialize_api_DeleteTenantUserRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Get the list of tenant users.
|
||||
listUsers: {
|
||||
path: '/api.TenantService/ListUsers',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_tenant_pb.ListTenantUsersRequest,
|
||||
responseType: api_tenant_pb.ListTenantUsersResponse,
|
||||
requestSerialize: serialize_api_ListTenantUsersRequest,
|
||||
requestDeserialize: deserialize_api_ListTenantUsersRequest,
|
||||
responseSerialize: serialize_api_ListTenantUsersResponse,
|
||||
responseDeserialize: deserialize_api_ListTenantUsersResponse,
|
||||
},
|
||||
};
|
||||
|
||||
exports.TenantServiceClient = grpc.makeGenericClientConstructor(TenantServiceService);
|
583
api/js/api/tenant_pb.d.ts
vendored
583
api/js/api/tenant_pb.d.ts
vendored
@ -1,583 +0,0 @@
|
||||
// package: api
|
||||
// file: api/tenant.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_api_annotations_pb from "../google/api/annotations_pb";
|
||||
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
|
||||
export class Tenant extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
getCanHaveGateways(): boolean;
|
||||
setCanHaveGateways(value: boolean): void;
|
||||
|
||||
getMaxGatewayCount(): number;
|
||||
setMaxGatewayCount(value: number): void;
|
||||
|
||||
getMaxDeviceCount(): number;
|
||||
setMaxDeviceCount(value: number): void;
|
||||
|
||||
getPrivateGatewaysUp(): boolean;
|
||||
setPrivateGatewaysUp(value: boolean): void;
|
||||
|
||||
getPrivateGatewaysDown(): boolean;
|
||||
setPrivateGatewaysDown(value: boolean): void;
|
||||
|
||||
getTagsMap(): jspb.Map<string, string>;
|
||||
clearTagsMap(): void;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Tenant.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Tenant): Tenant.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Tenant, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Tenant;
|
||||
static deserializeBinaryFromReader(message: Tenant, reader: jspb.BinaryReader): Tenant;
|
||||
}
|
||||
|
||||
export namespace Tenant {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
name: string,
|
||||
description: string,
|
||||
canHaveGateways: boolean,
|
||||
maxGatewayCount: number,
|
||||
maxDeviceCount: number,
|
||||
privateGatewaysUp: boolean,
|
||||
privateGatewaysDown: boolean,
|
||||
tagsMap: Array<[string, string]>,
|
||||
}
|
||||
}
|
||||
|
||||
export class TenantListItem extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getCanHaveGateways(): boolean;
|
||||
setCanHaveGateways(value: boolean): void;
|
||||
|
||||
getPrivateGatewaysUp(): boolean;
|
||||
setPrivateGatewaysUp(value: boolean): void;
|
||||
|
||||
getPrivateGatewaysDown(): boolean;
|
||||
setPrivateGatewaysDown(value: boolean): void;
|
||||
|
||||
getMaxGatewayCount(): number;
|
||||
setMaxGatewayCount(value: number): void;
|
||||
|
||||
getMaxDeviceCount(): number;
|
||||
setMaxDeviceCount(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): TenantListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: TenantListItem): TenantListItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: TenantListItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): TenantListItem;
|
||||
static deserializeBinaryFromReader(message: TenantListItem, reader: jspb.BinaryReader): TenantListItem;
|
||||
}
|
||||
|
||||
export namespace TenantListItem {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
name: string,
|
||||
canHaveGateways: boolean,
|
||||
privateGatewaysUp: boolean,
|
||||
privateGatewaysDown: boolean,
|
||||
maxGatewayCount: number,
|
||||
maxDeviceCount: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateTenantRequest extends jspb.Message {
|
||||
hasTenant(): boolean;
|
||||
clearTenant(): void;
|
||||
getTenant(): Tenant | undefined;
|
||||
setTenant(value?: Tenant): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateTenantRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateTenantRequest): CreateTenantRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateTenantRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateTenantRequest;
|
||||
static deserializeBinaryFromReader(message: CreateTenantRequest, reader: jspb.BinaryReader): CreateTenantRequest;
|
||||
}
|
||||
|
||||
export namespace CreateTenantRequest {
|
||||
export type AsObject = {
|
||||
tenant?: Tenant.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateTenantResponse extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateTenantResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateTenantResponse): CreateTenantResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateTenantResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateTenantResponse;
|
||||
static deserializeBinaryFromReader(message: CreateTenantResponse, reader: jspb.BinaryReader): CreateTenantResponse;
|
||||
}
|
||||
|
||||
export namespace CreateTenantResponse {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetTenantRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetTenantRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetTenantRequest): GetTenantRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetTenantRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetTenantRequest;
|
||||
static deserializeBinaryFromReader(message: GetTenantRequest, reader: jspb.BinaryReader): GetTenantRequest;
|
||||
}
|
||||
|
||||
export namespace GetTenantRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetTenantResponse extends jspb.Message {
|
||||
hasTenant(): boolean;
|
||||
clearTenant(): void;
|
||||
getTenant(): Tenant | undefined;
|
||||
setTenant(value?: Tenant): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetTenantResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetTenantResponse): GetTenantResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetTenantResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetTenantResponse;
|
||||
static deserializeBinaryFromReader(message: GetTenantResponse, reader: jspb.BinaryReader): GetTenantResponse;
|
||||
}
|
||||
|
||||
export namespace GetTenantResponse {
|
||||
export type AsObject = {
|
||||
tenant?: Tenant.AsObject,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateTenantRequest extends jspb.Message {
|
||||
hasTenant(): boolean;
|
||||
clearTenant(): void;
|
||||
getTenant(): Tenant | undefined;
|
||||
setTenant(value?: Tenant): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateTenantRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateTenantRequest): UpdateTenantRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateTenantRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateTenantRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateTenantRequest, reader: jspb.BinaryReader): UpdateTenantRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateTenantRequest {
|
||||
export type AsObject = {
|
||||
tenant?: Tenant.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteTenantRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteTenantRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteTenantRequest): DeleteTenantRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteTenantRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteTenantRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteTenantRequest, reader: jspb.BinaryReader): DeleteTenantRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteTenantRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListTenantsRequest extends jspb.Message {
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
getSearch(): string;
|
||||
setSearch(value: string): void;
|
||||
|
||||
getUserId(): string;
|
||||
setUserId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListTenantsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListTenantsRequest): ListTenantsRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListTenantsRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListTenantsRequest;
|
||||
static deserializeBinaryFromReader(message: ListTenantsRequest, reader: jspb.BinaryReader): ListTenantsRequest;
|
||||
}
|
||||
|
||||
export namespace ListTenantsRequest {
|
||||
export type AsObject = {
|
||||
limit: number,
|
||||
offset: number,
|
||||
search: string,
|
||||
userId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListTenantsResponse extends jspb.Message {
|
||||
getTotalCount(): number;
|
||||
setTotalCount(value: number): void;
|
||||
|
||||
clearResultList(): void;
|
||||
getResultList(): Array<TenantListItem>;
|
||||
setResultList(value: Array<TenantListItem>): void;
|
||||
addResult(value?: TenantListItem, index?: number): TenantListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListTenantsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListTenantsResponse): ListTenantsResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListTenantsResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListTenantsResponse;
|
||||
static deserializeBinaryFromReader(message: ListTenantsResponse, reader: jspb.BinaryReader): ListTenantsResponse;
|
||||
}
|
||||
|
||||
export namespace ListTenantsResponse {
|
||||
export type AsObject = {
|
||||
totalCount: number,
|
||||
resultList: Array<TenantListItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class TenantUser extends jspb.Message {
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
getUserId(): string;
|
||||
setUserId(value: string): void;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): void;
|
||||
|
||||
getIsDeviceAdmin(): boolean;
|
||||
setIsDeviceAdmin(value: boolean): void;
|
||||
|
||||
getIsGatewayAdmin(): boolean;
|
||||
setIsGatewayAdmin(value: boolean): void;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): TenantUser.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: TenantUser): TenantUser.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: TenantUser, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): TenantUser;
|
||||
static deserializeBinaryFromReader(message: TenantUser, reader: jspb.BinaryReader): TenantUser;
|
||||
}
|
||||
|
||||
export namespace TenantUser {
|
||||
export type AsObject = {
|
||||
tenantId: string,
|
||||
userId: string,
|
||||
isAdmin: boolean,
|
||||
isDeviceAdmin: boolean,
|
||||
isGatewayAdmin: boolean,
|
||||
email: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class TenantUserListItem extends jspb.Message {
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
getUserId(): string;
|
||||
setUserId(value: string): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): void;
|
||||
|
||||
getIsDeviceAdmin(): boolean;
|
||||
setIsDeviceAdmin(value: boolean): void;
|
||||
|
||||
getIsGatewayAdmin(): boolean;
|
||||
setIsGatewayAdmin(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): TenantUserListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: TenantUserListItem): TenantUserListItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: TenantUserListItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): TenantUserListItem;
|
||||
static deserializeBinaryFromReader(message: TenantUserListItem, reader: jspb.BinaryReader): TenantUserListItem;
|
||||
}
|
||||
|
||||
export namespace TenantUserListItem {
|
||||
export type AsObject = {
|
||||
tenantId: string,
|
||||
userId: string,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
email: string,
|
||||
isAdmin: boolean,
|
||||
isDeviceAdmin: boolean,
|
||||
isGatewayAdmin: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class AddTenantUserRequest extends jspb.Message {
|
||||
hasTenantUser(): boolean;
|
||||
clearTenantUser(): void;
|
||||
getTenantUser(): TenantUser | undefined;
|
||||
setTenantUser(value?: TenantUser): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AddTenantUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AddTenantUserRequest): AddTenantUserRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: AddTenantUserRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AddTenantUserRequest;
|
||||
static deserializeBinaryFromReader(message: AddTenantUserRequest, reader: jspb.BinaryReader): AddTenantUserRequest;
|
||||
}
|
||||
|
||||
export namespace AddTenantUserRequest {
|
||||
export type AsObject = {
|
||||
tenantUser?: TenantUser.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetTenantUserRequest extends jspb.Message {
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
getUserId(): string;
|
||||
setUserId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetTenantUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetTenantUserRequest): GetTenantUserRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetTenantUserRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetTenantUserRequest;
|
||||
static deserializeBinaryFromReader(message: GetTenantUserRequest, reader: jspb.BinaryReader): GetTenantUserRequest;
|
||||
}
|
||||
|
||||
export namespace GetTenantUserRequest {
|
||||
export type AsObject = {
|
||||
tenantId: string,
|
||||
userId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetTenantUserResponse extends jspb.Message {
|
||||
hasTenantUser(): boolean;
|
||||
clearTenantUser(): void;
|
||||
getTenantUser(): TenantUser | undefined;
|
||||
setTenantUser(value?: TenantUser): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetTenantUserResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetTenantUserResponse): GetTenantUserResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetTenantUserResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetTenantUserResponse;
|
||||
static deserializeBinaryFromReader(message: GetTenantUserResponse, reader: jspb.BinaryReader): GetTenantUserResponse;
|
||||
}
|
||||
|
||||
export namespace GetTenantUserResponse {
|
||||
export type AsObject = {
|
||||
tenantUser?: TenantUser.AsObject,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateTenantUserRequest extends jspb.Message {
|
||||
hasTenantUser(): boolean;
|
||||
clearTenantUser(): void;
|
||||
getTenantUser(): TenantUser | undefined;
|
||||
setTenantUser(value?: TenantUser): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateTenantUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateTenantUserRequest): UpdateTenantUserRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateTenantUserRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateTenantUserRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateTenantUserRequest, reader: jspb.BinaryReader): UpdateTenantUserRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateTenantUserRequest {
|
||||
export type AsObject = {
|
||||
tenantUser?: TenantUser.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteTenantUserRequest extends jspb.Message {
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
getUserId(): string;
|
||||
setUserId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteTenantUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteTenantUserRequest): DeleteTenantUserRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteTenantUserRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteTenantUserRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteTenantUserRequest, reader: jspb.BinaryReader): DeleteTenantUserRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteTenantUserRequest {
|
||||
export type AsObject = {
|
||||
tenantId: string,
|
||||
userId: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListTenantUsersRequest extends jspb.Message {
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListTenantUsersRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListTenantUsersRequest): ListTenantUsersRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListTenantUsersRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListTenantUsersRequest;
|
||||
static deserializeBinaryFromReader(message: ListTenantUsersRequest, reader: jspb.BinaryReader): ListTenantUsersRequest;
|
||||
}
|
||||
|
||||
export namespace ListTenantUsersRequest {
|
||||
export type AsObject = {
|
||||
tenantId: string,
|
||||
limit: number,
|
||||
offset: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListTenantUsersResponse extends jspb.Message {
|
||||
getTotalCount(): number;
|
||||
setTotalCount(value: number): void;
|
||||
|
||||
clearResultList(): void;
|
||||
getResultList(): Array<TenantUserListItem>;
|
||||
setResultList(value: Array<TenantUserListItem>): void;
|
||||
addResult(value?: TenantUserListItem, index?: number): TenantUserListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListTenantUsersResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListTenantUsersResponse): ListTenantUsersResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListTenantUsersResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListTenantUsersResponse;
|
||||
static deserializeBinaryFromReader(message: ListTenantUsersResponse, reader: jspb.BinaryReader): ListTenantUsersResponse;
|
||||
}
|
||||
|
||||
export namespace ListTenantUsersResponse {
|
||||
export type AsObject = {
|
||||
totalCount: number,
|
||||
resultList: Array<TenantUserListItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
4496
api/js/api/tenant_pb.js
vendored
4496
api/js/api/tenant_pb.js
vendored
File diff suppressed because it is too large
Load Diff
50
api/js/api/user_grpc_pb.d.ts
vendored
50
api/js/api/user_grpc_pb.d.ts
vendored
@ -1,50 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
// package: api
|
||||
// file: api/user.proto
|
||||
|
||||
import * as api_user_pb from "../api/user_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
import * as grpc from "@grpc/grpc-js";
|
||||
|
||||
interface IUserServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
||||
create: grpc.MethodDefinition<api_user_pb.CreateUserRequest, api_user_pb.CreateUserResponse>;
|
||||
get: grpc.MethodDefinition<api_user_pb.GetUserRequest, api_user_pb.GetUserResponse>;
|
||||
update: grpc.MethodDefinition<api_user_pb.UpdateUserRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.MethodDefinition<api_user_pb.DeleteUserRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.MethodDefinition<api_user_pb.ListUsersRequest, api_user_pb.ListUsersResponse>;
|
||||
updatePassword: grpc.MethodDefinition<api_user_pb.UpdateUserPasswordRequest, google_protobuf_empty_pb.Empty>;
|
||||
}
|
||||
|
||||
export const UserServiceService: IUserServiceService;
|
||||
|
||||
export interface IUserServiceServer extends grpc.UntypedServiceImplementation {
|
||||
create: grpc.handleUnaryCall<api_user_pb.CreateUserRequest, api_user_pb.CreateUserResponse>;
|
||||
get: grpc.handleUnaryCall<api_user_pb.GetUserRequest, api_user_pb.GetUserResponse>;
|
||||
update: grpc.handleUnaryCall<api_user_pb.UpdateUserRequest, google_protobuf_empty_pb.Empty>;
|
||||
delete: grpc.handleUnaryCall<api_user_pb.DeleteUserRequest, google_protobuf_empty_pb.Empty>;
|
||||
list: grpc.handleUnaryCall<api_user_pb.ListUsersRequest, api_user_pb.ListUsersResponse>;
|
||||
updatePassword: grpc.handleUnaryCall<api_user_pb.UpdateUserPasswordRequest, google_protobuf_empty_pb.Empty>;
|
||||
}
|
||||
|
||||
export class UserServiceClient extends grpc.Client {
|
||||
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
||||
create(argument: api_user_pb.CreateUserRequest, callback: grpc.requestCallback<api_user_pb.CreateUserResponse>): grpc.ClientUnaryCall;
|
||||
create(argument: api_user_pb.CreateUserRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_user_pb.CreateUserResponse>): grpc.ClientUnaryCall;
|
||||
create(argument: api_user_pb.CreateUserRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_user_pb.CreateUserResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_user_pb.GetUserRequest, callback: grpc.requestCallback<api_user_pb.GetUserResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_user_pb.GetUserRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_user_pb.GetUserResponse>): grpc.ClientUnaryCall;
|
||||
get(argument: api_user_pb.GetUserRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_user_pb.GetUserResponse>): grpc.ClientUnaryCall;
|
||||
update(argument: api_user_pb.UpdateUserRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_user_pb.UpdateUserRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
update(argument: api_user_pb.UpdateUserRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_user_pb.DeleteUserRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_user_pb.DeleteUserRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
delete(argument: api_user_pb.DeleteUserRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
list(argument: api_user_pb.ListUsersRequest, callback: grpc.requestCallback<api_user_pb.ListUsersResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_user_pb.ListUsersRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<api_user_pb.ListUsersResponse>): grpc.ClientUnaryCall;
|
||||
list(argument: api_user_pb.ListUsersRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<api_user_pb.ListUsersResponse>): grpc.ClientUnaryCall;
|
||||
updatePassword(argument: api_user_pb.UpdateUserPasswordRequest, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updatePassword(argument: api_user_pb.UpdateUserPasswordRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
updatePassword(argument: api_user_pb.UpdateUserPasswordRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_protobuf_empty_pb.Empty>): grpc.ClientUnaryCall;
|
||||
}
|
197
api/js/api/user_grpc_pb.js
vendored
197
api/js/api/user_grpc_pb.js
vendored
@ -1,197 +0,0 @@
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
'use strict';
|
||||
var grpc = require('@grpc/grpc-js');
|
||||
var api_user_pb = require('../api/user_pb.js');
|
||||
var google_api_annotations_pb = require('../google/api/annotations_pb.js');
|
||||
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
||||
|
||||
function serialize_api_CreateUserRequest(arg) {
|
||||
if (!(arg instanceof api_user_pb.CreateUserRequest)) {
|
||||
throw new Error('Expected argument of type api.CreateUserRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateUserRequest(buffer_arg) {
|
||||
return api_user_pb.CreateUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_CreateUserResponse(arg) {
|
||||
if (!(arg instanceof api_user_pb.CreateUserResponse)) {
|
||||
throw new Error('Expected argument of type api.CreateUserResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_CreateUserResponse(buffer_arg) {
|
||||
return api_user_pb.CreateUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_DeleteUserRequest(arg) {
|
||||
if (!(arg instanceof api_user_pb.DeleteUserRequest)) {
|
||||
throw new Error('Expected argument of type api.DeleteUserRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_DeleteUserRequest(buffer_arg) {
|
||||
return api_user_pb.DeleteUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetUserRequest(arg) {
|
||||
if (!(arg instanceof api_user_pb.GetUserRequest)) {
|
||||
throw new Error('Expected argument of type api.GetUserRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetUserRequest(buffer_arg) {
|
||||
return api_user_pb.GetUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_GetUserResponse(arg) {
|
||||
if (!(arg instanceof api_user_pb.GetUserResponse)) {
|
||||
throw new Error('Expected argument of type api.GetUserResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_GetUserResponse(buffer_arg) {
|
||||
return api_user_pb.GetUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListUsersRequest(arg) {
|
||||
if (!(arg instanceof api_user_pb.ListUsersRequest)) {
|
||||
throw new Error('Expected argument of type api.ListUsersRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListUsersRequest(buffer_arg) {
|
||||
return api_user_pb.ListUsersRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_ListUsersResponse(arg) {
|
||||
if (!(arg instanceof api_user_pb.ListUsersResponse)) {
|
||||
throw new Error('Expected argument of type api.ListUsersResponse');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_ListUsersResponse(buffer_arg) {
|
||||
return api_user_pb.ListUsersResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_UpdateUserPasswordRequest(arg) {
|
||||
if (!(arg instanceof api_user_pb.UpdateUserPasswordRequest)) {
|
||||
throw new Error('Expected argument of type api.UpdateUserPasswordRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_UpdateUserPasswordRequest(buffer_arg) {
|
||||
return api_user_pb.UpdateUserPasswordRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_api_UpdateUserRequest(arg) {
|
||||
if (!(arg instanceof api_user_pb.UpdateUserRequest)) {
|
||||
throw new Error('Expected argument of type api.UpdateUserRequest');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_api_UpdateUserRequest(buffer_arg) {
|
||||
return api_user_pb.UpdateUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
function serialize_google_protobuf_Empty(arg) {
|
||||
if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
|
||||
throw new Error('Expected argument of type google.protobuf.Empty');
|
||||
}
|
||||
return Buffer.from(arg.serializeBinary());
|
||||
}
|
||||
|
||||
function deserialize_google_protobuf_Empty(buffer_arg) {
|
||||
return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
|
||||
}
|
||||
|
||||
|
||||
// UserService is the service providing API methods for managing users.
|
||||
var UserServiceService = exports.UserServiceService = {
|
||||
// Create a new user.
|
||||
create: {
|
||||
path: '/api.UserService/Create',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_user_pb.CreateUserRequest,
|
||||
responseType: api_user_pb.CreateUserResponse,
|
||||
requestSerialize: serialize_api_CreateUserRequest,
|
||||
requestDeserialize: deserialize_api_CreateUserRequest,
|
||||
responseSerialize: serialize_api_CreateUserResponse,
|
||||
responseDeserialize: deserialize_api_CreateUserResponse,
|
||||
},
|
||||
// Get the user for the given ID.
|
||||
get: {
|
||||
path: '/api.UserService/Get',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_user_pb.GetUserRequest,
|
||||
responseType: api_user_pb.GetUserResponse,
|
||||
requestSerialize: serialize_api_GetUserRequest,
|
||||
requestDeserialize: deserialize_api_GetUserRequest,
|
||||
responseSerialize: serialize_api_GetUserResponse,
|
||||
responseDeserialize: deserialize_api_GetUserResponse,
|
||||
},
|
||||
// Update the given user.
|
||||
update: {
|
||||
path: '/api.UserService/Update',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_user_pb.UpdateUserRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_UpdateUserRequest,
|
||||
requestDeserialize: deserialize_api_UpdateUserRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Delete the user with the given ID.
|
||||
delete: {
|
||||
path: '/api.UserService/Delete',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_user_pb.DeleteUserRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_DeleteUserRequest,
|
||||
requestDeserialize: deserialize_api_DeleteUserRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
// Get the list of users.
|
||||
list: {
|
||||
path: '/api.UserService/List',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_user_pb.ListUsersRequest,
|
||||
responseType: api_user_pb.ListUsersResponse,
|
||||
requestSerialize: serialize_api_ListUsersRequest,
|
||||
requestDeserialize: deserialize_api_ListUsersRequest,
|
||||
responseSerialize: serialize_api_ListUsersResponse,
|
||||
responseDeserialize: deserialize_api_ListUsersResponse,
|
||||
},
|
||||
// Update the password for the given user.
|
||||
updatePassword: {
|
||||
path: '/api.UserService/UpdatePassword',
|
||||
requestStream: false,
|
||||
responseStream: false,
|
||||
requestType: api_user_pb.UpdateUserPasswordRequest,
|
||||
responseType: google_protobuf_empty_pb.Empty,
|
||||
requestSerialize: serialize_api_UpdateUserPasswordRequest,
|
||||
requestDeserialize: deserialize_api_UpdateUserPasswordRequest,
|
||||
responseSerialize: serialize_google_protobuf_Empty,
|
||||
responseDeserialize: deserialize_google_protobuf_Empty,
|
||||
},
|
||||
};
|
||||
|
||||
exports.UserServiceClient = grpc.makeGenericClientConstructor(UserServiceService);
|
342
api/js/api/user_pb.d.ts
vendored
342
api/js/api/user_pb.d.ts
vendored
@ -1,342 +0,0 @@
|
||||
// package: api
|
||||
// file: api/user.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_api_annotations_pb from "../google/api/annotations_pb";
|
||||
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
||||
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
||||
|
||||
export class User extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): void;
|
||||
|
||||
getIsActive(): boolean;
|
||||
setIsActive(value: boolean): void;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
|
||||
getNote(): string;
|
||||
setNote(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): User.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: User): User.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: User, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): User;
|
||||
static deserializeBinaryFromReader(message: User, reader: jspb.BinaryReader): User;
|
||||
}
|
||||
|
||||
export namespace User {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
isAdmin: boolean,
|
||||
isActive: boolean,
|
||||
email: string,
|
||||
note: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserListItem extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): void;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): void;
|
||||
|
||||
getIsActive(): boolean;
|
||||
setIsActive(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserListItem): UserListItem.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UserListItem, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserListItem;
|
||||
static deserializeBinaryFromReader(message: UserListItem, reader: jspb.BinaryReader): UserListItem;
|
||||
}
|
||||
|
||||
export namespace UserListItem {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
email: string,
|
||||
isAdmin: boolean,
|
||||
isActive: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class UserTenant extends jspb.Message {
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): void;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): void;
|
||||
|
||||
getIsDeviceAdmin(): boolean;
|
||||
setIsDeviceAdmin(value: boolean): void;
|
||||
|
||||
getIsGatewayAdmin(): boolean;
|
||||
setIsGatewayAdmin(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserTenant.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserTenant): UserTenant.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UserTenant, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UserTenant;
|
||||
static deserializeBinaryFromReader(message: UserTenant, reader: jspb.BinaryReader): UserTenant;
|
||||
}
|
||||
|
||||
export namespace UserTenant {
|
||||
export type AsObject = {
|
||||
tenantId: string,
|
||||
isAdmin: boolean,
|
||||
isDeviceAdmin: boolean,
|
||||
isGatewayAdmin: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateUserRequest extends jspb.Message {
|
||||
hasUser(): boolean;
|
||||
clearUser(): void;
|
||||
getUser(): User | undefined;
|
||||
setUser(value?: User): void;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
clearTenantsList(): void;
|
||||
getTenantsList(): Array<UserTenant>;
|
||||
setTenantsList(value: Array<UserTenant>): void;
|
||||
addTenants(value?: UserTenant, index?: number): UserTenant;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateUserRequest): CreateUserRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateUserRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateUserRequest;
|
||||
static deserializeBinaryFromReader(message: CreateUserRequest, reader: jspb.BinaryReader): CreateUserRequest;
|
||||
}
|
||||
|
||||
export namespace CreateUserRequest {
|
||||
export type AsObject = {
|
||||
user?: User.AsObject,
|
||||
password: string,
|
||||
tenantsList: Array<UserTenant.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateUserResponse extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateUserResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateUserResponse): CreateUserResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CreateUserResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CreateUserResponse;
|
||||
static deserializeBinaryFromReader(message: CreateUserResponse, reader: jspb.BinaryReader): CreateUserResponse;
|
||||
}
|
||||
|
||||
export namespace CreateUserResponse {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetUserRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetUserRequest): GetUserRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetUserRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetUserRequest;
|
||||
static deserializeBinaryFromReader(message: GetUserRequest, reader: jspb.BinaryReader): GetUserRequest;
|
||||
}
|
||||
|
||||
export namespace GetUserRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetUserResponse extends jspb.Message {
|
||||
hasUser(): boolean;
|
||||
clearUser(): void;
|
||||
getUser(): User | undefined;
|
||||
setUser(value?: User): void;
|
||||
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): void;
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): void;
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetUserResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetUserResponse): GetUserResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GetUserResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetUserResponse;
|
||||
static deserializeBinaryFromReader(message: GetUserResponse, reader: jspb.BinaryReader): GetUserResponse;
|
||||
}
|
||||
|
||||
export namespace GetUserResponse {
|
||||
export type AsObject = {
|
||||
user?: User.AsObject,
|
||||
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserRequest extends jspb.Message {
|
||||
hasUser(): boolean;
|
||||
clearUser(): void;
|
||||
getUser(): User | undefined;
|
||||
setUser(value?: User): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateUserRequest): UpdateUserRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateUserRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateUserRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateUserRequest, reader: jspb.BinaryReader): UpdateUserRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateUserRequest {
|
||||
export type AsObject = {
|
||||
user?: User.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeleteUserRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteUserRequest): DeleteUserRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DeleteUserRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DeleteUserRequest;
|
||||
static deserializeBinaryFromReader(message: DeleteUserRequest, reader: jspb.BinaryReader): DeleteUserRequest;
|
||||
}
|
||||
|
||||
export namespace DeleteUserRequest {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListUsersRequest extends jspb.Message {
|
||||
getLimit(): number;
|
||||
setLimit(value: number): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListUsersRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListUsersRequest): ListUsersRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListUsersRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListUsersRequest;
|
||||
static deserializeBinaryFromReader(message: ListUsersRequest, reader: jspb.BinaryReader): ListUsersRequest;
|
||||
}
|
||||
|
||||
export namespace ListUsersRequest {
|
||||
export type AsObject = {
|
||||
limit: number,
|
||||
offset: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class ListUsersResponse extends jspb.Message {
|
||||
getTotalCount(): number;
|
||||
setTotalCount(value: number): void;
|
||||
|
||||
clearResultList(): void;
|
||||
getResultList(): Array<UserListItem>;
|
||||
setResultList(value: Array<UserListItem>): void;
|
||||
addResult(value?: UserListItem, index?: number): UserListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListUsersResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListUsersResponse): ListUsersResponse.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ListUsersResponse, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ListUsersResponse;
|
||||
static deserializeBinaryFromReader(message: ListUsersResponse, reader: jspb.BinaryReader): ListUsersResponse;
|
||||
}
|
||||
|
||||
export namespace ListUsersResponse {
|
||||
export type AsObject = {
|
||||
totalCount: number,
|
||||
resultList: Array<UserListItem.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class UpdateUserPasswordRequest extends jspb.Message {
|
||||
getUserId(): string;
|
||||
setUserId(value: string): void;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateUserPasswordRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateUserPasswordRequest): UpdateUserPasswordRequest.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: UpdateUserPasswordRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): UpdateUserPasswordRequest;
|
||||
static deserializeBinaryFromReader(message: UpdateUserPasswordRequest, reader: jspb.BinaryReader): UpdateUserPasswordRequest;
|
||||
}
|
||||
|
||||
export namespace UpdateUserPasswordRequest {
|
||||
export type AsObject = {
|
||||
userId: string,
|
||||
password: string,
|
||||
}
|
||||
}
|
||||
|
2622
api/js/api/user_pb.js
vendored
2622
api/js/api/user_pb.js
vendored
File diff suppressed because it is too large
Load Diff
1
api/js/common/common_grpc_pb.d.ts
vendored
1
api/js/common/common_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
254
api/js/common/common_pb.d.ts
vendored
254
api/js/common/common_pb.d.ts
vendored
@ -1,254 +0,0 @@
|
||||
// package: common
|
||||
// file: common/common.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
||||
|
||||
export class Location extends jspb.Message {
|
||||
getLatitude(): number;
|
||||
setLatitude(value: number): void;
|
||||
|
||||
getLongitude(): number;
|
||||
setLongitude(value: number): void;
|
||||
|
||||
getAltitude(): number;
|
||||
setAltitude(value: number): void;
|
||||
|
||||
getSource(): LocationSourceMap[keyof LocationSourceMap];
|
||||
setSource(value: LocationSourceMap[keyof LocationSourceMap]): void;
|
||||
|
||||
getAccuracy(): number;
|
||||
setAccuracy(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Location.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Location): Location.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Location, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Location;
|
||||
static deserializeBinaryFromReader(message: Location, reader: jspb.BinaryReader): Location;
|
||||
}
|
||||
|
||||
export namespace Location {
|
||||
export type AsObject = {
|
||||
latitude: number,
|
||||
longitude: number,
|
||||
altitude: number,
|
||||
source: LocationSourceMap[keyof LocationSourceMap],
|
||||
accuracy: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class KeyEnvelope extends jspb.Message {
|
||||
getKekLabel(): string;
|
||||
setKekLabel(value: string): void;
|
||||
|
||||
getAesKey(): Uint8Array | string;
|
||||
getAesKey_asU8(): Uint8Array;
|
||||
getAesKey_asB64(): string;
|
||||
setAesKey(value: Uint8Array | string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): KeyEnvelope.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: KeyEnvelope): KeyEnvelope.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: KeyEnvelope, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): KeyEnvelope;
|
||||
static deserializeBinaryFromReader(message: KeyEnvelope, reader: jspb.BinaryReader): KeyEnvelope;
|
||||
}
|
||||
|
||||
export namespace KeyEnvelope {
|
||||
export type AsObject = {
|
||||
kekLabel: string,
|
||||
aesKey: Uint8Array | string,
|
||||
}
|
||||
}
|
||||
|
||||
export class Metric extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
clearTimestampsList(): void;
|
||||
getTimestampsList(): Array<google_protobuf_timestamp_pb.Timestamp>;
|
||||
setTimestampsList(value: Array<google_protobuf_timestamp_pb.Timestamp>): void;
|
||||
addTimestamps(value?: google_protobuf_timestamp_pb.Timestamp, index?: number): google_protobuf_timestamp_pb.Timestamp;
|
||||
|
||||
clearDatasetsList(): void;
|
||||
getDatasetsList(): Array<MetricDataset>;
|
||||
setDatasetsList(value: Array<MetricDataset>): void;
|
||||
addDatasets(value?: MetricDataset, index?: number): MetricDataset;
|
||||
|
||||
getKind(): MetricKindMap[keyof MetricKindMap];
|
||||
setKind(value: MetricKindMap[keyof MetricKindMap]): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Metric.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Metric): Metric.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Metric, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Metric;
|
||||
static deserializeBinaryFromReader(message: Metric, reader: jspb.BinaryReader): Metric;
|
||||
}
|
||||
|
||||
export namespace Metric {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
timestampsList: Array<google_protobuf_timestamp_pb.Timestamp.AsObject>,
|
||||
datasetsList: Array<MetricDataset.AsObject>,
|
||||
kind: MetricKindMap[keyof MetricKindMap],
|
||||
}
|
||||
}
|
||||
|
||||
export class MetricDataset extends jspb.Message {
|
||||
getLabel(): string;
|
||||
setLabel(value: string): void;
|
||||
|
||||
clearDataList(): void;
|
||||
getDataList(): Array<number>;
|
||||
setDataList(value: Array<number>): void;
|
||||
addData(value: number, index?: number): number;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MetricDataset.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MetricDataset): MetricDataset.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MetricDataset, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MetricDataset;
|
||||
static deserializeBinaryFromReader(message: MetricDataset, reader: jspb.BinaryReader): MetricDataset;
|
||||
}
|
||||
|
||||
export namespace MetricDataset {
|
||||
export type AsObject = {
|
||||
label: string,
|
||||
dataList: Array<number>,
|
||||
}
|
||||
}
|
||||
|
||||
export class JoinServerContext extends jspb.Message {
|
||||
getSessionKeyId(): string;
|
||||
setSessionKeyId(value: string): void;
|
||||
|
||||
hasAppSKey(): boolean;
|
||||
clearAppSKey(): void;
|
||||
getAppSKey(): KeyEnvelope | undefined;
|
||||
setAppSKey(value?: KeyEnvelope): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): JoinServerContext.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: JoinServerContext): JoinServerContext.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: JoinServerContext, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): JoinServerContext;
|
||||
static deserializeBinaryFromReader(message: JoinServerContext, reader: jspb.BinaryReader): JoinServerContext;
|
||||
}
|
||||
|
||||
export namespace JoinServerContext {
|
||||
export type AsObject = {
|
||||
sessionKeyId: string,
|
||||
appSKey?: KeyEnvelope.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export interface ModulationMap {
|
||||
LORA: 0;
|
||||
FSK: 1;
|
||||
LR_FHSS: 2;
|
||||
}
|
||||
|
||||
export const Modulation: ModulationMap;
|
||||
|
||||
export interface RegionMap {
|
||||
EU868: 0;
|
||||
US915: 2;
|
||||
CN779: 3;
|
||||
EU433: 4;
|
||||
AU915: 5;
|
||||
CN470: 6;
|
||||
AS923: 7;
|
||||
AS923_2: 12;
|
||||
AS923_3: 13;
|
||||
AS923_4: 14;
|
||||
KR920: 8;
|
||||
IN865: 9;
|
||||
RU864: 10;
|
||||
ISM2400: 11;
|
||||
}
|
||||
|
||||
export const Region: RegionMap;
|
||||
|
||||
export interface MTypeMap {
|
||||
JOIN_REQUEST: 0;
|
||||
JOIN_ACCEPT: 1;
|
||||
UNCONFIRMED_DATA_UP: 2;
|
||||
UNCONFIRMED_DATA_DOWN: 3;
|
||||
CONFIRMED_DATA_UP: 4;
|
||||
CONFIRMED_DATA_DOWN: 5;
|
||||
REJOIN_REQUEST: 6;
|
||||
PROPRIETARY: 7;
|
||||
}
|
||||
|
||||
export const MType: MTypeMap;
|
||||
|
||||
export interface MacVersionMap {
|
||||
LORAWAN_1_0_0: 0;
|
||||
LORAWAN_1_0_1: 1;
|
||||
LORAWAN_1_0_2: 2;
|
||||
LORAWAN_1_0_3: 3;
|
||||
LORAWAN_1_0_4: 4;
|
||||
LORAWAN_1_1_0: 5;
|
||||
}
|
||||
|
||||
export const MacVersion: MacVersionMap;
|
||||
|
||||
export interface RegParamsRevisionMap {
|
||||
A: 0;
|
||||
B: 1;
|
||||
RP002_1_0_0: 2;
|
||||
RP002_1_0_1: 3;
|
||||
RP002_1_0_2: 4;
|
||||
RP002_1_0_3: 5;
|
||||
}
|
||||
|
||||
export const RegParamsRevision: RegParamsRevisionMap;
|
||||
|
||||
export interface LocationSourceMap {
|
||||
UNKNOWN: 0;
|
||||
GPS: 1;
|
||||
CONFIG: 2;
|
||||
GEO_RESOLVER_TDOA: 3;
|
||||
GEO_RESOLVER_RSSI: 4;
|
||||
GEO_RESOLVER_GNSS: 5;
|
||||
GEO_RESOLVER_WIFI: 6;
|
||||
}
|
||||
|
||||
export const LocationSource: LocationSourceMap;
|
||||
|
||||
export interface AggregationMap {
|
||||
HOUR: 0;
|
||||
DAY: 1;
|
||||
MONTH: 2;
|
||||
}
|
||||
|
||||
export const Aggregation: AggregationMap;
|
||||
|
||||
export interface MetricKindMap {
|
||||
COUNTER: 0;
|
||||
ABSOLUTE: 1;
|
||||
GAUGE: 2;
|
||||
}
|
||||
|
||||
export const MetricKind: MetricKindMap;
|
||||
|
||||
export interface DeviceClassMap {
|
||||
CLASS_A: 0;
|
||||
CLASS_B: 1;
|
||||
CLASS_C: 2;
|
||||
}
|
||||
|
||||
export const DeviceClass: DeviceClassMap;
|
||||
|
1317
api/js/common/common_pb.js
vendored
1317
api/js/common/common_pb.js
vendored
File diff suppressed because it is too large
Load Diff
1
api/js/google/api/annotations_grpc_pb.d.ts
vendored
1
api/js/google/api/annotations_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
9
api/js/google/api/annotations_pb.d.ts
vendored
9
api/js/google/api/annotations_pb.d.ts
vendored
@ -1,9 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/annotations.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_api_http_pb from "../../google/api/http_pb";
|
||||
import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb";
|
||||
|
||||
export const http: jspb.ExtensionFieldInfo<google_api_http_pb.HttpRule>;
|
||||
|
45
api/js/google/api/annotations_pb.js
vendored
45
api/js/google/api/annotations_pb.js
vendored
@ -1,45 +0,0 @@
|
||||
// source: google/api/annotations.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
var google_api_http_pb = require('../../google/api/http_pb.js');
|
||||
goog.object.extend(proto, google_api_http_pb);
|
||||
var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
|
||||
goog.object.extend(proto, google_protobuf_descriptor_pb);
|
||||
goog.exportSymbol('proto.google.api.http', null, global);
|
||||
|
||||
/**
|
||||
* A tuple of {field number, class constructor} for the extension
|
||||
* field named `http`.
|
||||
* @type {!jspb.ExtensionFieldInfo<!proto.google.api.HttpRule>}
|
||||
*/
|
||||
proto.google.api.http = new jspb.ExtensionFieldInfo(
|
||||
72295728,
|
||||
{http: 0},
|
||||
google_api_http_pb.HttpRule,
|
||||
/** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
|
||||
google_api_http_pb.HttpRule.toObject),
|
||||
0);
|
||||
|
||||
google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo(
|
||||
proto.google.api.http,
|
||||
jspb.BinaryReader.prototype.readMessage,
|
||||
jspb.BinaryWriter.prototype.writeMessage,
|
||||
google_api_http_pb.HttpRule.serializeBinaryToWriter,
|
||||
google_api_http_pb.HttpRule.deserializeBinaryFromReader,
|
||||
false);
|
||||
// This registers the extension field with the extended class, so that
|
||||
// toObject() will function correctly.
|
||||
google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http;
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/auth_grpc_pb.d.ts
vendored
1
api/js/google/api/auth_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
201
api/js/google/api/auth_pb.d.ts
vendored
201
api/js/google/api/auth_pb.d.ts
vendored
@ -1,201 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/auth.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class Authentication extends jspb.Message {
|
||||
clearRulesList(): void;
|
||||
getRulesList(): Array<AuthenticationRule>;
|
||||
setRulesList(value: Array<AuthenticationRule>): void;
|
||||
addRules(value?: AuthenticationRule, index?: number): AuthenticationRule;
|
||||
|
||||
clearProvidersList(): void;
|
||||
getProvidersList(): Array<AuthProvider>;
|
||||
setProvidersList(value: Array<AuthProvider>): void;
|
||||
addProviders(value?: AuthProvider, index?: number): AuthProvider;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Authentication.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Authentication): Authentication.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Authentication, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Authentication;
|
||||
static deserializeBinaryFromReader(message: Authentication, reader: jspb.BinaryReader): Authentication;
|
||||
}
|
||||
|
||||
export namespace Authentication {
|
||||
export type AsObject = {
|
||||
rulesList: Array<AuthenticationRule.AsObject>,
|
||||
providersList: Array<AuthProvider.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class AuthenticationRule extends jspb.Message {
|
||||
getSelector(): string;
|
||||
setSelector(value: string): void;
|
||||
|
||||
hasOauth(): boolean;
|
||||
clearOauth(): void;
|
||||
getOauth(): OAuthRequirements | undefined;
|
||||
setOauth(value?: OAuthRequirements): void;
|
||||
|
||||
getAllowWithoutCredential(): boolean;
|
||||
setAllowWithoutCredential(value: boolean): void;
|
||||
|
||||
clearRequirementsList(): void;
|
||||
getRequirementsList(): Array<AuthRequirement>;
|
||||
setRequirementsList(value: Array<AuthRequirement>): void;
|
||||
addRequirements(value?: AuthRequirement, index?: number): AuthRequirement;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AuthenticationRule.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AuthenticationRule): AuthenticationRule.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: AuthenticationRule, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AuthenticationRule;
|
||||
static deserializeBinaryFromReader(message: AuthenticationRule, reader: jspb.BinaryReader): AuthenticationRule;
|
||||
}
|
||||
|
||||
export namespace AuthenticationRule {
|
||||
export type AsObject = {
|
||||
selector: string,
|
||||
oauth?: OAuthRequirements.AsObject,
|
||||
allowWithoutCredential: boolean,
|
||||
requirementsList: Array<AuthRequirement.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class JwtLocation extends jspb.Message {
|
||||
hasHeader(): boolean;
|
||||
clearHeader(): void;
|
||||
getHeader(): string;
|
||||
setHeader(value: string): void;
|
||||
|
||||
hasQuery(): boolean;
|
||||
clearQuery(): void;
|
||||
getQuery(): string;
|
||||
setQuery(value: string): void;
|
||||
|
||||
hasCookie(): boolean;
|
||||
clearCookie(): void;
|
||||
getCookie(): string;
|
||||
setCookie(value: string): void;
|
||||
|
||||
getValuePrefix(): string;
|
||||
setValuePrefix(value: string): void;
|
||||
|
||||
getInCase(): JwtLocation.InCase;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): JwtLocation.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: JwtLocation): JwtLocation.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: JwtLocation, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): JwtLocation;
|
||||
static deserializeBinaryFromReader(message: JwtLocation, reader: jspb.BinaryReader): JwtLocation;
|
||||
}
|
||||
|
||||
export namespace JwtLocation {
|
||||
export type AsObject = {
|
||||
header: string,
|
||||
query: string,
|
||||
cookie: string,
|
||||
valuePrefix: string,
|
||||
}
|
||||
|
||||
export enum InCase {
|
||||
IN_NOT_SET = 0,
|
||||
HEADER = 1,
|
||||
QUERY = 2,
|
||||
COOKIE = 4,
|
||||
}
|
||||
}
|
||||
|
||||
export class AuthProvider extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): void;
|
||||
|
||||
getIssuer(): string;
|
||||
setIssuer(value: string): void;
|
||||
|
||||
getJwksUri(): string;
|
||||
setJwksUri(value: string): void;
|
||||
|
||||
getAudiences(): string;
|
||||
setAudiences(value: string): void;
|
||||
|
||||
getAuthorizationUrl(): string;
|
||||
setAuthorizationUrl(value: string): void;
|
||||
|
||||
clearJwtLocationsList(): void;
|
||||
getJwtLocationsList(): Array<JwtLocation>;
|
||||
setJwtLocationsList(value: Array<JwtLocation>): void;
|
||||
addJwtLocations(value?: JwtLocation, index?: number): JwtLocation;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AuthProvider.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AuthProvider): AuthProvider.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: AuthProvider, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AuthProvider;
|
||||
static deserializeBinaryFromReader(message: AuthProvider, reader: jspb.BinaryReader): AuthProvider;
|
||||
}
|
||||
|
||||
export namespace AuthProvider {
|
||||
export type AsObject = {
|
||||
id: string,
|
||||
issuer: string,
|
||||
jwksUri: string,
|
||||
audiences: string,
|
||||
authorizationUrl: string,
|
||||
jwtLocationsList: Array<JwtLocation.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class OAuthRequirements extends jspb.Message {
|
||||
getCanonicalScopes(): string;
|
||||
setCanonicalScopes(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OAuthRequirements.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OAuthRequirements): OAuthRequirements.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: OAuthRequirements, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): OAuthRequirements;
|
||||
static deserializeBinaryFromReader(message: OAuthRequirements, reader: jspb.BinaryReader): OAuthRequirements;
|
||||
}
|
||||
|
||||
export namespace OAuthRequirements {
|
||||
export type AsObject = {
|
||||
canonicalScopes: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class AuthRequirement extends jspb.Message {
|
||||
getProviderId(): string;
|
||||
setProviderId(value: string): void;
|
||||
|
||||
getAudiences(): string;
|
||||
setAudiences(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AuthRequirement.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AuthRequirement): AuthRequirement.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: AuthRequirement, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): AuthRequirement;
|
||||
static deserializeBinaryFromReader(message: AuthRequirement, reader: jspb.BinaryReader): AuthRequirement;
|
||||
}
|
||||
|
||||
export namespace AuthRequirement {
|
||||
export type AsObject = {
|
||||
providerId: string,
|
||||
audiences: string,
|
||||
}
|
||||
}
|
||||
|
1533
api/js/google/api/auth_pb.js
vendored
1533
api/js/google/api/auth_pb.js
vendored
File diff suppressed because it is too large
Load Diff
1
api/js/google/api/backend_grpc_pb.d.ts
vendored
1
api/js/google/api/backend_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
101
api/js/google/api/backend_pb.d.ts
vendored
101
api/js/google/api/backend_pb.d.ts
vendored
@ -1,101 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/backend.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class Backend extends jspb.Message {
|
||||
clearRulesList(): void;
|
||||
getRulesList(): Array<BackendRule>;
|
||||
setRulesList(value: Array<BackendRule>): void;
|
||||
addRules(value?: BackendRule, index?: number): BackendRule;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Backend.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Backend): Backend.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Backend, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Backend;
|
||||
static deserializeBinaryFromReader(message: Backend, reader: jspb.BinaryReader): Backend;
|
||||
}
|
||||
|
||||
export namespace Backend {
|
||||
export type AsObject = {
|
||||
rulesList: Array<BackendRule.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class BackendRule extends jspb.Message {
|
||||
getSelector(): string;
|
||||
setSelector(value: string): void;
|
||||
|
||||
getAddress(): string;
|
||||
setAddress(value: string): void;
|
||||
|
||||
getDeadline(): number;
|
||||
setDeadline(value: number): void;
|
||||
|
||||
getMinDeadline(): number;
|
||||
setMinDeadline(value: number): void;
|
||||
|
||||
getOperationDeadline(): number;
|
||||
setOperationDeadline(value: number): void;
|
||||
|
||||
getPathTranslation(): BackendRule.PathTranslationMap[keyof BackendRule.PathTranslationMap];
|
||||
setPathTranslation(value: BackendRule.PathTranslationMap[keyof BackendRule.PathTranslationMap]): void;
|
||||
|
||||
hasJwtAudience(): boolean;
|
||||
clearJwtAudience(): void;
|
||||
getJwtAudience(): string;
|
||||
setJwtAudience(value: string): void;
|
||||
|
||||
hasDisableAuth(): boolean;
|
||||
clearDisableAuth(): void;
|
||||
getDisableAuth(): boolean;
|
||||
setDisableAuth(value: boolean): void;
|
||||
|
||||
getProtocol(): string;
|
||||
setProtocol(value: string): void;
|
||||
|
||||
getOverridesByRequestProtocolMap(): jspb.Map<string, BackendRule>;
|
||||
clearOverridesByRequestProtocolMap(): void;
|
||||
getAuthenticationCase(): BackendRule.AuthenticationCase;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BackendRule.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BackendRule): BackendRule.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BackendRule, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BackendRule;
|
||||
static deserializeBinaryFromReader(message: BackendRule, reader: jspb.BinaryReader): BackendRule;
|
||||
}
|
||||
|
||||
export namespace BackendRule {
|
||||
export type AsObject = {
|
||||
selector: string,
|
||||
address: string,
|
||||
deadline: number,
|
||||
minDeadline: number,
|
||||
operationDeadline: number,
|
||||
pathTranslation: BackendRule.PathTranslationMap[keyof BackendRule.PathTranslationMap],
|
||||
jwtAudience: string,
|
||||
disableAuth: boolean,
|
||||
protocol: string,
|
||||
overridesByRequestProtocolMap: Array<[string, BackendRule.AsObject]>,
|
||||
}
|
||||
|
||||
export interface PathTranslationMap {
|
||||
PATH_TRANSLATION_UNSPECIFIED: 0;
|
||||
CONSTANT_ADDRESS: 1;
|
||||
APPEND_PATH_TO_ADDRESS: 2;
|
||||
}
|
||||
|
||||
export const PathTranslation: PathTranslationMap;
|
||||
|
||||
export enum AuthenticationCase {
|
||||
AUTHENTICATION_NOT_SET = 0,
|
||||
JWT_AUDIENCE = 7,
|
||||
DISABLE_AUTH = 8,
|
||||
}
|
||||
}
|
||||
|
695
api/js/google/api/backend_pb.js
vendored
695
api/js/google/api/backend_pb.js
vendored
@ -1,695 +0,0 @@
|
||||
// source: google/api/backend.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
goog.exportSymbol('proto.google.api.Backend', null, global);
|
||||
goog.exportSymbol('proto.google.api.BackendRule', null, global);
|
||||
goog.exportSymbol('proto.google.api.BackendRule.AuthenticationCase', null, global);
|
||||
goog.exportSymbol('proto.google.api.BackendRule.PathTranslation', null, global);
|
||||
/**
|
||||
* 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.google.api.Backend = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Backend.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Backend, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Backend.displayName = 'proto.google.api.Backend';
|
||||
}
|
||||
/**
|
||||
* 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.google.api.BackendRule = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.google.api.BackendRule.oneofGroups_);
|
||||
};
|
||||
goog.inherits(proto.google.api.BackendRule, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.BackendRule.displayName = 'proto.google.api.BackendRule';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.Backend.repeatedFields_ = [1];
|
||||
|
||||
|
||||
|
||||
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_<name>, 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.google.api.Backend.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Backend.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.google.api.Backend} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Backend.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
rulesList: jspb.Message.toObjectList(msg.getRulesList(),
|
||||
proto.google.api.BackendRule.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.google.api.Backend}
|
||||
*/
|
||||
proto.google.api.Backend.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Backend;
|
||||
return proto.google.api.Backend.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Backend} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Backend}
|
||||
*/
|
||||
proto.google.api.Backend.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new proto.google.api.BackendRule;
|
||||
reader.readMessage(value,proto.google.api.BackendRule.deserializeBinaryFromReader);
|
||||
msg.addRules(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.Backend.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Backend.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.Backend} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Backend.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getRulesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
1,
|
||||
f,
|
||||
proto.google.api.BackendRule.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated BackendRule rules = 1;
|
||||
* @return {!Array<!proto.google.api.BackendRule>}
|
||||
*/
|
||||
proto.google.api.Backend.prototype.getRulesList = function() {
|
||||
return /** @type{!Array<!proto.google.api.BackendRule>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.BackendRule, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.BackendRule>} value
|
||||
* @return {!proto.google.api.Backend} returns this
|
||||
*/
|
||||
proto.google.api.Backend.prototype.setRulesList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.BackendRule=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.BackendRule}
|
||||
*/
|
||||
proto.google.api.Backend.prototype.addRules = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.BackendRule, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Backend} returns this
|
||||
*/
|
||||
proto.google.api.Backend.prototype.clearRulesList = function() {
|
||||
return this.setRulesList([]);
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Oneof group definitions for this message. Each group defines the field
|
||||
* numbers belonging to that group. When of these fields' value is set, all
|
||||
* other fields in the group are cleared. During deserialization, if multiple
|
||||
* fields are encountered for a group, only the last value seen will be kept.
|
||||
* @private {!Array<!Array<number>>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.BackendRule.oneofGroups_ = [[7,8]];
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.google.api.BackendRule.AuthenticationCase = {
|
||||
AUTHENTICATION_NOT_SET: 0,
|
||||
JWT_AUDIENCE: 7,
|
||||
DISABLE_AUTH: 8
|
||||
};
|
||||
|
||||
/**
|
||||
* @return {proto.google.api.BackendRule.AuthenticationCase}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getAuthenticationCase = function() {
|
||||
return /** @type {proto.google.api.BackendRule.AuthenticationCase} */(jspb.Message.computeOneofCase(this, proto.google.api.BackendRule.oneofGroups_[0]));
|
||||
};
|
||||
|
||||
|
||||
|
||||
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_<name>, 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.google.api.BackendRule.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.BackendRule.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.google.api.BackendRule} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.BackendRule.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
selector: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
address: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
deadline: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
||||
minDeadline: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
||||
operationDeadline: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
||||
pathTranslation: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
||||
jwtAudience: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||
disableAuth: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
||||
protocol: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
||||
overridesByRequestProtocolMap: (f = msg.getOverridesByRequestProtocolMap()) ? f.toObject(includeInstance, proto.google.api.BackendRule.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.google.api.BackendRule}
|
||||
*/
|
||||
proto.google.api.BackendRule.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.BackendRule;
|
||||
return proto.google.api.BackendRule.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.BackendRule} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.BackendRule}
|
||||
*/
|
||||
proto.google.api.BackendRule.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.setSelector(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setAddress(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {number} */ (reader.readDouble());
|
||||
msg.setDeadline(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {number} */ (reader.readDouble());
|
||||
msg.setMinDeadline(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {number} */ (reader.readDouble());
|
||||
msg.setOperationDeadline(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {!proto.google.api.BackendRule.PathTranslation} */ (reader.readEnum());
|
||||
msg.setPathTranslation(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setJwtAudience(value);
|
||||
break;
|
||||
case 8:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setDisableAuth(value);
|
||||
break;
|
||||
case 9:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setProtocol(value);
|
||||
break;
|
||||
case 10:
|
||||
var value = msg.getOverridesByRequestProtocolMap();
|
||||
reader.readMessage(value, function(message, reader) {
|
||||
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.api.BackendRule.deserializeBinaryFromReader, "", new proto.google.api.BackendRule());
|
||||
});
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.BackendRule.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.BackendRule} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.BackendRule.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getSelector();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAddress();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getDeadline();
|
||||
if (f !== 0.0) {
|
||||
writer.writeDouble(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getMinDeadline();
|
||||
if (f !== 0.0) {
|
||||
writer.writeDouble(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getOperationDeadline();
|
||||
if (f !== 0.0) {
|
||||
writer.writeDouble(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getPathTranslation();
|
||||
if (f !== 0.0) {
|
||||
writer.writeEnum(
|
||||
6,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
||||
if (f != null) {
|
||||
writer.writeString(
|
||||
7,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = /** @type {boolean} */ (jspb.Message.getField(message, 8));
|
||||
if (f != null) {
|
||||
writer.writeBool(
|
||||
8,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getProtocol();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
9,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getOverridesByRequestProtocolMap(true);
|
||||
if (f && f.getLength() > 0) {
|
||||
f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.api.BackendRule.serializeBinaryToWriter);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.google.api.BackendRule.PathTranslation = {
|
||||
PATH_TRANSLATION_UNSPECIFIED: 0,
|
||||
CONSTANT_ADDRESS: 1,
|
||||
APPEND_PATH_TO_ADDRESS: 2
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string selector = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getSelector = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.BackendRule} returns this
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.setSelector = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string address = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getAddress = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.BackendRule} returns this
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.setAddress = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional double deadline = 3;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getDeadline = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.google.api.BackendRule} returns this
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.setDeadline = function(value) {
|
||||
return jspb.Message.setProto3FloatField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional double min_deadline = 4;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getMinDeadline = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.google.api.BackendRule} returns this
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.setMinDeadline = function(value) {
|
||||
return jspb.Message.setProto3FloatField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional double operation_deadline = 5;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getOperationDeadline = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.google.api.BackendRule} returns this
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.setOperationDeadline = function(value) {
|
||||
return jspb.Message.setProto3FloatField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional PathTranslation path_translation = 6;
|
||||
* @return {!proto.google.api.BackendRule.PathTranslation}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getPathTranslation = function() {
|
||||
return /** @type {!proto.google.api.BackendRule.PathTranslation} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.BackendRule.PathTranslation} value
|
||||
* @return {!proto.google.api.BackendRule} returns this
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.setPathTranslation = function(value) {
|
||||
return jspb.Message.setProto3EnumField(this, 6, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string jwt_audience = 7;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getJwtAudience = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.BackendRule} returns this
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.setJwtAudience = function(value) {
|
||||
return jspb.Message.setOneofField(this, 7, proto.google.api.BackendRule.oneofGroups_[0], value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.google.api.BackendRule} returns this
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.clearJwtAudience = function() {
|
||||
return jspb.Message.setOneofField(this, 7, proto.google.api.BackendRule.oneofGroups_[0], undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.hasJwtAudience = function() {
|
||||
return jspb.Message.getField(this, 7) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool disable_auth = 8;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getDisableAuth = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.google.api.BackendRule} returns this
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.setDisableAuth = function(value) {
|
||||
return jspb.Message.setOneofField(this, 8, proto.google.api.BackendRule.oneofGroups_[0], value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the field making it undefined.
|
||||
* @return {!proto.google.api.BackendRule} returns this
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.clearDisableAuth = function() {
|
||||
return jspb.Message.setOneofField(this, 8, proto.google.api.BackendRule.oneofGroups_[0], undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.hasDisableAuth = function() {
|
||||
return jspb.Message.getField(this, 8) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string protocol = 9;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getProtocol = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.BackendRule} returns this
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.setProtocol = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 9, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* map<string, BackendRule> overrides_by_request_protocol = 10;
|
||||
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,!proto.google.api.BackendRule>}
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.getOverridesByRequestProtocolMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,!proto.google.api.BackendRule>} */ (
|
||||
jspb.Message.getMapField(this, 10, opt_noLazyCreate,
|
||||
proto.google.api.BackendRule));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears values from the map. The map will be non-null.
|
||||
* @return {!proto.google.api.BackendRule} returns this
|
||||
*/
|
||||
proto.google.api.BackendRule.prototype.clearOverridesByRequestProtocolMap = function() {
|
||||
this.getOverridesByRequestProtocolMap().clear();
|
||||
return this;};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/billing_grpc_pb.d.ts
vendored
1
api/js/google/api/billing_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
53
api/js/google/api/billing_pb.d.ts
vendored
53
api/js/google/api/billing_pb.d.ts
vendored
@ -1,53 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/billing.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class Billing extends jspb.Message {
|
||||
clearConsumerDestinationsList(): void;
|
||||
getConsumerDestinationsList(): Array<Billing.BillingDestination>;
|
||||
setConsumerDestinationsList(value: Array<Billing.BillingDestination>): void;
|
||||
addConsumerDestinations(value?: Billing.BillingDestination, index?: number): Billing.BillingDestination;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Billing.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Billing): Billing.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Billing, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Billing;
|
||||
static deserializeBinaryFromReader(message: Billing, reader: jspb.BinaryReader): Billing;
|
||||
}
|
||||
|
||||
export namespace Billing {
|
||||
export type AsObject = {
|
||||
consumerDestinationsList: Array<Billing.BillingDestination.AsObject>,
|
||||
}
|
||||
|
||||
export class BillingDestination extends jspb.Message {
|
||||
getMonitoredResource(): string;
|
||||
setMonitoredResource(value: string): void;
|
||||
|
||||
clearMetricsList(): void;
|
||||
getMetricsList(): Array<string>;
|
||||
setMetricsList(value: Array<string>): void;
|
||||
addMetrics(value: string, index?: number): string;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BillingDestination.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BillingDestination): BillingDestination.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BillingDestination, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BillingDestination;
|
||||
static deserializeBinaryFromReader(message: BillingDestination, reader: jspb.BinaryReader): BillingDestination;
|
||||
}
|
||||
|
||||
export namespace BillingDestination {
|
||||
export type AsObject = {
|
||||
monitoredResource: string,
|
||||
metricsList: Array<string>,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
405
api/js/google/api/billing_pb.js
vendored
405
api/js/google/api/billing_pb.js
vendored
@ -1,405 +0,0 @@
|
||||
// source: google/api/billing.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
goog.exportSymbol('proto.google.api.Billing', null, global);
|
||||
goog.exportSymbol('proto.google.api.Billing.BillingDestination', null, global);
|
||||
/**
|
||||
* 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.google.api.Billing = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Billing.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Billing, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Billing.displayName = 'proto.google.api.Billing';
|
||||
}
|
||||
/**
|
||||
* 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.google.api.Billing.BillingDestination = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Billing.BillingDestination.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Billing.BillingDestination, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.displayName = 'proto.google.api.Billing.BillingDestination';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.Billing.repeatedFields_ = [8];
|
||||
|
||||
|
||||
|
||||
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_<name>, 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.google.api.Billing.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Billing.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.google.api.Billing} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Billing.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
consumerDestinationsList: jspb.Message.toObjectList(msg.getConsumerDestinationsList(),
|
||||
proto.google.api.Billing.BillingDestination.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.google.api.Billing}
|
||||
*/
|
||||
proto.google.api.Billing.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Billing;
|
||||
return proto.google.api.Billing.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Billing} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Billing}
|
||||
*/
|
||||
proto.google.api.Billing.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 8:
|
||||
var value = new proto.google.api.Billing.BillingDestination;
|
||||
reader.readMessage(value,proto.google.api.Billing.BillingDestination.deserializeBinaryFromReader);
|
||||
msg.addConsumerDestinations(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.Billing.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Billing.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.Billing} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Billing.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getConsumerDestinationsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
8,
|
||||
f,
|
||||
proto.google.api.Billing.BillingDestination.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.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_<name>, 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.google.api.Billing.BillingDestination.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Billing.BillingDestination.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.google.api.Billing.BillingDestination} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
monitoredResource: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
metricsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : 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.google.api.Billing.BillingDestination}
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Billing.BillingDestination;
|
||||
return proto.google.api.Billing.BillingDestination.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Billing.BillingDestination} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Billing.BillingDestination}
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.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.setMonitoredResource(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.addMetrics(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Billing.BillingDestination.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.Billing.BillingDestination} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getMonitoredResource();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getMetricsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string monitored_resource = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.prototype.getMonitoredResource = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Billing.BillingDestination} returns this
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.prototype.setMonitoredResource = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated string metrics = 2;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.prototype.getMetricsList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.google.api.Billing.BillingDestination} returns this
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.prototype.setMetricsList = function(value) {
|
||||
return jspb.Message.setField(this, 2, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Billing.BillingDestination} returns this
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.prototype.addMetrics = function(value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Billing.BillingDestination} returns this
|
||||
*/
|
||||
proto.google.api.Billing.BillingDestination.prototype.clearMetricsList = function() {
|
||||
return this.setMetricsList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated BillingDestination consumer_destinations = 8;
|
||||
* @return {!Array<!proto.google.api.Billing.BillingDestination>}
|
||||
*/
|
||||
proto.google.api.Billing.prototype.getConsumerDestinationsList = function() {
|
||||
return /** @type{!Array<!proto.google.api.Billing.BillingDestination>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.Billing.BillingDestination, 8));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.Billing.BillingDestination>} value
|
||||
* @return {!proto.google.api.Billing} returns this
|
||||
*/
|
||||
proto.google.api.Billing.prototype.setConsumerDestinationsList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.Billing.BillingDestination=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Billing.BillingDestination}
|
||||
*/
|
||||
proto.google.api.Billing.prototype.addConsumerDestinations = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.google.api.Billing.BillingDestination, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Billing} returns this
|
||||
*/
|
||||
proto.google.api.Billing.prototype.clearConsumerDestinationsList = function() {
|
||||
return this.setConsumerDestinationsList([]);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/client_grpc_pb.d.ts
vendored
1
api/js/google/api/client_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
470
api/js/google/api/client_pb.d.ts
vendored
470
api/js/google/api/client_pb.d.ts
vendored
@ -1,470 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/client.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_api_launch_stage_pb from "../../google/api/launch_stage_pb";
|
||||
import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb";
|
||||
import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb";
|
||||
|
||||
export class CommonLanguageSettings extends jspb.Message {
|
||||
getReferenceDocsUri(): string;
|
||||
setReferenceDocsUri(value: string): void;
|
||||
|
||||
clearDestinationsList(): void;
|
||||
getDestinationsList(): Array<ClientLibraryDestinationMap[keyof ClientLibraryDestinationMap]>;
|
||||
setDestinationsList(value: Array<ClientLibraryDestinationMap[keyof ClientLibraryDestinationMap]>): void;
|
||||
addDestinations(value: ClientLibraryDestinationMap[keyof ClientLibraryDestinationMap], index?: number): ClientLibraryDestinationMap[keyof ClientLibraryDestinationMap];
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CommonLanguageSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CommonLanguageSettings): CommonLanguageSettings.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CommonLanguageSettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CommonLanguageSettings;
|
||||
static deserializeBinaryFromReader(message: CommonLanguageSettings, reader: jspb.BinaryReader): CommonLanguageSettings;
|
||||
}
|
||||
|
||||
export namespace CommonLanguageSettings {
|
||||
export type AsObject = {
|
||||
referenceDocsUri: string,
|
||||
destinationsList: Array<ClientLibraryDestinationMap[keyof ClientLibraryDestinationMap]>,
|
||||
}
|
||||
}
|
||||
|
||||
export class ClientLibrarySettings extends jspb.Message {
|
||||
getVersion(): string;
|
||||
setVersion(value: string): void;
|
||||
|
||||
getLaunchStage(): google_api_launch_stage_pb.LaunchStageMap[keyof google_api_launch_stage_pb.LaunchStageMap];
|
||||
setLaunchStage(value: google_api_launch_stage_pb.LaunchStageMap[keyof google_api_launch_stage_pb.LaunchStageMap]): void;
|
||||
|
||||
getRestNumericEnums(): boolean;
|
||||
setRestNumericEnums(value: boolean): void;
|
||||
|
||||
hasJavaSettings(): boolean;
|
||||
clearJavaSettings(): void;
|
||||
getJavaSettings(): JavaSettings | undefined;
|
||||
setJavaSettings(value?: JavaSettings): void;
|
||||
|
||||
hasCppSettings(): boolean;
|
||||
clearCppSettings(): void;
|
||||
getCppSettings(): CppSettings | undefined;
|
||||
setCppSettings(value?: CppSettings): void;
|
||||
|
||||
hasPhpSettings(): boolean;
|
||||
clearPhpSettings(): void;
|
||||
getPhpSettings(): PhpSettings | undefined;
|
||||
setPhpSettings(value?: PhpSettings): void;
|
||||
|
||||
hasPythonSettings(): boolean;
|
||||
clearPythonSettings(): void;
|
||||
getPythonSettings(): PythonSettings | undefined;
|
||||
setPythonSettings(value?: PythonSettings): void;
|
||||
|
||||
hasNodeSettings(): boolean;
|
||||
clearNodeSettings(): void;
|
||||
getNodeSettings(): NodeSettings | undefined;
|
||||
setNodeSettings(value?: NodeSettings): void;
|
||||
|
||||
hasDotnetSettings(): boolean;
|
||||
clearDotnetSettings(): void;
|
||||
getDotnetSettings(): DotnetSettings | undefined;
|
||||
setDotnetSettings(value?: DotnetSettings): void;
|
||||
|
||||
hasRubySettings(): boolean;
|
||||
clearRubySettings(): void;
|
||||
getRubySettings(): RubySettings | undefined;
|
||||
setRubySettings(value?: RubySettings): void;
|
||||
|
||||
hasGoSettings(): boolean;
|
||||
clearGoSettings(): void;
|
||||
getGoSettings(): GoSettings | undefined;
|
||||
setGoSettings(value?: GoSettings): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ClientLibrarySettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ClientLibrarySettings): ClientLibrarySettings.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ClientLibrarySettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ClientLibrarySettings;
|
||||
static deserializeBinaryFromReader(message: ClientLibrarySettings, reader: jspb.BinaryReader): ClientLibrarySettings;
|
||||
}
|
||||
|
||||
export namespace ClientLibrarySettings {
|
||||
export type AsObject = {
|
||||
version: string,
|
||||
launchStage: google_api_launch_stage_pb.LaunchStageMap[keyof google_api_launch_stage_pb.LaunchStageMap],
|
||||
restNumericEnums: boolean,
|
||||
javaSettings?: JavaSettings.AsObject,
|
||||
cppSettings?: CppSettings.AsObject,
|
||||
phpSettings?: PhpSettings.AsObject,
|
||||
pythonSettings?: PythonSettings.AsObject,
|
||||
nodeSettings?: NodeSettings.AsObject,
|
||||
dotnetSettings?: DotnetSettings.AsObject,
|
||||
rubySettings?: RubySettings.AsObject,
|
||||
goSettings?: GoSettings.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class Publishing extends jspb.Message {
|
||||
clearMethodSettingsList(): void;
|
||||
getMethodSettingsList(): Array<MethodSettings>;
|
||||
setMethodSettingsList(value: Array<MethodSettings>): void;
|
||||
addMethodSettings(value?: MethodSettings, index?: number): MethodSettings;
|
||||
|
||||
getNewIssueUri(): string;
|
||||
setNewIssueUri(value: string): void;
|
||||
|
||||
getDocumentationUri(): string;
|
||||
setDocumentationUri(value: string): void;
|
||||
|
||||
getApiShortName(): string;
|
||||
setApiShortName(value: string): void;
|
||||
|
||||
getGithubLabel(): string;
|
||||
setGithubLabel(value: string): void;
|
||||
|
||||
clearCodeownerGithubTeamsList(): void;
|
||||
getCodeownerGithubTeamsList(): Array<string>;
|
||||
setCodeownerGithubTeamsList(value: Array<string>): void;
|
||||
addCodeownerGithubTeams(value: string, index?: number): string;
|
||||
|
||||
getDocTagPrefix(): string;
|
||||
setDocTagPrefix(value: string): void;
|
||||
|
||||
getOrganization(): ClientLibraryOrganizationMap[keyof ClientLibraryOrganizationMap];
|
||||
setOrganization(value: ClientLibraryOrganizationMap[keyof ClientLibraryOrganizationMap]): void;
|
||||
|
||||
clearLibrarySettingsList(): void;
|
||||
getLibrarySettingsList(): Array<ClientLibrarySettings>;
|
||||
setLibrarySettingsList(value: Array<ClientLibrarySettings>): void;
|
||||
addLibrarySettings(value?: ClientLibrarySettings, index?: number): ClientLibrarySettings;
|
||||
|
||||
getProtoReferenceDocumentationUri(): string;
|
||||
setProtoReferenceDocumentationUri(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Publishing.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Publishing): Publishing.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Publishing, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Publishing;
|
||||
static deserializeBinaryFromReader(message: Publishing, reader: jspb.BinaryReader): Publishing;
|
||||
}
|
||||
|
||||
export namespace Publishing {
|
||||
export type AsObject = {
|
||||
methodSettingsList: Array<MethodSettings.AsObject>,
|
||||
newIssueUri: string,
|
||||
documentationUri: string,
|
||||
apiShortName: string,
|
||||
githubLabel: string,
|
||||
codeownerGithubTeamsList: Array<string>,
|
||||
docTagPrefix: string,
|
||||
organization: ClientLibraryOrganizationMap[keyof ClientLibraryOrganizationMap],
|
||||
librarySettingsList: Array<ClientLibrarySettings.AsObject>,
|
||||
protoReferenceDocumentationUri: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class JavaSettings extends jspb.Message {
|
||||
getLibraryPackage(): string;
|
||||
setLibraryPackage(value: string): void;
|
||||
|
||||
getServiceClassNamesMap(): jspb.Map<string, string>;
|
||||
clearServiceClassNamesMap(): void;
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): void;
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): JavaSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: JavaSettings): JavaSettings.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: JavaSettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): JavaSettings;
|
||||
static deserializeBinaryFromReader(message: JavaSettings, reader: jspb.BinaryReader): JavaSettings;
|
||||
}
|
||||
|
||||
export namespace JavaSettings {
|
||||
export type AsObject = {
|
||||
libraryPackage: string,
|
||||
serviceClassNamesMap: Array<[string, string]>,
|
||||
common?: CommonLanguageSettings.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class CppSettings extends jspb.Message {
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): void;
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CppSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CppSettings): CppSettings.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CppSettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CppSettings;
|
||||
static deserializeBinaryFromReader(message: CppSettings, reader: jspb.BinaryReader): CppSettings;
|
||||
}
|
||||
|
||||
export namespace CppSettings {
|
||||
export type AsObject = {
|
||||
common?: CommonLanguageSettings.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class PhpSettings extends jspb.Message {
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): void;
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PhpSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PhpSettings): PhpSettings.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PhpSettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PhpSettings;
|
||||
static deserializeBinaryFromReader(message: PhpSettings, reader: jspb.BinaryReader): PhpSettings;
|
||||
}
|
||||
|
||||
export namespace PhpSettings {
|
||||
export type AsObject = {
|
||||
common?: CommonLanguageSettings.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class PythonSettings extends jspb.Message {
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): void;
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PythonSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PythonSettings): PythonSettings.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: PythonSettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): PythonSettings;
|
||||
static deserializeBinaryFromReader(message: PythonSettings, reader: jspb.BinaryReader): PythonSettings;
|
||||
}
|
||||
|
||||
export namespace PythonSettings {
|
||||
export type AsObject = {
|
||||
common?: CommonLanguageSettings.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class NodeSettings extends jspb.Message {
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): void;
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): NodeSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: NodeSettings): NodeSettings.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: NodeSettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): NodeSettings;
|
||||
static deserializeBinaryFromReader(message: NodeSettings, reader: jspb.BinaryReader): NodeSettings;
|
||||
}
|
||||
|
||||
export namespace NodeSettings {
|
||||
export type AsObject = {
|
||||
common?: CommonLanguageSettings.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class DotnetSettings extends jspb.Message {
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): void;
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): void;
|
||||
|
||||
getRenamedServicesMap(): jspb.Map<string, string>;
|
||||
clearRenamedServicesMap(): void;
|
||||
getRenamedResourcesMap(): jspb.Map<string, string>;
|
||||
clearRenamedResourcesMap(): void;
|
||||
clearIgnoredResourcesList(): void;
|
||||
getIgnoredResourcesList(): Array<string>;
|
||||
setIgnoredResourcesList(value: Array<string>): void;
|
||||
addIgnoredResources(value: string, index?: number): string;
|
||||
|
||||
clearForcedNamespaceAliasesList(): void;
|
||||
getForcedNamespaceAliasesList(): Array<string>;
|
||||
setForcedNamespaceAliasesList(value: Array<string>): void;
|
||||
addForcedNamespaceAliases(value: string, index?: number): string;
|
||||
|
||||
clearHandwrittenSignaturesList(): void;
|
||||
getHandwrittenSignaturesList(): Array<string>;
|
||||
setHandwrittenSignaturesList(value: Array<string>): void;
|
||||
addHandwrittenSignatures(value: string, index?: number): string;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DotnetSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DotnetSettings): DotnetSettings.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DotnetSettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DotnetSettings;
|
||||
static deserializeBinaryFromReader(message: DotnetSettings, reader: jspb.BinaryReader): DotnetSettings;
|
||||
}
|
||||
|
||||
export namespace DotnetSettings {
|
||||
export type AsObject = {
|
||||
common?: CommonLanguageSettings.AsObject,
|
||||
renamedServicesMap: Array<[string, string]>,
|
||||
renamedResourcesMap: Array<[string, string]>,
|
||||
ignoredResourcesList: Array<string>,
|
||||
forcedNamespaceAliasesList: Array<string>,
|
||||
handwrittenSignaturesList: Array<string>,
|
||||
}
|
||||
}
|
||||
|
||||
export class RubySettings extends jspb.Message {
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): void;
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RubySettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RubySettings): RubySettings.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: RubySettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RubySettings;
|
||||
static deserializeBinaryFromReader(message: RubySettings, reader: jspb.BinaryReader): RubySettings;
|
||||
}
|
||||
|
||||
export namespace RubySettings {
|
||||
export type AsObject = {
|
||||
common?: CommonLanguageSettings.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class GoSettings extends jspb.Message {
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): void;
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GoSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GoSettings): GoSettings.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: GoSettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GoSettings;
|
||||
static deserializeBinaryFromReader(message: GoSettings, reader: jspb.BinaryReader): GoSettings;
|
||||
}
|
||||
|
||||
export namespace GoSettings {
|
||||
export type AsObject = {
|
||||
common?: CommonLanguageSettings.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class MethodSettings extends jspb.Message {
|
||||
getSelector(): string;
|
||||
setSelector(value: string): void;
|
||||
|
||||
hasLongRunning(): boolean;
|
||||
clearLongRunning(): void;
|
||||
getLongRunning(): MethodSettings.LongRunning | undefined;
|
||||
setLongRunning(value?: MethodSettings.LongRunning): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MethodSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MethodSettings): MethodSettings.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: MethodSettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MethodSettings;
|
||||
static deserializeBinaryFromReader(message: MethodSettings, reader: jspb.BinaryReader): MethodSettings;
|
||||
}
|
||||
|
||||
export namespace MethodSettings {
|
||||
export type AsObject = {
|
||||
selector: string,
|
||||
longRunning?: MethodSettings.LongRunning.AsObject,
|
||||
}
|
||||
|
||||
export class LongRunning extends jspb.Message {
|
||||
hasInitialPollDelay(): boolean;
|
||||
clearInitialPollDelay(): void;
|
||||
getInitialPollDelay(): google_protobuf_duration_pb.Duration | undefined;
|
||||
setInitialPollDelay(value?: google_protobuf_duration_pb.Duration): void;
|
||||
|
||||
getPollDelayMultiplier(): number;
|
||||
setPollDelayMultiplier(value: number): void;
|
||||
|
||||
hasMaxPollDelay(): boolean;
|
||||
clearMaxPollDelay(): void;
|
||||
getMaxPollDelay(): google_protobuf_duration_pb.Duration | undefined;
|
||||
setMaxPollDelay(value?: google_protobuf_duration_pb.Duration): void;
|
||||
|
||||
hasTotalPollTimeout(): boolean;
|
||||
clearTotalPollTimeout(): void;
|
||||
getTotalPollTimeout(): google_protobuf_duration_pb.Duration | undefined;
|
||||
setTotalPollTimeout(value?: google_protobuf_duration_pb.Duration): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LongRunning.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LongRunning): LongRunning.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LongRunning, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LongRunning;
|
||||
static deserializeBinaryFromReader(message: LongRunning, reader: jspb.BinaryReader): LongRunning;
|
||||
}
|
||||
|
||||
export namespace LongRunning {
|
||||
export type AsObject = {
|
||||
initialPollDelay?: google_protobuf_duration_pb.Duration.AsObject,
|
||||
pollDelayMultiplier: number,
|
||||
maxPollDelay?: google_protobuf_duration_pb.Duration.AsObject,
|
||||
totalPollTimeout?: google_protobuf_duration_pb.Duration.AsObject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const methodSignature: jspb.ExtensionFieldInfo<string>;
|
||||
|
||||
export const defaultHost: jspb.ExtensionFieldInfo<string>;
|
||||
|
||||
export const oauthScopes: jspb.ExtensionFieldInfo<string>;
|
||||
|
||||
export interface ClientLibraryOrganizationMap {
|
||||
CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED: 0;
|
||||
CLOUD: 1;
|
||||
ADS: 2;
|
||||
PHOTOS: 3;
|
||||
STREET_VIEW: 4;
|
||||
SHOPPING: 5;
|
||||
GEO: 6;
|
||||
GENERATIVE_AI: 7;
|
||||
}
|
||||
|
||||
export const ClientLibraryOrganization: ClientLibraryOrganizationMap;
|
||||
|
||||
export interface ClientLibraryDestinationMap {
|
||||
CLIENT_LIBRARY_DESTINATION_UNSPECIFIED: 0;
|
||||
GITHUB: 10;
|
||||
PACKAGE_MANAGER: 20;
|
||||
}
|
||||
|
||||
export const ClientLibraryDestination: ClientLibraryDestinationMap;
|
||||
|
3621
api/js/google/api/client_pb.js
vendored
3621
api/js/google/api/client_pb.js
vendored
File diff suppressed because it is too large
Load Diff
1
api/js/google/api/config_change_grpc_pb.d.ts
vendored
1
api/js/google/api/config_change_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
72
api/js/google/api/config_change_pb.d.ts
vendored
72
api/js/google/api/config_change_pb.d.ts
vendored
@ -1,72 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/config_change.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class ConfigChange extends jspb.Message {
|
||||
getElement(): string;
|
||||
setElement(value: string): void;
|
||||
|
||||
getOldValue(): string;
|
||||
setOldValue(value: string): void;
|
||||
|
||||
getNewValue(): string;
|
||||
setNewValue(value: string): void;
|
||||
|
||||
getChangeType(): ChangeTypeMap[keyof ChangeTypeMap];
|
||||
setChangeType(value: ChangeTypeMap[keyof ChangeTypeMap]): void;
|
||||
|
||||
clearAdvicesList(): void;
|
||||
getAdvicesList(): Array<Advice>;
|
||||
setAdvicesList(value: Array<Advice>): void;
|
||||
addAdvices(value?: Advice, index?: number): Advice;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ConfigChange.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ConfigChange): ConfigChange.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ConfigChange, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ConfigChange;
|
||||
static deserializeBinaryFromReader(message: ConfigChange, reader: jspb.BinaryReader): ConfigChange;
|
||||
}
|
||||
|
||||
export namespace ConfigChange {
|
||||
export type AsObject = {
|
||||
element: string,
|
||||
oldValue: string,
|
||||
newValue: string,
|
||||
changeType: ChangeTypeMap[keyof ChangeTypeMap],
|
||||
advicesList: Array<Advice.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class Advice extends jspb.Message {
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Advice.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Advice): Advice.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Advice, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Advice;
|
||||
static deserializeBinaryFromReader(message: Advice, reader: jspb.BinaryReader): Advice;
|
||||
}
|
||||
|
||||
export namespace Advice {
|
||||
export type AsObject = {
|
||||
description: string,
|
||||
}
|
||||
}
|
||||
|
||||
export interface ChangeTypeMap {
|
||||
CHANGE_TYPE_UNSPECIFIED: 0;
|
||||
ADDED: 1;
|
||||
REMOVED: 2;
|
||||
MODIFIED: 3;
|
||||
}
|
||||
|
||||
export const ChangeType: ChangeTypeMap;
|
||||
|
480
api/js/google/api/config_change_pb.js
vendored
480
api/js/google/api/config_change_pb.js
vendored
@ -1,480 +0,0 @@
|
||||
// source: google/api/config_change.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
goog.exportSymbol('proto.google.api.Advice', null, global);
|
||||
goog.exportSymbol('proto.google.api.ChangeType', null, global);
|
||||
goog.exportSymbol('proto.google.api.ConfigChange', null, global);
|
||||
/**
|
||||
* 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.google.api.ConfigChange = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.ConfigChange.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.ConfigChange, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.ConfigChange.displayName = 'proto.google.api.ConfigChange';
|
||||
}
|
||||
/**
|
||||
* 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.google.api.Advice = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Advice, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Advice.displayName = 'proto.google.api.Advice';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.ConfigChange.repeatedFields_ = [5];
|
||||
|
||||
|
||||
|
||||
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_<name>, 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.google.api.ConfigChange.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.ConfigChange.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.google.api.ConfigChange} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.ConfigChange.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
element: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
oldValue: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
newValue: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
changeType: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
||||
advicesList: jspb.Message.toObjectList(msg.getAdvicesList(),
|
||||
proto.google.api.Advice.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.google.api.ConfigChange}
|
||||
*/
|
||||
proto.google.api.ConfigChange.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.ConfigChange;
|
||||
return proto.google.api.ConfigChange.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.ConfigChange} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.ConfigChange}
|
||||
*/
|
||||
proto.google.api.ConfigChange.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.setElement(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setOldValue(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setNewValue(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {!proto.google.api.ChangeType} */ (reader.readEnum());
|
||||
msg.setChangeType(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = new proto.google.api.Advice;
|
||||
reader.readMessage(value,proto.google.api.Advice.deserializeBinaryFromReader);
|
||||
msg.addAdvices(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.ConfigChange.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.ConfigChange} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.ConfigChange.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getElement();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getOldValue();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getNewValue();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getChangeType();
|
||||
if (f !== 0.0) {
|
||||
writer.writeEnum(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAdvicesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
5,
|
||||
f,
|
||||
proto.google.api.Advice.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string element = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.getElement = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.ConfigChange} returns this
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.setElement = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string old_value = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.getOldValue = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.ConfigChange} returns this
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.setOldValue = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string new_value = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.getNewValue = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.ConfigChange} returns this
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.setNewValue = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional ChangeType change_type = 4;
|
||||
* @return {!proto.google.api.ChangeType}
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.getChangeType = function() {
|
||||
return /** @type {!proto.google.api.ChangeType} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.ChangeType} value
|
||||
* @return {!proto.google.api.ConfigChange} returns this
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.setChangeType = function(value) {
|
||||
return jspb.Message.setProto3EnumField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated Advice advices = 5;
|
||||
* @return {!Array<!proto.google.api.Advice>}
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.getAdvicesList = function() {
|
||||
return /** @type{!Array<!proto.google.api.Advice>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.Advice, 5));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.Advice>} value
|
||||
* @return {!proto.google.api.ConfigChange} returns this
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.setAdvicesList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.Advice=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Advice}
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.addAdvices = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.google.api.Advice, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.ConfigChange} returns this
|
||||
*/
|
||||
proto.google.api.ConfigChange.prototype.clearAdvicesList = function() {
|
||||
return this.setAdvicesList([]);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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_<name>, 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.google.api.Advice.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Advice.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.google.api.Advice} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Advice.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
description: jspb.Message.getFieldWithDefault(msg, 2, "")
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.google.api.Advice}
|
||||
*/
|
||||
proto.google.api.Advice.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Advice;
|
||||
return proto.google.api.Advice.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Advice} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Advice}
|
||||
*/
|
||||
proto.google.api.Advice.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDescription(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.Advice.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Advice.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.Advice} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Advice.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getDescription();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string description = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Advice.prototype.getDescription = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Advice} returns this
|
||||
*/
|
||||
proto.google.api.Advice.prototype.setDescription = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.google.api.ChangeType = {
|
||||
CHANGE_TYPE_UNSPECIFIED: 0,
|
||||
ADDED: 1,
|
||||
REMOVED: 2,
|
||||
MODIFIED: 3
|
||||
};
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/consumer_grpc_pb.d.ts
vendored
1
api/js/google/api/consumer_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
65
api/js/google/api/consumer_pb.d.ts
vendored
65
api/js/google/api/consumer_pb.d.ts
vendored
@ -1,65 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/consumer.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class ProjectProperties extends jspb.Message {
|
||||
clearPropertiesList(): void;
|
||||
getPropertiesList(): Array<Property>;
|
||||
setPropertiesList(value: Array<Property>): void;
|
||||
addProperties(value?: Property, index?: number): Property;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ProjectProperties.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ProjectProperties): ProjectProperties.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ProjectProperties, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ProjectProperties;
|
||||
static deserializeBinaryFromReader(message: ProjectProperties, reader: jspb.BinaryReader): ProjectProperties;
|
||||
}
|
||||
|
||||
export namespace ProjectProperties {
|
||||
export type AsObject = {
|
||||
propertiesList: Array<Property.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class Property extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getType(): Property.PropertyTypeMap[keyof Property.PropertyTypeMap];
|
||||
setType(value: Property.PropertyTypeMap[keyof Property.PropertyTypeMap]): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Property.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Property): Property.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Property, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Property;
|
||||
static deserializeBinaryFromReader(message: Property, reader: jspb.BinaryReader): Property;
|
||||
}
|
||||
|
||||
export namespace Property {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
type: Property.PropertyTypeMap[keyof Property.PropertyTypeMap],
|
||||
description: string,
|
||||
}
|
||||
|
||||
export interface PropertyTypeMap {
|
||||
UNSPECIFIED: 0;
|
||||
INT64: 1;
|
||||
BOOL: 2;
|
||||
STRING: 3;
|
||||
DOUBLE: 4;
|
||||
}
|
||||
|
||||
export const PropertyType: PropertyTypeMap;
|
||||
}
|
||||
|
421
api/js/google/api/consumer_pb.js
vendored
421
api/js/google/api/consumer_pb.js
vendored
@ -1,421 +0,0 @@
|
||||
// source: google/api/consumer.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
goog.exportSymbol('proto.google.api.ProjectProperties', null, global);
|
||||
goog.exportSymbol('proto.google.api.Property', null, global);
|
||||
goog.exportSymbol('proto.google.api.Property.PropertyType', null, global);
|
||||
/**
|
||||
* 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.google.api.ProjectProperties = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.ProjectProperties.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.ProjectProperties, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.ProjectProperties.displayName = 'proto.google.api.ProjectProperties';
|
||||
}
|
||||
/**
|
||||
* 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.google.api.Property = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Property, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Property.displayName = 'proto.google.api.Property';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.ProjectProperties.repeatedFields_ = [1];
|
||||
|
||||
|
||||
|
||||
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_<name>, 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.google.api.ProjectProperties.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.ProjectProperties.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.google.api.ProjectProperties} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.ProjectProperties.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
propertiesList: jspb.Message.toObjectList(msg.getPropertiesList(),
|
||||
proto.google.api.Property.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.google.api.ProjectProperties}
|
||||
*/
|
||||
proto.google.api.ProjectProperties.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.ProjectProperties;
|
||||
return proto.google.api.ProjectProperties.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.ProjectProperties} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.ProjectProperties}
|
||||
*/
|
||||
proto.google.api.ProjectProperties.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new proto.google.api.Property;
|
||||
reader.readMessage(value,proto.google.api.Property.deserializeBinaryFromReader);
|
||||
msg.addProperties(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.ProjectProperties.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.ProjectProperties.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.ProjectProperties} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.ProjectProperties.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getPropertiesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
1,
|
||||
f,
|
||||
proto.google.api.Property.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated Property properties = 1;
|
||||
* @return {!Array<!proto.google.api.Property>}
|
||||
*/
|
||||
proto.google.api.ProjectProperties.prototype.getPropertiesList = function() {
|
||||
return /** @type{!Array<!proto.google.api.Property>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.Property, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.Property>} value
|
||||
* @return {!proto.google.api.ProjectProperties} returns this
|
||||
*/
|
||||
proto.google.api.ProjectProperties.prototype.setPropertiesList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.Property=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Property}
|
||||
*/
|
||||
proto.google.api.ProjectProperties.prototype.addProperties = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.Property, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.ProjectProperties} returns this
|
||||
*/
|
||||
proto.google.api.ProjectProperties.prototype.clearPropertiesList = function() {
|
||||
return this.setPropertiesList([]);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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_<name>, 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.google.api.Property.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Property.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.google.api.Property} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Property.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
type: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
||||
description: 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.google.api.Property}
|
||||
*/
|
||||
proto.google.api.Property.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Property;
|
||||
return proto.google.api.Property.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Property} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Property}
|
||||
*/
|
||||
proto.google.api.Property.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.setName(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {!proto.google.api.Property.PropertyType} */ (reader.readEnum());
|
||||
msg.setType(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDescription(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.Property.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Property.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.Property} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Property.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getType();
|
||||
if (f !== 0.0) {
|
||||
writer.writeEnum(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getDescription();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.google.api.Property.PropertyType = {
|
||||
UNSPECIFIED: 0,
|
||||
INT64: 1,
|
||||
BOOL: 2,
|
||||
STRING: 3,
|
||||
DOUBLE: 4
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string name = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Property.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Property} returns this
|
||||
*/
|
||||
proto.google.api.Property.prototype.setName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional PropertyType type = 2;
|
||||
* @return {!proto.google.api.Property.PropertyType}
|
||||
*/
|
||||
proto.google.api.Property.prototype.getType = function() {
|
||||
return /** @type {!proto.google.api.Property.PropertyType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.Property.PropertyType} value
|
||||
* @return {!proto.google.api.Property} returns this
|
||||
*/
|
||||
proto.google.api.Property.prototype.setType = function(value) {
|
||||
return jspb.Message.setProto3EnumField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string description = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Property.prototype.getDescription = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Property} returns this
|
||||
*/
|
||||
proto.google.api.Property.prototype.setDescription = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/context_grpc_pb.d.ts
vendored
1
api/js/google/api/context_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
71
api/js/google/api/context_pb.d.ts
vendored
71
api/js/google/api/context_pb.d.ts
vendored
@ -1,71 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/context.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class Context extends jspb.Message {
|
||||
clearRulesList(): void;
|
||||
getRulesList(): Array<ContextRule>;
|
||||
setRulesList(value: Array<ContextRule>): void;
|
||||
addRules(value?: ContextRule, index?: number): ContextRule;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Context.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Context): Context.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Context, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Context;
|
||||
static deserializeBinaryFromReader(message: Context, reader: jspb.BinaryReader): Context;
|
||||
}
|
||||
|
||||
export namespace Context {
|
||||
export type AsObject = {
|
||||
rulesList: Array<ContextRule.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class ContextRule extends jspb.Message {
|
||||
getSelector(): string;
|
||||
setSelector(value: string): void;
|
||||
|
||||
clearRequestedList(): void;
|
||||
getRequestedList(): Array<string>;
|
||||
setRequestedList(value: Array<string>): void;
|
||||
addRequested(value: string, index?: number): string;
|
||||
|
||||
clearProvidedList(): void;
|
||||
getProvidedList(): Array<string>;
|
||||
setProvidedList(value: Array<string>): void;
|
||||
addProvided(value: string, index?: number): string;
|
||||
|
||||
clearAllowedRequestExtensionsList(): void;
|
||||
getAllowedRequestExtensionsList(): Array<string>;
|
||||
setAllowedRequestExtensionsList(value: Array<string>): void;
|
||||
addAllowedRequestExtensions(value: string, index?: number): string;
|
||||
|
||||
clearAllowedResponseExtensionsList(): void;
|
||||
getAllowedResponseExtensionsList(): Array<string>;
|
||||
setAllowedResponseExtensionsList(value: Array<string>): void;
|
||||
addAllowedResponseExtensions(value: string, index?: number): string;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ContextRule.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ContextRule): ContextRule.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: ContextRule, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ContextRule;
|
||||
static deserializeBinaryFromReader(message: ContextRule, reader: jspb.BinaryReader): ContextRule;
|
||||
}
|
||||
|
||||
export namespace ContextRule {
|
||||
export type AsObject = {
|
||||
selector: string,
|
||||
requestedList: Array<string>,
|
||||
providedList: Array<string>,
|
||||
allowedRequestExtensionsList: Array<string>,
|
||||
allowedResponseExtensionsList: Array<string>,
|
||||
}
|
||||
}
|
||||
|
552
api/js/google/api/context_pb.js
vendored
552
api/js/google/api/context_pb.js
vendored
@ -1,552 +0,0 @@
|
||||
// source: google/api/context.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
goog.exportSymbol('proto.google.api.Context', null, global);
|
||||
goog.exportSymbol('proto.google.api.ContextRule', null, global);
|
||||
/**
|
||||
* 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.google.api.Context = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Context.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Context, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Context.displayName = 'proto.google.api.Context';
|
||||
}
|
||||
/**
|
||||
* 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.google.api.ContextRule = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.ContextRule.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.ContextRule, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.ContextRule.displayName = 'proto.google.api.ContextRule';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.Context.repeatedFields_ = [1];
|
||||
|
||||
|
||||
|
||||
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_<name>, 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.google.api.Context.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Context.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.google.api.Context} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Context.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
rulesList: jspb.Message.toObjectList(msg.getRulesList(),
|
||||
proto.google.api.ContextRule.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.google.api.Context}
|
||||
*/
|
||||
proto.google.api.Context.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Context;
|
||||
return proto.google.api.Context.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Context} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Context}
|
||||
*/
|
||||
proto.google.api.Context.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new proto.google.api.ContextRule;
|
||||
reader.readMessage(value,proto.google.api.ContextRule.deserializeBinaryFromReader);
|
||||
msg.addRules(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.Context.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Context.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.Context} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Context.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getRulesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
1,
|
||||
f,
|
||||
proto.google.api.ContextRule.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated ContextRule rules = 1;
|
||||
* @return {!Array<!proto.google.api.ContextRule>}
|
||||
*/
|
||||
proto.google.api.Context.prototype.getRulesList = function() {
|
||||
return /** @type{!Array<!proto.google.api.ContextRule>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.ContextRule, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.ContextRule>} value
|
||||
* @return {!proto.google.api.Context} returns this
|
||||
*/
|
||||
proto.google.api.Context.prototype.setRulesList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.ContextRule=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.ContextRule}
|
||||
*/
|
||||
proto.google.api.Context.prototype.addRules = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.ContextRule, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Context} returns this
|
||||
*/
|
||||
proto.google.api.Context.prototype.clearRulesList = function() {
|
||||
return this.setRulesList([]);
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.ContextRule.repeatedFields_ = [2,3,4,5];
|
||||
|
||||
|
||||
|
||||
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_<name>, 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.google.api.ContextRule.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.ContextRule.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.google.api.ContextRule} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.ContextRule.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
selector: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
requestedList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
||||
providedList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
||||
allowedRequestExtensionsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
||||
allowedResponseExtensionsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : 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.google.api.ContextRule}
|
||||
*/
|
||||
proto.google.api.ContextRule.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.ContextRule;
|
||||
return proto.google.api.ContextRule.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.ContextRule} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.ContextRule}
|
||||
*/
|
||||
proto.google.api.ContextRule.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.setSelector(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.addRequested(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.addProvided(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.addAllowedRequestExtensions(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.addAllowedResponseExtensions(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.ContextRule.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.ContextRule} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.ContextRule.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getSelector();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getRequestedList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getProvidedList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAllowedRequestExtensionsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedString(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAllowedResponseExtensionsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedString(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string selector = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.getSelector = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.setSelector = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated string requested = 2;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.getRequestedList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.setRequestedList = function(value) {
|
||||
return jspb.Message.setField(this, 2, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.addRequested = function(value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.clearRequestedList = function() {
|
||||
return this.setRequestedList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated string provided = 3;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.getProvidedList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.setProvidedList = function(value) {
|
||||
return jspb.Message.setField(this, 3, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.addProvided = function(value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.clearProvidedList = function() {
|
||||
return this.setProvidedList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated string allowed_request_extensions = 4;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.getAllowedRequestExtensionsList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.setAllowedRequestExtensionsList = function(value) {
|
||||
return jspb.Message.setField(this, 4, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.addAllowedRequestExtensions = function(value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.clearAllowedRequestExtensionsList = function() {
|
||||
return this.setAllowedRequestExtensionsList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated string allowed_response_extensions = 5;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.getAllowedResponseExtensionsList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.setAllowedResponseExtensionsList = function(value) {
|
||||
return jspb.Message.setField(this, 5, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.addAllowedResponseExtensions = function(value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.ContextRule} returns this
|
||||
*/
|
||||
proto.google.api.ContextRule.prototype.clearAllowedResponseExtensionsList = function() {
|
||||
return this.setAllowedResponseExtensionsList([]);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/control_grpc_pb.d.ts
vendored
1
api/js/google/api/control_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
25
api/js/google/api/control_pb.d.ts
vendored
25
api/js/google/api/control_pb.d.ts
vendored
@ -1,25 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/control.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class Control extends jspb.Message {
|
||||
getEnvironment(): string;
|
||||
setEnvironment(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Control.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Control): Control.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Control, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Control;
|
||||
static deserializeBinaryFromReader(message: Control, reader: jspb.BinaryReader): Control;
|
||||
}
|
||||
|
||||
export namespace Control {
|
||||
export type AsObject = {
|
||||
environment: string,
|
||||
}
|
||||
}
|
||||
|
167
api/js/google/api/control_pb.js
vendored
167
api/js/google/api/control_pb.js
vendored
@ -1,167 +0,0 @@
|
||||
// source: google/api/control.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
goog.exportSymbol('proto.google.api.Control', null, global);
|
||||
/**
|
||||
* 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.google.api.Control = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Control, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Control.displayName = 'proto.google.api.Control';
|
||||
}
|
||||
|
||||
|
||||
|
||||
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_<name>, 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.google.api.Control.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Control.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.google.api.Control} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Control.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
environment: jspb.Message.getFieldWithDefault(msg, 1, "")
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.google.api.Control}
|
||||
*/
|
||||
proto.google.api.Control.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Control;
|
||||
return proto.google.api.Control.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Control} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Control}
|
||||
*/
|
||||
proto.google.api.Control.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.setEnvironment(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.Control.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Control.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.Control} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Control.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getEnvironment();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string environment = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Control.prototype.getEnvironment = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Control} returns this
|
||||
*/
|
||||
proto.google.api.Control.prototype.setEnvironment = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/distribution_grpc_pb.d.ts
vendored
1
api/js/google/api/distribution_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
235
api/js/google/api/distribution_pb.d.ts
vendored
235
api/js/google/api/distribution_pb.d.ts
vendored
@ -1,235 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/distribution.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb";
|
||||
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
||||
|
||||
export class Distribution extends jspb.Message {
|
||||
getCount(): number;
|
||||
setCount(value: number): void;
|
||||
|
||||
getMean(): number;
|
||||
setMean(value: number): void;
|
||||
|
||||
getSumOfSquaredDeviation(): number;
|
||||
setSumOfSquaredDeviation(value: number): void;
|
||||
|
||||
hasRange(): boolean;
|
||||
clearRange(): void;
|
||||
getRange(): Distribution.Range | undefined;
|
||||
setRange(value?: Distribution.Range): void;
|
||||
|
||||
hasBucketOptions(): boolean;
|
||||
clearBucketOptions(): void;
|
||||
getBucketOptions(): Distribution.BucketOptions | undefined;
|
||||
setBucketOptions(value?: Distribution.BucketOptions): void;
|
||||
|
||||
clearBucketCountsList(): void;
|
||||
getBucketCountsList(): Array<number>;
|
||||
setBucketCountsList(value: Array<number>): void;
|
||||
addBucketCounts(value: number, index?: number): number;
|
||||
|
||||
clearExemplarsList(): void;
|
||||
getExemplarsList(): Array<Distribution.Exemplar>;
|
||||
setExemplarsList(value: Array<Distribution.Exemplar>): void;
|
||||
addExemplars(value?: Distribution.Exemplar, index?: number): Distribution.Exemplar;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Distribution.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Distribution): Distribution.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Distribution, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Distribution;
|
||||
static deserializeBinaryFromReader(message: Distribution, reader: jspb.BinaryReader): Distribution;
|
||||
}
|
||||
|
||||
export namespace Distribution {
|
||||
export type AsObject = {
|
||||
count: number,
|
||||
mean: number,
|
||||
sumOfSquaredDeviation: number,
|
||||
range?: Distribution.Range.AsObject,
|
||||
bucketOptions?: Distribution.BucketOptions.AsObject,
|
||||
bucketCountsList: Array<number>,
|
||||
exemplarsList: Array<Distribution.Exemplar.AsObject>,
|
||||
}
|
||||
|
||||
export class Range extends jspb.Message {
|
||||
getMin(): number;
|
||||
setMin(value: number): void;
|
||||
|
||||
getMax(): number;
|
||||
setMax(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Range.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Range): Range.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Range, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Range;
|
||||
static deserializeBinaryFromReader(message: Range, reader: jspb.BinaryReader): Range;
|
||||
}
|
||||
|
||||
export namespace Range {
|
||||
export type AsObject = {
|
||||
min: number,
|
||||
max: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class BucketOptions extends jspb.Message {
|
||||
hasLinearBuckets(): boolean;
|
||||
clearLinearBuckets(): void;
|
||||
getLinearBuckets(): Distribution.BucketOptions.Linear | undefined;
|
||||
setLinearBuckets(value?: Distribution.BucketOptions.Linear): void;
|
||||
|
||||
hasExponentialBuckets(): boolean;
|
||||
clearExponentialBuckets(): void;
|
||||
getExponentialBuckets(): Distribution.BucketOptions.Exponential | undefined;
|
||||
setExponentialBuckets(value?: Distribution.BucketOptions.Exponential): void;
|
||||
|
||||
hasExplicitBuckets(): boolean;
|
||||
clearExplicitBuckets(): void;
|
||||
getExplicitBuckets(): Distribution.BucketOptions.Explicit | undefined;
|
||||
setExplicitBuckets(value?: Distribution.BucketOptions.Explicit): void;
|
||||
|
||||
getOptionsCase(): BucketOptions.OptionsCase;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BucketOptions.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BucketOptions): BucketOptions.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: BucketOptions, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): BucketOptions;
|
||||
static deserializeBinaryFromReader(message: BucketOptions, reader: jspb.BinaryReader): BucketOptions;
|
||||
}
|
||||
|
||||
export namespace BucketOptions {
|
||||
export type AsObject = {
|
||||
linearBuckets?: Distribution.BucketOptions.Linear.AsObject,
|
||||
exponentialBuckets?: Distribution.BucketOptions.Exponential.AsObject,
|
||||
explicitBuckets?: Distribution.BucketOptions.Explicit.AsObject,
|
||||
}
|
||||
|
||||
export class Linear extends jspb.Message {
|
||||
getNumFiniteBuckets(): number;
|
||||
setNumFiniteBuckets(value: number): void;
|
||||
|
||||
getWidth(): number;
|
||||
setWidth(value: number): void;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Linear.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Linear): Linear.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Linear, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Linear;
|
||||
static deserializeBinaryFromReader(message: Linear, reader: jspb.BinaryReader): Linear;
|
||||
}
|
||||
|
||||
export namespace Linear {
|
||||
export type AsObject = {
|
||||
numFiniteBuckets: number,
|
||||
width: number,
|
||||
offset: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class Exponential extends jspb.Message {
|
||||
getNumFiniteBuckets(): number;
|
||||
setNumFiniteBuckets(value: number): void;
|
||||
|
||||
getGrowthFactor(): number;
|
||||
setGrowthFactor(value: number): void;
|
||||
|
||||
getScale(): number;
|
||||
setScale(value: number): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Exponential.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Exponential): Exponential.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Exponential, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Exponential;
|
||||
static deserializeBinaryFromReader(message: Exponential, reader: jspb.BinaryReader): Exponential;
|
||||
}
|
||||
|
||||
export namespace Exponential {
|
||||
export type AsObject = {
|
||||
numFiniteBuckets: number,
|
||||
growthFactor: number,
|
||||
scale: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class Explicit extends jspb.Message {
|
||||
clearBoundsList(): void;
|
||||
getBoundsList(): Array<number>;
|
||||
setBoundsList(value: Array<number>): void;
|
||||
addBounds(value: number, index?: number): number;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Explicit.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Explicit): Explicit.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Explicit, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Explicit;
|
||||
static deserializeBinaryFromReader(message: Explicit, reader: jspb.BinaryReader): Explicit;
|
||||
}
|
||||
|
||||
export namespace Explicit {
|
||||
export type AsObject = {
|
||||
boundsList: Array<number>,
|
||||
}
|
||||
}
|
||||
|
||||
export enum OptionsCase {
|
||||
OPTIONS_NOT_SET = 0,
|
||||
LINEAR_BUCKETS = 1,
|
||||
EXPONENTIAL_BUCKETS = 2,
|
||||
EXPLICIT_BUCKETS = 3,
|
||||
}
|
||||
}
|
||||
|
||||
export class Exemplar extends jspb.Message {
|
||||
getValue(): number;
|
||||
setValue(value: number): void;
|
||||
|
||||
hasTimestamp(): boolean;
|
||||
clearTimestamp(): void;
|
||||
getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
||||
|
||||
clearAttachmentsList(): void;
|
||||
getAttachmentsList(): Array<google_protobuf_any_pb.Any>;
|
||||
setAttachmentsList(value: Array<google_protobuf_any_pb.Any>): void;
|
||||
addAttachments(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Exemplar.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Exemplar): Exemplar.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Exemplar, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Exemplar;
|
||||
static deserializeBinaryFromReader(message: Exemplar, reader: jspb.BinaryReader): Exemplar;
|
||||
}
|
||||
|
||||
export namespace Exemplar {
|
||||
export type AsObject = {
|
||||
value: number,
|
||||
timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
||||
attachmentsList: Array<google_protobuf_any_pb.Any.AsObject>,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
1792
api/js/google/api/distribution_pb.js
vendored
1792
api/js/google/api/distribution_pb.js
vendored
File diff suppressed because it is too large
Load Diff
1
api/js/google/api/documentation_grpc_pb.d.ts
vendored
1
api/js/google/api/documentation_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
107
api/js/google/api/documentation_pb.d.ts
vendored
107
api/js/google/api/documentation_pb.d.ts
vendored
@ -1,107 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/documentation.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class Documentation extends jspb.Message {
|
||||
getSummary(): string;
|
||||
setSummary(value: string): void;
|
||||
|
||||
clearPagesList(): void;
|
||||
getPagesList(): Array<Page>;
|
||||
setPagesList(value: Array<Page>): void;
|
||||
addPages(value?: Page, index?: number): Page;
|
||||
|
||||
clearRulesList(): void;
|
||||
getRulesList(): Array<DocumentationRule>;
|
||||
setRulesList(value: Array<DocumentationRule>): void;
|
||||
addRules(value?: DocumentationRule, index?: number): DocumentationRule;
|
||||
|
||||
getDocumentationRootUrl(): string;
|
||||
setDocumentationRootUrl(value: string): void;
|
||||
|
||||
getServiceRootUrl(): string;
|
||||
setServiceRootUrl(value: string): void;
|
||||
|
||||
getOverview(): string;
|
||||
setOverview(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Documentation.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Documentation): Documentation.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Documentation, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Documentation;
|
||||
static deserializeBinaryFromReader(message: Documentation, reader: jspb.BinaryReader): Documentation;
|
||||
}
|
||||
|
||||
export namespace Documentation {
|
||||
export type AsObject = {
|
||||
summary: string,
|
||||
pagesList: Array<Page.AsObject>,
|
||||
rulesList: Array<DocumentationRule.AsObject>,
|
||||
documentationRootUrl: string,
|
||||
serviceRootUrl: string,
|
||||
overview: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class DocumentationRule extends jspb.Message {
|
||||
getSelector(): string;
|
||||
setSelector(value: string): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
getDeprecationDescription(): string;
|
||||
setDeprecationDescription(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DocumentationRule.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DocumentationRule): DocumentationRule.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: DocumentationRule, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): DocumentationRule;
|
||||
static deserializeBinaryFromReader(message: DocumentationRule, reader: jspb.BinaryReader): DocumentationRule;
|
||||
}
|
||||
|
||||
export namespace DocumentationRule {
|
||||
export type AsObject = {
|
||||
selector: string,
|
||||
description: string,
|
||||
deprecationDescription: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class Page extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getContent(): string;
|
||||
setContent(value: string): void;
|
||||
|
||||
clearSubpagesList(): void;
|
||||
getSubpagesList(): Array<Page>;
|
||||
setSubpagesList(value: Array<Page>): void;
|
||||
addSubpages(value?: Page, index?: number): Page;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Page.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Page): Page.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Page, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Page;
|
||||
static deserializeBinaryFromReader(message: Page, reader: jspb.BinaryReader): Page;
|
||||
}
|
||||
|
||||
export namespace Page {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
content: string,
|
||||
subpagesList: Array<Page.AsObject>,
|
||||
}
|
||||
}
|
||||
|
824
api/js/google/api/documentation_pb.js
vendored
824
api/js/google/api/documentation_pb.js
vendored
@ -1,824 +0,0 @@
|
||||
// source: google/api/documentation.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
goog.exportSymbol('proto.google.api.Documentation', null, global);
|
||||
goog.exportSymbol('proto.google.api.DocumentationRule', null, global);
|
||||
goog.exportSymbol('proto.google.api.Page', null, global);
|
||||
/**
|
||||
* 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.google.api.Documentation = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Documentation.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Documentation, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Documentation.displayName = 'proto.google.api.Documentation';
|
||||
}
|
||||
/**
|
||||
* 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.google.api.DocumentationRule = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.DocumentationRule, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.DocumentationRule.displayName = 'proto.google.api.DocumentationRule';
|
||||
}
|
||||
/**
|
||||
* 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.google.api.Page = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Page.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Page, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Page.displayName = 'proto.google.api.Page';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.Documentation.repeatedFields_ = [5,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_<name>, 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.google.api.Documentation.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Documentation.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.google.api.Documentation} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Documentation.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
summary: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
pagesList: jspb.Message.toObjectList(msg.getPagesList(),
|
||||
proto.google.api.Page.toObject, includeInstance),
|
||||
rulesList: jspb.Message.toObjectList(msg.getRulesList(),
|
||||
proto.google.api.DocumentationRule.toObject, includeInstance),
|
||||
documentationRootUrl: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
serviceRootUrl: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||
overview: jspb.Message.getFieldWithDefault(msg, 2, "")
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.google.api.Documentation}
|
||||
*/
|
||||
proto.google.api.Documentation.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Documentation;
|
||||
return proto.google.api.Documentation.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Documentation} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Documentation}
|
||||
*/
|
||||
proto.google.api.Documentation.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.setSummary(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = new proto.google.api.Page;
|
||||
reader.readMessage(value,proto.google.api.Page.deserializeBinaryFromReader);
|
||||
msg.addPages(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = new proto.google.api.DocumentationRule;
|
||||
reader.readMessage(value,proto.google.api.DocumentationRule.deserializeBinaryFromReader);
|
||||
msg.addRules(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDocumentationRootUrl(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setServiceRootUrl(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setOverview(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Documentation.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.Documentation} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Documentation.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getSummary();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getPagesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
5,
|
||||
f,
|
||||
proto.google.api.Page.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getRulesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
3,
|
||||
f,
|
||||
proto.google.api.DocumentationRule.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getDocumentationRootUrl();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getServiceRootUrl();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
6,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getOverview();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string summary = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.getSummary = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Documentation} returns this
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.setSummary = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated Page pages = 5;
|
||||
* @return {!Array<!proto.google.api.Page>}
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.getPagesList = function() {
|
||||
return /** @type{!Array<!proto.google.api.Page>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.Page, 5));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.Page>} value
|
||||
* @return {!proto.google.api.Documentation} returns this
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.setPagesList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.Page=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Page}
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.addPages = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.google.api.Page, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Documentation} returns this
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.clearPagesList = function() {
|
||||
return this.setPagesList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated DocumentationRule rules = 3;
|
||||
* @return {!Array<!proto.google.api.DocumentationRule>}
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.getRulesList = function() {
|
||||
return /** @type{!Array<!proto.google.api.DocumentationRule>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.DocumentationRule, 3));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.DocumentationRule>} value
|
||||
* @return {!proto.google.api.Documentation} returns this
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.setRulesList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.DocumentationRule=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.DocumentationRule}
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.addRules = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.api.DocumentationRule, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Documentation} returns this
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.clearRulesList = function() {
|
||||
return this.setRulesList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string documentation_root_url = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.getDocumentationRootUrl = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Documentation} returns this
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.setDocumentationRootUrl = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string service_root_url = 6;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.getServiceRootUrl = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Documentation} returns this
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.setServiceRootUrl = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 6, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string overview = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.getOverview = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Documentation} returns this
|
||||
*/
|
||||
proto.google.api.Documentation.prototype.setOverview = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, 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_<name>, 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.google.api.DocumentationRule.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.DocumentationRule.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.google.api.DocumentationRule} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.DocumentationRule.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
selector: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
deprecationDescription: 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.google.api.DocumentationRule}
|
||||
*/
|
||||
proto.google.api.DocumentationRule.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.DocumentationRule;
|
||||
return proto.google.api.DocumentationRule.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.DocumentationRule} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.DocumentationRule}
|
||||
*/
|
||||
proto.google.api.DocumentationRule.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.setSelector(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDescription(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDeprecationDescription(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.DocumentationRule.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.DocumentationRule.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.DocumentationRule} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.DocumentationRule.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getSelector();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getDescription();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getDeprecationDescription();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string selector = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.DocumentationRule.prototype.getSelector = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.DocumentationRule} returns this
|
||||
*/
|
||||
proto.google.api.DocumentationRule.prototype.setSelector = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string description = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.DocumentationRule.prototype.getDescription = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.DocumentationRule} returns this
|
||||
*/
|
||||
proto.google.api.DocumentationRule.prototype.setDescription = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string deprecation_description = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.DocumentationRule.prototype.getDeprecationDescription = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.DocumentationRule} returns this
|
||||
*/
|
||||
proto.google.api.DocumentationRule.prototype.setDeprecationDescription = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.Page.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_<name>, 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.google.api.Page.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Page.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.google.api.Page} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Page.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
content: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
subpagesList: jspb.Message.toObjectList(msg.getSubpagesList(),
|
||||
proto.google.api.Page.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.google.api.Page}
|
||||
*/
|
||||
proto.google.api.Page.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Page;
|
||||
return proto.google.api.Page.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Page} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Page}
|
||||
*/
|
||||
proto.google.api.Page.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.setName(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setContent(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = new proto.google.api.Page;
|
||||
reader.readMessage(value,proto.google.api.Page.deserializeBinaryFromReader);
|
||||
msg.addSubpages(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.Page.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Page.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.Page} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Page.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getContent();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getSubpagesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
3,
|
||||
f,
|
||||
proto.google.api.Page.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Page.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Page} returns this
|
||||
*/
|
||||
proto.google.api.Page.prototype.setName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string content = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Page.prototype.getContent = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Page} returns this
|
||||
*/
|
||||
proto.google.api.Page.prototype.setContent = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated Page subpages = 3;
|
||||
* @return {!Array<!proto.google.api.Page>}
|
||||
*/
|
||||
proto.google.api.Page.prototype.getSubpagesList = function() {
|
||||
return /** @type{!Array<!proto.google.api.Page>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.Page, 3));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.Page>} value
|
||||
* @return {!proto.google.api.Page} returns this
|
||||
*/
|
||||
proto.google.api.Page.prototype.setSubpagesList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.Page=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Page}
|
||||
*/
|
||||
proto.google.api.Page.prototype.addSubpages = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.api.Page, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Page} returns this
|
||||
*/
|
||||
proto.google.api.Page.prototype.clearSubpagesList = function() {
|
||||
return this.setSubpagesList([]);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/endpoint_grpc_pb.d.ts
vendored
1
api/js/google/api/endpoint_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
39
api/js/google/api/endpoint_pb.d.ts
vendored
39
api/js/google/api/endpoint_pb.d.ts
vendored
@ -1,39 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/endpoint.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class Endpoint extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
clearAliasesList(): void;
|
||||
getAliasesList(): Array<string>;
|
||||
setAliasesList(value: Array<string>): void;
|
||||
addAliases(value: string, index?: number): string;
|
||||
|
||||
getTarget(): string;
|
||||
setTarget(value: string): void;
|
||||
|
||||
getAllowCors(): boolean;
|
||||
setAllowCors(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Endpoint.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Endpoint): Endpoint.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Endpoint, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Endpoint;
|
||||
static deserializeBinaryFromReader(message: Endpoint, reader: jspb.BinaryReader): Endpoint;
|
||||
}
|
||||
|
||||
export namespace Endpoint {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
aliasesList: Array<string>,
|
||||
target: string,
|
||||
allowCors: boolean,
|
||||
}
|
||||
}
|
||||
|
283
api/js/google/api/endpoint_pb.js
vendored
283
api/js/google/api/endpoint_pb.js
vendored
@ -1,283 +0,0 @@
|
||||
// source: google/api/endpoint.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
goog.exportSymbol('proto.google.api.Endpoint', null, global);
|
||||
/**
|
||||
* 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.google.api.Endpoint = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Endpoint.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Endpoint, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Endpoint.displayName = 'proto.google.api.Endpoint';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.Endpoint.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_<name>, 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.google.api.Endpoint.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Endpoint.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.google.api.Endpoint} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Endpoint.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
aliasesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
||||
target: jspb.Message.getFieldWithDefault(msg, 101, ""),
|
||||
allowCors: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.google.api.Endpoint}
|
||||
*/
|
||||
proto.google.api.Endpoint.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Endpoint;
|
||||
return proto.google.api.Endpoint.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Endpoint} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Endpoint}
|
||||
*/
|
||||
proto.google.api.Endpoint.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.setName(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.addAliases(value);
|
||||
break;
|
||||
case 101:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setTarget(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setAllowCors(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.Endpoint.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Endpoint.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.Endpoint} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Endpoint.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAliasesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getTarget();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
101,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAllowCors();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Endpoint.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Endpoint} returns this
|
||||
*/
|
||||
proto.google.api.Endpoint.prototype.setName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated string aliases = 2;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.google.api.Endpoint.prototype.getAliasesList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.google.api.Endpoint} returns this
|
||||
*/
|
||||
proto.google.api.Endpoint.prototype.setAliasesList = function(value) {
|
||||
return jspb.Message.setField(this, 2, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Endpoint} returns this
|
||||
*/
|
||||
proto.google.api.Endpoint.prototype.addAliases = function(value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Endpoint} returns this
|
||||
*/
|
||||
proto.google.api.Endpoint.prototype.clearAliasesList = function() {
|
||||
return this.setAliasesList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string target = 101;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Endpoint.prototype.getTarget = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 101, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Endpoint} returns this
|
||||
*/
|
||||
proto.google.api.Endpoint.prototype.setTarget = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 101, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool allow_cors = 5;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.google.api.Endpoint.prototype.getAllowCors = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.google.api.Endpoint} returns this
|
||||
*/
|
||||
proto.google.api.Endpoint.prototype.setAllowCors = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/error_reason_grpc_pb.d.ts
vendored
1
api/js/google/api/error_reason_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
40
api/js/google/api/error_reason_pb.d.ts
vendored
40
api/js/google/api/error_reason_pb.d.ts
vendored
@ -1,40 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/error_reason.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export interface ErrorReasonMap {
|
||||
ERROR_REASON_UNSPECIFIED: 0;
|
||||
SERVICE_DISABLED: 1;
|
||||
BILLING_DISABLED: 2;
|
||||
API_KEY_INVALID: 3;
|
||||
API_KEY_SERVICE_BLOCKED: 4;
|
||||
API_KEY_HTTP_REFERRER_BLOCKED: 7;
|
||||
API_KEY_IP_ADDRESS_BLOCKED: 8;
|
||||
API_KEY_ANDROID_APP_BLOCKED: 9;
|
||||
API_KEY_IOS_APP_BLOCKED: 13;
|
||||
RATE_LIMIT_EXCEEDED: 5;
|
||||
RESOURCE_QUOTA_EXCEEDED: 6;
|
||||
LOCATION_TAX_POLICY_VIOLATED: 10;
|
||||
USER_PROJECT_DENIED: 11;
|
||||
CONSUMER_SUSPENDED: 12;
|
||||
CONSUMER_INVALID: 14;
|
||||
SECURITY_POLICY_VIOLATED: 15;
|
||||
ACCESS_TOKEN_EXPIRED: 16;
|
||||
ACCESS_TOKEN_SCOPE_INSUFFICIENT: 17;
|
||||
ACCOUNT_STATE_INVALID: 18;
|
||||
ACCESS_TOKEN_TYPE_UNSUPPORTED: 19;
|
||||
CREDENTIALS_MISSING: 20;
|
||||
RESOURCE_PROJECT_INVALID: 21;
|
||||
SESSION_COOKIE_INVALID: 23;
|
||||
USER_BLOCKED_BY_ADMIN: 24;
|
||||
RESOURCE_USAGE_RESTRICTION_VIOLATED: 25;
|
||||
SYSTEM_PARAMETER_UNSUPPORTED: 26;
|
||||
ORG_RESTRICTION_VIOLATION: 27;
|
||||
ORG_RESTRICTION_HEADER_INVALID: 28;
|
||||
SERVICE_NOT_VISIBLE: 29;
|
||||
GCP_SUSPENDED: 30;
|
||||
}
|
||||
|
||||
export const ErrorReason: ErrorReasonMap;
|
||||
|
52
api/js/google/api/error_reason_pb.js
vendored
52
api/js/google/api/error_reason_pb.js
vendored
@ -1,52 +0,0 @@
|
||||
// source: google/api/error_reason.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
goog.exportSymbol('proto.google.api.ErrorReason', null, global);
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.google.api.ErrorReason = {
|
||||
ERROR_REASON_UNSPECIFIED: 0,
|
||||
SERVICE_DISABLED: 1,
|
||||
BILLING_DISABLED: 2,
|
||||
API_KEY_INVALID: 3,
|
||||
API_KEY_SERVICE_BLOCKED: 4,
|
||||
API_KEY_HTTP_REFERRER_BLOCKED: 7,
|
||||
API_KEY_IP_ADDRESS_BLOCKED: 8,
|
||||
API_KEY_ANDROID_APP_BLOCKED: 9,
|
||||
API_KEY_IOS_APP_BLOCKED: 13,
|
||||
RATE_LIMIT_EXCEEDED: 5,
|
||||
RESOURCE_QUOTA_EXCEEDED: 6,
|
||||
LOCATION_TAX_POLICY_VIOLATED: 10,
|
||||
USER_PROJECT_DENIED: 11,
|
||||
CONSUMER_SUSPENDED: 12,
|
||||
CONSUMER_INVALID: 14,
|
||||
SECURITY_POLICY_VIOLATED: 15,
|
||||
ACCESS_TOKEN_EXPIRED: 16,
|
||||
ACCESS_TOKEN_SCOPE_INSUFFICIENT: 17,
|
||||
ACCOUNT_STATE_INVALID: 18,
|
||||
ACCESS_TOKEN_TYPE_UNSUPPORTED: 19,
|
||||
CREDENTIALS_MISSING: 20,
|
||||
RESOURCE_PROJECT_INVALID: 21,
|
||||
SESSION_COOKIE_INVALID: 23,
|
||||
USER_BLOCKED_BY_ADMIN: 24,
|
||||
RESOURCE_USAGE_RESTRICTION_VIOLATED: 25,
|
||||
SYSTEM_PARAMETER_UNSUPPORTED: 26,
|
||||
ORG_RESTRICTION_VIOLATION: 27,
|
||||
ORG_RESTRICTION_HEADER_INVALID: 28,
|
||||
SERVICE_NOT_VISIBLE: 29,
|
||||
GCP_SUSPENDED: 30
|
||||
};
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
21
api/js/google/api/field_behavior_pb.d.ts
vendored
21
api/js/google/api/field_behavior_pb.d.ts
vendored
@ -1,21 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/field_behavior.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb";
|
||||
|
||||
export const fieldBehavior: jspb.ExtensionFieldInfo<FieldBehaviorMap>;
|
||||
|
||||
export interface FieldBehaviorMap {
|
||||
FIELD_BEHAVIOR_UNSPECIFIED: 0;
|
||||
OPTIONAL: 1;
|
||||
REQUIRED: 2;
|
||||
OUTPUT_ONLY: 3;
|
||||
INPUT_ONLY: 4;
|
||||
IMMUTABLE: 5;
|
||||
UNORDERED_LIST: 6;
|
||||
NON_EMPTY_DEFAULT: 7;
|
||||
}
|
||||
|
||||
export const FieldBehavior: FieldBehaviorMap;
|
||||
|
58
api/js/google/api/field_behavior_pb.js
vendored
58
api/js/google/api/field_behavior_pb.js
vendored
@ -1,58 +0,0 @@
|
||||
// source: google/api/field_behavior.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
|
||||
goog.object.extend(proto, google_protobuf_descriptor_pb);
|
||||
goog.exportSymbol('proto.google.api.FieldBehavior', null, global);
|
||||
goog.exportSymbol('proto.google.api.fieldBehaviorList', null, global);
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.google.api.FieldBehavior = {
|
||||
FIELD_BEHAVIOR_UNSPECIFIED: 0,
|
||||
OPTIONAL: 1,
|
||||
REQUIRED: 2,
|
||||
OUTPUT_ONLY: 3,
|
||||
INPUT_ONLY: 4,
|
||||
IMMUTABLE: 5,
|
||||
UNORDERED_LIST: 6,
|
||||
NON_EMPTY_DEFAULT: 7
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* A tuple of {field number, class constructor} for the extension
|
||||
* field named `fieldBehaviorList`.
|
||||
* @type {!jspb.ExtensionFieldInfo<!Array<!proto.google.api.FieldBehavior>>}
|
||||
*/
|
||||
proto.google.api.fieldBehaviorList = new jspb.ExtensionFieldInfo(
|
||||
1052,
|
||||
{fieldBehaviorList: 0},
|
||||
null,
|
||||
/** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
|
||||
null),
|
||||
1);
|
||||
|
||||
google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1052] = new jspb.ExtensionFieldBinaryInfo(
|
||||
proto.google.api.fieldBehaviorList,
|
||||
jspb.BinaryReader.prototype.readPackedEnum,
|
||||
jspb.BinaryWriter.prototype.writePackedEnum,
|
||||
undefined,
|
||||
undefined,
|
||||
true);
|
||||
// This registers the extension field with the extended class, so that
|
||||
// toObject() will function correctly.
|
||||
google_protobuf_descriptor_pb.FieldOptions.extensions[1052] = proto.google.api.fieldBehaviorList;
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/http_grpc_pb.d.ts
vendored
1
api/js/google/api/http_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
136
api/js/google/api/http_pb.d.ts
vendored
136
api/js/google/api/http_pb.d.ts
vendored
@ -1,136 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/http.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class Http extends jspb.Message {
|
||||
clearRulesList(): void;
|
||||
getRulesList(): Array<HttpRule>;
|
||||
setRulesList(value: Array<HttpRule>): void;
|
||||
addRules(value?: HttpRule, index?: number): HttpRule;
|
||||
|
||||
getFullyDecodeReservedExpansion(): boolean;
|
||||
setFullyDecodeReservedExpansion(value: boolean): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Http.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Http): Http.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Http;
|
||||
static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http;
|
||||
}
|
||||
|
||||
export namespace Http {
|
||||
export type AsObject = {
|
||||
rulesList: Array<HttpRule.AsObject>,
|
||||
fullyDecodeReservedExpansion: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class HttpRule extends jspb.Message {
|
||||
getSelector(): string;
|
||||
setSelector(value: string): void;
|
||||
|
||||
hasGet(): boolean;
|
||||
clearGet(): void;
|
||||
getGet(): string;
|
||||
setGet(value: string): void;
|
||||
|
||||
hasPut(): boolean;
|
||||
clearPut(): void;
|
||||
getPut(): string;
|
||||
setPut(value: string): void;
|
||||
|
||||
hasPost(): boolean;
|
||||
clearPost(): void;
|
||||
getPost(): string;
|
||||
setPost(value: string): void;
|
||||
|
||||
hasDelete(): boolean;
|
||||
clearDelete(): void;
|
||||
getDelete(): string;
|
||||
setDelete(value: string): void;
|
||||
|
||||
hasPatch(): boolean;
|
||||
clearPatch(): void;
|
||||
getPatch(): string;
|
||||
setPatch(value: string): void;
|
||||
|
||||
hasCustom(): boolean;
|
||||
clearCustom(): void;
|
||||
getCustom(): CustomHttpPattern | undefined;
|
||||
setCustom(value?: CustomHttpPattern): void;
|
||||
|
||||
getBody(): string;
|
||||
setBody(value: string): void;
|
||||
|
||||
getResponseBody(): string;
|
||||
setResponseBody(value: string): void;
|
||||
|
||||
clearAdditionalBindingsList(): void;
|
||||
getAdditionalBindingsList(): Array<HttpRule>;
|
||||
setAdditionalBindingsList(value: Array<HttpRule>): void;
|
||||
addAdditionalBindings(value?: HttpRule, index?: number): HttpRule;
|
||||
|
||||
getPatternCase(): HttpRule.PatternCase;
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): HttpRule.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): HttpRule;
|
||||
static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule;
|
||||
}
|
||||
|
||||
export namespace HttpRule {
|
||||
export type AsObject = {
|
||||
selector: string,
|
||||
get: string,
|
||||
put: string,
|
||||
post: string,
|
||||
pb_delete: string,
|
||||
patch: string,
|
||||
custom?: CustomHttpPattern.AsObject,
|
||||
body: string,
|
||||
responseBody: string,
|
||||
additionalBindingsList: Array<HttpRule.AsObject>,
|
||||
}
|
||||
|
||||
export enum PatternCase {
|
||||
PATTERN_NOT_SET = 0,
|
||||
GET = 2,
|
||||
PUT = 3,
|
||||
POST = 4,
|
||||
DELETE = 5,
|
||||
PATCH = 6,
|
||||
CUSTOM = 8,
|
||||
}
|
||||
}
|
||||
|
||||
export class CustomHttpPattern extends jspb.Message {
|
||||
getKind(): string;
|
||||
setKind(value: string): void;
|
||||
|
||||
getPath(): string;
|
||||
setPath(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CustomHttpPattern.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): CustomHttpPattern;
|
||||
static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern;
|
||||
}
|
||||
|
||||
export namespace CustomHttpPattern {
|
||||
export type AsObject = {
|
||||
kind: string,
|
||||
path: string,
|
||||
}
|
||||
}
|
||||
|
1003
api/js/google/api/http_pb.js
vendored
1003
api/js/google/api/http_pb.js
vendored
File diff suppressed because it is too large
Load Diff
1
api/js/google/api/httpbody_grpc_pb.d.ts
vendored
1
api/js/google/api/httpbody_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
38
api/js/google/api/httpbody_pb.d.ts
vendored
38
api/js/google/api/httpbody_pb.d.ts
vendored
@ -1,38 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/httpbody.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb";
|
||||
|
||||
export class HttpBody extends jspb.Message {
|
||||
getContentType(): string;
|
||||
setContentType(value: string): void;
|
||||
|
||||
getData(): Uint8Array | string;
|
||||
getData_asU8(): Uint8Array;
|
||||
getData_asB64(): string;
|
||||
setData(value: Uint8Array | string): void;
|
||||
|
||||
clearExtensionsList(): void;
|
||||
getExtensionsList(): Array<google_protobuf_any_pb.Any>;
|
||||
setExtensionsList(value: Array<google_protobuf_any_pb.Any>): void;
|
||||
addExtensions(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): HttpBody.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: HttpBody): HttpBody.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: HttpBody, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): HttpBody;
|
||||
static deserializeBinaryFromReader(message: HttpBody, reader: jspb.BinaryReader): HttpBody;
|
||||
}
|
||||
|
||||
export namespace HttpBody {
|
||||
export type AsObject = {
|
||||
contentType: string,
|
||||
data: Uint8Array | string,
|
||||
extensionsList: Array<google_protobuf_any_pb.Any.AsObject>,
|
||||
}
|
||||
}
|
||||
|
283
api/js/google/api/httpbody_pb.js
vendored
283
api/js/google/api/httpbody_pb.js
vendored
@ -1,283 +0,0 @@
|
||||
// source: google/api/httpbody.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
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.google.api.HttpBody', null, global);
|
||||
/**
|
||||
* 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.google.api.HttpBody = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpBody.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.HttpBody, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.HttpBody.displayName = 'proto.google.api.HttpBody';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.HttpBody.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_<name>, 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.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.HttpBody.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.google.api.HttpBody} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.HttpBody.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
contentType: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
data: msg.getData_asB64(),
|
||||
extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(),
|
||||
google_protobuf_any_pb.Any.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.google.api.HttpBody}
|
||||
*/
|
||||
proto.google.api.HttpBody.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.HttpBody;
|
||||
return proto.google.api.HttpBody.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.HttpBody} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.HttpBody}
|
||||
*/
|
||||
proto.google.api.HttpBody.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.setContentType(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
msg.setData(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = new google_protobuf_any_pb.Any;
|
||||
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
||||
msg.addExtensions(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.HttpBody.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.HttpBody.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.HttpBody} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.HttpBody.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getContentType();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getData_asU8();
|
||||
if (f.length > 0) {
|
||||
writer.writeBytes(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getExtensionsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
3,
|
||||
f,
|
||||
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string content_type = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.HttpBody.prototype.getContentType = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.HttpBody} returns this
|
||||
*/
|
||||
proto.google.api.HttpBody.prototype.setContentType = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes data = 2;
|
||||
* @return {!(string|Uint8Array)}
|
||||
*/
|
||||
proto.google.api.HttpBody.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.google.api.HttpBody.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.google.api.HttpBody.prototype.getData_asU8 = function() {
|
||||
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
||||
this.getData()));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!(string|Uint8Array)} value
|
||||
* @return {!proto.google.api.HttpBody} returns this
|
||||
*/
|
||||
proto.google.api.HttpBody.prototype.setData = function(value) {
|
||||
return jspb.Message.setProto3BytesField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated google.protobuf.Any extensions = 3;
|
||||
* @return {!Array<!proto.google.protobuf.Any>}
|
||||
*/
|
||||
proto.google.api.HttpBody.prototype.getExtensionsList = function() {
|
||||
return /** @type{!Array<!proto.google.protobuf.Any>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.protobuf.Any>} value
|
||||
* @return {!proto.google.api.HttpBody} returns this
|
||||
*/
|
||||
proto.google.api.HttpBody.prototype.setExtensionsList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Any=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.protobuf.Any}
|
||||
*/
|
||||
proto.google.api.HttpBody.prototype.addExtensions = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.HttpBody} returns this
|
||||
*/
|
||||
proto.google.api.HttpBody.prototype.clearExtensionsList = function() {
|
||||
return this.setExtensionsList([]);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/label_grpc_pb.d.ts
vendored
1
api/js/google/api/label_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
41
api/js/google/api/label_pb.d.ts
vendored
41
api/js/google/api/label_pb.d.ts
vendored
@ -1,41 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/label.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export class LabelDescriptor extends jspb.Message {
|
||||
getKey(): string;
|
||||
setKey(value: string): void;
|
||||
|
||||
getValueType(): LabelDescriptor.ValueTypeMap[keyof LabelDescriptor.ValueTypeMap];
|
||||
setValueType(value: LabelDescriptor.ValueTypeMap[keyof LabelDescriptor.ValueTypeMap]): void;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): void;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LabelDescriptor.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LabelDescriptor): LabelDescriptor.AsObject;
|
||||
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
||||
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
||||
static serializeBinaryToWriter(message: LabelDescriptor, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LabelDescriptor;
|
||||
static deserializeBinaryFromReader(message: LabelDescriptor, reader: jspb.BinaryReader): LabelDescriptor;
|
||||
}
|
||||
|
||||
export namespace LabelDescriptor {
|
||||
export type AsObject = {
|
||||
key: string,
|
||||
valueType: LabelDescriptor.ValueTypeMap[keyof LabelDescriptor.ValueTypeMap],
|
||||
description: string,
|
||||
}
|
||||
|
||||
export interface ValueTypeMap {
|
||||
STRING: 0;
|
||||
BOOL: 1;
|
||||
INT64: 2;
|
||||
}
|
||||
|
||||
export const ValueType: ValueTypeMap;
|
||||
}
|
||||
|
237
api/js/google/api/label_pb.js
vendored
237
api/js/google/api/label_pb.js
vendored
@ -1,237 +0,0 @@
|
||||
// source: google/api/label.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
goog.exportSymbol('proto.google.api.LabelDescriptor', null, global);
|
||||
goog.exportSymbol('proto.google.api.LabelDescriptor.ValueType', null, global);
|
||||
/**
|
||||
* 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.google.api.LabelDescriptor = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.LabelDescriptor, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.displayName = 'proto.google.api.LabelDescriptor';
|
||||
}
|
||||
|
||||
|
||||
|
||||
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_<name>, 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.google.api.LabelDescriptor.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.LabelDescriptor.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.google.api.LabelDescriptor} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
valueType: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
||||
description: 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.google.api.LabelDescriptor}
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.LabelDescriptor;
|
||||
return proto.google.api.LabelDescriptor.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.LabelDescriptor} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.LabelDescriptor}
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.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 {!proto.google.api.LabelDescriptor.ValueType} */ (reader.readEnum());
|
||||
msg.setValueType(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDescription(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.LabelDescriptor.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.google.api.LabelDescriptor} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getKey();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getValueType();
|
||||
if (f !== 0.0) {
|
||||
writer.writeEnum(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getDescription();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.ValueType = {
|
||||
STRING: 0,
|
||||
BOOL: 1,
|
||||
INT64: 2
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string key = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.prototype.getKey = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.LabelDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.prototype.setKey = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional ValueType value_type = 2;
|
||||
* @return {!proto.google.api.LabelDescriptor.ValueType}
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.prototype.getValueType = function() {
|
||||
return /** @type {!proto.google.api.LabelDescriptor.ValueType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.LabelDescriptor.ValueType} value
|
||||
* @return {!proto.google.api.LabelDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.prototype.setValueType = function(value) {
|
||||
return jspb.Message.setProto3EnumField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string description = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.prototype.getDescription = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.LabelDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.LabelDescriptor.prototype.setDescription = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/launch_stage_grpc_pb.d.ts
vendored
1
api/js/google/api/launch_stage_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
18
api/js/google/api/launch_stage_pb.d.ts
vendored
18
api/js/google/api/launch_stage_pb.d.ts
vendored
@ -1,18 +0,0 @@
|
||||
// package: google.api
|
||||
// file: google/api/launch_stage.proto
|
||||
|
||||
import * as jspb from "google-protobuf";
|
||||
|
||||
export interface LaunchStageMap {
|
||||
LAUNCH_STAGE_UNSPECIFIED: 0;
|
||||
UNIMPLEMENTED: 6;
|
||||
PRELAUNCH: 7;
|
||||
EARLY_ACCESS: 1;
|
||||
ALPHA: 2;
|
||||
BETA: 3;
|
||||
GA: 4;
|
||||
DEPRECATED: 5;
|
||||
}
|
||||
|
||||
export const LaunchStage: LaunchStageMap;
|
||||
|
30
api/js/google/api/launch_stage_pb.js
vendored
30
api/js/google/api/launch_stage_pb.js
vendored
@ -1,30 +0,0 @@
|
||||
// source: google/api/launch_stage.proto
|
||||
/**
|
||||
* @fileoverview
|
||||
* @enhanceable
|
||||
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
||||
* field starts with 'MSG_' and isn't a translatable message.
|
||||
* @public
|
||||
*/
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
|
||||
var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
goog.exportSymbol('proto.google.api.LaunchStage', null, global);
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.google.api.LaunchStage = {
|
||||
LAUNCH_STAGE_UNSPECIFIED: 0,
|
||||
UNIMPLEMENTED: 6,
|
||||
PRELAUNCH: 7,
|
||||
EARLY_ACCESS: 1,
|
||||
ALPHA: 2,
|
||||
BETA: 3,
|
||||
GA: 4,
|
||||
DEPRECATED: 5
|
||||
};
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
1
api/js/google/api/log_grpc_pb.d.ts
vendored
1
api/js/google/api/log_grpc_pb.d.ts
vendored
@ -1 +0,0 @@
|
||||
// GENERATED CODE -- NO SERVICES IN PROTO
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user