Skip to content

Commit

Permalink
Merge pull request #14 from stackb/createprotopackage
Browse files Browse the repository at this point in the history
Modify signature of CreateProtoPackageRequest
  • Loading branch information
pcj committed Jun 25, 2023
2 parents 523727e + 0cea7ed commit 4d2fa79
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 95 deletions.
130 changes: 47 additions & 83 deletions build/stack/protobuf/package/v1alpha1/package.pb.go

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

15 changes: 3 additions & 12 deletions build/stack/protobuf/package/v1alpha1/package.proto
Original file line number Diff line number Diff line change
Expand Up @@ -111,21 +111,12 @@ message ProtoPackageSet {
}

message CreateProtoPackageRequest {
// The release info. For a client streaming call, this only needs to be populated on the first send.
ProtoSourceLocation root = 1;
// The compiler info. For a client streaming call, this only needs to be populated on the first send.
ProtoCompiler compiler = 2;
// prefix is the directory prefix that would be stripped to make paths in
// the descriptors relative to (e.g. 'src' for
// 'github.com/protocolbuffers/protobuf/src/google/protobuf/any.proto').
string prefix = 3;
// A list of assets. The client may decide to chunk a large list into multiple calls based on message size.
repeated ProtoAsset assets = 4;
ProtoPackage pkg = 1;
}

message GetProtoPackageRequest {
// the package operation ID
string id = 1;
// the package operation name
string operation_name = 1;
}

// Packages performs operations on packages.
Expand Down

0 comments on commit 4d2fa79

Please sign in to comment.