Skip to content

Commit

Permalink
Syncing protocol buffers (#52)
Browse files Browse the repository at this point in the history
- Syncing protocol buffers
- Adding Buf dependency for googleapis
  • Loading branch information
gi-wg2 authored Aug 22, 2024
1 parent 7d3686b commit 11ce071
Show file tree
Hide file tree
Showing 73 changed files with 2,279 additions and 2,396 deletions.
8 changes: 8 additions & 0 deletions buf.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Generated by buf. DO NOT EDIT.
version: v1
deps:
- remote: buf.build
owner: googleapis
repository: googleapis
commit: 8bc2c51e08c447cd8886cdea48a73e14
digest: shake256:a969155953a5cedc5b2df5b42c368f2bc66ff8ce1804bc96e0f14ff2ee8a893687963058909df844d1643cdbc98ff099d2daa6bc9f9f5b8886c49afdc60e19af
5 changes: 5 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
version: v1
name: buf.build/wgtwo/wgtwoapis

deps:
- buf.build/googleapis/googleapis

breaking:
use:
- FILE

lint:
use:
- DEFAULT
Binary file modified image.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions wgtwo/annotations/annotations.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions wgtwo/callforward/v0/callforward.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions wgtwo/callforward/v0/callforward.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 Working Group Two AS
// Copyright 2020 [Working Group Two]/[Cisco Systems]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -102,4 +102,3 @@ message CallForwardingResponse {

string error_message = 2;
}

39 changes: 27 additions & 12 deletions wgtwo/callforward/v0/callforward_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 13 additions & 6 deletions wgtwo/common/v0/errors.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion wgtwo/common/v0/errors.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Working Group Two AS
// Copyright 2021 [Working Group Two]/[Cisco Systems]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -21,10 +21,17 @@ option go_package = "github.com/working-group-two/wgtwoapis/wgtwo/common/v0";
option java_package = "com.wgtwo.api.v0.common";
option java_outer_classname = "ErrorsProto";

// Shared status codes
enum StatusCode {
// Unspecified/default status code; do not use.
STATUS_CODE_UNSPECIFIED = 0;
// Success.
STATUS_CODE_OK = 1;
// The request is not acceptable.
STATUS_CODE_NOT_ACCEPTABLE = 2;
// Access denied. The request is not authorized; the access token may not have the necessary scopes or targeting the
// wrong resource.
STATUS_CODE_ACCESS_DENIED = 3;
// Internal error. The request could not be processed due to an error on the server side.
STATUS_CODE_INTERNAL_ERROR = 4;
}
Loading

0 comments on commit 11ce071

Please sign in to comment.