mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-21 16:49:39 +00:00
api: Remove generated API files from repo.
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 commit is contained in:
4
api/grpc-web/.gitignore
vendored
Normal file
4
api/grpc-web/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
*.ts
|
||||
*.js
|
||||
/node_modules
|
||||
*.log
|
584
api/grpc-web/api/application_grpc_web_pb.d.ts
vendored
584
api/grpc-web/api/application_grpc_web_pb.d.ts
vendored
@ -1,584 +0,0 @@
|
||||
import * as grpcWeb from 'grpc-web';
|
||||
|
||||
import * as api_application_pb from '../api/application_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
|
||||
|
||||
export class ApplicationServiceClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_application_pb.CreateApplicationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.CreateApplicationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.CreateApplicationResponse>;
|
||||
|
||||
get(
|
||||
request: api_application_pb.GetApplicationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.GetApplicationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.GetApplicationResponse>;
|
||||
|
||||
update(
|
||||
request: api_application_pb.UpdateApplicationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_application_pb.DeleteApplicationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_application_pb.ListApplicationsRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.ListApplicationsResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.ListApplicationsResponse>;
|
||||
|
||||
listIntegrations(
|
||||
request: api_application_pb.ListIntegrationsRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.ListIntegrationsResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.ListIntegrationsResponse>;
|
||||
|
||||
createHttpIntegration(
|
||||
request: api_application_pb.CreateHttpIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getHttpIntegration(
|
||||
request: api_application_pb.GetHttpIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.GetHttpIntegrationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.GetHttpIntegrationResponse>;
|
||||
|
||||
updateHttpIntegration(
|
||||
request: api_application_pb.UpdateHttpIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteHttpIntegration(
|
||||
request: api_application_pb.DeleteHttpIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createInfluxDbIntegration(
|
||||
request: api_application_pb.CreateInfluxDbIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getInfluxDbIntegration(
|
||||
request: api_application_pb.GetInfluxDbIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.GetInfluxDbIntegrationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.GetInfluxDbIntegrationResponse>;
|
||||
|
||||
updateInfluxDbIntegration(
|
||||
request: api_application_pb.UpdateInfluxDbIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteInfluxDbIntegration(
|
||||
request: api_application_pb.DeleteInfluxDbIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createThingsBoardIntegration(
|
||||
request: api_application_pb.CreateThingsBoardIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getThingsBoardIntegration(
|
||||
request: api_application_pb.GetThingsBoardIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.GetThingsBoardIntegrationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.GetThingsBoardIntegrationResponse>;
|
||||
|
||||
updateThingsBoardIntegration(
|
||||
request: api_application_pb.UpdateThingsBoardIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteThingsBoardIntegration(
|
||||
request: api_application_pb.DeleteThingsBoardIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createMyDevicesIntegration(
|
||||
request: api_application_pb.CreateMyDevicesIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getMyDevicesIntegration(
|
||||
request: api_application_pb.GetMyDevicesIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.GetMyDevicesIntegrationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.GetMyDevicesIntegrationResponse>;
|
||||
|
||||
updateMyDevicesIntegration(
|
||||
request: api_application_pb.UpdateMyDevicesIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteMyDevicesIntegration(
|
||||
request: api_application_pb.DeleteMyDevicesIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createLoraCloudIntegration(
|
||||
request: api_application_pb.CreateLoraCloudIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getLoraCloudIntegration(
|
||||
request: api_application_pb.GetLoraCloudIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.GetLoraCloudIntegrationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.GetLoraCloudIntegrationResponse>;
|
||||
|
||||
updateLoraCloudIntegration(
|
||||
request: api_application_pb.UpdateLoraCloudIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteLoraCloudIntegration(
|
||||
request: api_application_pb.DeleteLoraCloudIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createGcpPubSubIntegration(
|
||||
request: api_application_pb.CreateGcpPubSubIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getGcpPubSubIntegration(
|
||||
request: api_application_pb.GetGcpPubSubIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.GetGcpPubSubIntegrationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.GetGcpPubSubIntegrationResponse>;
|
||||
|
||||
updateGcpPubSubIntegration(
|
||||
request: api_application_pb.UpdateGcpPubSubIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteGcpPubSubIntegration(
|
||||
request: api_application_pb.DeleteGcpPubSubIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createAwsSnsIntegration(
|
||||
request: api_application_pb.CreateAwsSnsIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getAwsSnsIntegration(
|
||||
request: api_application_pb.GetAwsSnsIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.GetAwsSnsIntegrationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.GetAwsSnsIntegrationResponse>;
|
||||
|
||||
updateAwsSnsIntegration(
|
||||
request: api_application_pb.UpdateAwsSnsIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteAwsSnsIntegration(
|
||||
request: api_application_pb.DeleteAwsSnsIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createAzureServiceBusIntegration(
|
||||
request: api_application_pb.CreateAzureServiceBusIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getAzureServiceBusIntegration(
|
||||
request: api_application_pb.GetAzureServiceBusIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.GetAzureServiceBusIntegrationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.GetAzureServiceBusIntegrationResponse>;
|
||||
|
||||
updateAzureServiceBusIntegration(
|
||||
request: api_application_pb.UpdateAzureServiceBusIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteAzureServiceBusIntegration(
|
||||
request: api_application_pb.DeleteAzureServiceBusIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createPilotThingsIntegration(
|
||||
request: api_application_pb.CreatePilotThingsIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getPilotThingsIntegration(
|
||||
request: api_application_pb.GetPilotThingsIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.GetPilotThingsIntegrationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.GetPilotThingsIntegrationResponse>;
|
||||
|
||||
updatePilotThingsIntegration(
|
||||
request: api_application_pb.UpdatePilotThingsIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deletePilotThingsIntegration(
|
||||
request: api_application_pb.DeletePilotThingsIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createIftttIntegration(
|
||||
request: api_application_pb.CreateIftttIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getIftttIntegration(
|
||||
request: api_application_pb.GetIftttIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.GetIftttIntegrationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.GetIftttIntegrationResponse>;
|
||||
|
||||
updateIftttIntegration(
|
||||
request: api_application_pb.UpdateIftttIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteIftttIntegration(
|
||||
request: api_application_pb.DeleteIftttIntegrationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
generateMqttIntegrationClientCertificate(
|
||||
request: api_application_pb.GenerateMqttIntegrationClientCertificateRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_application_pb.GenerateMqttIntegrationClientCertificateResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_application_pb.GenerateMqttIntegrationClientCertificateResponse>;
|
||||
|
||||
}
|
||||
|
||||
export class ApplicationServicePromiseClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_application_pb.CreateApplicationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.CreateApplicationResponse>;
|
||||
|
||||
get(
|
||||
request: api_application_pb.GetApplicationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.GetApplicationResponse>;
|
||||
|
||||
update(
|
||||
request: api_application_pb.UpdateApplicationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_application_pb.DeleteApplicationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_application_pb.ListApplicationsRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.ListApplicationsResponse>;
|
||||
|
||||
listIntegrations(
|
||||
request: api_application_pb.ListIntegrationsRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.ListIntegrationsResponse>;
|
||||
|
||||
createHttpIntegration(
|
||||
request: api_application_pb.CreateHttpIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getHttpIntegration(
|
||||
request: api_application_pb.GetHttpIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.GetHttpIntegrationResponse>;
|
||||
|
||||
updateHttpIntegration(
|
||||
request: api_application_pb.UpdateHttpIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteHttpIntegration(
|
||||
request: api_application_pb.DeleteHttpIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createInfluxDbIntegration(
|
||||
request: api_application_pb.CreateInfluxDbIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getInfluxDbIntegration(
|
||||
request: api_application_pb.GetInfluxDbIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.GetInfluxDbIntegrationResponse>;
|
||||
|
||||
updateInfluxDbIntegration(
|
||||
request: api_application_pb.UpdateInfluxDbIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteInfluxDbIntegration(
|
||||
request: api_application_pb.DeleteInfluxDbIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createThingsBoardIntegration(
|
||||
request: api_application_pb.CreateThingsBoardIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getThingsBoardIntegration(
|
||||
request: api_application_pb.GetThingsBoardIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.GetThingsBoardIntegrationResponse>;
|
||||
|
||||
updateThingsBoardIntegration(
|
||||
request: api_application_pb.UpdateThingsBoardIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteThingsBoardIntegration(
|
||||
request: api_application_pb.DeleteThingsBoardIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createMyDevicesIntegration(
|
||||
request: api_application_pb.CreateMyDevicesIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getMyDevicesIntegration(
|
||||
request: api_application_pb.GetMyDevicesIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.GetMyDevicesIntegrationResponse>;
|
||||
|
||||
updateMyDevicesIntegration(
|
||||
request: api_application_pb.UpdateMyDevicesIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteMyDevicesIntegration(
|
||||
request: api_application_pb.DeleteMyDevicesIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createLoraCloudIntegration(
|
||||
request: api_application_pb.CreateLoraCloudIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getLoraCloudIntegration(
|
||||
request: api_application_pb.GetLoraCloudIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.GetLoraCloudIntegrationResponse>;
|
||||
|
||||
updateLoraCloudIntegration(
|
||||
request: api_application_pb.UpdateLoraCloudIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteLoraCloudIntegration(
|
||||
request: api_application_pb.DeleteLoraCloudIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createGcpPubSubIntegration(
|
||||
request: api_application_pb.CreateGcpPubSubIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getGcpPubSubIntegration(
|
||||
request: api_application_pb.GetGcpPubSubIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.GetGcpPubSubIntegrationResponse>;
|
||||
|
||||
updateGcpPubSubIntegration(
|
||||
request: api_application_pb.UpdateGcpPubSubIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteGcpPubSubIntegration(
|
||||
request: api_application_pb.DeleteGcpPubSubIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createAwsSnsIntegration(
|
||||
request: api_application_pb.CreateAwsSnsIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getAwsSnsIntegration(
|
||||
request: api_application_pb.GetAwsSnsIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.GetAwsSnsIntegrationResponse>;
|
||||
|
||||
updateAwsSnsIntegration(
|
||||
request: api_application_pb.UpdateAwsSnsIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteAwsSnsIntegration(
|
||||
request: api_application_pb.DeleteAwsSnsIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createAzureServiceBusIntegration(
|
||||
request: api_application_pb.CreateAzureServiceBusIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getAzureServiceBusIntegration(
|
||||
request: api_application_pb.GetAzureServiceBusIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.GetAzureServiceBusIntegrationResponse>;
|
||||
|
||||
updateAzureServiceBusIntegration(
|
||||
request: api_application_pb.UpdateAzureServiceBusIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteAzureServiceBusIntegration(
|
||||
request: api_application_pb.DeleteAzureServiceBusIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createPilotThingsIntegration(
|
||||
request: api_application_pb.CreatePilotThingsIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getPilotThingsIntegration(
|
||||
request: api_application_pb.GetPilotThingsIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.GetPilotThingsIntegrationResponse>;
|
||||
|
||||
updatePilotThingsIntegration(
|
||||
request: api_application_pb.UpdatePilotThingsIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deletePilotThingsIntegration(
|
||||
request: api_application_pb.DeletePilotThingsIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
createIftttIntegration(
|
||||
request: api_application_pb.CreateIftttIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getIftttIntegration(
|
||||
request: api_application_pb.GetIftttIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.GetIftttIntegrationResponse>;
|
||||
|
||||
updateIftttIntegration(
|
||||
request: api_application_pb.UpdateIftttIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteIftttIntegration(
|
||||
request: api_application_pb.DeleteIftttIntegrationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
generateMqttIntegrationClientCertificate(
|
||||
request: api_application_pb.GenerateMqttIntegrationClientCertificateRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_application_pb.GenerateMqttIntegrationClientCertificateResponse>;
|
||||
|
||||
}
|
||||
|
2951
api/grpc-web/api/application_grpc_web_pb.js
vendored
2951
api/grpc-web/api/application_grpc_web_pb.js
vendored
File diff suppressed because it is too large
Load Diff
1760
api/grpc-web/api/application_pb.d.ts
vendored
1760
api/grpc-web/api/application_pb.d.ts
vendored
File diff suppressed because it is too large
Load Diff
14595
api/grpc-web/api/application_pb.js
vendored
14595
api/grpc-web/api/application_pb.js
vendored
File diff suppressed because it is too large
Load Diff
260
api/grpc-web/api/device_grpc_web_pb.d.ts
vendored
260
api/grpc-web/api/device_grpc_web_pb.d.ts
vendored
@ -1,260 +0,0 @@
|
||||
import * as grpcWeb from 'grpc-web';
|
||||
|
||||
import * as api_device_pb from '../api/device_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
|
||||
|
||||
export class DeviceServiceClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_device_pb.CreateDeviceRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
get(
|
||||
request: api_device_pb.GetDeviceRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_pb.GetDeviceResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_pb.GetDeviceResponse>;
|
||||
|
||||
update(
|
||||
request: api_device_pb.UpdateDeviceRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_device_pb.DeleteDeviceRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_device_pb.ListDevicesRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_pb.ListDevicesResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_pb.ListDevicesResponse>;
|
||||
|
||||
createKeys(
|
||||
request: api_device_pb.CreateDeviceKeysRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getKeys(
|
||||
request: api_device_pb.GetDeviceKeysRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_pb.GetDeviceKeysResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_pb.GetDeviceKeysResponse>;
|
||||
|
||||
updateKeys(
|
||||
request: api_device_pb.UpdateDeviceKeysRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteKeys(
|
||||
request: api_device_pb.DeleteDeviceKeysRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
flushDevNonces(
|
||||
request: api_device_pb.FlushDevNoncesRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
activate(
|
||||
request: api_device_pb.ActivateDeviceRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deactivate(
|
||||
request: api_device_pb.DeactivateDeviceRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getActivation(
|
||||
request: api_device_pb.GetDeviceActivationRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_pb.GetDeviceActivationResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_pb.GetDeviceActivationResponse>;
|
||||
|
||||
getRandomDevAddr(
|
||||
request: api_device_pb.GetRandomDevAddrRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_pb.GetRandomDevAddrResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_pb.GetRandomDevAddrResponse>;
|
||||
|
||||
getMetrics(
|
||||
request: api_device_pb.GetDeviceMetricsRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_pb.GetDeviceMetricsResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_pb.GetDeviceMetricsResponse>;
|
||||
|
||||
getLinkMetrics(
|
||||
request: api_device_pb.GetDeviceLinkMetricsRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_pb.GetDeviceLinkMetricsResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_pb.GetDeviceLinkMetricsResponse>;
|
||||
|
||||
enqueue(
|
||||
request: api_device_pb.EnqueueDeviceQueueItemRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_pb.EnqueueDeviceQueueItemResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_pb.EnqueueDeviceQueueItemResponse>;
|
||||
|
||||
flushQueue(
|
||||
request: api_device_pb.FlushDeviceQueueRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getQueue(
|
||||
request: api_device_pb.GetDeviceQueueItemsRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_pb.GetDeviceQueueItemsResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_pb.GetDeviceQueueItemsResponse>;
|
||||
|
||||
getNextFCntDown(
|
||||
request: api_device_pb.GetDeviceNextFCntDownRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_pb.GetDeviceNextFCntDownResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_pb.GetDeviceNextFCntDownResponse>;
|
||||
|
||||
}
|
||||
|
||||
export class DeviceServicePromiseClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_device_pb.CreateDeviceRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
get(
|
||||
request: api_device_pb.GetDeviceRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_pb.GetDeviceResponse>;
|
||||
|
||||
update(
|
||||
request: api_device_pb.UpdateDeviceRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_device_pb.DeleteDeviceRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_device_pb.ListDevicesRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_pb.ListDevicesResponse>;
|
||||
|
||||
createKeys(
|
||||
request: api_device_pb.CreateDeviceKeysRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getKeys(
|
||||
request: api_device_pb.GetDeviceKeysRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_pb.GetDeviceKeysResponse>;
|
||||
|
||||
updateKeys(
|
||||
request: api_device_pb.UpdateDeviceKeysRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteKeys(
|
||||
request: api_device_pb.DeleteDeviceKeysRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
flushDevNonces(
|
||||
request: api_device_pb.FlushDevNoncesRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
activate(
|
||||
request: api_device_pb.ActivateDeviceRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deactivate(
|
||||
request: api_device_pb.DeactivateDeviceRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getActivation(
|
||||
request: api_device_pb.GetDeviceActivationRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_pb.GetDeviceActivationResponse>;
|
||||
|
||||
getRandomDevAddr(
|
||||
request: api_device_pb.GetRandomDevAddrRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_pb.GetRandomDevAddrResponse>;
|
||||
|
||||
getMetrics(
|
||||
request: api_device_pb.GetDeviceMetricsRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_pb.GetDeviceMetricsResponse>;
|
||||
|
||||
getLinkMetrics(
|
||||
request: api_device_pb.GetDeviceLinkMetricsRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_pb.GetDeviceLinkMetricsResponse>;
|
||||
|
||||
enqueue(
|
||||
request: api_device_pb.EnqueueDeviceQueueItemRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_pb.EnqueueDeviceQueueItemResponse>;
|
||||
|
||||
flushQueue(
|
||||
request: api_device_pb.FlushDeviceQueueRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getQueue(
|
||||
request: api_device_pb.GetDeviceQueueItemsRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_pb.GetDeviceQueueItemsResponse>;
|
||||
|
||||
getNextFCntDown(
|
||||
request: api_device_pb.GetDeviceNextFCntDownRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_pb.GetDeviceNextFCntDownResponse>;
|
||||
|
||||
}
|
||||
|
1308
api/grpc-web/api/device_grpc_web_pb.js
vendored
1308
api/grpc-web/api/device_grpc_web_pb.js
vendored
File diff suppressed because it is too large
Load Diff
1003
api/grpc-web/api/device_pb.d.ts
vendored
1003
api/grpc-web/api/device_pb.d.ts
vendored
File diff suppressed because it is too large
Load Diff
8346
api/grpc-web/api/device_pb.js
vendored
8346
api/grpc-web/api/device_pb.js
vendored
File diff suppressed because it is too large
Load Diff
92
api/grpc-web/api/device_profile_grpc_web_pb.d.ts
vendored
92
api/grpc-web/api/device_profile_grpc_web_pb.d.ts
vendored
@ -1,92 +0,0 @@
|
||||
import * as grpcWeb from 'grpc-web';
|
||||
|
||||
import * as api_device_profile_pb from '../api/device_profile_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
|
||||
|
||||
export class DeviceProfileServiceClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_device_profile_pb.CreateDeviceProfileRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_profile_pb.CreateDeviceProfileResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_profile_pb.CreateDeviceProfileResponse>;
|
||||
|
||||
get(
|
||||
request: api_device_profile_pb.GetDeviceProfileRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_profile_pb.GetDeviceProfileResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_profile_pb.GetDeviceProfileResponse>;
|
||||
|
||||
update(
|
||||
request: api_device_profile_pb.UpdateDeviceProfileRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_device_profile_pb.DeleteDeviceProfileRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_device_profile_pb.ListDeviceProfilesRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_profile_pb.ListDeviceProfilesResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_profile_pb.ListDeviceProfilesResponse>;
|
||||
|
||||
listAdrAlgorithms(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_profile_pb.ListDeviceProfileAdrAlgorithmsResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_profile_pb.ListDeviceProfileAdrAlgorithmsResponse>;
|
||||
|
||||
}
|
||||
|
||||
export class DeviceProfileServicePromiseClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_device_profile_pb.CreateDeviceProfileRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_profile_pb.CreateDeviceProfileResponse>;
|
||||
|
||||
get(
|
||||
request: api_device_profile_pb.GetDeviceProfileRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_profile_pb.GetDeviceProfileResponse>;
|
||||
|
||||
update(
|
||||
request: api_device_profile_pb.UpdateDeviceProfileRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_device_profile_pb.DeleteDeviceProfileRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_device_profile_pb.ListDeviceProfilesRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_profile_pb.ListDeviceProfilesResponse>;
|
||||
|
||||
listAdrAlgorithms(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_profile_pb.ListDeviceProfileAdrAlgorithmsResponse>;
|
||||
|
||||
}
|
||||
|
452
api/grpc-web/api/device_profile_grpc_web_pb.js
vendored
452
api/grpc-web/api/device_profile_grpc_web_pb.js
vendored
@ -1,452 +0,0 @@
|
||||
/**
|
||||
* @fileoverview gRPC-Web generated client stub for api
|
||||
* @enhanceable
|
||||
* @public
|
||||
*/
|
||||
|
||||
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-grpc-web v1.4.2
|
||||
// protoc v3.12.4
|
||||
// source: api/device_profile.proto
|
||||
|
||||
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
|
||||
|
||||
const grpc = {};
|
||||
grpc.web = require('grpc-web');
|
||||
|
||||
|
||||
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')
|
||||
const proto = {};
|
||||
proto.api = require('./device_profile_pb.js');
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.DeviceProfileServiceClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.DeviceProfileServicePromiseClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.CreateDeviceProfileRequest,
|
||||
* !proto.api.CreateDeviceProfileResponse>}
|
||||
*/
|
||||
const methodDescriptor_DeviceProfileService_Create = new grpc.web.MethodDescriptor(
|
||||
'/api.DeviceProfileService/Create',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.CreateDeviceProfileRequest,
|
||||
proto.api.CreateDeviceProfileResponse,
|
||||
/**
|
||||
* @param {!proto.api.CreateDeviceProfileRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.CreateDeviceProfileResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.CreateDeviceProfileRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.CreateDeviceProfileResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.CreateDeviceProfileResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.DeviceProfileServiceClient.prototype.create =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.DeviceProfileService/Create',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileService_Create,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.CreateDeviceProfileRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.CreateDeviceProfileResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.DeviceProfileServicePromiseClient.prototype.create =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.DeviceProfileService/Create',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileService_Create);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.GetDeviceProfileRequest,
|
||||
* !proto.api.GetDeviceProfileResponse>}
|
||||
*/
|
||||
const methodDescriptor_DeviceProfileService_Get = new grpc.web.MethodDescriptor(
|
||||
'/api.DeviceProfileService/Get',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.GetDeviceProfileRequest,
|
||||
proto.api.GetDeviceProfileResponse,
|
||||
/**
|
||||
* @param {!proto.api.GetDeviceProfileRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.GetDeviceProfileResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetDeviceProfileRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.GetDeviceProfileResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.GetDeviceProfileResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.DeviceProfileServiceClient.prototype.get =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.DeviceProfileService/Get',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileService_Get,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetDeviceProfileRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.GetDeviceProfileResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.DeviceProfileServicePromiseClient.prototype.get =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.DeviceProfileService/Get',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileService_Get);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.UpdateDeviceProfileRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_DeviceProfileService_Update = new grpc.web.MethodDescriptor(
|
||||
'/api.DeviceProfileService/Update',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.UpdateDeviceProfileRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.UpdateDeviceProfileRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateDeviceProfileRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.DeviceProfileServiceClient.prototype.update =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.DeviceProfileService/Update',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileService_Update,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateDeviceProfileRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.DeviceProfileServicePromiseClient.prototype.update =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.DeviceProfileService/Update',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileService_Update);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.DeleteDeviceProfileRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_DeviceProfileService_Delete = new grpc.web.MethodDescriptor(
|
||||
'/api.DeviceProfileService/Delete',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.DeleteDeviceProfileRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.DeleteDeviceProfileRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteDeviceProfileRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.DeviceProfileServiceClient.prototype.delete =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.DeviceProfileService/Delete',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileService_Delete,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteDeviceProfileRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.DeviceProfileServicePromiseClient.prototype.delete =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.DeviceProfileService/Delete',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileService_Delete);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.ListDeviceProfilesRequest,
|
||||
* !proto.api.ListDeviceProfilesResponse>}
|
||||
*/
|
||||
const methodDescriptor_DeviceProfileService_List = new grpc.web.MethodDescriptor(
|
||||
'/api.DeviceProfileService/List',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.ListDeviceProfilesRequest,
|
||||
proto.api.ListDeviceProfilesResponse,
|
||||
/**
|
||||
* @param {!proto.api.ListDeviceProfilesRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.ListDeviceProfilesResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListDeviceProfilesRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.ListDeviceProfilesResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.ListDeviceProfilesResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.DeviceProfileServiceClient.prototype.list =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.DeviceProfileService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileService_List,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListDeviceProfilesRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.ListDeviceProfilesResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.DeviceProfileServicePromiseClient.prototype.list =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.DeviceProfileService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileService_List);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.google.protobuf.Empty,
|
||||
* !proto.api.ListDeviceProfileAdrAlgorithmsResponse>}
|
||||
*/
|
||||
const methodDescriptor_DeviceProfileService_ListAdrAlgorithms = new grpc.web.MethodDescriptor(
|
||||
'/api.DeviceProfileService/ListAdrAlgorithms',
|
||||
grpc.web.MethodType.UNARY,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
proto.api.ListDeviceProfileAdrAlgorithmsResponse,
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.ListDeviceProfileAdrAlgorithmsResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.ListDeviceProfileAdrAlgorithmsResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.ListDeviceProfileAdrAlgorithmsResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.DeviceProfileServiceClient.prototype.listAdrAlgorithms =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.DeviceProfileService/ListAdrAlgorithms',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileService_ListAdrAlgorithms,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Empty} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.ListDeviceProfileAdrAlgorithmsResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.DeviceProfileServicePromiseClient.prototype.listAdrAlgorithms =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.DeviceProfileService/ListAdrAlgorithms',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileService_ListAdrAlgorithms);
|
||||
};
|
||||
|
||||
|
||||
module.exports = proto.api;
|
||||
|
570
api/grpc-web/api/device_profile_pb.d.ts
vendored
570
api/grpc-web/api/device_profile_pb.d.ts
vendored
@ -1,570 +0,0 @@
|
||||
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): DeviceProfile;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): DeviceProfile;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): DeviceProfile;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): DeviceProfile;
|
||||
|
||||
getRegion(): common_common_pb.Region;
|
||||
setRegion(value: common_common_pb.Region): DeviceProfile;
|
||||
|
||||
getMacVersion(): common_common_pb.MacVersion;
|
||||
setMacVersion(value: common_common_pb.MacVersion): DeviceProfile;
|
||||
|
||||
getRegParamsRevision(): common_common_pb.RegParamsRevision;
|
||||
setRegParamsRevision(value: common_common_pb.RegParamsRevision): DeviceProfile;
|
||||
|
||||
getAdrAlgorithmId(): string;
|
||||
setAdrAlgorithmId(value: string): DeviceProfile;
|
||||
|
||||
getPayloadCodecRuntime(): CodecRuntime;
|
||||
setPayloadCodecRuntime(value: CodecRuntime): DeviceProfile;
|
||||
|
||||
getPayloadCodecScript(): string;
|
||||
setPayloadCodecScript(value: string): DeviceProfile;
|
||||
|
||||
getFlushQueueOnActivate(): boolean;
|
||||
setFlushQueueOnActivate(value: boolean): DeviceProfile;
|
||||
|
||||
getUplinkInterval(): number;
|
||||
setUplinkInterval(value: number): DeviceProfile;
|
||||
|
||||
getDeviceStatusReqInterval(): number;
|
||||
setDeviceStatusReqInterval(value: number): DeviceProfile;
|
||||
|
||||
getSupportsOtaa(): boolean;
|
||||
setSupportsOtaa(value: boolean): DeviceProfile;
|
||||
|
||||
getSupportsClassB(): boolean;
|
||||
setSupportsClassB(value: boolean): DeviceProfile;
|
||||
|
||||
getSupportsClassC(): boolean;
|
||||
setSupportsClassC(value: boolean): DeviceProfile;
|
||||
|
||||
getClassBTimeout(): number;
|
||||
setClassBTimeout(value: number): DeviceProfile;
|
||||
|
||||
getClassBPingSlotNbK(): number;
|
||||
setClassBPingSlotNbK(value: number): DeviceProfile;
|
||||
|
||||
getClassBPingSlotDr(): number;
|
||||
setClassBPingSlotDr(value: number): DeviceProfile;
|
||||
|
||||
getClassBPingSlotFreq(): number;
|
||||
setClassBPingSlotFreq(value: number): DeviceProfile;
|
||||
|
||||
getClassCTimeout(): number;
|
||||
setClassCTimeout(value: number): DeviceProfile;
|
||||
|
||||
getAbpRx1Delay(): number;
|
||||
setAbpRx1Delay(value: number): DeviceProfile;
|
||||
|
||||
getAbpRx1DrOffset(): number;
|
||||
setAbpRx1DrOffset(value: number): DeviceProfile;
|
||||
|
||||
getAbpRx2Dr(): number;
|
||||
setAbpRx2Dr(value: number): DeviceProfile;
|
||||
|
||||
getAbpRx2Freq(): number;
|
||||
setAbpRx2Freq(value: number): DeviceProfile;
|
||||
|
||||
getTagsMap(): jspb.Map<string, string>;
|
||||
clearTagsMap(): DeviceProfile;
|
||||
|
||||
getMeasurementsMap(): jspb.Map<string, Measurement>;
|
||||
clearMeasurementsMap(): DeviceProfile;
|
||||
|
||||
getAutoDetectMeasurements(): boolean;
|
||||
setAutoDetectMeasurements(value: boolean): DeviceProfile;
|
||||
|
||||
getRegionConfigId(): string;
|
||||
setRegionConfigId(value: string): DeviceProfile;
|
||||
|
||||
getIsRelay(): boolean;
|
||||
setIsRelay(value: boolean): DeviceProfile;
|
||||
|
||||
getIsRelayEd(): boolean;
|
||||
setIsRelayEd(value: boolean): DeviceProfile;
|
||||
|
||||
getRelayEdRelayOnly(): boolean;
|
||||
setRelayEdRelayOnly(value: boolean): DeviceProfile;
|
||||
|
||||
getRelayEnabled(): boolean;
|
||||
setRelayEnabled(value: boolean): DeviceProfile;
|
||||
|
||||
getRelayCadPeriodicity(): CadPeriodicity;
|
||||
setRelayCadPeriodicity(value: CadPeriodicity): DeviceProfile;
|
||||
|
||||
getRelayDefaultChannelIndex(): number;
|
||||
setRelayDefaultChannelIndex(value: number): DeviceProfile;
|
||||
|
||||
getRelaySecondChannelFreq(): number;
|
||||
setRelaySecondChannelFreq(value: number): DeviceProfile;
|
||||
|
||||
getRelaySecondChannelDr(): number;
|
||||
setRelaySecondChannelDr(value: number): DeviceProfile;
|
||||
|
||||
getRelaySecondChannelAckOffset(): SecondChAckOffset;
|
||||
setRelaySecondChannelAckOffset(value: SecondChAckOffset): DeviceProfile;
|
||||
|
||||
getRelayEdActivationMode(): RelayModeActivation;
|
||||
setRelayEdActivationMode(value: RelayModeActivation): DeviceProfile;
|
||||
|
||||
getRelayEdSmartEnableLevel(): number;
|
||||
setRelayEdSmartEnableLevel(value: number): DeviceProfile;
|
||||
|
||||
getRelayEdBackOff(): number;
|
||||
setRelayEdBackOff(value: number): DeviceProfile;
|
||||
|
||||
getRelayEdUplinkLimitBucketSize(): number;
|
||||
setRelayEdUplinkLimitBucketSize(value: number): DeviceProfile;
|
||||
|
||||
getRelayEdUplinkLimitReloadRate(): number;
|
||||
setRelayEdUplinkLimitReloadRate(value: number): DeviceProfile;
|
||||
|
||||
getRelayJoinReqLimitReloadRate(): number;
|
||||
setRelayJoinReqLimitReloadRate(value: number): DeviceProfile;
|
||||
|
||||
getRelayNotifyLimitReloadRate(): number;
|
||||
setRelayNotifyLimitReloadRate(value: number): DeviceProfile;
|
||||
|
||||
getRelayGlobalUplinkLimitReloadRate(): number;
|
||||
setRelayGlobalUplinkLimitReloadRate(value: number): DeviceProfile;
|
||||
|
||||
getRelayOverallLimitReloadRate(): number;
|
||||
setRelayOverallLimitReloadRate(value: number): DeviceProfile;
|
||||
|
||||
getRelayJoinReqLimitBucketSize(): number;
|
||||
setRelayJoinReqLimitBucketSize(value: number): DeviceProfile;
|
||||
|
||||
getRelayNotifyLimitBucketSize(): number;
|
||||
setRelayNotifyLimitBucketSize(value: number): DeviceProfile;
|
||||
|
||||
getRelayGlobalUplinkLimitBucketSize(): number;
|
||||
setRelayGlobalUplinkLimitBucketSize(value: number): DeviceProfile;
|
||||
|
||||
getRelayOverallLimitBucketSize(): number;
|
||||
setRelayOverallLimitBucketSize(value: number): DeviceProfile;
|
||||
|
||||
getAllowRoaming(): boolean;
|
||||
setAllowRoaming(value: boolean): DeviceProfile;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeviceProfile.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeviceProfile): DeviceProfile.AsObject;
|
||||
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.Region,
|
||||
macVersion: common_common_pb.MacVersion,
|
||||
regParamsRevision: common_common_pb.RegParamsRevision,
|
||||
adrAlgorithmId: string,
|
||||
payloadCodecRuntime: CodecRuntime,
|
||||
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: CadPeriodicity,
|
||||
relayDefaultChannelIndex: number,
|
||||
relaySecondChannelFreq: number,
|
||||
relaySecondChannelDr: number,
|
||||
relaySecondChannelAckOffset: SecondChAckOffset,
|
||||
relayEdActivationMode: RelayModeActivation,
|
||||
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): Measurement;
|
||||
|
||||
getKind(): MeasurementKind;
|
||||
setKind(value: MeasurementKind): Measurement;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Measurement.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Measurement): Measurement.AsObject;
|
||||
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: MeasurementKind,
|
||||
}
|
||||
}
|
||||
|
||||
export class DeviceProfileListItem extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): DeviceProfileListItem;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): DeviceProfileListItem;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): DeviceProfileListItem;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): DeviceProfileListItem;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): DeviceProfileListItem;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): DeviceProfileListItem;
|
||||
|
||||
getRegion(): common_common_pb.Region;
|
||||
setRegion(value: common_common_pb.Region): DeviceProfileListItem;
|
||||
|
||||
getMacVersion(): common_common_pb.MacVersion;
|
||||
setMacVersion(value: common_common_pb.MacVersion): DeviceProfileListItem;
|
||||
|
||||
getRegParamsRevision(): common_common_pb.RegParamsRevision;
|
||||
setRegParamsRevision(value: common_common_pb.RegParamsRevision): DeviceProfileListItem;
|
||||
|
||||
getSupportsOtaa(): boolean;
|
||||
setSupportsOtaa(value: boolean): DeviceProfileListItem;
|
||||
|
||||
getSupportsClassB(): boolean;
|
||||
setSupportsClassB(value: boolean): DeviceProfileListItem;
|
||||
|
||||
getSupportsClassC(): boolean;
|
||||
setSupportsClassC(value: boolean): DeviceProfileListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeviceProfileListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeviceProfileListItem): DeviceProfileListItem.AsObject;
|
||||
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.Region,
|
||||
macVersion: common_common_pb.MacVersion,
|
||||
regParamsRevision: common_common_pb.RegParamsRevision,
|
||||
supportsOtaa: boolean,
|
||||
supportsClassB: boolean,
|
||||
supportsClassC: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateDeviceProfileRequest extends jspb.Message {
|
||||
getDeviceProfile(): DeviceProfile | undefined;
|
||||
setDeviceProfile(value?: DeviceProfile): CreateDeviceProfileRequest;
|
||||
hasDeviceProfile(): boolean;
|
||||
clearDeviceProfile(): CreateDeviceProfileRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateDeviceProfileRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateDeviceProfileRequest): CreateDeviceProfileRequest.AsObject;
|
||||
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): CreateDeviceProfileResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateDeviceProfileResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateDeviceProfileResponse): CreateDeviceProfileResponse.AsObject;
|
||||
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): GetDeviceProfileRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDeviceProfileRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDeviceProfileRequest): GetDeviceProfileRequest.AsObject;
|
||||
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 {
|
||||
getDeviceProfile(): DeviceProfile | undefined;
|
||||
setDeviceProfile(value?: DeviceProfile): GetDeviceProfileResponse;
|
||||
hasDeviceProfile(): boolean;
|
||||
clearDeviceProfile(): GetDeviceProfileResponse;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetDeviceProfileResponse;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): GetDeviceProfileResponse;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetDeviceProfileResponse;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): GetDeviceProfileResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDeviceProfileResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDeviceProfileResponse): GetDeviceProfileResponse.AsObject;
|
||||
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 {
|
||||
getDeviceProfile(): DeviceProfile | undefined;
|
||||
setDeviceProfile(value?: DeviceProfile): UpdateDeviceProfileRequest;
|
||||
hasDeviceProfile(): boolean;
|
||||
clearDeviceProfile(): UpdateDeviceProfileRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateDeviceProfileRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateDeviceProfileRequest): UpdateDeviceProfileRequest.AsObject;
|
||||
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): DeleteDeviceProfileRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteDeviceProfileRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteDeviceProfileRequest): DeleteDeviceProfileRequest.AsObject;
|
||||
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): ListDeviceProfilesRequest;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): ListDeviceProfilesRequest;
|
||||
|
||||
getSearch(): string;
|
||||
setSearch(value: string): ListDeviceProfilesRequest;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): ListDeviceProfilesRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListDeviceProfilesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListDeviceProfilesRequest): ListDeviceProfilesRequest.AsObject;
|
||||
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): ListDeviceProfilesResponse;
|
||||
|
||||
getResultList(): Array<DeviceProfileListItem>;
|
||||
setResultList(value: Array<DeviceProfileListItem>): ListDeviceProfilesResponse;
|
||||
clearResultList(): ListDeviceProfilesResponse;
|
||||
addResult(value?: DeviceProfileListItem, index?: number): DeviceProfileListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListDeviceProfilesResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListDeviceProfilesResponse): ListDeviceProfilesResponse.AsObject;
|
||||
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): ListDeviceProfileAdrAlgorithmsResponse;
|
||||
|
||||
getResultList(): Array<AdrAlgorithmListItem>;
|
||||
setResultList(value: Array<AdrAlgorithmListItem>): ListDeviceProfileAdrAlgorithmsResponse;
|
||||
clearResultList(): ListDeviceProfileAdrAlgorithmsResponse;
|
||||
addResult(value?: AdrAlgorithmListItem, index?: number): AdrAlgorithmListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListDeviceProfileAdrAlgorithmsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListDeviceProfileAdrAlgorithmsResponse): ListDeviceProfileAdrAlgorithmsResponse.AsObject;
|
||||
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): AdrAlgorithmListItem;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): AdrAlgorithmListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AdrAlgorithmListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AdrAlgorithmListItem): AdrAlgorithmListItem.AsObject;
|
||||
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 enum CodecRuntime {
|
||||
NONE = 0,
|
||||
CAYENNE_LPP = 1,
|
||||
JS = 2,
|
||||
}
|
||||
export enum MeasurementKind {
|
||||
UNKNOWN = 0,
|
||||
COUNTER = 1,
|
||||
ABSOLUTE = 2,
|
||||
GAUGE = 3,
|
||||
STRING = 4,
|
||||
}
|
||||
export enum CadPeriodicity {
|
||||
SEC_1 = 0,
|
||||
MS_500 = 1,
|
||||
MS_250 = 2,
|
||||
MS_100 = 3,
|
||||
MS_50 = 4,
|
||||
MS_20 = 5,
|
||||
}
|
||||
export enum SecondChAckOffset {
|
||||
KHZ_0 = 0,
|
||||
KHZ_200 = 1,
|
||||
KHZ_400 = 2,
|
||||
KHZ_800 = 3,
|
||||
KHZ_1600 = 4,
|
||||
KHZ_3200 = 5,
|
||||
}
|
||||
export enum RelayModeActivation {
|
||||
DISABLE_RELAY_MODE = 0,
|
||||
ENABLE_RELAY_MODE = 1,
|
||||
DYNAMIC = 2,
|
||||
END_DEVICE_CONTROLLED = 3,
|
||||
}
|
4341
api/grpc-web/api/device_profile_pb.js
vendored
4341
api/grpc-web/api/device_profile_pb.js
vendored
File diff suppressed because it is too large
Load Diff
@ -1,80 +0,0 @@
|
||||
import * as grpcWeb from 'grpc-web';
|
||||
|
||||
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';
|
||||
|
||||
|
||||
export class DeviceProfileTemplateServiceClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_device_profile_template_pb.CreateDeviceProfileTemplateRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
get(
|
||||
request: api_device_profile_template_pb.GetDeviceProfileTemplateRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_profile_template_pb.GetDeviceProfileTemplateResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_profile_template_pb.GetDeviceProfileTemplateResponse>;
|
||||
|
||||
update(
|
||||
request: api_device_profile_template_pb.UpdateDeviceProfileTemplateRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_device_profile_template_pb.DeleteDeviceProfileTemplateRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_device_profile_template_pb.ListDeviceProfileTemplatesRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_device_profile_template_pb.ListDeviceProfileTemplatesResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_device_profile_template_pb.ListDeviceProfileTemplatesResponse>;
|
||||
|
||||
}
|
||||
|
||||
export class DeviceProfileTemplateServicePromiseClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_device_profile_template_pb.CreateDeviceProfileTemplateRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
get(
|
||||
request: api_device_profile_template_pb.GetDeviceProfileTemplateRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_profile_template_pb.GetDeviceProfileTemplateResponse>;
|
||||
|
||||
update(
|
||||
request: api_device_profile_template_pb.UpdateDeviceProfileTemplateRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_device_profile_template_pb.DeleteDeviceProfileTemplateRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_device_profile_template_pb.ListDeviceProfileTemplatesRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_device_profile_template_pb.ListDeviceProfileTemplatesResponse>;
|
||||
|
||||
}
|
||||
|
@ -1,393 +0,0 @@
|
||||
/**
|
||||
* @fileoverview gRPC-Web generated client stub for api
|
||||
* @enhanceable
|
||||
* @public
|
||||
*/
|
||||
|
||||
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-grpc-web v1.4.2
|
||||
// protoc v3.12.4
|
||||
// source: api/device_profile_template.proto
|
||||
|
||||
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
|
||||
|
||||
const grpc = {};
|
||||
grpc.web = require('grpc-web');
|
||||
|
||||
|
||||
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')
|
||||
const proto = {};
|
||||
proto.api = require('./device_profile_template_pb.js');
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.DeviceProfileTemplateServiceClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.DeviceProfileTemplateServicePromiseClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.CreateDeviceProfileTemplateRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_DeviceProfileTemplateService_Create = new grpc.web.MethodDescriptor(
|
||||
'/api.DeviceProfileTemplateService/Create',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.CreateDeviceProfileTemplateRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.CreateDeviceProfileTemplateRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.CreateDeviceProfileTemplateRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.DeviceProfileTemplateServiceClient.prototype.create =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.DeviceProfileTemplateService/Create',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileTemplateService_Create,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.CreateDeviceProfileTemplateRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.DeviceProfileTemplateServicePromiseClient.prototype.create =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.DeviceProfileTemplateService/Create',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileTemplateService_Create);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.GetDeviceProfileTemplateRequest,
|
||||
* !proto.api.GetDeviceProfileTemplateResponse>}
|
||||
*/
|
||||
const methodDescriptor_DeviceProfileTemplateService_Get = new grpc.web.MethodDescriptor(
|
||||
'/api.DeviceProfileTemplateService/Get',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.GetDeviceProfileTemplateRequest,
|
||||
proto.api.GetDeviceProfileTemplateResponse,
|
||||
/**
|
||||
* @param {!proto.api.GetDeviceProfileTemplateRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.GetDeviceProfileTemplateResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetDeviceProfileTemplateRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.GetDeviceProfileTemplateResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.GetDeviceProfileTemplateResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.DeviceProfileTemplateServiceClient.prototype.get =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.DeviceProfileTemplateService/Get',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileTemplateService_Get,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetDeviceProfileTemplateRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.GetDeviceProfileTemplateResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.DeviceProfileTemplateServicePromiseClient.prototype.get =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.DeviceProfileTemplateService/Get',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileTemplateService_Get);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.UpdateDeviceProfileTemplateRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_DeviceProfileTemplateService_Update = new grpc.web.MethodDescriptor(
|
||||
'/api.DeviceProfileTemplateService/Update',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.UpdateDeviceProfileTemplateRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.UpdateDeviceProfileTemplateRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateDeviceProfileTemplateRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.DeviceProfileTemplateServiceClient.prototype.update =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.DeviceProfileTemplateService/Update',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileTemplateService_Update,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateDeviceProfileTemplateRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.DeviceProfileTemplateServicePromiseClient.prototype.update =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.DeviceProfileTemplateService/Update',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileTemplateService_Update);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.DeleteDeviceProfileTemplateRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_DeviceProfileTemplateService_Delete = new grpc.web.MethodDescriptor(
|
||||
'/api.DeviceProfileTemplateService/Delete',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.DeleteDeviceProfileTemplateRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.DeleteDeviceProfileTemplateRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteDeviceProfileTemplateRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.DeviceProfileTemplateServiceClient.prototype.delete =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.DeviceProfileTemplateService/Delete',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileTemplateService_Delete,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteDeviceProfileTemplateRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.DeviceProfileTemplateServicePromiseClient.prototype.delete =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.DeviceProfileTemplateService/Delete',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileTemplateService_Delete);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.ListDeviceProfileTemplatesRequest,
|
||||
* !proto.api.ListDeviceProfileTemplatesResponse>}
|
||||
*/
|
||||
const methodDescriptor_DeviceProfileTemplateService_List = new grpc.web.MethodDescriptor(
|
||||
'/api.DeviceProfileTemplateService/List',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.ListDeviceProfileTemplatesRequest,
|
||||
proto.api.ListDeviceProfileTemplatesResponse,
|
||||
/**
|
||||
* @param {!proto.api.ListDeviceProfileTemplatesRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.ListDeviceProfileTemplatesResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListDeviceProfileTemplatesRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.ListDeviceProfileTemplatesResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.ListDeviceProfileTemplatesResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.DeviceProfileTemplateServiceClient.prototype.list =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.DeviceProfileTemplateService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileTemplateService_List,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListDeviceProfileTemplatesRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.ListDeviceProfileTemplatesResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.DeviceProfileTemplateServicePromiseClient.prototype.list =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.DeviceProfileTemplateService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_DeviceProfileTemplateService_List);
|
||||
};
|
||||
|
||||
|
||||
module.exports = proto.api;
|
||||
|
359
api/grpc-web/api/device_profile_template_pb.d.ts
vendored
359
api/grpc-web/api/device_profile_template_pb.d.ts
vendored
@ -1,359 +0,0 @@
|
||||
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): DeviceProfileTemplate;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): DeviceProfileTemplate;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): DeviceProfileTemplate;
|
||||
|
||||
getVendor(): string;
|
||||
setVendor(value: string): DeviceProfileTemplate;
|
||||
|
||||
getFirmware(): string;
|
||||
setFirmware(value: string): DeviceProfileTemplate;
|
||||
|
||||
getRegion(): common_common_pb.Region;
|
||||
setRegion(value: common_common_pb.Region): DeviceProfileTemplate;
|
||||
|
||||
getMacVersion(): common_common_pb.MacVersion;
|
||||
setMacVersion(value: common_common_pb.MacVersion): DeviceProfileTemplate;
|
||||
|
||||
getRegParamsRevision(): common_common_pb.RegParamsRevision;
|
||||
setRegParamsRevision(value: common_common_pb.RegParamsRevision): DeviceProfileTemplate;
|
||||
|
||||
getAdrAlgorithmId(): string;
|
||||
setAdrAlgorithmId(value: string): DeviceProfileTemplate;
|
||||
|
||||
getPayloadCodecRuntime(): api_device_profile_pb.CodecRuntime;
|
||||
setPayloadCodecRuntime(value: api_device_profile_pb.CodecRuntime): DeviceProfileTemplate;
|
||||
|
||||
getPayloadCodecScript(): string;
|
||||
setPayloadCodecScript(value: string): DeviceProfileTemplate;
|
||||
|
||||
getFlushQueueOnActivate(): boolean;
|
||||
setFlushQueueOnActivate(value: boolean): DeviceProfileTemplate;
|
||||
|
||||
getUplinkInterval(): number;
|
||||
setUplinkInterval(value: number): DeviceProfileTemplate;
|
||||
|
||||
getDeviceStatusReqInterval(): number;
|
||||
setDeviceStatusReqInterval(value: number): DeviceProfileTemplate;
|
||||
|
||||
getSupportsOtaa(): boolean;
|
||||
setSupportsOtaa(value: boolean): DeviceProfileTemplate;
|
||||
|
||||
getSupportsClassB(): boolean;
|
||||
setSupportsClassB(value: boolean): DeviceProfileTemplate;
|
||||
|
||||
getSupportsClassC(): boolean;
|
||||
setSupportsClassC(value: boolean): DeviceProfileTemplate;
|
||||
|
||||
getClassBTimeout(): number;
|
||||
setClassBTimeout(value: number): DeviceProfileTemplate;
|
||||
|
||||
getClassBPingSlotNbK(): number;
|
||||
setClassBPingSlotNbK(value: number): DeviceProfileTemplate;
|
||||
|
||||
getClassBPingSlotDr(): number;
|
||||
setClassBPingSlotDr(value: number): DeviceProfileTemplate;
|
||||
|
||||
getClassBPingSlotFreq(): number;
|
||||
setClassBPingSlotFreq(value: number): DeviceProfileTemplate;
|
||||
|
||||
getClassCTimeout(): number;
|
||||
setClassCTimeout(value: number): DeviceProfileTemplate;
|
||||
|
||||
getAbpRx1Delay(): number;
|
||||
setAbpRx1Delay(value: number): DeviceProfileTemplate;
|
||||
|
||||
getAbpRx1DrOffset(): number;
|
||||
setAbpRx1DrOffset(value: number): DeviceProfileTemplate;
|
||||
|
||||
getAbpRx2Dr(): number;
|
||||
setAbpRx2Dr(value: number): DeviceProfileTemplate;
|
||||
|
||||
getAbpRx2Freq(): number;
|
||||
setAbpRx2Freq(value: number): DeviceProfileTemplate;
|
||||
|
||||
getTagsMap(): jspb.Map<string, string>;
|
||||
clearTagsMap(): DeviceProfileTemplate;
|
||||
|
||||
getMeasurementsMap(): jspb.Map<string, api_device_profile_pb.Measurement>;
|
||||
clearMeasurementsMap(): DeviceProfileTemplate;
|
||||
|
||||
getAutoDetectMeasurements(): boolean;
|
||||
setAutoDetectMeasurements(value: boolean): DeviceProfileTemplate;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeviceProfileTemplate.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeviceProfileTemplate): DeviceProfileTemplate.AsObject;
|
||||
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.Region,
|
||||
macVersion: common_common_pb.MacVersion,
|
||||
regParamsRevision: common_common_pb.RegParamsRevision,
|
||||
adrAlgorithmId: string,
|
||||
payloadCodecRuntime: api_device_profile_pb.CodecRuntime,
|
||||
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): DeviceProfileTemplateListItem;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): DeviceProfileTemplateListItem;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): DeviceProfileTemplateListItem;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): DeviceProfileTemplateListItem;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): DeviceProfileTemplateListItem;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): DeviceProfileTemplateListItem;
|
||||
|
||||
getVendor(): string;
|
||||
setVendor(value: string): DeviceProfileTemplateListItem;
|
||||
|
||||
getFirmware(): string;
|
||||
setFirmware(value: string): DeviceProfileTemplateListItem;
|
||||
|
||||
getRegion(): common_common_pb.Region;
|
||||
setRegion(value: common_common_pb.Region): DeviceProfileTemplateListItem;
|
||||
|
||||
getMacVersion(): common_common_pb.MacVersion;
|
||||
setMacVersion(value: common_common_pb.MacVersion): DeviceProfileTemplateListItem;
|
||||
|
||||
getRegParamsRevision(): common_common_pb.RegParamsRevision;
|
||||
setRegParamsRevision(value: common_common_pb.RegParamsRevision): DeviceProfileTemplateListItem;
|
||||
|
||||
getSupportsOtaa(): boolean;
|
||||
setSupportsOtaa(value: boolean): DeviceProfileTemplateListItem;
|
||||
|
||||
getSupportsClassB(): boolean;
|
||||
setSupportsClassB(value: boolean): DeviceProfileTemplateListItem;
|
||||
|
||||
getSupportsClassC(): boolean;
|
||||
setSupportsClassC(value: boolean): DeviceProfileTemplateListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeviceProfileTemplateListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeviceProfileTemplateListItem): DeviceProfileTemplateListItem.AsObject;
|
||||
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.Region,
|
||||
macVersion: common_common_pb.MacVersion,
|
||||
regParamsRevision: common_common_pb.RegParamsRevision,
|
||||
supportsOtaa: boolean,
|
||||
supportsClassB: boolean,
|
||||
supportsClassC: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateDeviceProfileTemplateRequest extends jspb.Message {
|
||||
getDeviceProfileTemplate(): DeviceProfileTemplate | undefined;
|
||||
setDeviceProfileTemplate(value?: DeviceProfileTemplate): CreateDeviceProfileTemplateRequest;
|
||||
hasDeviceProfileTemplate(): boolean;
|
||||
clearDeviceProfileTemplate(): CreateDeviceProfileTemplateRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateDeviceProfileTemplateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateDeviceProfileTemplateRequest): CreateDeviceProfileTemplateRequest.AsObject;
|
||||
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): GetDeviceProfileTemplateRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDeviceProfileTemplateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDeviceProfileTemplateRequest): GetDeviceProfileTemplateRequest.AsObject;
|
||||
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 {
|
||||
getDeviceProfileTemplate(): DeviceProfileTemplate | undefined;
|
||||
setDeviceProfileTemplate(value?: DeviceProfileTemplate): GetDeviceProfileTemplateResponse;
|
||||
hasDeviceProfileTemplate(): boolean;
|
||||
clearDeviceProfileTemplate(): GetDeviceProfileTemplateResponse;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetDeviceProfileTemplateResponse;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): GetDeviceProfileTemplateResponse;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetDeviceProfileTemplateResponse;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): GetDeviceProfileTemplateResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDeviceProfileTemplateResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDeviceProfileTemplateResponse): GetDeviceProfileTemplateResponse.AsObject;
|
||||
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 {
|
||||
getDeviceProfileTemplate(): DeviceProfileTemplate | undefined;
|
||||
setDeviceProfileTemplate(value?: DeviceProfileTemplate): UpdateDeviceProfileTemplateRequest;
|
||||
hasDeviceProfileTemplate(): boolean;
|
||||
clearDeviceProfileTemplate(): UpdateDeviceProfileTemplateRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateDeviceProfileTemplateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateDeviceProfileTemplateRequest): UpdateDeviceProfileTemplateRequest.AsObject;
|
||||
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): DeleteDeviceProfileTemplateRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteDeviceProfileTemplateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteDeviceProfileTemplateRequest): DeleteDeviceProfileTemplateRequest.AsObject;
|
||||
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): ListDeviceProfileTemplatesRequest;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): ListDeviceProfileTemplatesRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListDeviceProfileTemplatesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListDeviceProfileTemplatesRequest): ListDeviceProfileTemplatesRequest.AsObject;
|
||||
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): ListDeviceProfileTemplatesResponse;
|
||||
|
||||
getResultList(): Array<DeviceProfileTemplateListItem>;
|
||||
setResultList(value: Array<DeviceProfileTemplateListItem>): ListDeviceProfileTemplatesResponse;
|
||||
clearResultList(): ListDeviceProfileTemplatesResponse;
|
||||
addResult(value?: DeviceProfileTemplateListItem, index?: number): DeviceProfileTemplateListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListDeviceProfileTemplatesResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListDeviceProfileTemplatesResponse): ListDeviceProfileTemplatesResponse.AsObject;
|
||||
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/grpc-web/api/device_profile_template_pb.js
vendored
2866
api/grpc-web/api/device_profile_template_pb.js
vendored
File diff suppressed because it is too large
Load Diff
104
api/grpc-web/api/gateway_grpc_web_pb.d.ts
vendored
104
api/grpc-web/api/gateway_grpc_web_pb.d.ts
vendored
@ -1,104 +0,0 @@
|
||||
import * as grpcWeb from 'grpc-web';
|
||||
|
||||
import * as api_gateway_pb from '../api/gateway_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
|
||||
|
||||
export class GatewayServiceClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_gateway_pb.CreateGatewayRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
get(
|
||||
request: api_gateway_pb.GetGatewayRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_gateway_pb.GetGatewayResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_gateway_pb.GetGatewayResponse>;
|
||||
|
||||
update(
|
||||
request: api_gateway_pb.UpdateGatewayRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_gateway_pb.DeleteGatewayRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_gateway_pb.ListGatewaysRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_gateway_pb.ListGatewaysResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_gateway_pb.ListGatewaysResponse>;
|
||||
|
||||
generateClientCertificate(
|
||||
request: api_gateway_pb.GenerateGatewayClientCertificateRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_gateway_pb.GenerateGatewayClientCertificateResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_gateway_pb.GenerateGatewayClientCertificateResponse>;
|
||||
|
||||
getMetrics(
|
||||
request: api_gateway_pb.GetGatewayMetricsRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_gateway_pb.GetGatewayMetricsResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_gateway_pb.GetGatewayMetricsResponse>;
|
||||
|
||||
}
|
||||
|
||||
export class GatewayServicePromiseClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_gateway_pb.CreateGatewayRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
get(
|
||||
request: api_gateway_pb.GetGatewayRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_gateway_pb.GetGatewayResponse>;
|
||||
|
||||
update(
|
||||
request: api_gateway_pb.UpdateGatewayRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_gateway_pb.DeleteGatewayRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_gateway_pb.ListGatewaysRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_gateway_pb.ListGatewaysResponse>;
|
||||
|
||||
generateClientCertificate(
|
||||
request: api_gateway_pb.GenerateGatewayClientCertificateRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_gateway_pb.GenerateGatewayClientCertificateResponse>;
|
||||
|
||||
getMetrics(
|
||||
request: api_gateway_pb.GetGatewayMetricsRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_gateway_pb.GetGatewayMetricsResponse>;
|
||||
|
||||
}
|
||||
|
513
api/grpc-web/api/gateway_grpc_web_pb.js
vendored
513
api/grpc-web/api/gateway_grpc_web_pb.js
vendored
@ -1,513 +0,0 @@
|
||||
/**
|
||||
* @fileoverview gRPC-Web generated client stub for api
|
||||
* @enhanceable
|
||||
* @public
|
||||
*/
|
||||
|
||||
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-grpc-web v1.4.2
|
||||
// protoc v3.12.4
|
||||
// source: api/gateway.proto
|
||||
|
||||
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
|
||||
|
||||
const grpc = {};
|
||||
grpc.web = require('grpc-web');
|
||||
|
||||
|
||||
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')
|
||||
const proto = {};
|
||||
proto.api = require('./gateway_pb.js');
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.GatewayServiceClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.GatewayServicePromiseClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.CreateGatewayRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_GatewayService_Create = new grpc.web.MethodDescriptor(
|
||||
'/api.GatewayService/Create',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.CreateGatewayRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.CreateGatewayRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.CreateGatewayRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.GatewayServiceClient.prototype.create =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.GatewayService/Create',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_Create,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.CreateGatewayRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.GatewayServicePromiseClient.prototype.create =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.GatewayService/Create',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_Create);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.GetGatewayRequest,
|
||||
* !proto.api.GetGatewayResponse>}
|
||||
*/
|
||||
const methodDescriptor_GatewayService_Get = new grpc.web.MethodDescriptor(
|
||||
'/api.GatewayService/Get',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.GetGatewayRequest,
|
||||
proto.api.GetGatewayResponse,
|
||||
/**
|
||||
* @param {!proto.api.GetGatewayRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.GetGatewayResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetGatewayRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.GetGatewayResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.GetGatewayResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.GatewayServiceClient.prototype.get =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.GatewayService/Get',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_Get,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetGatewayRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.GetGatewayResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.GatewayServicePromiseClient.prototype.get =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.GatewayService/Get',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_Get);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.UpdateGatewayRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_GatewayService_Update = new grpc.web.MethodDescriptor(
|
||||
'/api.GatewayService/Update',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.UpdateGatewayRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.UpdateGatewayRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateGatewayRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.GatewayServiceClient.prototype.update =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.GatewayService/Update',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_Update,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateGatewayRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.GatewayServicePromiseClient.prototype.update =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.GatewayService/Update',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_Update);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.DeleteGatewayRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_GatewayService_Delete = new grpc.web.MethodDescriptor(
|
||||
'/api.GatewayService/Delete',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.DeleteGatewayRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.DeleteGatewayRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteGatewayRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.GatewayServiceClient.prototype.delete =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.GatewayService/Delete',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_Delete,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteGatewayRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.GatewayServicePromiseClient.prototype.delete =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.GatewayService/Delete',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_Delete);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.ListGatewaysRequest,
|
||||
* !proto.api.ListGatewaysResponse>}
|
||||
*/
|
||||
const methodDescriptor_GatewayService_List = new grpc.web.MethodDescriptor(
|
||||
'/api.GatewayService/List',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.ListGatewaysRequest,
|
||||
proto.api.ListGatewaysResponse,
|
||||
/**
|
||||
* @param {!proto.api.ListGatewaysRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.ListGatewaysResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListGatewaysRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.ListGatewaysResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.ListGatewaysResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.GatewayServiceClient.prototype.list =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.GatewayService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_List,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListGatewaysRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.ListGatewaysResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.GatewayServicePromiseClient.prototype.list =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.GatewayService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_List);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.GenerateGatewayClientCertificateRequest,
|
||||
* !proto.api.GenerateGatewayClientCertificateResponse>}
|
||||
*/
|
||||
const methodDescriptor_GatewayService_GenerateClientCertificate = new grpc.web.MethodDescriptor(
|
||||
'/api.GatewayService/GenerateClientCertificate',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.GenerateGatewayClientCertificateRequest,
|
||||
proto.api.GenerateGatewayClientCertificateResponse,
|
||||
/**
|
||||
* @param {!proto.api.GenerateGatewayClientCertificateRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.GenerateGatewayClientCertificateResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GenerateGatewayClientCertificateRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.GenerateGatewayClientCertificateResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.GenerateGatewayClientCertificateResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.GatewayServiceClient.prototype.generateClientCertificate =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.GatewayService/GenerateClientCertificate',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_GenerateClientCertificate,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GenerateGatewayClientCertificateRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.GenerateGatewayClientCertificateResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.GatewayServicePromiseClient.prototype.generateClientCertificate =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.GatewayService/GenerateClientCertificate',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_GenerateClientCertificate);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.GetGatewayMetricsRequest,
|
||||
* !proto.api.GetGatewayMetricsResponse>}
|
||||
*/
|
||||
const methodDescriptor_GatewayService_GetMetrics = new grpc.web.MethodDescriptor(
|
||||
'/api.GatewayService/GetMetrics',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.GetGatewayMetricsRequest,
|
||||
proto.api.GetGatewayMetricsResponse,
|
||||
/**
|
||||
* @param {!proto.api.GetGatewayMetricsRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.GetGatewayMetricsResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetGatewayMetricsRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.GetGatewayMetricsResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.GetGatewayMetricsResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.GatewayServiceClient.prototype.getMetrics =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.GatewayService/GetMetrics',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_GetMetrics,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetGatewayMetricsRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.GetGatewayMetricsResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.GatewayServicePromiseClient.prototype.getMetrics =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.GatewayService/GetMetrics',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_GatewayService_GetMetrics);
|
||||
};
|
||||
|
||||
|
||||
module.exports = proto.api;
|
||||
|
435
api/grpc-web/api/gateway_pb.d.ts
vendored
435
api/grpc-web/api/gateway_pb.d.ts
vendored
@ -1,435 +0,0 @@
|
||||
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): Gateway;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): Gateway;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): Gateway;
|
||||
|
||||
getLocation(): common_common_pb.Location | undefined;
|
||||
setLocation(value?: common_common_pb.Location): Gateway;
|
||||
hasLocation(): boolean;
|
||||
clearLocation(): Gateway;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): Gateway;
|
||||
|
||||
getTagsMap(): jspb.Map<string, string>;
|
||||
clearTagsMap(): Gateway;
|
||||
|
||||
getMetadataMap(): jspb.Map<string, string>;
|
||||
clearMetadataMap(): Gateway;
|
||||
|
||||
getStatsInterval(): number;
|
||||
setStatsInterval(value: number): Gateway;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Gateway.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Gateway): Gateway.AsObject;
|
||||
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): GatewayListItem;
|
||||
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): GatewayListItem;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): GatewayListItem;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): GatewayListItem;
|
||||
|
||||
getLocation(): common_common_pb.Location | undefined;
|
||||
setLocation(value?: common_common_pb.Location): GatewayListItem;
|
||||
hasLocation(): boolean;
|
||||
clearLocation(): GatewayListItem;
|
||||
|
||||
getPropertiesMap(): jspb.Map<string, string>;
|
||||
clearPropertiesMap(): GatewayListItem;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GatewayListItem;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): GatewayListItem;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GatewayListItem;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): GatewayListItem;
|
||||
|
||||
getLastSeenAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setLastSeenAt(value?: google_protobuf_timestamp_pb.Timestamp): GatewayListItem;
|
||||
hasLastSeenAt(): boolean;
|
||||
clearLastSeenAt(): GatewayListItem;
|
||||
|
||||
getState(): GatewayState;
|
||||
setState(value: GatewayState): GatewayListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GatewayListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GatewayListItem): GatewayListItem.AsObject;
|
||||
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: GatewayState,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateGatewayRequest extends jspb.Message {
|
||||
getGateway(): Gateway | undefined;
|
||||
setGateway(value?: Gateway): CreateGatewayRequest;
|
||||
hasGateway(): boolean;
|
||||
clearGateway(): CreateGatewayRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateGatewayRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateGatewayRequest): CreateGatewayRequest.AsObject;
|
||||
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): GetGatewayRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetGatewayRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetGatewayRequest): GetGatewayRequest.AsObject;
|
||||
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 {
|
||||
getGateway(): Gateway | undefined;
|
||||
setGateway(value?: Gateway): GetGatewayResponse;
|
||||
hasGateway(): boolean;
|
||||
clearGateway(): GetGatewayResponse;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetGatewayResponse;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): GetGatewayResponse;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetGatewayResponse;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): GetGatewayResponse;
|
||||
|
||||
getLastSeenAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setLastSeenAt(value?: google_protobuf_timestamp_pb.Timestamp): GetGatewayResponse;
|
||||
hasLastSeenAt(): boolean;
|
||||
clearLastSeenAt(): GetGatewayResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetGatewayResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetGatewayResponse): GetGatewayResponse.AsObject;
|
||||
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 {
|
||||
getGateway(): Gateway | undefined;
|
||||
setGateway(value?: Gateway): UpdateGatewayRequest;
|
||||
hasGateway(): boolean;
|
||||
clearGateway(): UpdateGatewayRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateGatewayRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateGatewayRequest): UpdateGatewayRequest.AsObject;
|
||||
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): DeleteGatewayRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteGatewayRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteGatewayRequest): DeleteGatewayRequest.AsObject;
|
||||
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): ListGatewaysRequest;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): ListGatewaysRequest;
|
||||
|
||||
getSearch(): string;
|
||||
setSearch(value: string): ListGatewaysRequest;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): ListGatewaysRequest;
|
||||
|
||||
getMulticastGroupId(): string;
|
||||
setMulticastGroupId(value: string): ListGatewaysRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListGatewaysRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListGatewaysRequest): ListGatewaysRequest.AsObject;
|
||||
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): ListGatewaysResponse;
|
||||
|
||||
getResultList(): Array<GatewayListItem>;
|
||||
setResultList(value: Array<GatewayListItem>): ListGatewaysResponse;
|
||||
clearResultList(): ListGatewaysResponse;
|
||||
addResult(value?: GatewayListItem, index?: number): GatewayListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListGatewaysResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListGatewaysResponse): ListGatewaysResponse.AsObject;
|
||||
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): GenerateGatewayClientCertificateRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GenerateGatewayClientCertificateRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GenerateGatewayClientCertificateRequest): GenerateGatewayClientCertificateRequest.AsObject;
|
||||
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): GenerateGatewayClientCertificateResponse;
|
||||
|
||||
getTlsKey(): string;
|
||||
setTlsKey(value: string): GenerateGatewayClientCertificateResponse;
|
||||
|
||||
getCaCert(): string;
|
||||
setCaCert(value: string): GenerateGatewayClientCertificateResponse;
|
||||
|
||||
getExpiresAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setExpiresAt(value?: google_protobuf_timestamp_pb.Timestamp): GenerateGatewayClientCertificateResponse;
|
||||
hasExpiresAt(): boolean;
|
||||
clearExpiresAt(): GenerateGatewayClientCertificateResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GenerateGatewayClientCertificateResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GenerateGatewayClientCertificateResponse): GenerateGatewayClientCertificateResponse.AsObject;
|
||||
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): GetGatewayMetricsRequest;
|
||||
|
||||
getStart(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setStart(value?: google_protobuf_timestamp_pb.Timestamp): GetGatewayMetricsRequest;
|
||||
hasStart(): boolean;
|
||||
clearStart(): GetGatewayMetricsRequest;
|
||||
|
||||
getEnd(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setEnd(value?: google_protobuf_timestamp_pb.Timestamp): GetGatewayMetricsRequest;
|
||||
hasEnd(): boolean;
|
||||
clearEnd(): GetGatewayMetricsRequest;
|
||||
|
||||
getAggregation(): common_common_pb.Aggregation;
|
||||
setAggregation(value: common_common_pb.Aggregation): GetGatewayMetricsRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetGatewayMetricsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetGatewayMetricsRequest): GetGatewayMetricsRequest.AsObject;
|
||||
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.Aggregation,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetGatewayMetricsResponse extends jspb.Message {
|
||||
getRxPackets(): common_common_pb.Metric | undefined;
|
||||
setRxPackets(value?: common_common_pb.Metric): GetGatewayMetricsResponse;
|
||||
hasRxPackets(): boolean;
|
||||
clearRxPackets(): GetGatewayMetricsResponse;
|
||||
|
||||
getTxPackets(): common_common_pb.Metric | undefined;
|
||||
setTxPackets(value?: common_common_pb.Metric): GetGatewayMetricsResponse;
|
||||
hasTxPackets(): boolean;
|
||||
clearTxPackets(): GetGatewayMetricsResponse;
|
||||
|
||||
getTxPacketsPerFreq(): common_common_pb.Metric | undefined;
|
||||
setTxPacketsPerFreq(value?: common_common_pb.Metric): GetGatewayMetricsResponse;
|
||||
hasTxPacketsPerFreq(): boolean;
|
||||
clearTxPacketsPerFreq(): GetGatewayMetricsResponse;
|
||||
|
||||
getRxPacketsPerFreq(): common_common_pb.Metric | undefined;
|
||||
setRxPacketsPerFreq(value?: common_common_pb.Metric): GetGatewayMetricsResponse;
|
||||
hasRxPacketsPerFreq(): boolean;
|
||||
clearRxPacketsPerFreq(): GetGatewayMetricsResponse;
|
||||
|
||||
getTxPacketsPerDr(): common_common_pb.Metric | undefined;
|
||||
setTxPacketsPerDr(value?: common_common_pb.Metric): GetGatewayMetricsResponse;
|
||||
hasTxPacketsPerDr(): boolean;
|
||||
clearTxPacketsPerDr(): GetGatewayMetricsResponse;
|
||||
|
||||
getRxPacketsPerDr(): common_common_pb.Metric | undefined;
|
||||
setRxPacketsPerDr(value?: common_common_pb.Metric): GetGatewayMetricsResponse;
|
||||
hasRxPacketsPerDr(): boolean;
|
||||
clearRxPacketsPerDr(): GetGatewayMetricsResponse;
|
||||
|
||||
getTxPacketsPerStatus(): common_common_pb.Metric | undefined;
|
||||
setTxPacketsPerStatus(value?: common_common_pb.Metric): GetGatewayMetricsResponse;
|
||||
hasTxPacketsPerStatus(): boolean;
|
||||
clearTxPacketsPerStatus(): GetGatewayMetricsResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetGatewayMetricsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetGatewayMetricsResponse): GetGatewayMetricsResponse.AsObject;
|
||||
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 enum GatewayState {
|
||||
NEVER_SEEN = 0,
|
||||
ONLINE = 1,
|
||||
OFFLINE = 2,
|
||||
}
|
3569
api/grpc-web/api/gateway_pb.js
vendored
3569
api/grpc-web/api/gateway_pb.js
vendored
File diff suppressed because it is too large
Load Diff
218
api/grpc-web/api/internal_grpc_web_pb.d.ts
vendored
218
api/grpc-web/api/internal_grpc_web_pb.d.ts
vendored
@ -1,218 +0,0 @@
|
||||
import * as grpcWeb from 'grpc-web';
|
||||
|
||||
import * as api_internal_pb from '../api/internal_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
|
||||
|
||||
export class InternalServiceClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
login(
|
||||
request: api_internal_pb.LoginRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.LoginResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.LoginResponse>;
|
||||
|
||||
profile(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.ProfileResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.ProfileResponse>;
|
||||
|
||||
globalSearch(
|
||||
request: api_internal_pb.GlobalSearchRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.GlobalSearchResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.GlobalSearchResponse>;
|
||||
|
||||
createApiKey(
|
||||
request: api_internal_pb.CreateApiKeyRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.CreateApiKeyResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.CreateApiKeyResponse>;
|
||||
|
||||
deleteApiKey(
|
||||
request: api_internal_pb.DeleteApiKeyRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
listApiKeys(
|
||||
request: api_internal_pb.ListApiKeysRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.ListApiKeysResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.ListApiKeysResponse>;
|
||||
|
||||
settings(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.SettingsResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.SettingsResponse>;
|
||||
|
||||
openIdConnectLogin(
|
||||
request: api_internal_pb.OpenIdConnectLoginRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.OpenIdConnectLoginResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.OpenIdConnectLoginResponse>;
|
||||
|
||||
oAuth2Login(
|
||||
request: api_internal_pb.OAuth2LoginRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.OAuth2LoginResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.OAuth2LoginResponse>;
|
||||
|
||||
getDevicesSummary(
|
||||
request: api_internal_pb.GetDevicesSummaryRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.GetDevicesSummaryResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.GetDevicesSummaryResponse>;
|
||||
|
||||
getGatewaysSummary(
|
||||
request: api_internal_pb.GetGatewaysSummaryRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.GetGatewaysSummaryResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.GetGatewaysSummaryResponse>;
|
||||
|
||||
streamGatewayFrames(
|
||||
request: api_internal_pb.StreamGatewayFramesRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.LogItem>;
|
||||
|
||||
streamDeviceFrames(
|
||||
request: api_internal_pb.StreamDeviceFramesRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.LogItem>;
|
||||
|
||||
streamDeviceEvents(
|
||||
request: api_internal_pb.StreamDeviceEventsRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.LogItem>;
|
||||
|
||||
listRegions(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.ListRegionsResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.ListRegionsResponse>;
|
||||
|
||||
getRegion(
|
||||
request: api_internal_pb.GetRegionRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.GetRegionResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.GetRegionResponse>;
|
||||
|
||||
getVersion(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_internal_pb.GetVersionResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.GetVersionResponse>;
|
||||
|
||||
}
|
||||
|
||||
export class InternalServicePromiseClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
login(
|
||||
request: api_internal_pb.LoginRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.LoginResponse>;
|
||||
|
||||
profile(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.ProfileResponse>;
|
||||
|
||||
globalSearch(
|
||||
request: api_internal_pb.GlobalSearchRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.GlobalSearchResponse>;
|
||||
|
||||
createApiKey(
|
||||
request: api_internal_pb.CreateApiKeyRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.CreateApiKeyResponse>;
|
||||
|
||||
deleteApiKey(
|
||||
request: api_internal_pb.DeleteApiKeyRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
listApiKeys(
|
||||
request: api_internal_pb.ListApiKeysRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.ListApiKeysResponse>;
|
||||
|
||||
settings(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.SettingsResponse>;
|
||||
|
||||
openIdConnectLogin(
|
||||
request: api_internal_pb.OpenIdConnectLoginRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.OpenIdConnectLoginResponse>;
|
||||
|
||||
oAuth2Login(
|
||||
request: api_internal_pb.OAuth2LoginRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.OAuth2LoginResponse>;
|
||||
|
||||
getDevicesSummary(
|
||||
request: api_internal_pb.GetDevicesSummaryRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.GetDevicesSummaryResponse>;
|
||||
|
||||
getGatewaysSummary(
|
||||
request: api_internal_pb.GetGatewaysSummaryRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.GetGatewaysSummaryResponse>;
|
||||
|
||||
streamGatewayFrames(
|
||||
request: api_internal_pb.StreamGatewayFramesRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.LogItem>;
|
||||
|
||||
streamDeviceFrames(
|
||||
request: api_internal_pb.StreamDeviceFramesRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.LogItem>;
|
||||
|
||||
streamDeviceEvents(
|
||||
request: api_internal_pb.StreamDeviceEventsRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): grpcWeb.ClientReadableStream<api_internal_pb.LogItem>;
|
||||
|
||||
listRegions(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.ListRegionsResponse>;
|
||||
|
||||
getRegion(
|
||||
request: api_internal_pb.GetRegionRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.GetRegionResponse>;
|
||||
|
||||
getVersion(
|
||||
request: google_protobuf_empty_pb.Empty,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_internal_pb.GetVersionResponse>;
|
||||
|
||||
}
|
||||
|
1108
api/grpc-web/api/internal_grpc_web_pb.js
vendored
1108
api/grpc-web/api/internal_grpc_web_pb.js
vendored
File diff suppressed because it is too large
Load Diff
884
api/grpc-web/api/internal_pb.d.ts
vendored
884
api/grpc-web/api/internal_pb.d.ts
vendored
@ -1,884 +0,0 @@
|
||||
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): ApiKey;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): ApiKey;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): ApiKey;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): ApiKey;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ApiKey.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ApiKey): ApiKey.AsObject;
|
||||
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 {
|
||||
getApiKey(): ApiKey | undefined;
|
||||
setApiKey(value?: ApiKey): CreateApiKeyRequest;
|
||||
hasApiKey(): boolean;
|
||||
clearApiKey(): CreateApiKeyRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateApiKeyRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateApiKeyRequest): CreateApiKeyRequest.AsObject;
|
||||
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): CreateApiKeyResponse;
|
||||
|
||||
getToken(): string;
|
||||
setToken(value: string): CreateApiKeyResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateApiKeyResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateApiKeyResponse): CreateApiKeyResponse.AsObject;
|
||||
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): DeleteApiKeyRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteApiKeyRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteApiKeyRequest): DeleteApiKeyRequest.AsObject;
|
||||
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): ListApiKeysRequest;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): ListApiKeysRequest;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): ListApiKeysRequest;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): ListApiKeysRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListApiKeysRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListApiKeysRequest): ListApiKeysRequest.AsObject;
|
||||
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): ListApiKeysResponse;
|
||||
|
||||
getResultList(): Array<ApiKey>;
|
||||
setResultList(value: Array<ApiKey>): ListApiKeysResponse;
|
||||
clearResultList(): ListApiKeysResponse;
|
||||
addResult(value?: ApiKey, index?: number): ApiKey;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListApiKeysResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListApiKeysResponse): ListApiKeysResponse.AsObject;
|
||||
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 {
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): UserTenantLink;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): UserTenantLink;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): UserTenantLink;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): UserTenantLink;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): UserTenantLink;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): UserTenantLink;
|
||||
|
||||
getIsDeviceAdmin(): boolean;
|
||||
setIsDeviceAdmin(value: boolean): UserTenantLink;
|
||||
|
||||
getIsGatewayAdmin(): boolean;
|
||||
setIsGatewayAdmin(value: boolean): UserTenantLink;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserTenantLink.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserTenantLink): UserTenantLink.AsObject;
|
||||
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): LoginRequest;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): LoginRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LoginRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LoginRequest): LoginRequest.AsObject;
|
||||
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): LoginResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LoginResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LoginResponse): LoginResponse.AsObject;
|
||||
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 {
|
||||
getUser(): api_user_pb.User | undefined;
|
||||
setUser(value?: api_user_pb.User): ProfileResponse;
|
||||
hasUser(): boolean;
|
||||
clearUser(): ProfileResponse;
|
||||
|
||||
getTenantsList(): Array<UserTenantLink>;
|
||||
setTenantsList(value: Array<UserTenantLink>): ProfileResponse;
|
||||
clearTenantsList(): ProfileResponse;
|
||||
addTenants(value?: UserTenantLink, index?: number): UserTenantLink;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ProfileResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ProfileResponse): ProfileResponse.AsObject;
|
||||
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): GlobalSearchRequest;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): GlobalSearchRequest;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): GlobalSearchRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GlobalSearchRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GlobalSearchRequest): GlobalSearchRequest.AsObject;
|
||||
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 {
|
||||
getResultList(): Array<GlobalSearchResult>;
|
||||
setResultList(value: Array<GlobalSearchResult>): GlobalSearchResponse;
|
||||
clearResultList(): GlobalSearchResponse;
|
||||
addResult(value?: GlobalSearchResult, index?: number): GlobalSearchResult;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GlobalSearchResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GlobalSearchResponse): GlobalSearchResponse.AsObject;
|
||||
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): GlobalSearchResult;
|
||||
|
||||
getScore(): number;
|
||||
setScore(value: number): GlobalSearchResult;
|
||||
|
||||
getTenantId(): string;
|
||||
setTenantId(value: string): GlobalSearchResult;
|
||||
|
||||
getTenantName(): string;
|
||||
setTenantName(value: string): GlobalSearchResult;
|
||||
|
||||
getApplicationId(): string;
|
||||
setApplicationId(value: string): GlobalSearchResult;
|
||||
|
||||
getApplicationName(): string;
|
||||
setApplicationName(value: string): GlobalSearchResult;
|
||||
|
||||
getDeviceDevEui(): string;
|
||||
setDeviceDevEui(value: string): GlobalSearchResult;
|
||||
|
||||
getDeviceName(): string;
|
||||
setDeviceName(value: string): GlobalSearchResult;
|
||||
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): GlobalSearchResult;
|
||||
|
||||
getGatewayName(): string;
|
||||
setGatewayName(value: string): GlobalSearchResult;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GlobalSearchResult.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GlobalSearchResult): GlobalSearchResult.AsObject;
|
||||
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 {
|
||||
getOpenidConnect(): OpenIdConnect | undefined;
|
||||
setOpenidConnect(value?: OpenIdConnect): SettingsResponse;
|
||||
hasOpenidConnect(): boolean;
|
||||
clearOpenidConnect(): SettingsResponse;
|
||||
|
||||
getOauth2(): OAuth2 | undefined;
|
||||
setOauth2(value?: OAuth2): SettingsResponse;
|
||||
hasOauth2(): boolean;
|
||||
clearOauth2(): SettingsResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): SettingsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: SettingsResponse): SettingsResponse.AsObject;
|
||||
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): OpenIdConnect;
|
||||
|
||||
getLoginUrl(): string;
|
||||
setLoginUrl(value: string): OpenIdConnect;
|
||||
|
||||
getLoginLabel(): string;
|
||||
setLoginLabel(value: string): OpenIdConnect;
|
||||
|
||||
getLogoutUrl(): string;
|
||||
setLogoutUrl(value: string): OpenIdConnect;
|
||||
|
||||
getLoginRedirect(): boolean;
|
||||
setLoginRedirect(value: boolean): OpenIdConnect;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OpenIdConnect.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OpenIdConnect): OpenIdConnect.AsObject;
|
||||
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): OAuth2;
|
||||
|
||||
getLoginUrl(): string;
|
||||
setLoginUrl(value: string): OAuth2;
|
||||
|
||||
getLoginLabel(): string;
|
||||
setLoginLabel(value: string): OAuth2;
|
||||
|
||||
getLogoutUrl(): string;
|
||||
setLogoutUrl(value: string): OAuth2;
|
||||
|
||||
getLoginRedirect(): boolean;
|
||||
setLoginRedirect(value: boolean): OAuth2;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OAuth2.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OAuth2): OAuth2.AsObject;
|
||||
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): OpenIdConnectLoginRequest;
|
||||
|
||||
getState(): string;
|
||||
setState(value: string): OpenIdConnectLoginRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OpenIdConnectLoginRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OpenIdConnectLoginRequest): OpenIdConnectLoginRequest.AsObject;
|
||||
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): OpenIdConnectLoginResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OpenIdConnectLoginResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OpenIdConnectLoginResponse): OpenIdConnectLoginResponse.AsObject;
|
||||
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): OAuth2LoginRequest;
|
||||
|
||||
getState(): string;
|
||||
setState(value: string): OAuth2LoginRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OAuth2LoginRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OAuth2LoginRequest): OAuth2LoginRequest.AsObject;
|
||||
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): OAuth2LoginResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OAuth2LoginResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OAuth2LoginResponse): OAuth2LoginResponse.AsObject;
|
||||
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): GetDevicesSummaryRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDevicesSummaryRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDevicesSummaryRequest): GetDevicesSummaryRequest.AsObject;
|
||||
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): GetDevicesSummaryResponse;
|
||||
|
||||
getInactiveCount(): number;
|
||||
setInactiveCount(value: number): GetDevicesSummaryResponse;
|
||||
|
||||
getDrCountMap(): jspb.Map<number, number>;
|
||||
clearDrCountMap(): GetDevicesSummaryResponse;
|
||||
|
||||
getNeverSeenCount(): number;
|
||||
setNeverSeenCount(value: number): GetDevicesSummaryResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetDevicesSummaryResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetDevicesSummaryResponse): GetDevicesSummaryResponse.AsObject;
|
||||
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): GetGatewaysSummaryRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetGatewaysSummaryRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetGatewaysSummaryRequest): GetGatewaysSummaryRequest.AsObject;
|
||||
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): GetGatewaysSummaryResponse;
|
||||
|
||||
getOfflineCount(): number;
|
||||
setOfflineCount(value: number): GetGatewaysSummaryResponse;
|
||||
|
||||
getNeverSeenCount(): number;
|
||||
setNeverSeenCount(value: number): GetGatewaysSummaryResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetGatewaysSummaryResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetGatewaysSummaryResponse): GetGatewaysSummaryResponse.AsObject;
|
||||
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): LogItem;
|
||||
|
||||
getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setTime(value?: google_protobuf_timestamp_pb.Timestamp): LogItem;
|
||||
hasTime(): boolean;
|
||||
clearTime(): LogItem;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): LogItem;
|
||||
|
||||
getBody(): string;
|
||||
setBody(value: string): LogItem;
|
||||
|
||||
getPropertiesMap(): jspb.Map<string, string>;
|
||||
clearPropertiesMap(): LogItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LogItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LogItem): LogItem.AsObject;
|
||||
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): StreamGatewayFramesRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): StreamGatewayFramesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StreamGatewayFramesRequest): StreamGatewayFramesRequest.AsObject;
|
||||
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): StreamDeviceFramesRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): StreamDeviceFramesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StreamDeviceFramesRequest): StreamDeviceFramesRequest.AsObject;
|
||||
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): StreamDeviceEventsRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): StreamDeviceEventsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StreamDeviceEventsRequest): StreamDeviceEventsRequest.AsObject;
|
||||
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 {
|
||||
getRegionsList(): Array<RegionListItem>;
|
||||
setRegionsList(value: Array<RegionListItem>): ListRegionsResponse;
|
||||
clearRegionsList(): ListRegionsResponse;
|
||||
addRegions(value?: RegionListItem, index?: number): RegionListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListRegionsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListRegionsResponse): ListRegionsResponse.AsObject;
|
||||
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): RegionListItem;
|
||||
|
||||
getRegion(): common_common_pb.Region;
|
||||
setRegion(value: common_common_pb.Region): RegionListItem;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): RegionListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RegionListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RegionListItem): RegionListItem.AsObject;
|
||||
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.Region,
|
||||
description: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetRegionRequest extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): GetRegionRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetRegionRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetRegionRequest): GetRegionRequest.AsObject;
|
||||
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): GetRegionResponse;
|
||||
|
||||
getRegion(): common_common_pb.Region;
|
||||
setRegion(value: common_common_pb.Region): GetRegionResponse;
|
||||
|
||||
getUserInfo(): string;
|
||||
setUserInfo(value: string): GetRegionResponse;
|
||||
|
||||
getUplinkChannelsList(): Array<RegionChannel>;
|
||||
setUplinkChannelsList(value: Array<RegionChannel>): GetRegionResponse;
|
||||
clearUplinkChannelsList(): GetRegionResponse;
|
||||
addUplinkChannels(value?: RegionChannel, index?: number): RegionChannel;
|
||||
|
||||
getRx1Delay(): number;
|
||||
setRx1Delay(value: number): GetRegionResponse;
|
||||
|
||||
getRx1DrOffset(): number;
|
||||
setRx1DrOffset(value: number): GetRegionResponse;
|
||||
|
||||
getRx2Dr(): number;
|
||||
setRx2Dr(value: number): GetRegionResponse;
|
||||
|
||||
getRx2Frequency(): number;
|
||||
setRx2Frequency(value: number): GetRegionResponse;
|
||||
|
||||
getClassBPingSlotDr(): number;
|
||||
setClassBPingSlotDr(value: number): GetRegionResponse;
|
||||
|
||||
getClassBPingSlotFrequency(): number;
|
||||
setClassBPingSlotFrequency(value: number): GetRegionResponse;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): GetRegionResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetRegionResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetRegionResponse): GetRegionResponse.AsObject;
|
||||
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.Region,
|
||||
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): RegionChannel;
|
||||
|
||||
getDrMin(): number;
|
||||
setDrMin(value: number): RegionChannel;
|
||||
|
||||
getDrMax(): number;
|
||||
setDrMax(value: number): RegionChannel;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RegionChannel.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RegionChannel): RegionChannel.AsObject;
|
||||
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): GetVersionResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetVersionResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetVersionResponse): GetVersionResponse.AsObject;
|
||||
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/grpc-web/api/internal_pb.js
vendored
7294
api/grpc-web/api/internal_pb.js
vendored
File diff suppressed because it is too large
Load Diff
164
api/grpc-web/api/multicast_group_grpc_web_pb.d.ts
vendored
164
api/grpc-web/api/multicast_group_grpc_web_pb.d.ts
vendored
@ -1,164 +0,0 @@
|
||||
import * as grpcWeb from 'grpc-web';
|
||||
|
||||
import * as api_multicast_group_pb from '../api/multicast_group_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
|
||||
|
||||
export class MulticastGroupServiceClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_multicast_group_pb.CreateMulticastGroupRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_multicast_group_pb.CreateMulticastGroupResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_multicast_group_pb.CreateMulticastGroupResponse>;
|
||||
|
||||
get(
|
||||
request: api_multicast_group_pb.GetMulticastGroupRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_multicast_group_pb.GetMulticastGroupResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_multicast_group_pb.GetMulticastGroupResponse>;
|
||||
|
||||
update(
|
||||
request: api_multicast_group_pb.UpdateMulticastGroupRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_multicast_group_pb.DeleteMulticastGroupRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_multicast_group_pb.ListMulticastGroupsRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_multicast_group_pb.ListMulticastGroupsResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_multicast_group_pb.ListMulticastGroupsResponse>;
|
||||
|
||||
addDevice(
|
||||
request: api_multicast_group_pb.AddDeviceToMulticastGroupRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
removeDevice(
|
||||
request: api_multicast_group_pb.RemoveDeviceFromMulticastGroupRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
addGateway(
|
||||
request: api_multicast_group_pb.AddGatewayToMulticastGroupRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
removeGateway(
|
||||
request: api_multicast_group_pb.RemoveGatewayFromMulticastGroupRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
enqueue(
|
||||
request: api_multicast_group_pb.EnqueueMulticastGroupQueueItemRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_multicast_group_pb.EnqueueMulticastGroupQueueItemResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_multicast_group_pb.EnqueueMulticastGroupQueueItemResponse>;
|
||||
|
||||
flushQueue(
|
||||
request: api_multicast_group_pb.FlushMulticastGroupQueueRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
listQueue(
|
||||
request: api_multicast_group_pb.ListMulticastGroupQueueRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_multicast_group_pb.ListMulticastGroupQueueResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_multicast_group_pb.ListMulticastGroupQueueResponse>;
|
||||
|
||||
}
|
||||
|
||||
export class MulticastGroupServicePromiseClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_multicast_group_pb.CreateMulticastGroupRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_multicast_group_pb.CreateMulticastGroupResponse>;
|
||||
|
||||
get(
|
||||
request: api_multicast_group_pb.GetMulticastGroupRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_multicast_group_pb.GetMulticastGroupResponse>;
|
||||
|
||||
update(
|
||||
request: api_multicast_group_pb.UpdateMulticastGroupRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_multicast_group_pb.DeleteMulticastGroupRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_multicast_group_pb.ListMulticastGroupsRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_multicast_group_pb.ListMulticastGroupsResponse>;
|
||||
|
||||
addDevice(
|
||||
request: api_multicast_group_pb.AddDeviceToMulticastGroupRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
removeDevice(
|
||||
request: api_multicast_group_pb.RemoveDeviceFromMulticastGroupRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
addGateway(
|
||||
request: api_multicast_group_pb.AddGatewayToMulticastGroupRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
removeGateway(
|
||||
request: api_multicast_group_pb.RemoveGatewayFromMulticastGroupRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
enqueue(
|
||||
request: api_multicast_group_pb.EnqueueMulticastGroupQueueItemRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_multicast_group_pb.EnqueueMulticastGroupQueueItemResponse>;
|
||||
|
||||
flushQueue(
|
||||
request: api_multicast_group_pb.FlushMulticastGroupQueueRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
listQueue(
|
||||
request: api_multicast_group_pb.ListMulticastGroupQueueRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_multicast_group_pb.ListMulticastGroupQueueResponse>;
|
||||
|
||||
}
|
||||
|
818
api/grpc-web/api/multicast_group_grpc_web_pb.js
vendored
818
api/grpc-web/api/multicast_group_grpc_web_pb.js
vendored
@ -1,818 +0,0 @@
|
||||
/**
|
||||
* @fileoverview gRPC-Web generated client stub for api
|
||||
* @enhanceable
|
||||
* @public
|
||||
*/
|
||||
|
||||
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-grpc-web v1.4.2
|
||||
// protoc v3.12.4
|
||||
// source: api/multicast_group.proto
|
||||
|
||||
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
|
||||
|
||||
const grpc = {};
|
||||
grpc.web = require('grpc-web');
|
||||
|
||||
|
||||
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')
|
||||
const proto = {};
|
||||
proto.api = require('./multicast_group_pb.js');
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.CreateMulticastGroupRequest,
|
||||
* !proto.api.CreateMulticastGroupResponse>}
|
||||
*/
|
||||
const methodDescriptor_MulticastGroupService_Create = new grpc.web.MethodDescriptor(
|
||||
'/api.MulticastGroupService/Create',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.CreateMulticastGroupRequest,
|
||||
proto.api.CreateMulticastGroupResponse,
|
||||
/**
|
||||
* @param {!proto.api.CreateMulticastGroupRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.CreateMulticastGroupResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.CreateMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.CreateMulticastGroupResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.CreateMulticastGroupResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient.prototype.create =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/Create',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_Create,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.CreateMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.CreateMulticastGroupResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient.prototype.create =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/Create',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_Create);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.GetMulticastGroupRequest,
|
||||
* !proto.api.GetMulticastGroupResponse>}
|
||||
*/
|
||||
const methodDescriptor_MulticastGroupService_Get = new grpc.web.MethodDescriptor(
|
||||
'/api.MulticastGroupService/Get',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.GetMulticastGroupRequest,
|
||||
proto.api.GetMulticastGroupResponse,
|
||||
/**
|
||||
* @param {!proto.api.GetMulticastGroupRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.GetMulticastGroupResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.GetMulticastGroupResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.GetMulticastGroupResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient.prototype.get =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/Get',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_Get,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.GetMulticastGroupResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient.prototype.get =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/Get',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_Get);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.UpdateMulticastGroupRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_MulticastGroupService_Update = new grpc.web.MethodDescriptor(
|
||||
'/api.MulticastGroupService/Update',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.UpdateMulticastGroupRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.UpdateMulticastGroupRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient.prototype.update =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/Update',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_Update,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient.prototype.update =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/Update',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_Update);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.DeleteMulticastGroupRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_MulticastGroupService_Delete = new grpc.web.MethodDescriptor(
|
||||
'/api.MulticastGroupService/Delete',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.DeleteMulticastGroupRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.DeleteMulticastGroupRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient.prototype.delete =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/Delete',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_Delete,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient.prototype.delete =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/Delete',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_Delete);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.ListMulticastGroupsRequest,
|
||||
* !proto.api.ListMulticastGroupsResponse>}
|
||||
*/
|
||||
const methodDescriptor_MulticastGroupService_List = new grpc.web.MethodDescriptor(
|
||||
'/api.MulticastGroupService/List',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.ListMulticastGroupsRequest,
|
||||
proto.api.ListMulticastGroupsResponse,
|
||||
/**
|
||||
* @param {!proto.api.ListMulticastGroupsRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.ListMulticastGroupsResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListMulticastGroupsRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.ListMulticastGroupsResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.ListMulticastGroupsResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient.prototype.list =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_List,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListMulticastGroupsRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.ListMulticastGroupsResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient.prototype.list =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_List);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.AddDeviceToMulticastGroupRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_MulticastGroupService_AddDevice = new grpc.web.MethodDescriptor(
|
||||
'/api.MulticastGroupService/AddDevice',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.AddDeviceToMulticastGroupRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.AddDeviceToMulticastGroupRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.AddDeviceToMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient.prototype.addDevice =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/AddDevice',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_AddDevice,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.AddDeviceToMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient.prototype.addDevice =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/AddDevice',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_AddDevice);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.RemoveDeviceFromMulticastGroupRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_MulticastGroupService_RemoveDevice = new grpc.web.MethodDescriptor(
|
||||
'/api.MulticastGroupService/RemoveDevice',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.RemoveDeviceFromMulticastGroupRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.RemoveDeviceFromMulticastGroupRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.RemoveDeviceFromMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient.prototype.removeDevice =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/RemoveDevice',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_RemoveDevice,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.RemoveDeviceFromMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient.prototype.removeDevice =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/RemoveDevice',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_RemoveDevice);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.AddGatewayToMulticastGroupRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_MulticastGroupService_AddGateway = new grpc.web.MethodDescriptor(
|
||||
'/api.MulticastGroupService/AddGateway',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.AddGatewayToMulticastGroupRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.AddGatewayToMulticastGroupRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.AddGatewayToMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient.prototype.addGateway =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/AddGateway',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_AddGateway,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.AddGatewayToMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient.prototype.addGateway =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/AddGateway',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_AddGateway);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.RemoveGatewayFromMulticastGroupRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_MulticastGroupService_RemoveGateway = new grpc.web.MethodDescriptor(
|
||||
'/api.MulticastGroupService/RemoveGateway',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.RemoveGatewayFromMulticastGroupRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.RemoveGatewayFromMulticastGroupRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.RemoveGatewayFromMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient.prototype.removeGateway =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/RemoveGateway',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_RemoveGateway,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.RemoveGatewayFromMulticastGroupRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient.prototype.removeGateway =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/RemoveGateway',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_RemoveGateway);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.EnqueueMulticastGroupQueueItemRequest,
|
||||
* !proto.api.EnqueueMulticastGroupQueueItemResponse>}
|
||||
*/
|
||||
const methodDescriptor_MulticastGroupService_Enqueue = new grpc.web.MethodDescriptor(
|
||||
'/api.MulticastGroupService/Enqueue',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.EnqueueMulticastGroupQueueItemRequest,
|
||||
proto.api.EnqueueMulticastGroupQueueItemResponse,
|
||||
/**
|
||||
* @param {!proto.api.EnqueueMulticastGroupQueueItemRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.EnqueueMulticastGroupQueueItemResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.EnqueueMulticastGroupQueueItemRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.EnqueueMulticastGroupQueueItemResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.EnqueueMulticastGroupQueueItemResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient.prototype.enqueue =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/Enqueue',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_Enqueue,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.EnqueueMulticastGroupQueueItemRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.EnqueueMulticastGroupQueueItemResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient.prototype.enqueue =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/Enqueue',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_Enqueue);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.FlushMulticastGroupQueueRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_MulticastGroupService_FlushQueue = new grpc.web.MethodDescriptor(
|
||||
'/api.MulticastGroupService/FlushQueue',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.FlushMulticastGroupQueueRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.FlushMulticastGroupQueueRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.FlushMulticastGroupQueueRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient.prototype.flushQueue =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/FlushQueue',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_FlushQueue,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.FlushMulticastGroupQueueRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient.prototype.flushQueue =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/FlushQueue',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_FlushQueue);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.ListMulticastGroupQueueRequest,
|
||||
* !proto.api.ListMulticastGroupQueueResponse>}
|
||||
*/
|
||||
const methodDescriptor_MulticastGroupService_ListQueue = new grpc.web.MethodDescriptor(
|
||||
'/api.MulticastGroupService/ListQueue',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.ListMulticastGroupQueueRequest,
|
||||
proto.api.ListMulticastGroupQueueResponse,
|
||||
/**
|
||||
* @param {!proto.api.ListMulticastGroupQueueRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.ListMulticastGroupQueueResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListMulticastGroupQueueRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.ListMulticastGroupQueueResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.ListMulticastGroupQueueResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.MulticastGroupServiceClient.prototype.listQueue =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/ListQueue',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_ListQueue,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListMulticastGroupQueueRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.ListMulticastGroupQueueResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.MulticastGroupServicePromiseClient.prototype.listQueue =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.MulticastGroupService/ListQueue',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_MulticastGroupService_ListQueue);
|
||||
};
|
||||
|
||||
|
||||
module.exports = proto.api;
|
||||
|
522
api/grpc-web/api/multicast_group_pb.d.ts
vendored
522
api/grpc-web/api/multicast_group_pb.d.ts
vendored
@ -1,522 +0,0 @@
|
||||
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): MulticastGroup;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): MulticastGroup;
|
||||
|
||||
getApplicationId(): string;
|
||||
setApplicationId(value: string): MulticastGroup;
|
||||
|
||||
getRegion(): common_common_pb.Region;
|
||||
setRegion(value: common_common_pb.Region): MulticastGroup;
|
||||
|
||||
getMcAddr(): string;
|
||||
setMcAddr(value: string): MulticastGroup;
|
||||
|
||||
getMcNwkSKey(): string;
|
||||
setMcNwkSKey(value: string): MulticastGroup;
|
||||
|
||||
getMcAppSKey(): string;
|
||||
setMcAppSKey(value: string): MulticastGroup;
|
||||
|
||||
getFCnt(): number;
|
||||
setFCnt(value: number): MulticastGroup;
|
||||
|
||||
getGroupType(): MulticastGroupType;
|
||||
setGroupType(value: MulticastGroupType): MulticastGroup;
|
||||
|
||||
getDr(): number;
|
||||
setDr(value: number): MulticastGroup;
|
||||
|
||||
getFrequency(): number;
|
||||
setFrequency(value: number): MulticastGroup;
|
||||
|
||||
getClassBPingSlotPeriod(): number;
|
||||
setClassBPingSlotPeriod(value: number): MulticastGroup;
|
||||
|
||||
getClassBPingSlotNbK(): number;
|
||||
setClassBPingSlotNbK(value: number): MulticastGroup;
|
||||
|
||||
getClassCSchedulingType(): MulticastGroupSchedulingType;
|
||||
setClassCSchedulingType(value: MulticastGroupSchedulingType): MulticastGroup;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MulticastGroup.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MulticastGroup): MulticastGroup.AsObject;
|
||||
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.Region,
|
||||
mcAddr: string,
|
||||
mcNwkSKey: string,
|
||||
mcAppSKey: string,
|
||||
fCnt: number,
|
||||
groupType: MulticastGroupType,
|
||||
dr: number,
|
||||
frequency: number,
|
||||
classBPingSlotPeriod: number,
|
||||
classBPingSlotNbK: number,
|
||||
classCSchedulingType: MulticastGroupSchedulingType,
|
||||
}
|
||||
}
|
||||
|
||||
export class MulticastGroupListItem extends jspb.Message {
|
||||
getId(): string;
|
||||
setId(value: string): MulticastGroupListItem;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): MulticastGroupListItem;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): MulticastGroupListItem;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): MulticastGroupListItem;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): MulticastGroupListItem;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): MulticastGroupListItem;
|
||||
|
||||
getRegion(): common_common_pb.Region;
|
||||
setRegion(value: common_common_pb.Region): MulticastGroupListItem;
|
||||
|
||||
getGroupType(): MulticastGroupType;
|
||||
setGroupType(value: MulticastGroupType): MulticastGroupListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MulticastGroupListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MulticastGroupListItem): MulticastGroupListItem.AsObject;
|
||||
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.Region,
|
||||
groupType: MulticastGroupType,
|
||||
}
|
||||
}
|
||||
|
||||
export class CreateMulticastGroupRequest extends jspb.Message {
|
||||
getMulticastGroup(): MulticastGroup | undefined;
|
||||
setMulticastGroup(value?: MulticastGroup): CreateMulticastGroupRequest;
|
||||
hasMulticastGroup(): boolean;
|
||||
clearMulticastGroup(): CreateMulticastGroupRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMulticastGroupRequest): CreateMulticastGroupRequest.AsObject;
|
||||
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): CreateMulticastGroupResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateMulticastGroupResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateMulticastGroupResponse): CreateMulticastGroupResponse.AsObject;
|
||||
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): GetMulticastGroupRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMulticastGroupRequest): GetMulticastGroupRequest.AsObject;
|
||||
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 {
|
||||
getMulticastGroup(): MulticastGroup | undefined;
|
||||
setMulticastGroup(value?: MulticastGroup): GetMulticastGroupResponse;
|
||||
hasMulticastGroup(): boolean;
|
||||
clearMulticastGroup(): GetMulticastGroupResponse;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetMulticastGroupResponse;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): GetMulticastGroupResponse;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetMulticastGroupResponse;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): GetMulticastGroupResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMulticastGroupResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMulticastGroupResponse): GetMulticastGroupResponse.AsObject;
|
||||
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 {
|
||||
getMulticastGroup(): MulticastGroup | undefined;
|
||||
setMulticastGroup(value?: MulticastGroup): UpdateMulticastGroupRequest;
|
||||
hasMulticastGroup(): boolean;
|
||||
clearMulticastGroup(): UpdateMulticastGroupRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateMulticastGroupRequest): UpdateMulticastGroupRequest.AsObject;
|
||||
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): DeleteMulticastGroupRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteMulticastGroupRequest): DeleteMulticastGroupRequest.AsObject;
|
||||
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): ListMulticastGroupsRequest;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): ListMulticastGroupsRequest;
|
||||
|
||||
getSearch(): string;
|
||||
setSearch(value: string): ListMulticastGroupsRequest;
|
||||
|
||||
getApplicationId(): string;
|
||||
setApplicationId(value: string): ListMulticastGroupsRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMulticastGroupsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMulticastGroupsRequest): ListMulticastGroupsRequest.AsObject;
|
||||
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): ListMulticastGroupsResponse;
|
||||
|
||||
getResultList(): Array<MulticastGroupListItem>;
|
||||
setResultList(value: Array<MulticastGroupListItem>): ListMulticastGroupsResponse;
|
||||
clearResultList(): ListMulticastGroupsResponse;
|
||||
addResult(value?: MulticastGroupListItem, index?: number): MulticastGroupListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMulticastGroupsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMulticastGroupsResponse): ListMulticastGroupsResponse.AsObject;
|
||||
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): AddDeviceToMulticastGroupRequest;
|
||||
|
||||
getDevEui(): string;
|
||||
setDevEui(value: string): AddDeviceToMulticastGroupRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AddDeviceToMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AddDeviceToMulticastGroupRequest): AddDeviceToMulticastGroupRequest.AsObject;
|
||||
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): RemoveDeviceFromMulticastGroupRequest;
|
||||
|
||||
getDevEui(): string;
|
||||
setDevEui(value: string): RemoveDeviceFromMulticastGroupRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RemoveDeviceFromMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RemoveDeviceFromMulticastGroupRequest): RemoveDeviceFromMulticastGroupRequest.AsObject;
|
||||
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): AddGatewayToMulticastGroupRequest;
|
||||
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): AddGatewayToMulticastGroupRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AddGatewayToMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AddGatewayToMulticastGroupRequest): AddGatewayToMulticastGroupRequest.AsObject;
|
||||
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): RemoveGatewayFromMulticastGroupRequest;
|
||||
|
||||
getGatewayId(): string;
|
||||
setGatewayId(value: string): RemoveGatewayFromMulticastGroupRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RemoveGatewayFromMulticastGroupRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RemoveGatewayFromMulticastGroupRequest): RemoveGatewayFromMulticastGroupRequest.AsObject;
|
||||
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): MulticastGroupQueueItem;
|
||||
|
||||
getFCnt(): number;
|
||||
setFCnt(value: number): MulticastGroupQueueItem;
|
||||
|
||||
getFPort(): number;
|
||||
setFPort(value: number): MulticastGroupQueueItem;
|
||||
|
||||
getData(): Uint8Array | string;
|
||||
getData_asU8(): Uint8Array;
|
||||
getData_asB64(): string;
|
||||
setData(value: Uint8Array | string): MulticastGroupQueueItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MulticastGroupQueueItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MulticastGroupQueueItem): MulticastGroupQueueItem.AsObject;
|
||||
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 {
|
||||
getQueueItem(): MulticastGroupQueueItem | undefined;
|
||||
setQueueItem(value?: MulticastGroupQueueItem): EnqueueMulticastGroupQueueItemRequest;
|
||||
hasQueueItem(): boolean;
|
||||
clearQueueItem(): EnqueueMulticastGroupQueueItemRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): EnqueueMulticastGroupQueueItemRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: EnqueueMulticastGroupQueueItemRequest): EnqueueMulticastGroupQueueItemRequest.AsObject;
|
||||
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): EnqueueMulticastGroupQueueItemResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): EnqueueMulticastGroupQueueItemResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: EnqueueMulticastGroupQueueItemResponse): EnqueueMulticastGroupQueueItemResponse.AsObject;
|
||||
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): FlushMulticastGroupQueueRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): FlushMulticastGroupQueueRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: FlushMulticastGroupQueueRequest): FlushMulticastGroupQueueRequest.AsObject;
|
||||
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): ListMulticastGroupQueueRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMulticastGroupQueueRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMulticastGroupQueueRequest): ListMulticastGroupQueueRequest.AsObject;
|
||||
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 {
|
||||
getItemsList(): Array<MulticastGroupQueueItem>;
|
||||
setItemsList(value: Array<MulticastGroupQueueItem>): ListMulticastGroupQueueResponse;
|
||||
clearItemsList(): ListMulticastGroupQueueResponse;
|
||||
addItems(value?: MulticastGroupQueueItem, index?: number): MulticastGroupQueueItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListMulticastGroupQueueResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListMulticastGroupQueueResponse): ListMulticastGroupQueueResponse.AsObject;
|
||||
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 enum MulticastGroupType {
|
||||
CLASS_C = 0,
|
||||
CLASS_B = 1,
|
||||
}
|
||||
export enum MulticastGroupSchedulingType {
|
||||
DELAY = 0,
|
||||
GPS_TIME = 1,
|
||||
}
|
4263
api/grpc-web/api/multicast_group_pb.js
vendored
4263
api/grpc-web/api/multicast_group_pb.js
vendored
File diff suppressed because it is too large
Load Diff
68
api/grpc-web/api/relay_grpc_web_pb.d.ts
vendored
68
api/grpc-web/api/relay_grpc_web_pb.d.ts
vendored
@ -1,68 +0,0 @@
|
||||
import * as grpcWeb from 'grpc-web';
|
||||
|
||||
import * as api_relay_pb from '../api/relay_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
|
||||
|
||||
export class RelayServiceClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
list(
|
||||
request: api_relay_pb.ListRelaysRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_relay_pb.ListRelaysResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_relay_pb.ListRelaysResponse>;
|
||||
|
||||
addDevice(
|
||||
request: api_relay_pb.AddRelayDeviceRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
removeDevice(
|
||||
request: api_relay_pb.RemoveRelayDeviceRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
listDevices(
|
||||
request: api_relay_pb.ListRelayDevicesRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_relay_pb.ListRelayDevicesResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_relay_pb.ListRelayDevicesResponse>;
|
||||
|
||||
}
|
||||
|
||||
export class RelayServicePromiseClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
list(
|
||||
request: api_relay_pb.ListRelaysRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_relay_pb.ListRelaysResponse>;
|
||||
|
||||
addDevice(
|
||||
request: api_relay_pb.AddRelayDeviceRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
removeDevice(
|
||||
request: api_relay_pb.RemoveRelayDeviceRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
listDevices(
|
||||
request: api_relay_pb.ListRelayDevicesRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_relay_pb.ListRelayDevicesResponse>;
|
||||
|
||||
}
|
||||
|
328
api/grpc-web/api/relay_grpc_web_pb.js
vendored
328
api/grpc-web/api/relay_grpc_web_pb.js
vendored
@ -1,328 +0,0 @@
|
||||
/**
|
||||
* @fileoverview gRPC-Web generated client stub for api
|
||||
* @enhanceable
|
||||
* @public
|
||||
*/
|
||||
|
||||
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-grpc-web v1.4.2
|
||||
// protoc v3.12.4
|
||||
// source: api/relay.proto
|
||||
|
||||
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
|
||||
|
||||
const grpc = {};
|
||||
grpc.web = require('grpc-web');
|
||||
|
||||
|
||||
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')
|
||||
const proto = {};
|
||||
proto.api = require('./relay_pb.js');
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.RelayServiceClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.RelayServicePromiseClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.ListRelaysRequest,
|
||||
* !proto.api.ListRelaysResponse>}
|
||||
*/
|
||||
const methodDescriptor_RelayService_List = new grpc.web.MethodDescriptor(
|
||||
'/api.RelayService/List',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.ListRelaysRequest,
|
||||
proto.api.ListRelaysResponse,
|
||||
/**
|
||||
* @param {!proto.api.ListRelaysRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.ListRelaysResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListRelaysRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.ListRelaysResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.ListRelaysResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.RelayServiceClient.prototype.list =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.RelayService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_RelayService_List,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListRelaysRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.ListRelaysResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.RelayServicePromiseClient.prototype.list =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.RelayService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_RelayService_List);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.AddRelayDeviceRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_RelayService_AddDevice = new grpc.web.MethodDescriptor(
|
||||
'/api.RelayService/AddDevice',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.AddRelayDeviceRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.AddRelayDeviceRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.AddRelayDeviceRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.RelayServiceClient.prototype.addDevice =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.RelayService/AddDevice',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_RelayService_AddDevice,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.AddRelayDeviceRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.RelayServicePromiseClient.prototype.addDevice =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.RelayService/AddDevice',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_RelayService_AddDevice);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.RemoveRelayDeviceRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_RelayService_RemoveDevice = new grpc.web.MethodDescriptor(
|
||||
'/api.RelayService/RemoveDevice',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.RemoveRelayDeviceRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.RemoveRelayDeviceRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.RemoveRelayDeviceRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.RelayServiceClient.prototype.removeDevice =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.RelayService/RemoveDevice',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_RelayService_RemoveDevice,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.RemoveRelayDeviceRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.RelayServicePromiseClient.prototype.removeDevice =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.RelayService/RemoveDevice',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_RelayService_RemoveDevice);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.ListRelayDevicesRequest,
|
||||
* !proto.api.ListRelayDevicesResponse>}
|
||||
*/
|
||||
const methodDescriptor_RelayService_ListDevices = new grpc.web.MethodDescriptor(
|
||||
'/api.RelayService/ListDevices',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.ListRelayDevicesRequest,
|
||||
proto.api.ListRelayDevicesResponse,
|
||||
/**
|
||||
* @param {!proto.api.ListRelayDevicesRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.ListRelayDevicesResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListRelayDevicesRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.ListRelayDevicesResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.ListRelayDevicesResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.RelayServiceClient.prototype.listDevices =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.RelayService/ListDevices',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_RelayService_ListDevices,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListRelayDevicesRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.ListRelayDevicesResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.RelayServicePromiseClient.prototype.listDevices =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.RelayService/ListDevices',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_RelayService_ListDevices);
|
||||
};
|
||||
|
||||
|
||||
module.exports = proto.api;
|
||||
|
201
api/grpc-web/api/relay_pb.d.ts
vendored
201
api/grpc-web/api/relay_pb.d.ts
vendored
@ -1,201 +0,0 @@
|
||||
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): RelayListItem;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): RelayListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RelayListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RelayListItem): RelayListItem.AsObject;
|
||||
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): ListRelaysRequest;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): ListRelaysRequest;
|
||||
|
||||
getApplicationId(): string;
|
||||
setApplicationId(value: string): ListRelaysRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListRelaysRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListRelaysRequest): ListRelaysRequest.AsObject;
|
||||
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): ListRelaysResponse;
|
||||
|
||||
getResultList(): Array<RelayListItem>;
|
||||
setResultList(value: Array<RelayListItem>): ListRelaysResponse;
|
||||
clearResultList(): ListRelaysResponse;
|
||||
addResult(value?: RelayListItem, index?: number): RelayListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListRelaysResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListRelaysResponse): ListRelaysResponse.AsObject;
|
||||
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): AddRelayDeviceRequest;
|
||||
|
||||
getDeviceDevEui(): string;
|
||||
setDeviceDevEui(value: string): AddRelayDeviceRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AddRelayDeviceRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AddRelayDeviceRequest): AddRelayDeviceRequest.AsObject;
|
||||
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): RemoveRelayDeviceRequest;
|
||||
|
||||
getDeviceDevEui(): string;
|
||||
setDeviceDevEui(value: string): RemoveRelayDeviceRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RemoveRelayDeviceRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RemoveRelayDeviceRequest): RemoveRelayDeviceRequest.AsObject;
|
||||
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): ListRelayDevicesRequest;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): ListRelayDevicesRequest;
|
||||
|
||||
getRelayDevEui(): string;
|
||||
setRelayDevEui(value: string): ListRelayDevicesRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListRelayDevicesRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListRelayDevicesRequest): ListRelayDevicesRequest.AsObject;
|
||||
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): RelayDeviceListItem;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): RelayDeviceListItem;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): RelayDeviceListItem;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): RelayDeviceListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RelayDeviceListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RelayDeviceListItem): RelayDeviceListItem.AsObject;
|
||||
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): ListRelayDevicesResponse;
|
||||
|
||||
getResultList(): Array<RelayDeviceListItem>;
|
||||
setResultList(value: Array<RelayDeviceListItem>): ListRelayDevicesResponse;
|
||||
clearResultList(): ListRelayDevicesResponse;
|
||||
addResult(value?: RelayDeviceListItem, index?: number): RelayDeviceListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListRelayDevicesResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListRelayDevicesResponse): ListRelayDevicesResponse.AsObject;
|
||||
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/grpc-web/api/relay_pb.js
vendored
1648
api/grpc-web/api/relay_pb.js
vendored
File diff suppressed because it is too large
Load Diff
140
api/grpc-web/api/tenant_grpc_web_pb.d.ts
vendored
140
api/grpc-web/api/tenant_grpc_web_pb.d.ts
vendored
@ -1,140 +0,0 @@
|
||||
import * as grpcWeb from 'grpc-web';
|
||||
|
||||
import * as api_tenant_pb from '../api/tenant_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
|
||||
|
||||
export class TenantServiceClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_tenant_pb.CreateTenantRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_tenant_pb.CreateTenantResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_tenant_pb.CreateTenantResponse>;
|
||||
|
||||
get(
|
||||
request: api_tenant_pb.GetTenantRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_tenant_pb.GetTenantResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_tenant_pb.GetTenantResponse>;
|
||||
|
||||
update(
|
||||
request: api_tenant_pb.UpdateTenantRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_tenant_pb.DeleteTenantRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_tenant_pb.ListTenantsRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_tenant_pb.ListTenantsResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_tenant_pb.ListTenantsResponse>;
|
||||
|
||||
addUser(
|
||||
request: api_tenant_pb.AddTenantUserRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getUser(
|
||||
request: api_tenant_pb.GetTenantUserRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_tenant_pb.GetTenantUserResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_tenant_pb.GetTenantUserResponse>;
|
||||
|
||||
updateUser(
|
||||
request: api_tenant_pb.UpdateTenantUserRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteUser(
|
||||
request: api_tenant_pb.DeleteTenantUserRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
listUsers(
|
||||
request: api_tenant_pb.ListTenantUsersRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_tenant_pb.ListTenantUsersResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_tenant_pb.ListTenantUsersResponse>;
|
||||
|
||||
}
|
||||
|
||||
export class TenantServicePromiseClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_tenant_pb.CreateTenantRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_tenant_pb.CreateTenantResponse>;
|
||||
|
||||
get(
|
||||
request: api_tenant_pb.GetTenantRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_tenant_pb.GetTenantResponse>;
|
||||
|
||||
update(
|
||||
request: api_tenant_pb.UpdateTenantRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_tenant_pb.DeleteTenantRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_tenant_pb.ListTenantsRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_tenant_pb.ListTenantsResponse>;
|
||||
|
||||
addUser(
|
||||
request: api_tenant_pb.AddTenantUserRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
getUser(
|
||||
request: api_tenant_pb.GetTenantUserRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_tenant_pb.GetTenantUserResponse>;
|
||||
|
||||
updateUser(
|
||||
request: api_tenant_pb.UpdateTenantUserRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
deleteUser(
|
||||
request: api_tenant_pb.DeleteTenantUserRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
listUsers(
|
||||
request: api_tenant_pb.ListTenantUsersRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_tenant_pb.ListTenantUsersResponse>;
|
||||
|
||||
}
|
||||
|
694
api/grpc-web/api/tenant_grpc_web_pb.js
vendored
694
api/grpc-web/api/tenant_grpc_web_pb.js
vendored
@ -1,694 +0,0 @@
|
||||
/**
|
||||
* @fileoverview gRPC-Web generated client stub for api
|
||||
* @enhanceable
|
||||
* @public
|
||||
*/
|
||||
|
||||
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-grpc-web v1.4.2
|
||||
// protoc v3.12.4
|
||||
// source: api/tenant.proto
|
||||
|
||||
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
|
||||
|
||||
const grpc = {};
|
||||
grpc.web = require('grpc-web');
|
||||
|
||||
|
||||
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')
|
||||
const proto = {};
|
||||
proto.api = require('./tenant_pb.js');
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.TenantServiceClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.TenantServicePromiseClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.CreateTenantRequest,
|
||||
* !proto.api.CreateTenantResponse>}
|
||||
*/
|
||||
const methodDescriptor_TenantService_Create = new grpc.web.MethodDescriptor(
|
||||
'/api.TenantService/Create',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.CreateTenantRequest,
|
||||
proto.api.CreateTenantResponse,
|
||||
/**
|
||||
* @param {!proto.api.CreateTenantRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.CreateTenantResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.CreateTenantRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.CreateTenantResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.CreateTenantResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.TenantServiceClient.prototype.create =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.TenantService/Create',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_Create,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.CreateTenantRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.CreateTenantResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.TenantServicePromiseClient.prototype.create =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.TenantService/Create',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_Create);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.GetTenantRequest,
|
||||
* !proto.api.GetTenantResponse>}
|
||||
*/
|
||||
const methodDescriptor_TenantService_Get = new grpc.web.MethodDescriptor(
|
||||
'/api.TenantService/Get',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.GetTenantRequest,
|
||||
proto.api.GetTenantResponse,
|
||||
/**
|
||||
* @param {!proto.api.GetTenantRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.GetTenantResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetTenantRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.GetTenantResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.GetTenantResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.TenantServiceClient.prototype.get =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.TenantService/Get',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_Get,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetTenantRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.GetTenantResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.TenantServicePromiseClient.prototype.get =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.TenantService/Get',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_Get);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.UpdateTenantRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_TenantService_Update = new grpc.web.MethodDescriptor(
|
||||
'/api.TenantService/Update',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.UpdateTenantRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.UpdateTenantRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateTenantRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.TenantServiceClient.prototype.update =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.TenantService/Update',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_Update,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateTenantRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.TenantServicePromiseClient.prototype.update =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.TenantService/Update',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_Update);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.DeleteTenantRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_TenantService_Delete = new grpc.web.MethodDescriptor(
|
||||
'/api.TenantService/Delete',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.DeleteTenantRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.DeleteTenantRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteTenantRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.TenantServiceClient.prototype.delete =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.TenantService/Delete',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_Delete,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteTenantRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.TenantServicePromiseClient.prototype.delete =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.TenantService/Delete',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_Delete);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.ListTenantsRequest,
|
||||
* !proto.api.ListTenantsResponse>}
|
||||
*/
|
||||
const methodDescriptor_TenantService_List = new grpc.web.MethodDescriptor(
|
||||
'/api.TenantService/List',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.ListTenantsRequest,
|
||||
proto.api.ListTenantsResponse,
|
||||
/**
|
||||
* @param {!proto.api.ListTenantsRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.ListTenantsResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListTenantsRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.ListTenantsResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.ListTenantsResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.TenantServiceClient.prototype.list =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.TenantService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_List,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListTenantsRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.ListTenantsResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.TenantServicePromiseClient.prototype.list =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.TenantService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_List);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.AddTenantUserRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_TenantService_AddUser = new grpc.web.MethodDescriptor(
|
||||
'/api.TenantService/AddUser',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.AddTenantUserRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.AddTenantUserRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.AddTenantUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.TenantServiceClient.prototype.addUser =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.TenantService/AddUser',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_AddUser,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.AddTenantUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.TenantServicePromiseClient.prototype.addUser =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.TenantService/AddUser',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_AddUser);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.GetTenantUserRequest,
|
||||
* !proto.api.GetTenantUserResponse>}
|
||||
*/
|
||||
const methodDescriptor_TenantService_GetUser = new grpc.web.MethodDescriptor(
|
||||
'/api.TenantService/GetUser',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.GetTenantUserRequest,
|
||||
proto.api.GetTenantUserResponse,
|
||||
/**
|
||||
* @param {!proto.api.GetTenantUserRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.GetTenantUserResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetTenantUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.GetTenantUserResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.GetTenantUserResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.TenantServiceClient.prototype.getUser =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.TenantService/GetUser',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_GetUser,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetTenantUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.GetTenantUserResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.TenantServicePromiseClient.prototype.getUser =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.TenantService/GetUser',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_GetUser);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.UpdateTenantUserRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_TenantService_UpdateUser = new grpc.web.MethodDescriptor(
|
||||
'/api.TenantService/UpdateUser',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.UpdateTenantUserRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.UpdateTenantUserRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateTenantUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.TenantServiceClient.prototype.updateUser =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.TenantService/UpdateUser',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_UpdateUser,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateTenantUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.TenantServicePromiseClient.prototype.updateUser =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.TenantService/UpdateUser',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_UpdateUser);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.DeleteTenantUserRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_TenantService_DeleteUser = new grpc.web.MethodDescriptor(
|
||||
'/api.TenantService/DeleteUser',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.DeleteTenantUserRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.DeleteTenantUserRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteTenantUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.TenantServiceClient.prototype.deleteUser =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.TenantService/DeleteUser',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_DeleteUser,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteTenantUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.TenantServicePromiseClient.prototype.deleteUser =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.TenantService/DeleteUser',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_DeleteUser);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.ListTenantUsersRequest,
|
||||
* !proto.api.ListTenantUsersResponse>}
|
||||
*/
|
||||
const methodDescriptor_TenantService_ListUsers = new grpc.web.MethodDescriptor(
|
||||
'/api.TenantService/ListUsers',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.ListTenantUsersRequest,
|
||||
proto.api.ListTenantUsersResponse,
|
||||
/**
|
||||
* @param {!proto.api.ListTenantUsersRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.ListTenantUsersResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListTenantUsersRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.ListTenantUsersResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.ListTenantUsersResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.TenantServiceClient.prototype.listUsers =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.TenantService/ListUsers',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_ListUsers,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListTenantUsersRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.ListTenantUsersResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.TenantServicePromiseClient.prototype.listUsers =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.TenantService/ListUsers',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_TenantService_ListUsers);
|
||||
};
|
||||
|
||||
|
||||
module.exports = proto.api;
|
||||
|
545
api/grpc-web/api/tenant_pb.d.ts
vendored
545
api/grpc-web/api/tenant_pb.d.ts
vendored
@ -1,545 +0,0 @@
|
||||
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): Tenant;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): Tenant;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): Tenant;
|
||||
|
||||
getCanHaveGateways(): boolean;
|
||||
setCanHaveGateways(value: boolean): Tenant;
|
||||
|
||||
getMaxGatewayCount(): number;
|
||||
setMaxGatewayCount(value: number): Tenant;
|
||||
|
||||
getMaxDeviceCount(): number;
|
||||
setMaxDeviceCount(value: number): Tenant;
|
||||
|
||||
getPrivateGatewaysUp(): boolean;
|
||||
setPrivateGatewaysUp(value: boolean): Tenant;
|
||||
|
||||
getPrivateGatewaysDown(): boolean;
|
||||
setPrivateGatewaysDown(value: boolean): Tenant;
|
||||
|
||||
getTagsMap(): jspb.Map<string, string>;
|
||||
clearTagsMap(): Tenant;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Tenant.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Tenant): Tenant.AsObject;
|
||||
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): TenantListItem;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): TenantListItem;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): TenantListItem;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): TenantListItem;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): TenantListItem;
|
||||
|
||||
getName(): string;
|
||||
setName(value: string): TenantListItem;
|
||||
|
||||
getCanHaveGateways(): boolean;
|
||||
setCanHaveGateways(value: boolean): TenantListItem;
|
||||
|
||||
getPrivateGatewaysUp(): boolean;
|
||||
setPrivateGatewaysUp(value: boolean): TenantListItem;
|
||||
|
||||
getPrivateGatewaysDown(): boolean;
|
||||
setPrivateGatewaysDown(value: boolean): TenantListItem;
|
||||
|
||||
getMaxGatewayCount(): number;
|
||||
setMaxGatewayCount(value: number): TenantListItem;
|
||||
|
||||
getMaxDeviceCount(): number;
|
||||
setMaxDeviceCount(value: number): TenantListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): TenantListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: TenantListItem): TenantListItem.AsObject;
|
||||
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 {
|
||||
getTenant(): Tenant | undefined;
|
||||
setTenant(value?: Tenant): CreateTenantRequest;
|
||||
hasTenant(): boolean;
|
||||
clearTenant(): CreateTenantRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateTenantRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateTenantRequest): CreateTenantRequest.AsObject;
|
||||
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): CreateTenantResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateTenantResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateTenantResponse): CreateTenantResponse.AsObject;
|
||||
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): GetTenantRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetTenantRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetTenantRequest): GetTenantRequest.AsObject;
|
||||
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 {
|
||||
getTenant(): Tenant | undefined;
|
||||
setTenant(value?: Tenant): GetTenantResponse;
|
||||
hasTenant(): boolean;
|
||||
clearTenant(): GetTenantResponse;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetTenantResponse;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): GetTenantResponse;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetTenantResponse;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): GetTenantResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetTenantResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetTenantResponse): GetTenantResponse.AsObject;
|
||||
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 {
|
||||
getTenant(): Tenant | undefined;
|
||||
setTenant(value?: Tenant): UpdateTenantRequest;
|
||||
hasTenant(): boolean;
|
||||
clearTenant(): UpdateTenantRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateTenantRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateTenantRequest): UpdateTenantRequest.AsObject;
|
||||
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): DeleteTenantRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteTenantRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteTenantRequest): DeleteTenantRequest.AsObject;
|
||||
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): ListTenantsRequest;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): ListTenantsRequest;
|
||||
|
||||
getSearch(): string;
|
||||
setSearch(value: string): ListTenantsRequest;
|
||||
|
||||
getUserId(): string;
|
||||
setUserId(value: string): ListTenantsRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListTenantsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListTenantsRequest): ListTenantsRequest.AsObject;
|
||||
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): ListTenantsResponse;
|
||||
|
||||
getResultList(): Array<TenantListItem>;
|
||||
setResultList(value: Array<TenantListItem>): ListTenantsResponse;
|
||||
clearResultList(): ListTenantsResponse;
|
||||
addResult(value?: TenantListItem, index?: number): TenantListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListTenantsResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListTenantsResponse): ListTenantsResponse.AsObject;
|
||||
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): TenantUser;
|
||||
|
||||
getUserId(): string;
|
||||
setUserId(value: string): TenantUser;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): TenantUser;
|
||||
|
||||
getIsDeviceAdmin(): boolean;
|
||||
setIsDeviceAdmin(value: boolean): TenantUser;
|
||||
|
||||
getIsGatewayAdmin(): boolean;
|
||||
setIsGatewayAdmin(value: boolean): TenantUser;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): TenantUser;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): TenantUser.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: TenantUser): TenantUser.AsObject;
|
||||
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): TenantUserListItem;
|
||||
|
||||
getUserId(): string;
|
||||
setUserId(value: string): TenantUserListItem;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): TenantUserListItem;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): TenantUserListItem;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): TenantUserListItem;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): TenantUserListItem;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): TenantUserListItem;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): TenantUserListItem;
|
||||
|
||||
getIsDeviceAdmin(): boolean;
|
||||
setIsDeviceAdmin(value: boolean): TenantUserListItem;
|
||||
|
||||
getIsGatewayAdmin(): boolean;
|
||||
setIsGatewayAdmin(value: boolean): TenantUserListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): TenantUserListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: TenantUserListItem): TenantUserListItem.AsObject;
|
||||
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 {
|
||||
getTenantUser(): TenantUser | undefined;
|
||||
setTenantUser(value?: TenantUser): AddTenantUserRequest;
|
||||
hasTenantUser(): boolean;
|
||||
clearTenantUser(): AddTenantUserRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AddTenantUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AddTenantUserRequest): AddTenantUserRequest.AsObject;
|
||||
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): GetTenantUserRequest;
|
||||
|
||||
getUserId(): string;
|
||||
setUserId(value: string): GetTenantUserRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetTenantUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetTenantUserRequest): GetTenantUserRequest.AsObject;
|
||||
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 {
|
||||
getTenantUser(): TenantUser | undefined;
|
||||
setTenantUser(value?: TenantUser): GetTenantUserResponse;
|
||||
hasTenantUser(): boolean;
|
||||
clearTenantUser(): GetTenantUserResponse;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetTenantUserResponse;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): GetTenantUserResponse;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetTenantUserResponse;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): GetTenantUserResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetTenantUserResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetTenantUserResponse): GetTenantUserResponse.AsObject;
|
||||
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 {
|
||||
getTenantUser(): TenantUser | undefined;
|
||||
setTenantUser(value?: TenantUser): UpdateTenantUserRequest;
|
||||
hasTenantUser(): boolean;
|
||||
clearTenantUser(): UpdateTenantUserRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateTenantUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateTenantUserRequest): UpdateTenantUserRequest.AsObject;
|
||||
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): DeleteTenantUserRequest;
|
||||
|
||||
getUserId(): string;
|
||||
setUserId(value: string): DeleteTenantUserRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteTenantUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteTenantUserRequest): DeleteTenantUserRequest.AsObject;
|
||||
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): ListTenantUsersRequest;
|
||||
|
||||
getLimit(): number;
|
||||
setLimit(value: number): ListTenantUsersRequest;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): ListTenantUsersRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListTenantUsersRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListTenantUsersRequest): ListTenantUsersRequest.AsObject;
|
||||
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): ListTenantUsersResponse;
|
||||
|
||||
getResultList(): Array<TenantUserListItem>;
|
||||
setResultList(value: Array<TenantUserListItem>): ListTenantUsersResponse;
|
||||
clearResultList(): ListTenantUsersResponse;
|
||||
addResult(value?: TenantUserListItem, index?: number): TenantUserListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListTenantUsersResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListTenantUsersResponse): ListTenantUsersResponse.AsObject;
|
||||
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/grpc-web/api/tenant_pb.js
vendored
4496
api/grpc-web/api/tenant_pb.js
vendored
File diff suppressed because it is too large
Load Diff
92
api/grpc-web/api/user_grpc_web_pb.d.ts
vendored
92
api/grpc-web/api/user_grpc_web_pb.d.ts
vendored
@ -1,92 +0,0 @@
|
||||
import * as grpcWeb from 'grpc-web';
|
||||
|
||||
import * as api_user_pb from '../api/user_pb';
|
||||
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
||||
|
||||
|
||||
export class UserServiceClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_user_pb.CreateUserRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_user_pb.CreateUserResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_user_pb.CreateUserResponse>;
|
||||
|
||||
get(
|
||||
request: api_user_pb.GetUserRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_user_pb.GetUserResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_user_pb.GetUserResponse>;
|
||||
|
||||
update(
|
||||
request: api_user_pb.UpdateUserRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_user_pb.DeleteUserRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_user_pb.ListUsersRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: api_user_pb.ListUsersResponse) => void
|
||||
): grpcWeb.ClientReadableStream<api_user_pb.ListUsersResponse>;
|
||||
|
||||
updatePassword(
|
||||
request: api_user_pb.UpdateUserPasswordRequest,
|
||||
metadata: grpcWeb.Metadata | undefined,
|
||||
callback: (err: grpcWeb.RpcError,
|
||||
response: google_protobuf_empty_pb.Empty) => void
|
||||
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
}
|
||||
|
||||
export class UserServicePromiseClient {
|
||||
constructor (hostname: string,
|
||||
credentials?: null | { [index: string]: string; },
|
||||
options?: null | { [index: string]: any; });
|
||||
|
||||
create(
|
||||
request: api_user_pb.CreateUserRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_user_pb.CreateUserResponse>;
|
||||
|
||||
get(
|
||||
request: api_user_pb.GetUserRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_user_pb.GetUserResponse>;
|
||||
|
||||
update(
|
||||
request: api_user_pb.UpdateUserRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
delete(
|
||||
request: api_user_pb.DeleteUserRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
list(
|
||||
request: api_user_pb.ListUsersRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<api_user_pb.ListUsersResponse>;
|
||||
|
||||
updatePassword(
|
||||
request: api_user_pb.UpdateUserPasswordRequest,
|
||||
metadata?: grpcWeb.Metadata
|
||||
): Promise<google_protobuf_empty_pb.Empty>;
|
||||
|
||||
}
|
||||
|
450
api/grpc-web/api/user_grpc_web_pb.js
vendored
450
api/grpc-web/api/user_grpc_web_pb.js
vendored
@ -1,450 +0,0 @@
|
||||
/**
|
||||
* @fileoverview gRPC-Web generated client stub for api
|
||||
* @enhanceable
|
||||
* @public
|
||||
*/
|
||||
|
||||
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-grpc-web v1.4.2
|
||||
// protoc v3.12.4
|
||||
// source: api/user.proto
|
||||
|
||||
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
|
||||
|
||||
|
||||
const grpc = {};
|
||||
grpc.web = require('grpc-web');
|
||||
|
||||
|
||||
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')
|
||||
const proto = {};
|
||||
proto.api = require('./user_pb.js');
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.UserServiceClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} hostname
|
||||
* @param {?Object} credentials
|
||||
* @param {?grpc.web.ClientOptions} options
|
||||
* @constructor
|
||||
* @struct
|
||||
* @final
|
||||
*/
|
||||
proto.api.UserServicePromiseClient =
|
||||
function(hostname, credentials, options) {
|
||||
if (!options) options = {};
|
||||
options.format = 'text';
|
||||
|
||||
/**
|
||||
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
||||
*/
|
||||
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
||||
|
||||
/**
|
||||
* @private @const {string} The hostname
|
||||
*/
|
||||
this.hostname_ = hostname.replace(/\/+$/, '');
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.CreateUserRequest,
|
||||
* !proto.api.CreateUserResponse>}
|
||||
*/
|
||||
const methodDescriptor_UserService_Create = new grpc.web.MethodDescriptor(
|
||||
'/api.UserService/Create',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.CreateUserRequest,
|
||||
proto.api.CreateUserResponse,
|
||||
/**
|
||||
* @param {!proto.api.CreateUserRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.CreateUserResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.CreateUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.CreateUserResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.CreateUserResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.UserServiceClient.prototype.create =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.UserService/Create',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_UserService_Create,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.CreateUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.CreateUserResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.UserServicePromiseClient.prototype.create =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.UserService/Create',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_UserService_Create);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.GetUserRequest,
|
||||
* !proto.api.GetUserResponse>}
|
||||
*/
|
||||
const methodDescriptor_UserService_Get = new grpc.web.MethodDescriptor(
|
||||
'/api.UserService/Get',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.GetUserRequest,
|
||||
proto.api.GetUserResponse,
|
||||
/**
|
||||
* @param {!proto.api.GetUserRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.GetUserResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.GetUserResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.GetUserResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.UserServiceClient.prototype.get =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.UserService/Get',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_UserService_Get,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.GetUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.GetUserResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.UserServicePromiseClient.prototype.get =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.UserService/Get',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_UserService_Get);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.UpdateUserRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_UserService_Update = new grpc.web.MethodDescriptor(
|
||||
'/api.UserService/Update',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.UpdateUserRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.UpdateUserRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.UserServiceClient.prototype.update =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.UserService/Update',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_UserService_Update,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.UserServicePromiseClient.prototype.update =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.UserService/Update',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_UserService_Update);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.DeleteUserRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_UserService_Delete = new grpc.web.MethodDescriptor(
|
||||
'/api.UserService/Delete',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.DeleteUserRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.DeleteUserRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.UserServiceClient.prototype.delete =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.UserService/Delete',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_UserService_Delete,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.DeleteUserRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.UserServicePromiseClient.prototype.delete =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.UserService/Delete',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_UserService_Delete);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.ListUsersRequest,
|
||||
* !proto.api.ListUsersResponse>}
|
||||
*/
|
||||
const methodDescriptor_UserService_List = new grpc.web.MethodDescriptor(
|
||||
'/api.UserService/List',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.ListUsersRequest,
|
||||
proto.api.ListUsersResponse,
|
||||
/**
|
||||
* @param {!proto.api.ListUsersRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
proto.api.ListUsersResponse.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListUsersRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.api.ListUsersResponse)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.api.ListUsersResponse>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.UserServiceClient.prototype.list =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.UserService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_UserService_List,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.ListUsersRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.api.ListUsersResponse>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.UserServicePromiseClient.prototype.list =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.UserService/List',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_UserService_List);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {!grpc.web.MethodDescriptor<
|
||||
* !proto.api.UpdateUserPasswordRequest,
|
||||
* !proto.google.protobuf.Empty>}
|
||||
*/
|
||||
const methodDescriptor_UserService_UpdatePassword = new grpc.web.MethodDescriptor(
|
||||
'/api.UserService/UpdatePassword',
|
||||
grpc.web.MethodType.UNARY,
|
||||
proto.api.UpdateUserPasswordRequest,
|
||||
google_protobuf_empty_pb.Empty,
|
||||
/**
|
||||
* @param {!proto.api.UpdateUserPasswordRequest} request
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
function(request) {
|
||||
return request.serializeBinary();
|
||||
},
|
||||
google_protobuf_empty_pb.Empty.deserializeBinary
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateUserPasswordRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>} metadata User defined
|
||||
* call metadata
|
||||
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
||||
* callback The callback function(error, response)
|
||||
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
||||
* The XHR Node Readable Stream
|
||||
*/
|
||||
proto.api.UserServiceClient.prototype.updatePassword =
|
||||
function(request, metadata, callback) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/api.UserService/UpdatePassword',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_UserService_UpdatePassword,
|
||||
callback);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.api.UpdateUserPasswordRequest} request The
|
||||
* request proto
|
||||
* @param {?Object<string, string>=} metadata User defined
|
||||
* call metadata
|
||||
* @return {!Promise<!proto.google.protobuf.Empty>}
|
||||
* Promise that resolves to the response
|
||||
*/
|
||||
proto.api.UserServicePromiseClient.prototype.updatePassword =
|
||||
function(request, metadata) {
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/api.UserService/UpdatePassword',
|
||||
request,
|
||||
metadata || {},
|
||||
methodDescriptor_UserService_UpdatePassword);
|
||||
};
|
||||
|
||||
|
||||
module.exports = proto.api;
|
||||
|
317
api/grpc-web/api/user_pb.d.ts
vendored
317
api/grpc-web/api/user_pb.d.ts
vendored
@ -1,317 +0,0 @@
|
||||
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): User;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): User;
|
||||
|
||||
getIsActive(): boolean;
|
||||
setIsActive(value: boolean): User;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): User;
|
||||
|
||||
getNote(): string;
|
||||
setNote(value: string): User;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): User.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: User): User.AsObject;
|
||||
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): UserListItem;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): UserListItem;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): UserListItem;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): UserListItem;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): UserListItem;
|
||||
|
||||
getEmail(): string;
|
||||
setEmail(value: string): UserListItem;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): UserListItem;
|
||||
|
||||
getIsActive(): boolean;
|
||||
setIsActive(value: boolean): UserListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserListItem.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserListItem): UserListItem.AsObject;
|
||||
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): UserTenant;
|
||||
|
||||
getIsAdmin(): boolean;
|
||||
setIsAdmin(value: boolean): UserTenant;
|
||||
|
||||
getIsDeviceAdmin(): boolean;
|
||||
setIsDeviceAdmin(value: boolean): UserTenant;
|
||||
|
||||
getIsGatewayAdmin(): boolean;
|
||||
setIsGatewayAdmin(value: boolean): UserTenant;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UserTenant.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UserTenant): UserTenant.AsObject;
|
||||
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 {
|
||||
getUser(): User | undefined;
|
||||
setUser(value?: User): CreateUserRequest;
|
||||
hasUser(): boolean;
|
||||
clearUser(): CreateUserRequest;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): CreateUserRequest;
|
||||
|
||||
getTenantsList(): Array<UserTenant>;
|
||||
setTenantsList(value: Array<UserTenant>): CreateUserRequest;
|
||||
clearTenantsList(): CreateUserRequest;
|
||||
addTenants(value?: UserTenant, index?: number): UserTenant;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateUserRequest): CreateUserRequest.AsObject;
|
||||
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): CreateUserResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CreateUserResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CreateUserResponse): CreateUserResponse.AsObject;
|
||||
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): GetUserRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetUserRequest): GetUserRequest.AsObject;
|
||||
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 {
|
||||
getUser(): User | undefined;
|
||||
setUser(value?: User): GetUserResponse;
|
||||
hasUser(): boolean;
|
||||
clearUser(): GetUserResponse;
|
||||
|
||||
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetUserResponse;
|
||||
hasCreatedAt(): boolean;
|
||||
clearCreatedAt(): GetUserResponse;
|
||||
|
||||
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): GetUserResponse;
|
||||
hasUpdatedAt(): boolean;
|
||||
clearUpdatedAt(): GetUserResponse;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetUserResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetUserResponse): GetUserResponse.AsObject;
|
||||
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 {
|
||||
getUser(): User | undefined;
|
||||
setUser(value?: User): UpdateUserRequest;
|
||||
hasUser(): boolean;
|
||||
clearUser(): UpdateUserRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateUserRequest): UpdateUserRequest.AsObject;
|
||||
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): DeleteUserRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DeleteUserRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DeleteUserRequest): DeleteUserRequest.AsObject;
|
||||
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): ListUsersRequest;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): ListUsersRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListUsersRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListUsersRequest): ListUsersRequest.AsObject;
|
||||
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): ListUsersResponse;
|
||||
|
||||
getResultList(): Array<UserListItem>;
|
||||
setResultList(value: Array<UserListItem>): ListUsersResponse;
|
||||
clearResultList(): ListUsersResponse;
|
||||
addResult(value?: UserListItem, index?: number): UserListItem;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ListUsersResponse.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ListUsersResponse): ListUsersResponse.AsObject;
|
||||
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): UpdateUserPasswordRequest;
|
||||
|
||||
getPassword(): string;
|
||||
setPassword(value: string): UpdateUserPasswordRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): UpdateUserPasswordRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: UpdateUserPasswordRequest): UpdateUserPasswordRequest.AsObject;
|
||||
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/grpc-web/api/user_pb.js
vendored
2622
api/grpc-web/api/user_pb.js
vendored
File diff suppressed because it is too large
Load Diff
216
api/grpc-web/common/common_pb.d.ts
vendored
216
api/grpc-web/common/common_pb.d.ts
vendored
@ -1,216 +0,0 @@
|
||||
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): Location;
|
||||
|
||||
getLongitude(): number;
|
||||
setLongitude(value: number): Location;
|
||||
|
||||
getAltitude(): number;
|
||||
setAltitude(value: number): Location;
|
||||
|
||||
getSource(): LocationSource;
|
||||
setSource(value: LocationSource): Location;
|
||||
|
||||
getAccuracy(): number;
|
||||
setAccuracy(value: number): Location;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Location.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Location): Location.AsObject;
|
||||
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: LocationSource,
|
||||
accuracy: number,
|
||||
}
|
||||
}
|
||||
|
||||
export class KeyEnvelope extends jspb.Message {
|
||||
getKekLabel(): string;
|
||||
setKekLabel(value: string): KeyEnvelope;
|
||||
|
||||
getAesKey(): Uint8Array | string;
|
||||
getAesKey_asU8(): Uint8Array;
|
||||
getAesKey_asB64(): string;
|
||||
setAesKey(value: Uint8Array | string): KeyEnvelope;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): KeyEnvelope.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: KeyEnvelope): KeyEnvelope.AsObject;
|
||||
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): Metric;
|
||||
|
||||
getTimestampsList(): Array<google_protobuf_timestamp_pb.Timestamp>;
|
||||
setTimestampsList(value: Array<google_protobuf_timestamp_pb.Timestamp>): Metric;
|
||||
clearTimestampsList(): Metric;
|
||||
addTimestamps(value?: google_protobuf_timestamp_pb.Timestamp, index?: number): google_protobuf_timestamp_pb.Timestamp;
|
||||
|
||||
getDatasetsList(): Array<MetricDataset>;
|
||||
setDatasetsList(value: Array<MetricDataset>): Metric;
|
||||
clearDatasetsList(): Metric;
|
||||
addDatasets(value?: MetricDataset, index?: number): MetricDataset;
|
||||
|
||||
getKind(): MetricKind;
|
||||
setKind(value: MetricKind): Metric;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Metric.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Metric): Metric.AsObject;
|
||||
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: MetricKind,
|
||||
}
|
||||
}
|
||||
|
||||
export class MetricDataset extends jspb.Message {
|
||||
getLabel(): string;
|
||||
setLabel(value: string): MetricDataset;
|
||||
|
||||
getDataList(): Array<number>;
|
||||
setDataList(value: Array<number>): MetricDataset;
|
||||
clearDataList(): MetricDataset;
|
||||
addData(value: number, index?: number): MetricDataset;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MetricDataset.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MetricDataset): MetricDataset.AsObject;
|
||||
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): JoinServerContext;
|
||||
|
||||
getAppSKey(): KeyEnvelope | undefined;
|
||||
setAppSKey(value?: KeyEnvelope): JoinServerContext;
|
||||
hasAppSKey(): boolean;
|
||||
clearAppSKey(): JoinServerContext;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): JoinServerContext.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: JoinServerContext): JoinServerContext.AsObject;
|
||||
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 enum Modulation {
|
||||
LORA = 0,
|
||||
FSK = 1,
|
||||
LR_FHSS = 2,
|
||||
}
|
||||
export enum Region {
|
||||
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 enum MType {
|
||||
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 enum MacVersion {
|
||||
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 enum RegParamsRevision {
|
||||
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 enum LocationSource {
|
||||
UNKNOWN = 0,
|
||||
GPS = 1,
|
||||
CONFIG = 2,
|
||||
GEO_RESOLVER_TDOA = 3,
|
||||
GEO_RESOLVER_RSSI = 4,
|
||||
GEO_RESOLVER_GNSS = 5,
|
||||
GEO_RESOLVER_WIFI = 6,
|
||||
}
|
||||
export enum Aggregation {
|
||||
HOUR = 0,
|
||||
DAY = 1,
|
||||
MONTH = 2,
|
||||
}
|
||||
export enum MetricKind {
|
||||
COUNTER = 0,
|
||||
ABSOLUTE = 1,
|
||||
GAUGE = 2,
|
||||
}
|
||||
export enum DeviceClass {
|
||||
CLASS_A = 0,
|
||||
CLASS_B = 1,
|
||||
CLASS_C = 2,
|
||||
}
|
1317
api/grpc-web/common/common_pb.js
vendored
1317
api/grpc-web/common/common_pb.js
vendored
File diff suppressed because it is too large
Load Diff
6
api/grpc-web/google/api/annotations_pb.d.ts
vendored
6
api/grpc-web/google/api/annotations_pb.d.ts
vendored
@ -1,6 +0,0 @@
|
||||
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';
|
||||
|
||||
|
45
api/grpc-web/google/api/annotations_pb.js
vendored
45
api/grpc-web/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);
|
183
api/grpc-web/google/api/auth_pb.d.ts
vendored
183
api/grpc-web/google/api/auth_pb.d.ts
vendored
@ -1,183 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class Authentication extends jspb.Message {
|
||||
getRulesList(): Array<AuthenticationRule>;
|
||||
setRulesList(value: Array<AuthenticationRule>): Authentication;
|
||||
clearRulesList(): Authentication;
|
||||
addRules(value?: AuthenticationRule, index?: number): AuthenticationRule;
|
||||
|
||||
getProvidersList(): Array<AuthProvider>;
|
||||
setProvidersList(value: Array<AuthProvider>): Authentication;
|
||||
clearProvidersList(): Authentication;
|
||||
addProviders(value?: AuthProvider, index?: number): AuthProvider;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Authentication.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Authentication): Authentication.AsObject;
|
||||
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): AuthenticationRule;
|
||||
|
||||
getOauth(): OAuthRequirements | undefined;
|
||||
setOauth(value?: OAuthRequirements): AuthenticationRule;
|
||||
hasOauth(): boolean;
|
||||
clearOauth(): AuthenticationRule;
|
||||
|
||||
getAllowWithoutCredential(): boolean;
|
||||
setAllowWithoutCredential(value: boolean): AuthenticationRule;
|
||||
|
||||
getRequirementsList(): Array<AuthRequirement>;
|
||||
setRequirementsList(value: Array<AuthRequirement>): AuthenticationRule;
|
||||
clearRequirementsList(): AuthenticationRule;
|
||||
addRequirements(value?: AuthRequirement, index?: number): AuthRequirement;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AuthenticationRule.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AuthenticationRule): AuthenticationRule.AsObject;
|
||||
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 {
|
||||
getHeader(): string;
|
||||
setHeader(value: string): JwtLocation;
|
||||
|
||||
getQuery(): string;
|
||||
setQuery(value: string): JwtLocation;
|
||||
|
||||
getCookie(): string;
|
||||
setCookie(value: string): JwtLocation;
|
||||
|
||||
getValuePrefix(): string;
|
||||
setValuePrefix(value: string): JwtLocation;
|
||||
|
||||
getInCase(): JwtLocation.InCase;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): JwtLocation.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: JwtLocation): JwtLocation.AsObject;
|
||||
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): AuthProvider;
|
||||
|
||||
getIssuer(): string;
|
||||
setIssuer(value: string): AuthProvider;
|
||||
|
||||
getJwksUri(): string;
|
||||
setJwksUri(value: string): AuthProvider;
|
||||
|
||||
getAudiences(): string;
|
||||
setAudiences(value: string): AuthProvider;
|
||||
|
||||
getAuthorizationUrl(): string;
|
||||
setAuthorizationUrl(value: string): AuthProvider;
|
||||
|
||||
getJwtLocationsList(): Array<JwtLocation>;
|
||||
setJwtLocationsList(value: Array<JwtLocation>): AuthProvider;
|
||||
clearJwtLocationsList(): AuthProvider;
|
||||
addJwtLocations(value?: JwtLocation, index?: number): JwtLocation;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AuthProvider.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AuthProvider): AuthProvider.AsObject;
|
||||
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): OAuthRequirements;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): OAuthRequirements.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: OAuthRequirements): OAuthRequirements.AsObject;
|
||||
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): AuthRequirement;
|
||||
|
||||
getAudiences(): string;
|
||||
setAudiences(value: string): AuthRequirement;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): AuthRequirement.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: AuthRequirement): AuthRequirement.AsObject;
|
||||
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/grpc-web/google/api/auth_pb.js
vendored
1533
api/grpc-web/google/api/auth_pb.js
vendored
File diff suppressed because it is too large
Load Diff
92
api/grpc-web/google/api/backend_pb.d.ts
vendored
92
api/grpc-web/google/api/backend_pb.d.ts
vendored
@ -1,92 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class Backend extends jspb.Message {
|
||||
getRulesList(): Array<BackendRule>;
|
||||
setRulesList(value: Array<BackendRule>): Backend;
|
||||
clearRulesList(): Backend;
|
||||
addRules(value?: BackendRule, index?: number): BackendRule;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Backend.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Backend): Backend.AsObject;
|
||||
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): BackendRule;
|
||||
|
||||
getAddress(): string;
|
||||
setAddress(value: string): BackendRule;
|
||||
|
||||
getDeadline(): number;
|
||||
setDeadline(value: number): BackendRule;
|
||||
|
||||
getMinDeadline(): number;
|
||||
setMinDeadline(value: number): BackendRule;
|
||||
|
||||
getOperationDeadline(): number;
|
||||
setOperationDeadline(value: number): BackendRule;
|
||||
|
||||
getPathTranslation(): BackendRule.PathTranslation;
|
||||
setPathTranslation(value: BackendRule.PathTranslation): BackendRule;
|
||||
|
||||
getJwtAudience(): string;
|
||||
setJwtAudience(value: string): BackendRule;
|
||||
|
||||
getDisableAuth(): boolean;
|
||||
setDisableAuth(value: boolean): BackendRule;
|
||||
|
||||
getProtocol(): string;
|
||||
setProtocol(value: string): BackendRule;
|
||||
|
||||
getOverridesByRequestProtocolMap(): jspb.Map<string, BackendRule>;
|
||||
clearOverridesByRequestProtocolMap(): BackendRule;
|
||||
|
||||
getAuthenticationCase(): BackendRule.AuthenticationCase;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BackendRule.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BackendRule): BackendRule.AsObject;
|
||||
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.PathTranslation,
|
||||
jwtAudience: string,
|
||||
disableAuth: boolean,
|
||||
protocol: string,
|
||||
overridesByRequestProtocolMap: Array<[string, BackendRule.AsObject]>,
|
||||
}
|
||||
|
||||
export enum PathTranslation {
|
||||
PATH_TRANSLATION_UNSPECIFIED = 0,
|
||||
CONSTANT_ADDRESS = 1,
|
||||
APPEND_PATH_TO_ADDRESS = 2,
|
||||
}
|
||||
|
||||
export enum AuthenticationCase {
|
||||
AUTHENTICATION_NOT_SET = 0,
|
||||
JWT_AUDIENCE = 7,
|
||||
DISABLE_AUTH = 8,
|
||||
}
|
||||
}
|
||||
|
695
api/grpc-web/google/api/backend_pb.js
vendored
695
api/grpc-web/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);
|
49
api/grpc-web/google/api/billing_pb.d.ts
vendored
49
api/grpc-web/google/api/billing_pb.d.ts
vendored
@ -1,49 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class Billing extends jspb.Message {
|
||||
getConsumerDestinationsList(): Array<Billing.BillingDestination>;
|
||||
setConsumerDestinationsList(value: Array<Billing.BillingDestination>): Billing;
|
||||
clearConsumerDestinationsList(): Billing;
|
||||
addConsumerDestinations(value?: Billing.BillingDestination, index?: number): Billing.BillingDestination;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Billing.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Billing): Billing.AsObject;
|
||||
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): BillingDestination;
|
||||
|
||||
getMetricsList(): Array<string>;
|
||||
setMetricsList(value: Array<string>): BillingDestination;
|
||||
clearMetricsList(): BillingDestination;
|
||||
addMetrics(value: string, index?: number): BillingDestination;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BillingDestination.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BillingDestination): BillingDestination.AsObject;
|
||||
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/grpc-web/google/api/billing_pb.js
vendored
405
api/grpc-web/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);
|
435
api/grpc-web/google/api/client_pb.d.ts
vendored
435
api/grpc-web/google/api/client_pb.d.ts
vendored
@ -1,435 +0,0 @@
|
||||
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): CommonLanguageSettings;
|
||||
|
||||
getDestinationsList(): Array<ClientLibraryDestination>;
|
||||
setDestinationsList(value: Array<ClientLibraryDestination>): CommonLanguageSettings;
|
||||
clearDestinationsList(): CommonLanguageSettings;
|
||||
addDestinations(value: ClientLibraryDestination, index?: number): CommonLanguageSettings;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CommonLanguageSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CommonLanguageSettings): CommonLanguageSettings.AsObject;
|
||||
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<ClientLibraryDestination>,
|
||||
}
|
||||
}
|
||||
|
||||
export class ClientLibrarySettings extends jspb.Message {
|
||||
getVersion(): string;
|
||||
setVersion(value: string): ClientLibrarySettings;
|
||||
|
||||
getLaunchStage(): google_api_launch_stage_pb.LaunchStage;
|
||||
setLaunchStage(value: google_api_launch_stage_pb.LaunchStage): ClientLibrarySettings;
|
||||
|
||||
getRestNumericEnums(): boolean;
|
||||
setRestNumericEnums(value: boolean): ClientLibrarySettings;
|
||||
|
||||
getJavaSettings(): JavaSettings | undefined;
|
||||
setJavaSettings(value?: JavaSettings): ClientLibrarySettings;
|
||||
hasJavaSettings(): boolean;
|
||||
clearJavaSettings(): ClientLibrarySettings;
|
||||
|
||||
getCppSettings(): CppSettings | undefined;
|
||||
setCppSettings(value?: CppSettings): ClientLibrarySettings;
|
||||
hasCppSettings(): boolean;
|
||||
clearCppSettings(): ClientLibrarySettings;
|
||||
|
||||
getPhpSettings(): PhpSettings | undefined;
|
||||
setPhpSettings(value?: PhpSettings): ClientLibrarySettings;
|
||||
hasPhpSettings(): boolean;
|
||||
clearPhpSettings(): ClientLibrarySettings;
|
||||
|
||||
getPythonSettings(): PythonSettings | undefined;
|
||||
setPythonSettings(value?: PythonSettings): ClientLibrarySettings;
|
||||
hasPythonSettings(): boolean;
|
||||
clearPythonSettings(): ClientLibrarySettings;
|
||||
|
||||
getNodeSettings(): NodeSettings | undefined;
|
||||
setNodeSettings(value?: NodeSettings): ClientLibrarySettings;
|
||||
hasNodeSettings(): boolean;
|
||||
clearNodeSettings(): ClientLibrarySettings;
|
||||
|
||||
getDotnetSettings(): DotnetSettings | undefined;
|
||||
setDotnetSettings(value?: DotnetSettings): ClientLibrarySettings;
|
||||
hasDotnetSettings(): boolean;
|
||||
clearDotnetSettings(): ClientLibrarySettings;
|
||||
|
||||
getRubySettings(): RubySettings | undefined;
|
||||
setRubySettings(value?: RubySettings): ClientLibrarySettings;
|
||||
hasRubySettings(): boolean;
|
||||
clearRubySettings(): ClientLibrarySettings;
|
||||
|
||||
getGoSettings(): GoSettings | undefined;
|
||||
setGoSettings(value?: GoSettings): ClientLibrarySettings;
|
||||
hasGoSettings(): boolean;
|
||||
clearGoSettings(): ClientLibrarySettings;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ClientLibrarySettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ClientLibrarySettings): ClientLibrarySettings.AsObject;
|
||||
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.LaunchStage,
|
||||
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 {
|
||||
getMethodSettingsList(): Array<MethodSettings>;
|
||||
setMethodSettingsList(value: Array<MethodSettings>): Publishing;
|
||||
clearMethodSettingsList(): Publishing;
|
||||
addMethodSettings(value?: MethodSettings, index?: number): MethodSettings;
|
||||
|
||||
getNewIssueUri(): string;
|
||||
setNewIssueUri(value: string): Publishing;
|
||||
|
||||
getDocumentationUri(): string;
|
||||
setDocumentationUri(value: string): Publishing;
|
||||
|
||||
getApiShortName(): string;
|
||||
setApiShortName(value: string): Publishing;
|
||||
|
||||
getGithubLabel(): string;
|
||||
setGithubLabel(value: string): Publishing;
|
||||
|
||||
getCodeownerGithubTeamsList(): Array<string>;
|
||||
setCodeownerGithubTeamsList(value: Array<string>): Publishing;
|
||||
clearCodeownerGithubTeamsList(): Publishing;
|
||||
addCodeownerGithubTeams(value: string, index?: number): Publishing;
|
||||
|
||||
getDocTagPrefix(): string;
|
||||
setDocTagPrefix(value: string): Publishing;
|
||||
|
||||
getOrganization(): ClientLibraryOrganization;
|
||||
setOrganization(value: ClientLibraryOrganization): Publishing;
|
||||
|
||||
getLibrarySettingsList(): Array<ClientLibrarySettings>;
|
||||
setLibrarySettingsList(value: Array<ClientLibrarySettings>): Publishing;
|
||||
clearLibrarySettingsList(): Publishing;
|
||||
addLibrarySettings(value?: ClientLibrarySettings, index?: number): ClientLibrarySettings;
|
||||
|
||||
getProtoReferenceDocumentationUri(): string;
|
||||
setProtoReferenceDocumentationUri(value: string): Publishing;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Publishing.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Publishing): Publishing.AsObject;
|
||||
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: ClientLibraryOrganization,
|
||||
librarySettingsList: Array<ClientLibrarySettings.AsObject>,
|
||||
protoReferenceDocumentationUri: string,
|
||||
}
|
||||
}
|
||||
|
||||
export class JavaSettings extends jspb.Message {
|
||||
getLibraryPackage(): string;
|
||||
setLibraryPackage(value: string): JavaSettings;
|
||||
|
||||
getServiceClassNamesMap(): jspb.Map<string, string>;
|
||||
clearServiceClassNamesMap(): JavaSettings;
|
||||
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): JavaSettings;
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): JavaSettings;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): JavaSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: JavaSettings): JavaSettings.AsObject;
|
||||
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 {
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): CppSettings;
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): CppSettings;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CppSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CppSettings): CppSettings.AsObject;
|
||||
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 {
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): PhpSettings;
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): PhpSettings;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PhpSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PhpSettings): PhpSettings.AsObject;
|
||||
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 {
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): PythonSettings;
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): PythonSettings;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PythonSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: PythonSettings): PythonSettings.AsObject;
|
||||
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 {
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): NodeSettings;
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): NodeSettings;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): NodeSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: NodeSettings): NodeSettings.AsObject;
|
||||
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 {
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): DotnetSettings;
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): DotnetSettings;
|
||||
|
||||
getRenamedServicesMap(): jspb.Map<string, string>;
|
||||
clearRenamedServicesMap(): DotnetSettings;
|
||||
|
||||
getRenamedResourcesMap(): jspb.Map<string, string>;
|
||||
clearRenamedResourcesMap(): DotnetSettings;
|
||||
|
||||
getIgnoredResourcesList(): Array<string>;
|
||||
setIgnoredResourcesList(value: Array<string>): DotnetSettings;
|
||||
clearIgnoredResourcesList(): DotnetSettings;
|
||||
addIgnoredResources(value: string, index?: number): DotnetSettings;
|
||||
|
||||
getForcedNamespaceAliasesList(): Array<string>;
|
||||
setForcedNamespaceAliasesList(value: Array<string>): DotnetSettings;
|
||||
clearForcedNamespaceAliasesList(): DotnetSettings;
|
||||
addForcedNamespaceAliases(value: string, index?: number): DotnetSettings;
|
||||
|
||||
getHandwrittenSignaturesList(): Array<string>;
|
||||
setHandwrittenSignaturesList(value: Array<string>): DotnetSettings;
|
||||
clearHandwrittenSignaturesList(): DotnetSettings;
|
||||
addHandwrittenSignatures(value: string, index?: number): DotnetSettings;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DotnetSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DotnetSettings): DotnetSettings.AsObject;
|
||||
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 {
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): RubySettings;
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): RubySettings;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RubySettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RubySettings): RubySettings.AsObject;
|
||||
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 {
|
||||
getCommon(): CommonLanguageSettings | undefined;
|
||||
setCommon(value?: CommonLanguageSettings): GoSettings;
|
||||
hasCommon(): boolean;
|
||||
clearCommon(): GoSettings;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GoSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GoSettings): GoSettings.AsObject;
|
||||
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): MethodSettings;
|
||||
|
||||
getLongRunning(): MethodSettings.LongRunning | undefined;
|
||||
setLongRunning(value?: MethodSettings.LongRunning): MethodSettings;
|
||||
hasLongRunning(): boolean;
|
||||
clearLongRunning(): MethodSettings;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MethodSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MethodSettings): MethodSettings.AsObject;
|
||||
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 {
|
||||
getInitialPollDelay(): google_protobuf_duration_pb.Duration | undefined;
|
||||
setInitialPollDelay(value?: google_protobuf_duration_pb.Duration): LongRunning;
|
||||
hasInitialPollDelay(): boolean;
|
||||
clearInitialPollDelay(): LongRunning;
|
||||
|
||||
getPollDelayMultiplier(): number;
|
||||
setPollDelayMultiplier(value: number): LongRunning;
|
||||
|
||||
getMaxPollDelay(): google_protobuf_duration_pb.Duration | undefined;
|
||||
setMaxPollDelay(value?: google_protobuf_duration_pb.Duration): LongRunning;
|
||||
hasMaxPollDelay(): boolean;
|
||||
clearMaxPollDelay(): LongRunning;
|
||||
|
||||
getTotalPollTimeout(): google_protobuf_duration_pb.Duration | undefined;
|
||||
setTotalPollTimeout(value?: google_protobuf_duration_pb.Duration): LongRunning;
|
||||
hasTotalPollTimeout(): boolean;
|
||||
clearTotalPollTimeout(): LongRunning;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LongRunning.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LongRunning): LongRunning.AsObject;
|
||||
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 enum ClientLibraryOrganization {
|
||||
CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0,
|
||||
CLOUD = 1,
|
||||
ADS = 2,
|
||||
PHOTOS = 3,
|
||||
STREET_VIEW = 4,
|
||||
SHOPPING = 5,
|
||||
GEO = 6,
|
||||
GENERATIVE_AI = 7,
|
||||
}
|
||||
export enum ClientLibraryDestination {
|
||||
CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0,
|
||||
GITHUB = 10,
|
||||
PACKAGE_MANAGER = 20,
|
||||
}
|
3621
api/grpc-web/google/api/client_pb.js
vendored
3621
api/grpc-web/google/api/client_pb.js
vendored
File diff suppressed because it is too large
Load Diff
64
api/grpc-web/google/api/config_change_pb.d.ts
vendored
64
api/grpc-web/google/api/config_change_pb.d.ts
vendored
@ -1,64 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class ConfigChange extends jspb.Message {
|
||||
getElement(): string;
|
||||
setElement(value: string): ConfigChange;
|
||||
|
||||
getOldValue(): string;
|
||||
setOldValue(value: string): ConfigChange;
|
||||
|
||||
getNewValue(): string;
|
||||
setNewValue(value: string): ConfigChange;
|
||||
|
||||
getChangeType(): ChangeType;
|
||||
setChangeType(value: ChangeType): ConfigChange;
|
||||
|
||||
getAdvicesList(): Array<Advice>;
|
||||
setAdvicesList(value: Array<Advice>): ConfigChange;
|
||||
clearAdvicesList(): ConfigChange;
|
||||
addAdvices(value?: Advice, index?: number): Advice;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ConfigChange.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ConfigChange): ConfigChange.AsObject;
|
||||
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: ChangeType,
|
||||
advicesList: Array<Advice.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class Advice extends jspb.Message {
|
||||
getDescription(): string;
|
||||
setDescription(value: string): Advice;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Advice.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Advice): Advice.AsObject;
|
||||
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 enum ChangeType {
|
||||
CHANGE_TYPE_UNSPECIFIED = 0,
|
||||
ADDED = 1,
|
||||
REMOVED = 2,
|
||||
MODIFIED = 3,
|
||||
}
|
480
api/grpc-web/google/api/config_change_pb.js
vendored
480
api/grpc-web/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);
|
58
api/grpc-web/google/api/consumer_pb.d.ts
vendored
58
api/grpc-web/google/api/consumer_pb.d.ts
vendored
@ -1,58 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class ProjectProperties extends jspb.Message {
|
||||
getPropertiesList(): Array<Property>;
|
||||
setPropertiesList(value: Array<Property>): ProjectProperties;
|
||||
clearPropertiesList(): ProjectProperties;
|
||||
addProperties(value?: Property, index?: number): Property;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ProjectProperties.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ProjectProperties): ProjectProperties.AsObject;
|
||||
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): Property;
|
||||
|
||||
getType(): Property.PropertyType;
|
||||
setType(value: Property.PropertyType): Property;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): Property;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Property.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Property): Property.AsObject;
|
||||
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.PropertyType,
|
||||
description: string,
|
||||
}
|
||||
|
||||
export enum PropertyType {
|
||||
UNSPECIFIED = 0,
|
||||
INT64 = 1,
|
||||
BOOL = 2,
|
||||
STRING = 3,
|
||||
DOUBLE = 4,
|
||||
}
|
||||
}
|
||||
|
421
api/grpc-web/google/api/consumer_pb.js
vendored
421
api/grpc-web/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);
|
66
api/grpc-web/google/api/context_pb.d.ts
vendored
66
api/grpc-web/google/api/context_pb.d.ts
vendored
@ -1,66 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class Context extends jspb.Message {
|
||||
getRulesList(): Array<ContextRule>;
|
||||
setRulesList(value: Array<ContextRule>): Context;
|
||||
clearRulesList(): Context;
|
||||
addRules(value?: ContextRule, index?: number): ContextRule;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Context.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Context): Context.AsObject;
|
||||
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): ContextRule;
|
||||
|
||||
getRequestedList(): Array<string>;
|
||||
setRequestedList(value: Array<string>): ContextRule;
|
||||
clearRequestedList(): ContextRule;
|
||||
addRequested(value: string, index?: number): ContextRule;
|
||||
|
||||
getProvidedList(): Array<string>;
|
||||
setProvidedList(value: Array<string>): ContextRule;
|
||||
clearProvidedList(): ContextRule;
|
||||
addProvided(value: string, index?: number): ContextRule;
|
||||
|
||||
getAllowedRequestExtensionsList(): Array<string>;
|
||||
setAllowedRequestExtensionsList(value: Array<string>): ContextRule;
|
||||
clearAllowedRequestExtensionsList(): ContextRule;
|
||||
addAllowedRequestExtensions(value: string, index?: number): ContextRule;
|
||||
|
||||
getAllowedResponseExtensionsList(): Array<string>;
|
||||
setAllowedResponseExtensionsList(value: Array<string>): ContextRule;
|
||||
clearAllowedResponseExtensionsList(): ContextRule;
|
||||
addAllowedResponseExtensions(value: string, index?: number): ContextRule;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ContextRule.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ContextRule): ContextRule.AsObject;
|
||||
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/grpc-web/google/api/context_pb.js
vendored
552
api/grpc-web/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);
|
22
api/grpc-web/google/api/control_pb.d.ts
vendored
22
api/grpc-web/google/api/control_pb.d.ts
vendored
@ -1,22 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class Control extends jspb.Message {
|
||||
getEnvironment(): string;
|
||||
setEnvironment(value: string): Control;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Control.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Control): Control.AsObject;
|
||||
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/grpc-web/google/api/control_pb.js
vendored
167
api/grpc-web/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);
|
227
api/grpc-web/google/api/distribution_pb.d.ts
vendored
227
api/grpc-web/google/api/distribution_pb.d.ts
vendored
@ -1,227 +0,0 @@
|
||||
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): Distribution;
|
||||
|
||||
getMean(): number;
|
||||
setMean(value: number): Distribution;
|
||||
|
||||
getSumOfSquaredDeviation(): number;
|
||||
setSumOfSquaredDeviation(value: number): Distribution;
|
||||
|
||||
getRange(): Distribution.Range | undefined;
|
||||
setRange(value?: Distribution.Range): Distribution;
|
||||
hasRange(): boolean;
|
||||
clearRange(): Distribution;
|
||||
|
||||
getBucketOptions(): Distribution.BucketOptions | undefined;
|
||||
setBucketOptions(value?: Distribution.BucketOptions): Distribution;
|
||||
hasBucketOptions(): boolean;
|
||||
clearBucketOptions(): Distribution;
|
||||
|
||||
getBucketCountsList(): Array<number>;
|
||||
setBucketCountsList(value: Array<number>): Distribution;
|
||||
clearBucketCountsList(): Distribution;
|
||||
addBucketCounts(value: number, index?: number): Distribution;
|
||||
|
||||
getExemplarsList(): Array<Distribution.Exemplar>;
|
||||
setExemplarsList(value: Array<Distribution.Exemplar>): Distribution;
|
||||
clearExemplarsList(): Distribution;
|
||||
addExemplars(value?: Distribution.Exemplar, index?: number): Distribution.Exemplar;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Distribution.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Distribution): Distribution.AsObject;
|
||||
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): Range;
|
||||
|
||||
getMax(): number;
|
||||
setMax(value: number): Range;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Range.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Range): Range.AsObject;
|
||||
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 {
|
||||
getLinearBuckets(): Distribution.BucketOptions.Linear | undefined;
|
||||
setLinearBuckets(value?: Distribution.BucketOptions.Linear): BucketOptions;
|
||||
hasLinearBuckets(): boolean;
|
||||
clearLinearBuckets(): BucketOptions;
|
||||
|
||||
getExponentialBuckets(): Distribution.BucketOptions.Exponential | undefined;
|
||||
setExponentialBuckets(value?: Distribution.BucketOptions.Exponential): BucketOptions;
|
||||
hasExponentialBuckets(): boolean;
|
||||
clearExponentialBuckets(): BucketOptions;
|
||||
|
||||
getExplicitBuckets(): Distribution.BucketOptions.Explicit | undefined;
|
||||
setExplicitBuckets(value?: Distribution.BucketOptions.Explicit): BucketOptions;
|
||||
hasExplicitBuckets(): boolean;
|
||||
clearExplicitBuckets(): BucketOptions;
|
||||
|
||||
getOptionsCase(): BucketOptions.OptionsCase;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): BucketOptions.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: BucketOptions): BucketOptions.AsObject;
|
||||
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): Linear;
|
||||
|
||||
getWidth(): number;
|
||||
setWidth(value: number): Linear;
|
||||
|
||||
getOffset(): number;
|
||||
setOffset(value: number): Linear;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Linear.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Linear): Linear.AsObject;
|
||||
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): Exponential;
|
||||
|
||||
getGrowthFactor(): number;
|
||||
setGrowthFactor(value: number): Exponential;
|
||||
|
||||
getScale(): number;
|
||||
setScale(value: number): Exponential;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Exponential.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Exponential): Exponential.AsObject;
|
||||
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 {
|
||||
getBoundsList(): Array<number>;
|
||||
setBoundsList(value: Array<number>): Explicit;
|
||||
clearBoundsList(): Explicit;
|
||||
addBounds(value: number, index?: number): Explicit;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Explicit.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Explicit): Explicit.AsObject;
|
||||
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): Exemplar;
|
||||
|
||||
getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
||||
setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): Exemplar;
|
||||
hasTimestamp(): boolean;
|
||||
clearTimestamp(): Exemplar;
|
||||
|
||||
getAttachmentsList(): Array<google_protobuf_any_pb.Any>;
|
||||
setAttachmentsList(value: Array<google_protobuf_any_pb.Any>): Exemplar;
|
||||
clearAttachmentsList(): Exemplar;
|
||||
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 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/grpc-web/google/api/distribution_pb.js
vendored
1792
api/grpc-web/google/api/distribution_pb.js
vendored
File diff suppressed because it is too large
Load Diff
100
api/grpc-web/google/api/documentation_pb.d.ts
vendored
100
api/grpc-web/google/api/documentation_pb.d.ts
vendored
@ -1,100 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class Documentation extends jspb.Message {
|
||||
getSummary(): string;
|
||||
setSummary(value: string): Documentation;
|
||||
|
||||
getPagesList(): Array<Page>;
|
||||
setPagesList(value: Array<Page>): Documentation;
|
||||
clearPagesList(): Documentation;
|
||||
addPages(value?: Page, index?: number): Page;
|
||||
|
||||
getRulesList(): Array<DocumentationRule>;
|
||||
setRulesList(value: Array<DocumentationRule>): Documentation;
|
||||
clearRulesList(): Documentation;
|
||||
addRules(value?: DocumentationRule, index?: number): DocumentationRule;
|
||||
|
||||
getDocumentationRootUrl(): string;
|
||||
setDocumentationRootUrl(value: string): Documentation;
|
||||
|
||||
getServiceRootUrl(): string;
|
||||
setServiceRootUrl(value: string): Documentation;
|
||||
|
||||
getOverview(): string;
|
||||
setOverview(value: string): Documentation;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Documentation.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Documentation): Documentation.AsObject;
|
||||
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): DocumentationRule;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): DocumentationRule;
|
||||
|
||||
getDeprecationDescription(): string;
|
||||
setDeprecationDescription(value: string): DocumentationRule;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): DocumentationRule.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: DocumentationRule): DocumentationRule.AsObject;
|
||||
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): Page;
|
||||
|
||||
getContent(): string;
|
||||
setContent(value: string): Page;
|
||||
|
||||
getSubpagesList(): Array<Page>;
|
||||
setSubpagesList(value: Array<Page>): Page;
|
||||
clearSubpagesList(): Page;
|
||||
addSubpages(value?: Page, index?: number): Page;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Page.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Page): Page.AsObject;
|
||||
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/grpc-web/google/api/documentation_pb.js
vendored
824
api/grpc-web/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);
|
36
api/grpc-web/google/api/endpoint_pb.d.ts
vendored
36
api/grpc-web/google/api/endpoint_pb.d.ts
vendored
@ -1,36 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class Endpoint extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): Endpoint;
|
||||
|
||||
getAliasesList(): Array<string>;
|
||||
setAliasesList(value: Array<string>): Endpoint;
|
||||
clearAliasesList(): Endpoint;
|
||||
addAliases(value: string, index?: number): Endpoint;
|
||||
|
||||
getTarget(): string;
|
||||
setTarget(value: string): Endpoint;
|
||||
|
||||
getAllowCors(): boolean;
|
||||
setAllowCors(value: boolean): Endpoint;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Endpoint.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Endpoint): Endpoint.AsObject;
|
||||
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/grpc-web/google/api/endpoint_pb.js
vendored
283
api/grpc-web/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);
|
36
api/grpc-web/google/api/error_reason_pb.d.ts
vendored
36
api/grpc-web/google/api/error_reason_pb.d.ts
vendored
@ -1,36 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export enum 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,
|
||||
}
|
52
api/grpc-web/google/api/error_reason_pb.js
vendored
52
api/grpc-web/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);
|
15
api/grpc-web/google/api/field_behavior_pb.d.ts
vendored
15
api/grpc-web/google/api/field_behavior_pb.d.ts
vendored
@ -1,15 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb';
|
||||
|
||||
|
||||
export enum FieldBehavior {
|
||||
FIELD_BEHAVIOR_UNSPECIFIED = 0,
|
||||
OPTIONAL = 1,
|
||||
REQUIRED = 2,
|
||||
OUTPUT_ONLY = 3,
|
||||
INPUT_ONLY = 4,
|
||||
IMMUTABLE = 5,
|
||||
UNORDERED_LIST = 6,
|
||||
NON_EMPTY_DEFAULT = 7,
|
||||
}
|
58
api/grpc-web/google/api/field_behavior_pb.js
vendored
58
api/grpc-web/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);
|
120
api/grpc-web/google/api/http_pb.d.ts
vendored
120
api/grpc-web/google/api/http_pb.d.ts
vendored
@ -1,120 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class Http extends jspb.Message {
|
||||
getRulesList(): Array<HttpRule>;
|
||||
setRulesList(value: Array<HttpRule>): Http;
|
||||
clearRulesList(): Http;
|
||||
addRules(value?: HttpRule, index?: number): HttpRule;
|
||||
|
||||
getFullyDecodeReservedExpansion(): boolean;
|
||||
setFullyDecodeReservedExpansion(value: boolean): Http;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Http.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Http): Http.AsObject;
|
||||
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): HttpRule;
|
||||
|
||||
getGet(): string;
|
||||
setGet(value: string): HttpRule;
|
||||
|
||||
getPut(): string;
|
||||
setPut(value: string): HttpRule;
|
||||
|
||||
getPost(): string;
|
||||
setPost(value: string): HttpRule;
|
||||
|
||||
getDelete(): string;
|
||||
setDelete(value: string): HttpRule;
|
||||
|
||||
getPatch(): string;
|
||||
setPatch(value: string): HttpRule;
|
||||
|
||||
getCustom(): CustomHttpPattern | undefined;
|
||||
setCustom(value?: CustomHttpPattern): HttpRule;
|
||||
hasCustom(): boolean;
|
||||
clearCustom(): HttpRule;
|
||||
|
||||
getBody(): string;
|
||||
setBody(value: string): HttpRule;
|
||||
|
||||
getResponseBody(): string;
|
||||
setResponseBody(value: string): HttpRule;
|
||||
|
||||
getAdditionalBindingsList(): Array<HttpRule>;
|
||||
setAdditionalBindingsList(value: Array<HttpRule>): HttpRule;
|
||||
clearAdditionalBindingsList(): HttpRule;
|
||||
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 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): CustomHttpPattern;
|
||||
|
||||
getPath(): string;
|
||||
setPath(value: string): CustomHttpPattern;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CustomHttpPattern.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject;
|
||||
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/grpc-web/google/api/http_pb.js
vendored
1003
api/grpc-web/google/api/http_pb.js
vendored
File diff suppressed because it is too large
Load Diff
35
api/grpc-web/google/api/httpbody_pb.d.ts
vendored
35
api/grpc-web/google/api/httpbody_pb.d.ts
vendored
@ -1,35 +0,0 @@
|
||||
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): HttpBody;
|
||||
|
||||
getData(): Uint8Array | string;
|
||||
getData_asU8(): Uint8Array;
|
||||
getData_asB64(): string;
|
||||
setData(value: Uint8Array | string): HttpBody;
|
||||
|
||||
getExtensionsList(): Array<google_protobuf_any_pb.Any>;
|
||||
setExtensionsList(value: Array<google_protobuf_any_pb.Any>): HttpBody;
|
||||
clearExtensionsList(): HttpBody;
|
||||
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 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/grpc-web/google/api/httpbody_pb.js
vendored
283
api/grpc-web/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}
|
||||
*/
|
||||
proto.google.api.HttpBody.prototype.getData = function() {
|
||||
return /** @type {string} */ (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);
|
36
api/grpc-web/google/api/label_pb.d.ts
vendored
36
api/grpc-web/google/api/label_pb.d.ts
vendored
@ -1,36 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class LabelDescriptor extends jspb.Message {
|
||||
getKey(): string;
|
||||
setKey(value: string): LabelDescriptor;
|
||||
|
||||
getValueType(): LabelDescriptor.ValueType;
|
||||
setValueType(value: LabelDescriptor.ValueType): LabelDescriptor;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): LabelDescriptor;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LabelDescriptor.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LabelDescriptor): LabelDescriptor.AsObject;
|
||||
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.ValueType,
|
||||
description: string,
|
||||
}
|
||||
|
||||
export enum ValueType {
|
||||
STRING = 0,
|
||||
BOOL = 1,
|
||||
INT64 = 2,
|
||||
}
|
||||
}
|
||||
|
237
api/grpc-web/google/api/label_pb.js
vendored
237
api/grpc-web/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);
|
14
api/grpc-web/google/api/launch_stage_pb.d.ts
vendored
14
api/grpc-web/google/api/launch_stage_pb.d.ts
vendored
@ -1,14 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export enum LaunchStage {
|
||||
LAUNCH_STAGE_UNSPECIFIED = 0,
|
||||
UNIMPLEMENTED = 6,
|
||||
PRELAUNCH = 7,
|
||||
EARLY_ACCESS = 1,
|
||||
ALPHA = 2,
|
||||
BETA = 3,
|
||||
GA = 4,
|
||||
DEPRECATED = 5,
|
||||
}
|
30
api/grpc-web/google/api/launch_stage_pb.js
vendored
30
api/grpc-web/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);
|
37
api/grpc-web/google/api/log_pb.d.ts
vendored
37
api/grpc-web/google/api/log_pb.d.ts
vendored
@ -1,37 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
import * as google_api_label_pb from '../../google/api/label_pb';
|
||||
|
||||
|
||||
export class LogDescriptor extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): LogDescriptor;
|
||||
|
||||
getLabelsList(): Array<google_api_label_pb.LabelDescriptor>;
|
||||
setLabelsList(value: Array<google_api_label_pb.LabelDescriptor>): LogDescriptor;
|
||||
clearLabelsList(): LogDescriptor;
|
||||
addLabels(value?: google_api_label_pb.LabelDescriptor, index?: number): google_api_label_pb.LabelDescriptor;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): LogDescriptor;
|
||||
|
||||
getDisplayName(): string;
|
||||
setDisplayName(value: string): LogDescriptor;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LogDescriptor.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LogDescriptor): LogDescriptor.AsObject;
|
||||
static serializeBinaryToWriter(message: LogDescriptor, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LogDescriptor;
|
||||
static deserializeBinaryFromReader(message: LogDescriptor, reader: jspb.BinaryReader): LogDescriptor;
|
||||
}
|
||||
|
||||
export namespace LogDescriptor {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
labelsList: Array<google_api_label_pb.LabelDescriptor.AsObject>,
|
||||
description: string,
|
||||
displayName: string,
|
||||
}
|
||||
}
|
||||
|
289
api/grpc-web/google/api/log_pb.js
vendored
289
api/grpc-web/google/api/log_pb.js
vendored
@ -1,289 +0,0 @@
|
||||
// source: google/api/log.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_label_pb = require('../../google/api/label_pb.js');
|
||||
goog.object.extend(proto, google_api_label_pb);
|
||||
goog.exportSymbol('proto.google.api.LogDescriptor', 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.LogDescriptor = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.LogDescriptor.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.LogDescriptor, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.LogDescriptor.displayName = 'proto.google.api.LogDescriptor';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.LogDescriptor.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.LogDescriptor.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.LogDescriptor.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.LogDescriptor} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.LogDescriptor.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
labelsList: jspb.Message.toObjectList(msg.getLabelsList(),
|
||||
google_api_label_pb.LabelDescriptor.toObject, includeInstance),
|
||||
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
displayName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
||||
};
|
||||
|
||||
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.LogDescriptor}
|
||||
*/
|
||||
proto.google.api.LogDescriptor.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.LogDescriptor;
|
||||
return proto.google.api.LogDescriptor.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.LogDescriptor} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.LogDescriptor}
|
||||
*/
|
||||
proto.google.api.LogDescriptor.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 = new google_api_label_pb.LabelDescriptor;
|
||||
reader.readMessage(value,google_api_label_pb.LabelDescriptor.deserializeBinaryFromReader);
|
||||
msg.addLabels(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDescription(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDisplayName(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.LogDescriptor.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.LogDescriptor.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.LogDescriptor} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.LogDescriptor.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getLabelsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
2,
|
||||
f,
|
||||
google_api_label_pb.LabelDescriptor.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getDescription();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getDisplayName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.LogDescriptor.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.LogDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.LogDescriptor.prototype.setName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated LabelDescriptor labels = 2;
|
||||
* @return {!Array<!proto.google.api.LabelDescriptor>}
|
||||
*/
|
||||
proto.google.api.LogDescriptor.prototype.getLabelsList = function() {
|
||||
return /** @type{!Array<!proto.google.api.LabelDescriptor>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, google_api_label_pb.LabelDescriptor, 2));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.LabelDescriptor>} value
|
||||
* @return {!proto.google.api.LogDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.LogDescriptor.prototype.setLabelsList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.LabelDescriptor=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.LabelDescriptor}
|
||||
*/
|
||||
proto.google.api.LogDescriptor.prototype.addLabels = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.api.LabelDescriptor, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.LogDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.LogDescriptor.prototype.clearLabelsList = function() {
|
||||
return this.setLabelsList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string description = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.LogDescriptor.prototype.getDescription = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.LogDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.LogDescriptor.prototype.setDescription = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string display_name = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.LogDescriptor.prototype.getDisplayName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.LogDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.LogDescriptor.prototype.setDisplayName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
55
api/grpc-web/google/api/logging_pb.d.ts
vendored
55
api/grpc-web/google/api/logging_pb.d.ts
vendored
@ -1,55 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class Logging extends jspb.Message {
|
||||
getProducerDestinationsList(): Array<Logging.LoggingDestination>;
|
||||
setProducerDestinationsList(value: Array<Logging.LoggingDestination>): Logging;
|
||||
clearProducerDestinationsList(): Logging;
|
||||
addProducerDestinations(value?: Logging.LoggingDestination, index?: number): Logging.LoggingDestination;
|
||||
|
||||
getConsumerDestinationsList(): Array<Logging.LoggingDestination>;
|
||||
setConsumerDestinationsList(value: Array<Logging.LoggingDestination>): Logging;
|
||||
clearConsumerDestinationsList(): Logging;
|
||||
addConsumerDestinations(value?: Logging.LoggingDestination, index?: number): Logging.LoggingDestination;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Logging.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Logging): Logging.AsObject;
|
||||
static serializeBinaryToWriter(message: Logging, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Logging;
|
||||
static deserializeBinaryFromReader(message: Logging, reader: jspb.BinaryReader): Logging;
|
||||
}
|
||||
|
||||
export namespace Logging {
|
||||
export type AsObject = {
|
||||
producerDestinationsList: Array<Logging.LoggingDestination.AsObject>,
|
||||
consumerDestinationsList: Array<Logging.LoggingDestination.AsObject>,
|
||||
}
|
||||
|
||||
export class LoggingDestination extends jspb.Message {
|
||||
getMonitoredResource(): string;
|
||||
setMonitoredResource(value: string): LoggingDestination;
|
||||
|
||||
getLogsList(): Array<string>;
|
||||
setLogsList(value: Array<string>): LoggingDestination;
|
||||
clearLogsList(): LoggingDestination;
|
||||
addLogs(value: string, index?: number): LoggingDestination;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): LoggingDestination.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: LoggingDestination): LoggingDestination.AsObject;
|
||||
static serializeBinaryToWriter(message: LoggingDestination, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): LoggingDestination;
|
||||
static deserializeBinaryFromReader(message: LoggingDestination, reader: jspb.BinaryReader): LoggingDestination;
|
||||
}
|
||||
|
||||
export namespace LoggingDestination {
|
||||
export type AsObject = {
|
||||
monitoredResource: string,
|
||||
logsList: Array<string>,
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
458
api/grpc-web/google/api/logging_pb.js
vendored
458
api/grpc-web/google/api/logging_pb.js
vendored
@ -1,458 +0,0 @@
|
||||
// source: google/api/logging.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.Logging', null, global);
|
||||
goog.exportSymbol('proto.google.api.Logging.LoggingDestination', 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.Logging = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Logging.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Logging, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Logging.displayName = 'proto.google.api.Logging';
|
||||
}
|
||||
/**
|
||||
* 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.Logging.LoggingDestination = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Logging.LoggingDestination.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Logging.LoggingDestination, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.displayName = 'proto.google.api.Logging.LoggingDestination';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.Logging.repeatedFields_ = [1,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.Logging.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Logging.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.Logging} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Logging.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
producerDestinationsList: jspb.Message.toObjectList(msg.getProducerDestinationsList(),
|
||||
proto.google.api.Logging.LoggingDestination.toObject, includeInstance),
|
||||
consumerDestinationsList: jspb.Message.toObjectList(msg.getConsumerDestinationsList(),
|
||||
proto.google.api.Logging.LoggingDestination.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.Logging}
|
||||
*/
|
||||
proto.google.api.Logging.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Logging;
|
||||
return proto.google.api.Logging.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Logging} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Logging}
|
||||
*/
|
||||
proto.google.api.Logging.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.Logging.LoggingDestination;
|
||||
reader.readMessage(value,proto.google.api.Logging.LoggingDestination.deserializeBinaryFromReader);
|
||||
msg.addProducerDestinations(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = new proto.google.api.Logging.LoggingDestination;
|
||||
reader.readMessage(value,proto.google.api.Logging.LoggingDestination.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.Logging.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Logging.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.Logging} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Logging.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getProducerDestinationsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
1,
|
||||
f,
|
||||
proto.google.api.Logging.LoggingDestination.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getConsumerDestinationsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
2,
|
||||
f,
|
||||
proto.google.api.Logging.LoggingDestination.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.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.Logging.LoggingDestination.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Logging.LoggingDestination.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.Logging.LoggingDestination} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
monitoredResource: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
logsList: (f = jspb.Message.getRepeatedField(msg, 1)) == 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.Logging.LoggingDestination}
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Logging.LoggingDestination;
|
||||
return proto.google.api.Logging.LoggingDestination.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Logging.LoggingDestination} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Logging.LoggingDestination}
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMonitoredResource(value);
|
||||
break;
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.addLogs(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Logging.LoggingDestination.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.Logging.LoggingDestination} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getMonitoredResource();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getLogsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string monitored_resource = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.prototype.getMonitoredResource = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Logging.LoggingDestination} returns this
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.prototype.setMonitoredResource = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated string logs = 1;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.prototype.getLogsList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.google.api.Logging.LoggingDestination} returns this
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.prototype.setLogsList = function(value) {
|
||||
return jspb.Message.setField(this, 1, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Logging.LoggingDestination} returns this
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.prototype.addLogs = function(value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Logging.LoggingDestination} returns this
|
||||
*/
|
||||
proto.google.api.Logging.LoggingDestination.prototype.clearLogsList = function() {
|
||||
return this.setLogsList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated LoggingDestination producer_destinations = 1;
|
||||
* @return {!Array<!proto.google.api.Logging.LoggingDestination>}
|
||||
*/
|
||||
proto.google.api.Logging.prototype.getProducerDestinationsList = function() {
|
||||
return /** @type{!Array<!proto.google.api.Logging.LoggingDestination>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.Logging.LoggingDestination, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.Logging.LoggingDestination>} value
|
||||
* @return {!proto.google.api.Logging} returns this
|
||||
*/
|
||||
proto.google.api.Logging.prototype.setProducerDestinationsList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.Logging.LoggingDestination=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Logging.LoggingDestination}
|
||||
*/
|
||||
proto.google.api.Logging.prototype.addProducerDestinations = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.Logging.LoggingDestination, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Logging} returns this
|
||||
*/
|
||||
proto.google.api.Logging.prototype.clearProducerDestinationsList = function() {
|
||||
return this.setProducerDestinationsList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated LoggingDestination consumer_destinations = 2;
|
||||
* @return {!Array<!proto.google.api.Logging.LoggingDestination>}
|
||||
*/
|
||||
proto.google.api.Logging.prototype.getConsumerDestinationsList = function() {
|
||||
return /** @type{!Array<!proto.google.api.Logging.LoggingDestination>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.Logging.LoggingDestination, 2));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.Logging.LoggingDestination>} value
|
||||
* @return {!proto.google.api.Logging} returns this
|
||||
*/
|
||||
proto.google.api.Logging.prototype.setConsumerDestinationsList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.Logging.LoggingDestination=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Logging.LoggingDestination}
|
||||
*/
|
||||
proto.google.api.Logging.prototype.addConsumerDestinations = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.api.Logging.LoggingDestination, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Logging} returns this
|
||||
*/
|
||||
proto.google.api.Logging.prototype.clearConsumerDestinationsList = function() {
|
||||
return this.setConsumerDestinationsList([]);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
141
api/grpc-web/google/api/metric_pb.d.ts
vendored
141
api/grpc-web/google/api/metric_pb.d.ts
vendored
@ -1,141 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
import * as google_api_label_pb from '../../google/api/label_pb';
|
||||
import * as google_api_launch_stage_pb from '../../google/api/launch_stage_pb';
|
||||
import * as google_protobuf_duration_pb from 'google-protobuf/google/protobuf/duration_pb';
|
||||
|
||||
|
||||
export class MetricDescriptor extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): MetricDescriptor;
|
||||
|
||||
getType(): string;
|
||||
setType(value: string): MetricDescriptor;
|
||||
|
||||
getLabelsList(): Array<google_api_label_pb.LabelDescriptor>;
|
||||
setLabelsList(value: Array<google_api_label_pb.LabelDescriptor>): MetricDescriptor;
|
||||
clearLabelsList(): MetricDescriptor;
|
||||
addLabels(value?: google_api_label_pb.LabelDescriptor, index?: number): google_api_label_pb.LabelDescriptor;
|
||||
|
||||
getMetricKind(): MetricDescriptor.MetricKind;
|
||||
setMetricKind(value: MetricDescriptor.MetricKind): MetricDescriptor;
|
||||
|
||||
getValueType(): MetricDescriptor.ValueType;
|
||||
setValueType(value: MetricDescriptor.ValueType): MetricDescriptor;
|
||||
|
||||
getUnit(): string;
|
||||
setUnit(value: string): MetricDescriptor;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): MetricDescriptor;
|
||||
|
||||
getDisplayName(): string;
|
||||
setDisplayName(value: string): MetricDescriptor;
|
||||
|
||||
getMetadata(): MetricDescriptor.MetricDescriptorMetadata | undefined;
|
||||
setMetadata(value?: MetricDescriptor.MetricDescriptorMetadata): MetricDescriptor;
|
||||
hasMetadata(): boolean;
|
||||
clearMetadata(): MetricDescriptor;
|
||||
|
||||
getLaunchStage(): google_api_launch_stage_pb.LaunchStage;
|
||||
setLaunchStage(value: google_api_launch_stage_pb.LaunchStage): MetricDescriptor;
|
||||
|
||||
getMonitoredResourceTypesList(): Array<string>;
|
||||
setMonitoredResourceTypesList(value: Array<string>): MetricDescriptor;
|
||||
clearMonitoredResourceTypesList(): MetricDescriptor;
|
||||
addMonitoredResourceTypes(value: string, index?: number): MetricDescriptor;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MetricDescriptor.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MetricDescriptor): MetricDescriptor.AsObject;
|
||||
static serializeBinaryToWriter(message: MetricDescriptor, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MetricDescriptor;
|
||||
static deserializeBinaryFromReader(message: MetricDescriptor, reader: jspb.BinaryReader): MetricDescriptor;
|
||||
}
|
||||
|
||||
export namespace MetricDescriptor {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
type: string,
|
||||
labelsList: Array<google_api_label_pb.LabelDescriptor.AsObject>,
|
||||
metricKind: MetricDescriptor.MetricKind,
|
||||
valueType: MetricDescriptor.ValueType,
|
||||
unit: string,
|
||||
description: string,
|
||||
displayName: string,
|
||||
metadata?: MetricDescriptor.MetricDescriptorMetadata.AsObject,
|
||||
launchStage: google_api_launch_stage_pb.LaunchStage,
|
||||
monitoredResourceTypesList: Array<string>,
|
||||
}
|
||||
|
||||
export class MetricDescriptorMetadata extends jspb.Message {
|
||||
getLaunchStage(): google_api_launch_stage_pb.LaunchStage;
|
||||
setLaunchStage(value: google_api_launch_stage_pb.LaunchStage): MetricDescriptorMetadata;
|
||||
|
||||
getSamplePeriod(): google_protobuf_duration_pb.Duration | undefined;
|
||||
setSamplePeriod(value?: google_protobuf_duration_pb.Duration): MetricDescriptorMetadata;
|
||||
hasSamplePeriod(): boolean;
|
||||
clearSamplePeriod(): MetricDescriptorMetadata;
|
||||
|
||||
getIngestDelay(): google_protobuf_duration_pb.Duration | undefined;
|
||||
setIngestDelay(value?: google_protobuf_duration_pb.Duration): MetricDescriptorMetadata;
|
||||
hasIngestDelay(): boolean;
|
||||
clearIngestDelay(): MetricDescriptorMetadata;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MetricDescriptorMetadata.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MetricDescriptorMetadata): MetricDescriptorMetadata.AsObject;
|
||||
static serializeBinaryToWriter(message: MetricDescriptorMetadata, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MetricDescriptorMetadata;
|
||||
static deserializeBinaryFromReader(message: MetricDescriptorMetadata, reader: jspb.BinaryReader): MetricDescriptorMetadata;
|
||||
}
|
||||
|
||||
export namespace MetricDescriptorMetadata {
|
||||
export type AsObject = {
|
||||
launchStage: google_api_launch_stage_pb.LaunchStage,
|
||||
samplePeriod?: google_protobuf_duration_pb.Duration.AsObject,
|
||||
ingestDelay?: google_protobuf_duration_pb.Duration.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export enum MetricKind {
|
||||
METRIC_KIND_UNSPECIFIED = 0,
|
||||
GAUGE = 1,
|
||||
DELTA = 2,
|
||||
CUMULATIVE = 3,
|
||||
}
|
||||
|
||||
export enum ValueType {
|
||||
VALUE_TYPE_UNSPECIFIED = 0,
|
||||
BOOL = 1,
|
||||
INT64 = 2,
|
||||
DOUBLE = 3,
|
||||
STRING = 4,
|
||||
DISTRIBUTION = 5,
|
||||
MONEY = 6,
|
||||
}
|
||||
}
|
||||
|
||||
export class Metric extends jspb.Message {
|
||||
getType(): string;
|
||||
setType(value: string): Metric;
|
||||
|
||||
getLabelsMap(): jspb.Map<string, string>;
|
||||
clearLabelsMap(): Metric;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Metric.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Metric): Metric.AsObject;
|
||||
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 = {
|
||||
type: string,
|
||||
labelsMap: Array<[string, string]>,
|
||||
}
|
||||
}
|
||||
|
1007
api/grpc-web/google/api/metric_pb.js
vendored
1007
api/grpc-web/google/api/metric_pb.js
vendored
File diff suppressed because it is too large
Load Diff
@ -1,93 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
import * as google_api_label_pb from '../../google/api/label_pb';
|
||||
import * as google_api_launch_stage_pb from '../../google/api/launch_stage_pb';
|
||||
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
|
||||
|
||||
|
||||
export class MonitoredResourceDescriptor extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): MonitoredResourceDescriptor;
|
||||
|
||||
getType(): string;
|
||||
setType(value: string): MonitoredResourceDescriptor;
|
||||
|
||||
getDisplayName(): string;
|
||||
setDisplayName(value: string): MonitoredResourceDescriptor;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): MonitoredResourceDescriptor;
|
||||
|
||||
getLabelsList(): Array<google_api_label_pb.LabelDescriptor>;
|
||||
setLabelsList(value: Array<google_api_label_pb.LabelDescriptor>): MonitoredResourceDescriptor;
|
||||
clearLabelsList(): MonitoredResourceDescriptor;
|
||||
addLabels(value?: google_api_label_pb.LabelDescriptor, index?: number): google_api_label_pb.LabelDescriptor;
|
||||
|
||||
getLaunchStage(): google_api_launch_stage_pb.LaunchStage;
|
||||
setLaunchStage(value: google_api_launch_stage_pb.LaunchStage): MonitoredResourceDescriptor;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MonitoredResourceDescriptor.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MonitoredResourceDescriptor): MonitoredResourceDescriptor.AsObject;
|
||||
static serializeBinaryToWriter(message: MonitoredResourceDescriptor, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MonitoredResourceDescriptor;
|
||||
static deserializeBinaryFromReader(message: MonitoredResourceDescriptor, reader: jspb.BinaryReader): MonitoredResourceDescriptor;
|
||||
}
|
||||
|
||||
export namespace MonitoredResourceDescriptor {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
type: string,
|
||||
displayName: string,
|
||||
description: string,
|
||||
labelsList: Array<google_api_label_pb.LabelDescriptor.AsObject>,
|
||||
launchStage: google_api_launch_stage_pb.LaunchStage,
|
||||
}
|
||||
}
|
||||
|
||||
export class MonitoredResource extends jspb.Message {
|
||||
getType(): string;
|
||||
setType(value: string): MonitoredResource;
|
||||
|
||||
getLabelsMap(): jspb.Map<string, string>;
|
||||
clearLabelsMap(): MonitoredResource;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MonitoredResource.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MonitoredResource): MonitoredResource.AsObject;
|
||||
static serializeBinaryToWriter(message: MonitoredResource, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MonitoredResource;
|
||||
static deserializeBinaryFromReader(message: MonitoredResource, reader: jspb.BinaryReader): MonitoredResource;
|
||||
}
|
||||
|
||||
export namespace MonitoredResource {
|
||||
export type AsObject = {
|
||||
type: string,
|
||||
labelsMap: Array<[string, string]>,
|
||||
}
|
||||
}
|
||||
|
||||
export class MonitoredResourceMetadata extends jspb.Message {
|
||||
getSystemLabels(): google_protobuf_struct_pb.Struct | undefined;
|
||||
setSystemLabels(value?: google_protobuf_struct_pb.Struct): MonitoredResourceMetadata;
|
||||
hasSystemLabels(): boolean;
|
||||
clearSystemLabels(): MonitoredResourceMetadata;
|
||||
|
||||
getUserLabelsMap(): jspb.Map<string, string>;
|
||||
clearUserLabelsMap(): MonitoredResourceMetadata;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MonitoredResourceMetadata.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MonitoredResourceMetadata): MonitoredResourceMetadata.AsObject;
|
||||
static serializeBinaryToWriter(message: MonitoredResourceMetadata, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MonitoredResourceMetadata;
|
||||
static deserializeBinaryFromReader(message: MonitoredResourceMetadata, reader: jspb.BinaryReader): MonitoredResourceMetadata;
|
||||
}
|
||||
|
||||
export namespace MonitoredResourceMetadata {
|
||||
export type AsObject = {
|
||||
systemLabels?: google_protobuf_struct_pb.Struct.AsObject,
|
||||
userLabelsMap: Array<[string, string]>,
|
||||
}
|
||||
}
|
||||
|
744
api/grpc-web/google/api/monitored_resource_pb.js
vendored
744
api/grpc-web/google/api/monitored_resource_pb.js
vendored
@ -1,744 +0,0 @@
|
||||
// source: google/api/monitored_resource.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_label_pb = require('../../google/api/label_pb.js');
|
||||
goog.object.extend(proto, google_api_label_pb);
|
||||
var google_api_launch_stage_pb = require('../../google/api/launch_stage_pb.js');
|
||||
goog.object.extend(proto, google_api_launch_stage_pb);
|
||||
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
||||
goog.object.extend(proto, google_protobuf_struct_pb);
|
||||
goog.exportSymbol('proto.google.api.MonitoredResource', null, global);
|
||||
goog.exportSymbol('proto.google.api.MonitoredResourceDescriptor', null, global);
|
||||
goog.exportSymbol('proto.google.api.MonitoredResourceMetadata', 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.MonitoredResourceDescriptor = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.MonitoredResourceDescriptor.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.MonitoredResourceDescriptor, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.displayName = 'proto.google.api.MonitoredResourceDescriptor';
|
||||
}
|
||||
/**
|
||||
* 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.MonitoredResource = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.MonitoredResource, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.MonitoredResource.displayName = 'proto.google.api.MonitoredResource';
|
||||
}
|
||||
/**
|
||||
* 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.MonitoredResourceMetadata = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.MonitoredResourceMetadata, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.MonitoredResourceMetadata.displayName = 'proto.google.api.MonitoredResourceMetadata';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.repeatedFields_ = [4];
|
||||
|
||||
|
||||
|
||||
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.MonitoredResourceDescriptor.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.MonitoredResourceDescriptor.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.MonitoredResourceDescriptor} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
labelsList: jspb.Message.toObjectList(msg.getLabelsList(),
|
||||
google_api_label_pb.LabelDescriptor.toObject, includeInstance),
|
||||
launchStage: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
||||
};
|
||||
|
||||
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.MonitoredResourceDescriptor}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.MonitoredResourceDescriptor;
|
||||
return proto.google.api.MonitoredResourceDescriptor.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.MonitoredResourceDescriptor} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.MonitoredResourceDescriptor}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 1:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setType(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDisplayName(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDescription(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = new google_api_label_pb.LabelDescriptor;
|
||||
reader.readMessage(value,google_api_label_pb.LabelDescriptor.deserializeBinaryFromReader);
|
||||
msg.addLabels(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {!proto.google.api.LaunchStage} */ (reader.readEnum());
|
||||
msg.setLaunchStage(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.MonitoredResourceDescriptor.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.MonitoredResourceDescriptor} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getType();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getDisplayName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getDescription();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getLabelsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
4,
|
||||
f,
|
||||
google_api_label_pb.LabelDescriptor.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getLaunchStage();
|
||||
if (f !== 0.0) {
|
||||
writer.writeEnum(
|
||||
7,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.MonitoredResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.setName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string type = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.getType = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.MonitoredResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.setType = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string display_name = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.getDisplayName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.MonitoredResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.setDisplayName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string description = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.getDescription = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.MonitoredResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.setDescription = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated LabelDescriptor labels = 4;
|
||||
* @return {!Array<!proto.google.api.LabelDescriptor>}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.getLabelsList = function() {
|
||||
return /** @type{!Array<!proto.google.api.LabelDescriptor>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, google_api_label_pb.LabelDescriptor, 4));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.LabelDescriptor>} value
|
||||
* @return {!proto.google.api.MonitoredResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.setLabelsList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.LabelDescriptor=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.LabelDescriptor}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.addLabels = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.google.api.LabelDescriptor, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.MonitoredResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.clearLabelsList = function() {
|
||||
return this.setLabelsList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional LaunchStage launch_stage = 7;
|
||||
* @return {!proto.google.api.LaunchStage}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.getLaunchStage = function() {
|
||||
return /** @type {!proto.google.api.LaunchStage} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.LaunchStage} value
|
||||
* @return {!proto.google.api.MonitoredResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.MonitoredResourceDescriptor.prototype.setLaunchStage = function(value) {
|
||||
return jspb.Message.setProto3EnumField(this, 7, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<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.MonitoredResource.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.MonitoredResource.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.MonitoredResource} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.MonitoredResource.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.google.api.MonitoredResource}
|
||||
*/
|
||||
proto.google.api.MonitoredResource.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.MonitoredResource;
|
||||
return proto.google.api.MonitoredResource.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.MonitoredResource} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.MonitoredResource}
|
||||
*/
|
||||
proto.google.api.MonitoredResource.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.setType(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = msg.getLabelsMap();
|
||||
reader.readMessage(value, function(message, reader) {
|
||||
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
||||
});
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.MonitoredResource.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.MonitoredResource.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.MonitoredResource} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.MonitoredResource.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getType();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getLabelsMap(true);
|
||||
if (f && f.getLength() > 0) {
|
||||
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string type = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.MonitoredResource.prototype.getType = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.MonitoredResource} returns this
|
||||
*/
|
||||
proto.google.api.MonitoredResource.prototype.setType = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* map<string, string> labels = 2;
|
||||
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,string>}
|
||||
*/
|
||||
proto.google.api.MonitoredResource.prototype.getLabelsMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,string>} */ (
|
||||
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
||||
null));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears values from the map. The map will be non-null.
|
||||
* @return {!proto.google.api.MonitoredResource} returns this
|
||||
*/
|
||||
proto.google.api.MonitoredResource.prototype.clearLabelsMap = function() {
|
||||
this.getLabelsMap().clear();
|
||||
return this;};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<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.MonitoredResourceMetadata.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.MonitoredResourceMetadata.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.MonitoredResourceMetadata} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.MonitoredResourceMetadata.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
systemLabels: (f = msg.getSystemLabels()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
||||
userLabelsMap: (f = msg.getUserLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.google.api.MonitoredResourceMetadata}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceMetadata.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.MonitoredResourceMetadata;
|
||||
return proto.google.api.MonitoredResourceMetadata.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.MonitoredResourceMetadata} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.MonitoredResourceMetadata}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceMetadata.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new google_protobuf_struct_pb.Struct;
|
||||
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
||||
msg.setSystemLabels(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = msg.getUserLabelsMap();
|
||||
reader.readMessage(value, function(message, reader) {
|
||||
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
||||
});
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceMetadata.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.MonitoredResourceMetadata.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.MonitoredResourceMetadata} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.MonitoredResourceMetadata.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getSystemLabels();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
1,
|
||||
f,
|
||||
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getUserLabelsMap(true);
|
||||
if (f && f.getLength() > 0) {
|
||||
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional google.protobuf.Struct system_labels = 1;
|
||||
* @return {?proto.google.protobuf.Struct}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceMetadata.prototype.getSystemLabels = function() {
|
||||
return /** @type{?proto.google.protobuf.Struct} */ (
|
||||
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.google.protobuf.Struct|undefined} value
|
||||
* @return {!proto.google.api.MonitoredResourceMetadata} returns this
|
||||
*/
|
||||
proto.google.api.MonitoredResourceMetadata.prototype.setSystemLabels = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.google.api.MonitoredResourceMetadata} returns this
|
||||
*/
|
||||
proto.google.api.MonitoredResourceMetadata.prototype.clearSystemLabels = function() {
|
||||
return this.setSystemLabels(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceMetadata.prototype.hasSystemLabels = function() {
|
||||
return jspb.Message.getField(this, 1) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* map<string, string> user_labels = 2;
|
||||
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,string>}
|
||||
*/
|
||||
proto.google.api.MonitoredResourceMetadata.prototype.getUserLabelsMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,string>} */ (
|
||||
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
||||
null));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears values from the map. The map will be non-null.
|
||||
* @return {!proto.google.api.MonitoredResourceMetadata} returns this
|
||||
*/
|
||||
proto.google.api.MonitoredResourceMetadata.prototype.clearUserLabelsMap = function() {
|
||||
this.getUserLabelsMap().clear();
|
||||
return this;};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
55
api/grpc-web/google/api/monitoring_pb.d.ts
vendored
55
api/grpc-web/google/api/monitoring_pb.d.ts
vendored
@ -1,55 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class Monitoring extends jspb.Message {
|
||||
getProducerDestinationsList(): Array<Monitoring.MonitoringDestination>;
|
||||
setProducerDestinationsList(value: Array<Monitoring.MonitoringDestination>): Monitoring;
|
||||
clearProducerDestinationsList(): Monitoring;
|
||||
addProducerDestinations(value?: Monitoring.MonitoringDestination, index?: number): Monitoring.MonitoringDestination;
|
||||
|
||||
getConsumerDestinationsList(): Array<Monitoring.MonitoringDestination>;
|
||||
setConsumerDestinationsList(value: Array<Monitoring.MonitoringDestination>): Monitoring;
|
||||
clearConsumerDestinationsList(): Monitoring;
|
||||
addConsumerDestinations(value?: Monitoring.MonitoringDestination, index?: number): Monitoring.MonitoringDestination;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Monitoring.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Monitoring): Monitoring.AsObject;
|
||||
static serializeBinaryToWriter(message: Monitoring, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Monitoring;
|
||||
static deserializeBinaryFromReader(message: Monitoring, reader: jspb.BinaryReader): Monitoring;
|
||||
}
|
||||
|
||||
export namespace Monitoring {
|
||||
export type AsObject = {
|
||||
producerDestinationsList: Array<Monitoring.MonitoringDestination.AsObject>,
|
||||
consumerDestinationsList: Array<Monitoring.MonitoringDestination.AsObject>,
|
||||
}
|
||||
|
||||
export class MonitoringDestination extends jspb.Message {
|
||||
getMonitoredResource(): string;
|
||||
setMonitoredResource(value: string): MonitoringDestination;
|
||||
|
||||
getMetricsList(): Array<string>;
|
||||
setMetricsList(value: Array<string>): MonitoringDestination;
|
||||
clearMetricsList(): MonitoringDestination;
|
||||
addMetrics(value: string, index?: number): MonitoringDestination;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MonitoringDestination.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MonitoringDestination): MonitoringDestination.AsObject;
|
||||
static serializeBinaryToWriter(message: MonitoringDestination, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MonitoringDestination;
|
||||
static deserializeBinaryFromReader(message: MonitoringDestination, reader: jspb.BinaryReader): MonitoringDestination;
|
||||
}
|
||||
|
||||
export namespace MonitoringDestination {
|
||||
export type AsObject = {
|
||||
monitoredResource: string,
|
||||
metricsList: Array<string>,
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
458
api/grpc-web/google/api/monitoring_pb.js
vendored
458
api/grpc-web/google/api/monitoring_pb.js
vendored
@ -1,458 +0,0 @@
|
||||
// source: google/api/monitoring.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.Monitoring', null, global);
|
||||
goog.exportSymbol('proto.google.api.Monitoring.MonitoringDestination', 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.Monitoring = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Monitoring.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Monitoring, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Monitoring.displayName = 'proto.google.api.Monitoring';
|
||||
}
|
||||
/**
|
||||
* 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.Monitoring.MonitoringDestination = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Monitoring.MonitoringDestination.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Monitoring.MonitoringDestination, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Monitoring.MonitoringDestination.displayName = 'proto.google.api.Monitoring.MonitoringDestination';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.Monitoring.repeatedFields_ = [1,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.Monitoring.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Monitoring.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.Monitoring} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Monitoring.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
producerDestinationsList: jspb.Message.toObjectList(msg.getProducerDestinationsList(),
|
||||
proto.google.api.Monitoring.MonitoringDestination.toObject, includeInstance),
|
||||
consumerDestinationsList: jspb.Message.toObjectList(msg.getConsumerDestinationsList(),
|
||||
proto.google.api.Monitoring.MonitoringDestination.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.Monitoring}
|
||||
*/
|
||||
proto.google.api.Monitoring.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Monitoring;
|
||||
return proto.google.api.Monitoring.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Monitoring} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Monitoring}
|
||||
*/
|
||||
proto.google.api.Monitoring.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.Monitoring.MonitoringDestination;
|
||||
reader.readMessage(value,proto.google.api.Monitoring.MonitoringDestination.deserializeBinaryFromReader);
|
||||
msg.addProducerDestinations(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = new proto.google.api.Monitoring.MonitoringDestination;
|
||||
reader.readMessage(value,proto.google.api.Monitoring.MonitoringDestination.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.Monitoring.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Monitoring.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.Monitoring} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Monitoring.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getProducerDestinationsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
1,
|
||||
f,
|
||||
proto.google.api.Monitoring.MonitoringDestination.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getConsumerDestinationsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
2,
|
||||
f,
|
||||
proto.google.api.Monitoring.MonitoringDestination.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.Monitoring.MonitoringDestination.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.Monitoring.MonitoringDestination.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Monitoring.MonitoringDestination.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.Monitoring.MonitoringDestination} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Monitoring.MonitoringDestination.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.Monitoring.MonitoringDestination}
|
||||
*/
|
||||
proto.google.api.Monitoring.MonitoringDestination.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Monitoring.MonitoringDestination;
|
||||
return proto.google.api.Monitoring.MonitoringDestination.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Monitoring.MonitoringDestination} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Monitoring.MonitoringDestination}
|
||||
*/
|
||||
proto.google.api.Monitoring.MonitoringDestination.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.Monitoring.MonitoringDestination.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Monitoring.MonitoringDestination.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.Monitoring.MonitoringDestination} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Monitoring.MonitoringDestination.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.Monitoring.MonitoringDestination.prototype.getMonitoredResource = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.Monitoring.MonitoringDestination} returns this
|
||||
*/
|
||||
proto.google.api.Monitoring.MonitoringDestination.prototype.setMonitoredResource = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated string metrics = 2;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.google.api.Monitoring.MonitoringDestination.prototype.getMetricsList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.google.api.Monitoring.MonitoringDestination} returns this
|
||||
*/
|
||||
proto.google.api.Monitoring.MonitoringDestination.prototype.setMetricsList = function(value) {
|
||||
return jspb.Message.setField(this, 2, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Monitoring.MonitoringDestination} returns this
|
||||
*/
|
||||
proto.google.api.Monitoring.MonitoringDestination.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.Monitoring.MonitoringDestination} returns this
|
||||
*/
|
||||
proto.google.api.Monitoring.MonitoringDestination.prototype.clearMetricsList = function() {
|
||||
return this.setMetricsList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated MonitoringDestination producer_destinations = 1;
|
||||
* @return {!Array<!proto.google.api.Monitoring.MonitoringDestination>}
|
||||
*/
|
||||
proto.google.api.Monitoring.prototype.getProducerDestinationsList = function() {
|
||||
return /** @type{!Array<!proto.google.api.Monitoring.MonitoringDestination>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.Monitoring.MonitoringDestination, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.Monitoring.MonitoringDestination>} value
|
||||
* @return {!proto.google.api.Monitoring} returns this
|
||||
*/
|
||||
proto.google.api.Monitoring.prototype.setProducerDestinationsList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.Monitoring.MonitoringDestination=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Monitoring.MonitoringDestination}
|
||||
*/
|
||||
proto.google.api.Monitoring.prototype.addProducerDestinations = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.Monitoring.MonitoringDestination, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Monitoring} returns this
|
||||
*/
|
||||
proto.google.api.Monitoring.prototype.clearProducerDestinationsList = function() {
|
||||
return this.setProducerDestinationsList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated MonitoringDestination consumer_destinations = 2;
|
||||
* @return {!Array<!proto.google.api.Monitoring.MonitoringDestination>}
|
||||
*/
|
||||
proto.google.api.Monitoring.prototype.getConsumerDestinationsList = function() {
|
||||
return /** @type{!Array<!proto.google.api.Monitoring.MonitoringDestination>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.Monitoring.MonitoringDestination, 2));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.Monitoring.MonitoringDestination>} value
|
||||
* @return {!proto.google.api.Monitoring} returns this
|
||||
*/
|
||||
proto.google.api.Monitoring.prototype.setConsumerDestinationsList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.Monitoring.MonitoringDestination=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.Monitoring.MonitoringDestination}
|
||||
*/
|
||||
proto.google.api.Monitoring.prototype.addConsumerDestinations = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.api.Monitoring.MonitoringDestination, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Monitoring} returns this
|
||||
*/
|
||||
proto.google.api.Monitoring.prototype.clearConsumerDestinationsList = function() {
|
||||
return this.setConsumerDestinationsList([]);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
106
api/grpc-web/google/api/quota_pb.d.ts
vendored
106
api/grpc-web/google/api/quota_pb.d.ts
vendored
@ -1,106 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class Quota extends jspb.Message {
|
||||
getLimitsList(): Array<QuotaLimit>;
|
||||
setLimitsList(value: Array<QuotaLimit>): Quota;
|
||||
clearLimitsList(): Quota;
|
||||
addLimits(value?: QuotaLimit, index?: number): QuotaLimit;
|
||||
|
||||
getMetricRulesList(): Array<MetricRule>;
|
||||
setMetricRulesList(value: Array<MetricRule>): Quota;
|
||||
clearMetricRulesList(): Quota;
|
||||
addMetricRules(value?: MetricRule, index?: number): MetricRule;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Quota.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Quota): Quota.AsObject;
|
||||
static serializeBinaryToWriter(message: Quota, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Quota;
|
||||
static deserializeBinaryFromReader(message: Quota, reader: jspb.BinaryReader): Quota;
|
||||
}
|
||||
|
||||
export namespace Quota {
|
||||
export type AsObject = {
|
||||
limitsList: Array<QuotaLimit.AsObject>,
|
||||
metricRulesList: Array<MetricRule.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class MetricRule extends jspb.Message {
|
||||
getSelector(): string;
|
||||
setSelector(value: string): MetricRule;
|
||||
|
||||
getMetricCostsMap(): jspb.Map<string, number>;
|
||||
clearMetricCostsMap(): MetricRule;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MetricRule.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MetricRule): MetricRule.AsObject;
|
||||
static serializeBinaryToWriter(message: MetricRule, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MetricRule;
|
||||
static deserializeBinaryFromReader(message: MetricRule, reader: jspb.BinaryReader): MetricRule;
|
||||
}
|
||||
|
||||
export namespace MetricRule {
|
||||
export type AsObject = {
|
||||
selector: string,
|
||||
metricCostsMap: Array<[string, number]>,
|
||||
}
|
||||
}
|
||||
|
||||
export class QuotaLimit extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): QuotaLimit;
|
||||
|
||||
getDescription(): string;
|
||||
setDescription(value: string): QuotaLimit;
|
||||
|
||||
getDefaultLimit(): number;
|
||||
setDefaultLimit(value: number): QuotaLimit;
|
||||
|
||||
getMaxLimit(): number;
|
||||
setMaxLimit(value: number): QuotaLimit;
|
||||
|
||||
getFreeTier(): number;
|
||||
setFreeTier(value: number): QuotaLimit;
|
||||
|
||||
getDuration(): string;
|
||||
setDuration(value: string): QuotaLimit;
|
||||
|
||||
getMetric(): string;
|
||||
setMetric(value: string): QuotaLimit;
|
||||
|
||||
getUnit(): string;
|
||||
setUnit(value: string): QuotaLimit;
|
||||
|
||||
getValuesMap(): jspb.Map<string, number>;
|
||||
clearValuesMap(): QuotaLimit;
|
||||
|
||||
getDisplayName(): string;
|
||||
setDisplayName(value: string): QuotaLimit;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): QuotaLimit.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: QuotaLimit): QuotaLimit.AsObject;
|
||||
static serializeBinaryToWriter(message: QuotaLimit, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): QuotaLimit;
|
||||
static deserializeBinaryFromReader(message: QuotaLimit, reader: jspb.BinaryReader): QuotaLimit;
|
||||
}
|
||||
|
||||
export namespace QuotaLimit {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
description: string,
|
||||
defaultLimit: number,
|
||||
maxLimit: number,
|
||||
freeTier: number,
|
||||
duration: string,
|
||||
metric: string,
|
||||
unit: string,
|
||||
valuesMap: Array<[string, number]>,
|
||||
displayName: string,
|
||||
}
|
||||
}
|
||||
|
860
api/grpc-web/google/api/quota_pb.js
vendored
860
api/grpc-web/google/api/quota_pb.js
vendored
@ -1,860 +0,0 @@
|
||||
// source: google/api/quota.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.MetricRule', null, global);
|
||||
goog.exportSymbol('proto.google.api.Quota', null, global);
|
||||
goog.exportSymbol('proto.google.api.QuotaLimit', 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.Quota = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Quota.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.Quota, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.Quota.displayName = 'proto.google.api.Quota';
|
||||
}
|
||||
/**
|
||||
* 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.MetricRule = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.MetricRule, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.MetricRule.displayName = 'proto.google.api.MetricRule';
|
||||
}
|
||||
/**
|
||||
* 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.QuotaLimit = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.QuotaLimit, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.QuotaLimit.displayName = 'proto.google.api.QuotaLimit';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.Quota.repeatedFields_ = [3,4];
|
||||
|
||||
|
||||
|
||||
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.Quota.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.Quota.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.Quota} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Quota.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
limitsList: jspb.Message.toObjectList(msg.getLimitsList(),
|
||||
proto.google.api.QuotaLimit.toObject, includeInstance),
|
||||
metricRulesList: jspb.Message.toObjectList(msg.getMetricRulesList(),
|
||||
proto.google.api.MetricRule.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.Quota}
|
||||
*/
|
||||
proto.google.api.Quota.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.Quota;
|
||||
return proto.google.api.Quota.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.Quota} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.Quota}
|
||||
*/
|
||||
proto.google.api.Quota.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 3:
|
||||
var value = new proto.google.api.QuotaLimit;
|
||||
reader.readMessage(value,proto.google.api.QuotaLimit.deserializeBinaryFromReader);
|
||||
msg.addLimits(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = new proto.google.api.MetricRule;
|
||||
reader.readMessage(value,proto.google.api.MetricRule.deserializeBinaryFromReader);
|
||||
msg.addMetricRules(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.Quota.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.Quota.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.Quota} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.Quota.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getLimitsList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
3,
|
||||
f,
|
||||
proto.google.api.QuotaLimit.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getMetricRulesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
4,
|
||||
f,
|
||||
proto.google.api.MetricRule.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated QuotaLimit limits = 3;
|
||||
* @return {!Array<!proto.google.api.QuotaLimit>}
|
||||
*/
|
||||
proto.google.api.Quota.prototype.getLimitsList = function() {
|
||||
return /** @type{!Array<!proto.google.api.QuotaLimit>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.QuotaLimit, 3));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.QuotaLimit>} value
|
||||
* @return {!proto.google.api.Quota} returns this
|
||||
*/
|
||||
proto.google.api.Quota.prototype.setLimitsList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.QuotaLimit=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.QuotaLimit}
|
||||
*/
|
||||
proto.google.api.Quota.prototype.addLimits = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.api.QuotaLimit, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Quota} returns this
|
||||
*/
|
||||
proto.google.api.Quota.prototype.clearLimitsList = function() {
|
||||
return this.setLimitsList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated MetricRule metric_rules = 4;
|
||||
* @return {!Array<!proto.google.api.MetricRule>}
|
||||
*/
|
||||
proto.google.api.Quota.prototype.getMetricRulesList = function() {
|
||||
return /** @type{!Array<!proto.google.api.MetricRule>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.MetricRule, 4));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.MetricRule>} value
|
||||
* @return {!proto.google.api.Quota} returns this
|
||||
*/
|
||||
proto.google.api.Quota.prototype.setMetricRulesList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.MetricRule=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.MetricRule}
|
||||
*/
|
||||
proto.google.api.Quota.prototype.addMetricRules = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.google.api.MetricRule, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.Quota} returns this
|
||||
*/
|
||||
proto.google.api.Quota.prototype.clearMetricRulesList = function() {
|
||||
return this.setMetricRulesList([]);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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.MetricRule.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.MetricRule.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.MetricRule} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.MetricRule.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
selector: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
metricCostsMap: (f = msg.getMetricCostsMap()) ? f.toObject(includeInstance, undefined) : []
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
obj.$jspbMessageInstance = msg;
|
||||
}
|
||||
return obj;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.google.api.MetricRule}
|
||||
*/
|
||||
proto.google.api.MetricRule.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.MetricRule;
|
||||
return proto.google.api.MetricRule.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.MetricRule} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.MetricRule}
|
||||
*/
|
||||
proto.google.api.MetricRule.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 = msg.getMetricCostsMap();
|
||||
reader.readMessage(value, function(message, reader) {
|
||||
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readInt64, null, "", 0);
|
||||
});
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.MetricRule.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.MetricRule.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.MetricRule} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.MetricRule.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getSelector();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getMetricCostsMap(true);
|
||||
if (f && f.getLength() > 0) {
|
||||
f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeInt64);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string selector = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.MetricRule.prototype.getSelector = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.MetricRule} returns this
|
||||
*/
|
||||
proto.google.api.MetricRule.prototype.setSelector = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* map<string, int64> metric_costs = 2;
|
||||
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,number>}
|
||||
*/
|
||||
proto.google.api.MetricRule.prototype.getMetricCostsMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,number>} */ (
|
||||
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
||||
null));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears values from the map. The map will be non-null.
|
||||
* @return {!proto.google.api.MetricRule} returns this
|
||||
*/
|
||||
proto.google.api.MetricRule.prototype.clearMetricCostsMap = function() {
|
||||
this.getMetricCostsMap().clear();
|
||||
return this;};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
/**
|
||||
* Creates an object representation of this proto.
|
||||
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
||||
* Optional fields that are not set will be set to undefined.
|
||||
* To access a reserved field use, foo.pb_<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.QuotaLimit.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.QuotaLimit.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.QuotaLimit} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.QuotaLimit.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
defaultLimit: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
||||
maxLimit: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
||||
freeTier: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
||||
duration: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
metric: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
||||
unit: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
||||
valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, undefined) : [],
|
||||
displayName: jspb.Message.getFieldWithDefault(msg, 12, "")
|
||||
};
|
||||
|
||||
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.QuotaLimit}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.QuotaLimit;
|
||||
return proto.google.api.QuotaLimit.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.QuotaLimit} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.QuotaLimit}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 6:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDescription(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {number} */ (reader.readInt64());
|
||||
msg.setDefaultLimit(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {number} */ (reader.readInt64());
|
||||
msg.setMaxLimit(value);
|
||||
break;
|
||||
case 7:
|
||||
var value = /** @type {number} */ (reader.readInt64());
|
||||
msg.setFreeTier(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDuration(value);
|
||||
break;
|
||||
case 8:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMetric(value);
|
||||
break;
|
||||
case 9:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setUnit(value);
|
||||
break;
|
||||
case 10:
|
||||
var value = msg.getValuesMap();
|
||||
reader.readMessage(value, function(message, reader) {
|
||||
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readInt64, null, "", 0);
|
||||
});
|
||||
break;
|
||||
case 12:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setDisplayName(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.QuotaLimit.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.QuotaLimit} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.QuotaLimit.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
6,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getDescription();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getDefaultLimit();
|
||||
if (f !== 0) {
|
||||
writer.writeInt64(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getMaxLimit();
|
||||
if (f !== 0) {
|
||||
writer.writeInt64(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getFreeTier();
|
||||
if (f !== 0) {
|
||||
writer.writeInt64(
|
||||
7,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getDuration();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getMetric();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
8,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getUnit();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
9,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getValuesMap(true);
|
||||
if (f && f.getLength() > 0) {
|
||||
f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeInt64);
|
||||
}
|
||||
f = message.getDisplayName();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
12,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name = 6;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.getName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.QuotaLimit} returns this
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.setName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 6, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string description = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.getDescription = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.QuotaLimit} returns this
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.setDescription = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional int64 default_limit = 3;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.getDefaultLimit = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.google.api.QuotaLimit} returns this
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.setDefaultLimit = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional int64 max_limit = 4;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.getMaxLimit = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.google.api.QuotaLimit} returns this
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.setMaxLimit = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional int64 free_tier = 7;
|
||||
* @return {number}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.getFreeTier = function() {
|
||||
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {number} value
|
||||
* @return {!proto.google.api.QuotaLimit} returns this
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.setFreeTier = function(value) {
|
||||
return jspb.Message.setProto3IntField(this, 7, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string duration = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.getDuration = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.QuotaLimit} returns this
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.setDuration = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string metric = 8;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.getMetric = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.QuotaLimit} returns this
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.setMetric = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 8, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string unit = 9;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.getUnit = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.QuotaLimit} returns this
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.setUnit = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 9, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* map<string, int64> values = 10;
|
||||
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
||||
* empty, instead returning `undefined`
|
||||
* @return {!jspb.Map<string,number>}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.getValuesMap = function(opt_noLazyCreate) {
|
||||
return /** @type {!jspb.Map<string,number>} */ (
|
||||
jspb.Message.getMapField(this, 10, opt_noLazyCreate,
|
||||
null));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears values from the map. The map will be non-null.
|
||||
* @return {!proto.google.api.QuotaLimit} returns this
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.clearValuesMap = function() {
|
||||
this.getValuesMap().clear();
|
||||
return this;};
|
||||
|
||||
|
||||
/**
|
||||
* optional string display_name = 12;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.getDisplayName = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.QuotaLimit} returns this
|
||||
*/
|
||||
proto.google.api.QuotaLimit.prototype.setDisplayName = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 12, value);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
84
api/grpc-web/google/api/resource_pb.d.ts
vendored
84
api/grpc-web/google/api/resource_pb.d.ts
vendored
@ -1,84 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb';
|
||||
|
||||
|
||||
export class ResourceDescriptor extends jspb.Message {
|
||||
getType(): string;
|
||||
setType(value: string): ResourceDescriptor;
|
||||
|
||||
getPatternList(): Array<string>;
|
||||
setPatternList(value: Array<string>): ResourceDescriptor;
|
||||
clearPatternList(): ResourceDescriptor;
|
||||
addPattern(value: string, index?: number): ResourceDescriptor;
|
||||
|
||||
getNameField(): string;
|
||||
setNameField(value: string): ResourceDescriptor;
|
||||
|
||||
getHistory(): ResourceDescriptor.History;
|
||||
setHistory(value: ResourceDescriptor.History): ResourceDescriptor;
|
||||
|
||||
getPlural(): string;
|
||||
setPlural(value: string): ResourceDescriptor;
|
||||
|
||||
getSingular(): string;
|
||||
setSingular(value: string): ResourceDescriptor;
|
||||
|
||||
getStyleList(): Array<ResourceDescriptor.Style>;
|
||||
setStyleList(value: Array<ResourceDescriptor.Style>): ResourceDescriptor;
|
||||
clearStyleList(): ResourceDescriptor;
|
||||
addStyle(value: ResourceDescriptor.Style, index?: number): ResourceDescriptor;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ResourceDescriptor.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ResourceDescriptor): ResourceDescriptor.AsObject;
|
||||
static serializeBinaryToWriter(message: ResourceDescriptor, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ResourceDescriptor;
|
||||
static deserializeBinaryFromReader(message: ResourceDescriptor, reader: jspb.BinaryReader): ResourceDescriptor;
|
||||
}
|
||||
|
||||
export namespace ResourceDescriptor {
|
||||
export type AsObject = {
|
||||
type: string,
|
||||
patternList: Array<string>,
|
||||
nameField: string,
|
||||
history: ResourceDescriptor.History,
|
||||
plural: string,
|
||||
singular: string,
|
||||
styleList: Array<ResourceDescriptor.Style>,
|
||||
}
|
||||
|
||||
export enum History {
|
||||
HISTORY_UNSPECIFIED = 0,
|
||||
ORIGINALLY_SINGLE_PATTERN = 1,
|
||||
FUTURE_MULTI_PATTERN = 2,
|
||||
}
|
||||
|
||||
export enum Style {
|
||||
STYLE_UNSPECIFIED = 0,
|
||||
DECLARATIVE_FRIENDLY = 1,
|
||||
}
|
||||
}
|
||||
|
||||
export class ResourceReference extends jspb.Message {
|
||||
getType(): string;
|
||||
setType(value: string): ResourceReference;
|
||||
|
||||
getChildType(): string;
|
||||
setChildType(value: string): ResourceReference;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): ResourceReference.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: ResourceReference): ResourceReference.AsObject;
|
||||
static serializeBinaryToWriter(message: ResourceReference, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): ResourceReference;
|
||||
static deserializeBinaryFromReader(message: ResourceReference, reader: jspb.BinaryReader): ResourceReference;
|
||||
}
|
||||
|
||||
export namespace ResourceReference {
|
||||
export type AsObject = {
|
||||
type: string,
|
||||
childType: string,
|
||||
}
|
||||
}
|
||||
|
673
api/grpc-web/google/api/resource_pb.js
vendored
673
api/grpc-web/google/api/resource_pb.js
vendored
@ -1,673 +0,0 @@
|
||||
// source: google/api/resource.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.ResourceDescriptor', null, global);
|
||||
goog.exportSymbol('proto.google.api.ResourceDescriptor.History', null, global);
|
||||
goog.exportSymbol('proto.google.api.ResourceDescriptor.Style', null, global);
|
||||
goog.exportSymbol('proto.google.api.ResourceReference', null, global);
|
||||
goog.exportSymbol('proto.google.api.resource', null, global);
|
||||
goog.exportSymbol('proto.google.api.resourceDefinitionList', null, global);
|
||||
goog.exportSymbol('proto.google.api.resourceReference', 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.ResourceDescriptor = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.ResourceDescriptor.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.ResourceDescriptor, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.displayName = 'proto.google.api.ResourceDescriptor';
|
||||
}
|
||||
/**
|
||||
* 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.ResourceReference = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.ResourceReference, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.ResourceReference.displayName = 'proto.google.api.ResourceReference';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.repeatedFields_ = [2,10];
|
||||
|
||||
|
||||
|
||||
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.ResourceDescriptor.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.ResourceDescriptor.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.ResourceDescriptor} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
patternList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
||||
nameField: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
history: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
||||
plural: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
singular: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||
styleList: (f = jspb.Message.getRepeatedField(msg, 10)) == 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.ResourceDescriptor}
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.ResourceDescriptor;
|
||||
return proto.google.api.ResourceDescriptor.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.ResourceDescriptor} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.ResourceDescriptor}
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.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.setType(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.addPattern(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setNameField(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {!proto.google.api.ResourceDescriptor.History} */ (reader.readEnum());
|
||||
msg.setHistory(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPlural(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setSingular(value);
|
||||
break;
|
||||
case 10:
|
||||
var value = /** @type {!Array<!proto.google.api.ResourceDescriptor.Style>} */ (reader.readPackedEnum());
|
||||
msg.setStyleList(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.ResourceDescriptor.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.ResourceDescriptor} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getType();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getPatternList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getNameField();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getHistory();
|
||||
if (f !== 0.0) {
|
||||
writer.writeEnum(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getPlural();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getSingular();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
6,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getStyleList();
|
||||
if (f.length > 0) {
|
||||
writer.writePackedEnum(
|
||||
10,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.History = {
|
||||
HISTORY_UNSPECIFIED: 0,
|
||||
ORIGINALLY_SINGLE_PATTERN: 1,
|
||||
FUTURE_MULTI_PATTERN: 2
|
||||
};
|
||||
|
||||
/**
|
||||
* @enum {number}
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.Style = {
|
||||
STYLE_UNSPECIFIED: 0,
|
||||
DECLARATIVE_FRIENDLY: 1
|
||||
};
|
||||
|
||||
/**
|
||||
* optional string type = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.getType = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.ResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.setType = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated string pattern = 2;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.getPatternList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.google.api.ResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.setPatternList = function(value) {
|
||||
return jspb.Message.setField(this, 2, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.ResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.addPattern = 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.ResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.clearPatternList = function() {
|
||||
return this.setPatternList([]);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string name_field = 3;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.getNameField = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.ResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.setNameField = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional History history = 4;
|
||||
* @return {!proto.google.api.ResourceDescriptor.History}
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.getHistory = function() {
|
||||
return /** @type {!proto.google.api.ResourceDescriptor.History} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.ResourceDescriptor.History} value
|
||||
* @return {!proto.google.api.ResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.setHistory = function(value) {
|
||||
return jspb.Message.setProto3EnumField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string plural = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.getPlural = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.ResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.setPlural = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string singular = 6;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.getSingular = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.ResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.setSingular = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 6, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated Style style = 10;
|
||||
* @return {!Array<!proto.google.api.ResourceDescriptor.Style>}
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.getStyleList = function() {
|
||||
return /** @type {!Array<!proto.google.api.ResourceDescriptor.Style>} */ (jspb.Message.getRepeatedField(this, 10));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.ResourceDescriptor.Style>} value
|
||||
* @return {!proto.google.api.ResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.setStyleList = function(value) {
|
||||
return jspb.Message.setField(this, 10, value || []);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.ResourceDescriptor.Style} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.ResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.addStyle = function(value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.ResourceDescriptor} returns this
|
||||
*/
|
||||
proto.google.api.ResourceDescriptor.prototype.clearStyleList = function() {
|
||||
return this.setStyleList([]);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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.ResourceReference.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.ResourceReference.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.ResourceReference} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.ResourceReference.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
childType: 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.ResourceReference}
|
||||
*/
|
||||
proto.google.api.ResourceReference.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.ResourceReference;
|
||||
return proto.google.api.ResourceReference.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.ResourceReference} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.ResourceReference}
|
||||
*/
|
||||
proto.google.api.ResourceReference.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.setType(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setChildType(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.ResourceReference.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.ResourceReference.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.ResourceReference} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.ResourceReference.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getType();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getChildType();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string type = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.ResourceReference.prototype.getType = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.ResourceReference} returns this
|
||||
*/
|
||||
proto.google.api.ResourceReference.prototype.setType = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string child_type = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.ResourceReference.prototype.getChildType = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.ResourceReference} returns this
|
||||
*/
|
||||
proto.google.api.ResourceReference.prototype.setChildType = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* A tuple of {field number, class constructor} for the extension
|
||||
* field named `resourceReference`.
|
||||
* @type {!jspb.ExtensionFieldInfo<!proto.google.api.ResourceReference>}
|
||||
*/
|
||||
proto.google.api.resourceReference = new jspb.ExtensionFieldInfo(
|
||||
1055,
|
||||
{resourceReference: 0},
|
||||
proto.google.api.ResourceReference,
|
||||
/** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
|
||||
proto.google.api.ResourceReference.toObject),
|
||||
0);
|
||||
|
||||
google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[1055] = new jspb.ExtensionFieldBinaryInfo(
|
||||
proto.google.api.resourceReference,
|
||||
jspb.BinaryReader.prototype.readMessage,
|
||||
jspb.BinaryWriter.prototype.writeMessage,
|
||||
proto.google.api.ResourceReference.serializeBinaryToWriter,
|
||||
proto.google.api.ResourceReference.deserializeBinaryFromReader,
|
||||
false);
|
||||
// This registers the extension field with the extended class, so that
|
||||
// toObject() will function correctly.
|
||||
google_protobuf_descriptor_pb.FieldOptions.extensions[1055] = proto.google.api.resourceReference;
|
||||
|
||||
|
||||
/**
|
||||
* A tuple of {field number, class constructor} for the extension
|
||||
* field named `resourceDefinitionList`.
|
||||
* @type {!jspb.ExtensionFieldInfo<!Array<!proto.google.api.ResourceDescriptor>>}
|
||||
*/
|
||||
proto.google.api.resourceDefinitionList = new jspb.ExtensionFieldInfo(
|
||||
1053,
|
||||
{resourceDefinitionList: 0},
|
||||
proto.google.api.ResourceDescriptor,
|
||||
/** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
|
||||
proto.google.api.ResourceDescriptor.toObject),
|
||||
1);
|
||||
|
||||
google_protobuf_descriptor_pb.FileOptions.extensionsBinary[1053] = new jspb.ExtensionFieldBinaryInfo(
|
||||
proto.google.api.resourceDefinitionList,
|
||||
jspb.BinaryReader.prototype.readMessage,
|
||||
jspb.BinaryWriter.prototype.writeRepeatedMessage,
|
||||
proto.google.api.ResourceDescriptor.serializeBinaryToWriter,
|
||||
proto.google.api.ResourceDescriptor.deserializeBinaryFromReader,
|
||||
false);
|
||||
// This registers the extension field with the extended class, so that
|
||||
// toObject() will function correctly.
|
||||
google_protobuf_descriptor_pb.FileOptions.extensions[1053] = proto.google.api.resourceDefinitionList;
|
||||
|
||||
|
||||
/**
|
||||
* A tuple of {field number, class constructor} for the extension
|
||||
* field named `resource`.
|
||||
* @type {!jspb.ExtensionFieldInfo<!proto.google.api.ResourceDescriptor>}
|
||||
*/
|
||||
proto.google.api.resource = new jspb.ExtensionFieldInfo(
|
||||
1053,
|
||||
{resource: 0},
|
||||
proto.google.api.ResourceDescriptor,
|
||||
/** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
|
||||
proto.google.api.ResourceDescriptor.toObject),
|
||||
0);
|
||||
|
||||
google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[1053] = new jspb.ExtensionFieldBinaryInfo(
|
||||
proto.google.api.resource,
|
||||
jspb.BinaryReader.prototype.readMessage,
|
||||
jspb.BinaryWriter.prototype.writeMessage,
|
||||
proto.google.api.ResourceDescriptor.serializeBinaryToWriter,
|
||||
proto.google.api.ResourceDescriptor.deserializeBinaryFromReader,
|
||||
false);
|
||||
// This registers the extension field with the extended class, so that
|
||||
// toObject() will function correctly.
|
||||
google_protobuf_descriptor_pb.MessageOptions.extensions[1053] = proto.google.api.resource;
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
47
api/grpc-web/google/api/routing_pb.d.ts
vendored
47
api/grpc-web/google/api/routing_pb.d.ts
vendored
@ -1,47 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb';
|
||||
|
||||
|
||||
export class RoutingRule extends jspb.Message {
|
||||
getRoutingParametersList(): Array<RoutingParameter>;
|
||||
setRoutingParametersList(value: Array<RoutingParameter>): RoutingRule;
|
||||
clearRoutingParametersList(): RoutingRule;
|
||||
addRoutingParameters(value?: RoutingParameter, index?: number): RoutingParameter;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RoutingRule.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RoutingRule): RoutingRule.AsObject;
|
||||
static serializeBinaryToWriter(message: RoutingRule, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RoutingRule;
|
||||
static deserializeBinaryFromReader(message: RoutingRule, reader: jspb.BinaryReader): RoutingRule;
|
||||
}
|
||||
|
||||
export namespace RoutingRule {
|
||||
export type AsObject = {
|
||||
routingParametersList: Array<RoutingParameter.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class RoutingParameter extends jspb.Message {
|
||||
getField(): string;
|
||||
setField(value: string): RoutingParameter;
|
||||
|
||||
getPathTemplate(): string;
|
||||
setPathTemplate(value: string): RoutingParameter;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): RoutingParameter.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: RoutingParameter): RoutingParameter.AsObject;
|
||||
static serializeBinaryToWriter(message: RoutingParameter, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): RoutingParameter;
|
||||
static deserializeBinaryFromReader(message: RoutingParameter, reader: jspb.BinaryReader): RoutingParameter;
|
||||
}
|
||||
|
||||
export namespace RoutingParameter {
|
||||
export type AsObject = {
|
||||
field: string,
|
||||
pathTemplate: string,
|
||||
}
|
||||
}
|
||||
|
407
api/grpc-web/google/api/routing_pb.js
vendored
407
api/grpc-web/google/api/routing_pb.js
vendored
@ -1,407 +0,0 @@
|
||||
// source: google/api/routing.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.RoutingParameter', null, global);
|
||||
goog.exportSymbol('proto.google.api.RoutingRule', null, global);
|
||||
goog.exportSymbol('proto.google.api.routing', 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.RoutingRule = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.RoutingRule.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.RoutingRule, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.RoutingRule.displayName = 'proto.google.api.RoutingRule';
|
||||
}
|
||||
/**
|
||||
* 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.RoutingParameter = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.RoutingParameter, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.RoutingParameter.displayName = 'proto.google.api.RoutingParameter';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.RoutingRule.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.RoutingRule.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.RoutingRule.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.RoutingRule} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.RoutingRule.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
routingParametersList: jspb.Message.toObjectList(msg.getRoutingParametersList(),
|
||||
proto.google.api.RoutingParameter.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.RoutingRule}
|
||||
*/
|
||||
proto.google.api.RoutingRule.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.RoutingRule;
|
||||
return proto.google.api.RoutingRule.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.RoutingRule} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.RoutingRule}
|
||||
*/
|
||||
proto.google.api.RoutingRule.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 2:
|
||||
var value = new proto.google.api.RoutingParameter;
|
||||
reader.readMessage(value,proto.google.api.RoutingParameter.deserializeBinaryFromReader);
|
||||
msg.addRoutingParameters(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.RoutingRule.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.RoutingRule.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.RoutingRule} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.RoutingRule.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getRoutingParametersList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
2,
|
||||
f,
|
||||
proto.google.api.RoutingParameter.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated RoutingParameter routing_parameters = 2;
|
||||
* @return {!Array<!proto.google.api.RoutingParameter>}
|
||||
*/
|
||||
proto.google.api.RoutingRule.prototype.getRoutingParametersList = function() {
|
||||
return /** @type{!Array<!proto.google.api.RoutingParameter>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, proto.google.api.RoutingParameter, 2));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.api.RoutingParameter>} value
|
||||
* @return {!proto.google.api.RoutingRule} returns this
|
||||
*/
|
||||
proto.google.api.RoutingRule.prototype.setRoutingParametersList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.api.RoutingParameter=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.api.RoutingParameter}
|
||||
*/
|
||||
proto.google.api.RoutingRule.prototype.addRoutingParameters = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.api.RoutingParameter, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.RoutingRule} returns this
|
||||
*/
|
||||
proto.google.api.RoutingRule.prototype.clearRoutingParametersList = function() {
|
||||
return this.setRoutingParametersList([]);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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.RoutingParameter.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.RoutingParameter.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.RoutingParameter} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.RoutingParameter.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
field: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
pathTemplate: 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.RoutingParameter}
|
||||
*/
|
||||
proto.google.api.RoutingParameter.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.RoutingParameter;
|
||||
return proto.google.api.RoutingParameter.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.RoutingParameter} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.RoutingParameter}
|
||||
*/
|
||||
proto.google.api.RoutingParameter.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.setField(value);
|
||||
break;
|
||||
case 2:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setPathTemplate(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.RoutingParameter.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.RoutingParameter.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.RoutingParameter} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.RoutingParameter.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getField();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
1,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getPathTemplate();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
2,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string field = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.RoutingParameter.prototype.getField = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.RoutingParameter} returns this
|
||||
*/
|
||||
proto.google.api.RoutingParameter.prototype.setField = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string path_template = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.google.api.RoutingParameter.prototype.getPathTemplate = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.google.api.RoutingParameter} returns this
|
||||
*/
|
||||
proto.google.api.RoutingParameter.prototype.setPathTemplate = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* A tuple of {field number, class constructor} for the extension
|
||||
* field named `routing`.
|
||||
* @type {!jspb.ExtensionFieldInfo<!proto.google.api.RoutingRule>}
|
||||
*/
|
||||
proto.google.api.routing = new jspb.ExtensionFieldInfo(
|
||||
72295729,
|
||||
{routing: 0},
|
||||
proto.google.api.RoutingRule,
|
||||
/** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
|
||||
proto.google.api.RoutingRule.toObject),
|
||||
0);
|
||||
|
||||
google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295729] = new jspb.ExtensionFieldBinaryInfo(
|
||||
proto.google.api.routing,
|
||||
jspb.BinaryReader.prototype.readMessage,
|
||||
jspb.BinaryWriter.prototype.writeMessage,
|
||||
proto.google.api.RoutingRule.serializeBinaryToWriter,
|
||||
proto.google.api.RoutingRule.deserializeBinaryFromReader,
|
||||
false);
|
||||
// This registers the extension field with the extended class, so that
|
||||
// toObject() will function correctly.
|
||||
google_protobuf_descriptor_pb.MethodOptions.extensions[72295729] = proto.google.api.routing;
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
187
api/grpc-web/google/api/service_pb.d.ts
vendored
187
api/grpc-web/google/api/service_pb.d.ts
vendored
@ -1,187 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
import * as google_api_auth_pb from '../../google/api/auth_pb';
|
||||
import * as google_api_backend_pb from '../../google/api/backend_pb';
|
||||
import * as google_api_billing_pb from '../../google/api/billing_pb';
|
||||
import * as google_api_client_pb from '../../google/api/client_pb';
|
||||
import * as google_api_context_pb from '../../google/api/context_pb';
|
||||
import * as google_api_control_pb from '../../google/api/control_pb';
|
||||
import * as google_api_documentation_pb from '../../google/api/documentation_pb';
|
||||
import * as google_api_endpoint_pb from '../../google/api/endpoint_pb';
|
||||
import * as google_api_http_pb from '../../google/api/http_pb';
|
||||
import * as google_api_log_pb from '../../google/api/log_pb';
|
||||
import * as google_api_logging_pb from '../../google/api/logging_pb';
|
||||
import * as google_api_metric_pb from '../../google/api/metric_pb';
|
||||
import * as google_api_monitored_resource_pb from '../../google/api/monitored_resource_pb';
|
||||
import * as google_api_monitoring_pb from '../../google/api/monitoring_pb';
|
||||
import * as google_api_quota_pb from '../../google/api/quota_pb';
|
||||
import * as google_api_source_info_pb from '../../google/api/source_info_pb';
|
||||
import * as google_api_system_parameter_pb from '../../google/api/system_parameter_pb';
|
||||
import * as google_api_usage_pb from '../../google/api/usage_pb';
|
||||
import * as google_protobuf_api_pb from 'google-protobuf/google/protobuf/api_pb';
|
||||
import * as google_protobuf_type_pb from 'google-protobuf/google/protobuf/type_pb';
|
||||
import * as google_protobuf_wrappers_pb from 'google-protobuf/google/protobuf/wrappers_pb';
|
||||
|
||||
|
||||
export class Service extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): Service;
|
||||
|
||||
getTitle(): string;
|
||||
setTitle(value: string): Service;
|
||||
|
||||
getProducerProjectId(): string;
|
||||
setProducerProjectId(value: string): Service;
|
||||
|
||||
getId(): string;
|
||||
setId(value: string): Service;
|
||||
|
||||
getApisList(): Array<google_protobuf_api_pb.Api>;
|
||||
setApisList(value: Array<google_protobuf_api_pb.Api>): Service;
|
||||
clearApisList(): Service;
|
||||
addApis(value?: google_protobuf_api_pb.Api, index?: number): google_protobuf_api_pb.Api;
|
||||
|
||||
getTypesList(): Array<google_protobuf_type_pb.Type>;
|
||||
setTypesList(value: Array<google_protobuf_type_pb.Type>): Service;
|
||||
clearTypesList(): Service;
|
||||
addTypes(value?: google_protobuf_type_pb.Type, index?: number): google_protobuf_type_pb.Type;
|
||||
|
||||
getEnumsList(): Array<google_protobuf_type_pb.Enum>;
|
||||
setEnumsList(value: Array<google_protobuf_type_pb.Enum>): Service;
|
||||
clearEnumsList(): Service;
|
||||
addEnums(value?: google_protobuf_type_pb.Enum, index?: number): google_protobuf_type_pb.Enum;
|
||||
|
||||
getDocumentation(): google_api_documentation_pb.Documentation | undefined;
|
||||
setDocumentation(value?: google_api_documentation_pb.Documentation): Service;
|
||||
hasDocumentation(): boolean;
|
||||
clearDocumentation(): Service;
|
||||
|
||||
getBackend(): google_api_backend_pb.Backend | undefined;
|
||||
setBackend(value?: google_api_backend_pb.Backend): Service;
|
||||
hasBackend(): boolean;
|
||||
clearBackend(): Service;
|
||||
|
||||
getHttp(): google_api_http_pb.Http | undefined;
|
||||
setHttp(value?: google_api_http_pb.Http): Service;
|
||||
hasHttp(): boolean;
|
||||
clearHttp(): Service;
|
||||
|
||||
getQuota(): google_api_quota_pb.Quota | undefined;
|
||||
setQuota(value?: google_api_quota_pb.Quota): Service;
|
||||
hasQuota(): boolean;
|
||||
clearQuota(): Service;
|
||||
|
||||
getAuthentication(): google_api_auth_pb.Authentication | undefined;
|
||||
setAuthentication(value?: google_api_auth_pb.Authentication): Service;
|
||||
hasAuthentication(): boolean;
|
||||
clearAuthentication(): Service;
|
||||
|
||||
getContext(): google_api_context_pb.Context | undefined;
|
||||
setContext(value?: google_api_context_pb.Context): Service;
|
||||
hasContext(): boolean;
|
||||
clearContext(): Service;
|
||||
|
||||
getUsage(): google_api_usage_pb.Usage | undefined;
|
||||
setUsage(value?: google_api_usage_pb.Usage): Service;
|
||||
hasUsage(): boolean;
|
||||
clearUsage(): Service;
|
||||
|
||||
getEndpointsList(): Array<google_api_endpoint_pb.Endpoint>;
|
||||
setEndpointsList(value: Array<google_api_endpoint_pb.Endpoint>): Service;
|
||||
clearEndpointsList(): Service;
|
||||
addEndpoints(value?: google_api_endpoint_pb.Endpoint, index?: number): google_api_endpoint_pb.Endpoint;
|
||||
|
||||
getControl(): google_api_control_pb.Control | undefined;
|
||||
setControl(value?: google_api_control_pb.Control): Service;
|
||||
hasControl(): boolean;
|
||||
clearControl(): Service;
|
||||
|
||||
getLogsList(): Array<google_api_log_pb.LogDescriptor>;
|
||||
setLogsList(value: Array<google_api_log_pb.LogDescriptor>): Service;
|
||||
clearLogsList(): Service;
|
||||
addLogs(value?: google_api_log_pb.LogDescriptor, index?: number): google_api_log_pb.LogDescriptor;
|
||||
|
||||
getMetricsList(): Array<google_api_metric_pb.MetricDescriptor>;
|
||||
setMetricsList(value: Array<google_api_metric_pb.MetricDescriptor>): Service;
|
||||
clearMetricsList(): Service;
|
||||
addMetrics(value?: google_api_metric_pb.MetricDescriptor, index?: number): google_api_metric_pb.MetricDescriptor;
|
||||
|
||||
getMonitoredResourcesList(): Array<google_api_monitored_resource_pb.MonitoredResourceDescriptor>;
|
||||
setMonitoredResourcesList(value: Array<google_api_monitored_resource_pb.MonitoredResourceDescriptor>): Service;
|
||||
clearMonitoredResourcesList(): Service;
|
||||
addMonitoredResources(value?: google_api_monitored_resource_pb.MonitoredResourceDescriptor, index?: number): google_api_monitored_resource_pb.MonitoredResourceDescriptor;
|
||||
|
||||
getBilling(): google_api_billing_pb.Billing | undefined;
|
||||
setBilling(value?: google_api_billing_pb.Billing): Service;
|
||||
hasBilling(): boolean;
|
||||
clearBilling(): Service;
|
||||
|
||||
getLogging(): google_api_logging_pb.Logging | undefined;
|
||||
setLogging(value?: google_api_logging_pb.Logging): Service;
|
||||
hasLogging(): boolean;
|
||||
clearLogging(): Service;
|
||||
|
||||
getMonitoring(): google_api_monitoring_pb.Monitoring | undefined;
|
||||
setMonitoring(value?: google_api_monitoring_pb.Monitoring): Service;
|
||||
hasMonitoring(): boolean;
|
||||
clearMonitoring(): Service;
|
||||
|
||||
getSystemParameters(): google_api_system_parameter_pb.SystemParameters | undefined;
|
||||
setSystemParameters(value?: google_api_system_parameter_pb.SystemParameters): Service;
|
||||
hasSystemParameters(): boolean;
|
||||
clearSystemParameters(): Service;
|
||||
|
||||
getSourceInfo(): google_api_source_info_pb.SourceInfo | undefined;
|
||||
setSourceInfo(value?: google_api_source_info_pb.SourceInfo): Service;
|
||||
hasSourceInfo(): boolean;
|
||||
clearSourceInfo(): Service;
|
||||
|
||||
getPublishing(): google_api_client_pb.Publishing | undefined;
|
||||
setPublishing(value?: google_api_client_pb.Publishing): Service;
|
||||
hasPublishing(): boolean;
|
||||
clearPublishing(): Service;
|
||||
|
||||
getConfigVersion(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
||||
setConfigVersion(value?: google_protobuf_wrappers_pb.UInt32Value): Service;
|
||||
hasConfigVersion(): boolean;
|
||||
clearConfigVersion(): Service;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Service.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: Service): Service.AsObject;
|
||||
static serializeBinaryToWriter(message: Service, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): Service;
|
||||
static deserializeBinaryFromReader(message: Service, reader: jspb.BinaryReader): Service;
|
||||
}
|
||||
|
||||
export namespace Service {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
title: string,
|
||||
producerProjectId: string,
|
||||
id: string,
|
||||
apisList: Array<google_protobuf_api_pb.Api.AsObject>,
|
||||
typesList: Array<google_protobuf_type_pb.Type.AsObject>,
|
||||
enumsList: Array<google_protobuf_type_pb.Enum.AsObject>,
|
||||
documentation?: google_api_documentation_pb.Documentation.AsObject,
|
||||
backend?: google_api_backend_pb.Backend.AsObject,
|
||||
http?: google_api_http_pb.Http.AsObject,
|
||||
quota?: google_api_quota_pb.Quota.AsObject,
|
||||
authentication?: google_api_auth_pb.Authentication.AsObject,
|
||||
context?: google_api_context_pb.Context.AsObject,
|
||||
usage?: google_api_usage_pb.Usage.AsObject,
|
||||
endpointsList: Array<google_api_endpoint_pb.Endpoint.AsObject>,
|
||||
control?: google_api_control_pb.Control.AsObject,
|
||||
logsList: Array<google_api_log_pb.LogDescriptor.AsObject>,
|
||||
metricsList: Array<google_api_metric_pb.MetricDescriptor.AsObject>,
|
||||
monitoredResourcesList: Array<google_api_monitored_resource_pb.MonitoredResourceDescriptor.AsObject>,
|
||||
billing?: google_api_billing_pb.Billing.AsObject,
|
||||
logging?: google_api_logging_pb.Logging.AsObject,
|
||||
monitoring?: google_api_monitoring_pb.Monitoring.AsObject,
|
||||
systemParameters?: google_api_system_parameter_pb.SystemParameters.AsObject,
|
||||
sourceInfo?: google_api_source_info_pb.SourceInfo.AsObject,
|
||||
publishing?: google_api_client_pb.Publishing.AsObject,
|
||||
configVersion?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
||||
}
|
||||
}
|
||||
|
1442
api/grpc-web/google/api/service_pb.js
vendored
1442
api/grpc-web/google/api/service_pb.js
vendored
File diff suppressed because it is too large
Load Diff
25
api/grpc-web/google/api/source_info_pb.d.ts
vendored
25
api/grpc-web/google/api/source_info_pb.d.ts
vendored
@ -1,25 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
import * as google_protobuf_any_pb from 'google-protobuf/google/protobuf/any_pb';
|
||||
|
||||
|
||||
export class SourceInfo extends jspb.Message {
|
||||
getSourceFilesList(): Array<google_protobuf_any_pb.Any>;
|
||||
setSourceFilesList(value: Array<google_protobuf_any_pb.Any>): SourceInfo;
|
||||
clearSourceFilesList(): SourceInfo;
|
||||
addSourceFiles(value?: google_protobuf_any_pb.Any, index?: number): google_protobuf_any_pb.Any;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): SourceInfo.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: SourceInfo): SourceInfo.AsObject;
|
||||
static serializeBinaryToWriter(message: SourceInfo, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): SourceInfo;
|
||||
static deserializeBinaryFromReader(message: SourceInfo, reader: jspb.BinaryReader): SourceInfo;
|
||||
}
|
||||
|
||||
export namespace SourceInfo {
|
||||
export type AsObject = {
|
||||
sourceFilesList: Array<google_protobuf_any_pb.Any.AsObject>,
|
||||
}
|
||||
}
|
||||
|
199
api/grpc-web/google/api/source_info_pb.js
vendored
199
api/grpc-web/google/api/source_info_pb.js
vendored
@ -1,199 +0,0 @@
|
||||
// source: google/api/source_info.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.SourceInfo', 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.SourceInfo = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.SourceInfo.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.google.api.SourceInfo, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.google.api.SourceInfo.displayName = 'proto.google.api.SourceInfo';
|
||||
}
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.google.api.SourceInfo.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.SourceInfo.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.google.api.SourceInfo.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.SourceInfo} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.SourceInfo.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
sourceFilesList: jspb.Message.toObjectList(msg.getSourceFilesList(),
|
||||
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.SourceInfo}
|
||||
*/
|
||||
proto.google.api.SourceInfo.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.google.api.SourceInfo;
|
||||
return proto.google.api.SourceInfo.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.google.api.SourceInfo} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.google.api.SourceInfo}
|
||||
*/
|
||||
proto.google.api.SourceInfo.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
}
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new google_protobuf_any_pb.Any;
|
||||
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
||||
msg.addSourceFiles(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.google.api.SourceInfo.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.google.api.SourceInfo.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.SourceInfo} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.google.api.SourceInfo.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getSourceFilesList();
|
||||
if (f.length > 0) {
|
||||
writer.writeRepeatedMessage(
|
||||
1,
|
||||
f,
|
||||
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* repeated google.protobuf.Any source_files = 1;
|
||||
* @return {!Array<!proto.google.protobuf.Any>}
|
||||
*/
|
||||
proto.google.api.SourceInfo.prototype.getSourceFilesList = function() {
|
||||
return /** @type{!Array<!proto.google.protobuf.Any>} */ (
|
||||
jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<!proto.google.protobuf.Any>} value
|
||||
* @return {!proto.google.api.SourceInfo} returns this
|
||||
*/
|
||||
proto.google.api.SourceInfo.prototype.setSourceFilesList = function(value) {
|
||||
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!proto.google.protobuf.Any=} opt_value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.google.protobuf.Any}
|
||||
*/
|
||||
proto.google.api.SourceInfo.prototype.addSourceFiles = function(opt_value, opt_index) {
|
||||
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.protobuf.Any, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.google.api.SourceInfo} returns this
|
||||
*/
|
||||
proto.google.api.SourceInfo.prototype.clearSourceFilesList = function() {
|
||||
return this.setSourceFilesList([]);
|
||||
};
|
||||
|
||||
|
||||
goog.object.extend(exports, proto.google.api);
|
74
api/grpc-web/google/api/system_parameter_pb.d.ts
vendored
74
api/grpc-web/google/api/system_parameter_pb.d.ts
vendored
@ -1,74 +0,0 @@
|
||||
import * as jspb from 'google-protobuf'
|
||||
|
||||
|
||||
|
||||
export class SystemParameters extends jspb.Message {
|
||||
getRulesList(): Array<SystemParameterRule>;
|
||||
setRulesList(value: Array<SystemParameterRule>): SystemParameters;
|
||||
clearRulesList(): SystemParameters;
|
||||
addRules(value?: SystemParameterRule, index?: number): SystemParameterRule;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): SystemParameters.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: SystemParameters): SystemParameters.AsObject;
|
||||
static serializeBinaryToWriter(message: SystemParameters, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): SystemParameters;
|
||||
static deserializeBinaryFromReader(message: SystemParameters, reader: jspb.BinaryReader): SystemParameters;
|
||||
}
|
||||
|
||||
export namespace SystemParameters {
|
||||
export type AsObject = {
|
||||
rulesList: Array<SystemParameterRule.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class SystemParameterRule extends jspb.Message {
|
||||
getSelector(): string;
|
||||
setSelector(value: string): SystemParameterRule;
|
||||
|
||||
getParametersList(): Array<SystemParameter>;
|
||||
setParametersList(value: Array<SystemParameter>): SystemParameterRule;
|
||||
clearParametersList(): SystemParameterRule;
|
||||
addParameters(value?: SystemParameter, index?: number): SystemParameter;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): SystemParameterRule.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: SystemParameterRule): SystemParameterRule.AsObject;
|
||||
static serializeBinaryToWriter(message: SystemParameterRule, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): SystemParameterRule;
|
||||
static deserializeBinaryFromReader(message: SystemParameterRule, reader: jspb.BinaryReader): SystemParameterRule;
|
||||
}
|
||||
|
||||
export namespace SystemParameterRule {
|
||||
export type AsObject = {
|
||||
selector: string,
|
||||
parametersList: Array<SystemParameter.AsObject>,
|
||||
}
|
||||
}
|
||||
|
||||
export class SystemParameter extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): SystemParameter;
|
||||
|
||||
getHttpHeader(): string;
|
||||
setHttpHeader(value: string): SystemParameter;
|
||||
|
||||
getUrlQueryParameter(): string;
|
||||
setUrlQueryParameter(value: string): SystemParameter;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): SystemParameter.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: SystemParameter): SystemParameter.AsObject;
|
||||
static serializeBinaryToWriter(message: SystemParameter, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): SystemParameter;
|
||||
static deserializeBinaryFromReader(message: SystemParameter, reader: jspb.BinaryReader): SystemParameter;
|
||||
}
|
||||
|
||||
export namespace SystemParameter {
|
||||
export type AsObject = {
|
||||
name: string,
|
||||
httpHeader: string,
|
||||
urlQueryParameter: string,
|
||||
}
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user