Rename external field reference
https://aip.dev/122#fields-representing-another-resource
Also reorder file to satisfy https://aip.dev/191#file-layout
BUG=chromium:1063474
TEST=./generate.sh
Change-Id: I463b9e7c5e0daa969fb02c7cca4ac51ff1ead3af
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2111114
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Alex Zamorzaev <zamorzaev@chromium.org>
diff --git a/go/test/rtd/v1/progress.pb.go b/go/test/rtd/v1/progress.pb.go
index 0c95d54..0017067 100644
--- a/go/test/rtd/v1/progress.pb.go
+++ b/go/test/rtd/v1/progress.pb.go
@@ -64,7 +64,7 @@
}
func (Result_State) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_53459f08935e9319, []int{2, 0}
+ return fileDescriptor_53459f08935e9319, []int{1, 0}
}
// Enum entries *may* be added in the future.
@@ -103,7 +103,7 @@
}
func (Result_Error_Source) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_53459f08935e9319, []int{2, 0, 0}
+ return fileDescriptor_53459f08935e9319, []int{1, 0, 0}
}
// Enum entries *may* be added in the future.
@@ -136,7 +136,7 @@
}
func (Result_Error_Severity) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_53459f08935e9319, []int{2, 0, 1}
+ return fileDescriptor_53459f08935e9319, []int{1, 0, 1}
}
// Configuration data needed by clients of ProgressSink.
@@ -181,56 +181,6 @@
return 0
}
-type ReportResultRequest struct {
- // The request to report results for, identified by the
- // Invocation.Request.name field.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // Result to report.
- Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ReportResultRequest) Reset() { *m = ReportResultRequest{} }
-func (m *ReportResultRequest) String() string { return proto.CompactTextString(m) }
-func (*ReportResultRequest) ProtoMessage() {}
-func (*ReportResultRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_53459f08935e9319, []int{1}
-}
-
-func (m *ReportResultRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ReportResultRequest.Unmarshal(m, b)
-}
-func (m *ReportResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ReportResultRequest.Marshal(b, m, deterministic)
-}
-func (m *ReportResultRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ReportResultRequest.Merge(m, src)
-}
-func (m *ReportResultRequest) XXX_Size() int {
- return xxx_messageInfo_ReportResultRequest.Size(m)
-}
-func (m *ReportResultRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ReportResultRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ReportResultRequest proto.InternalMessageInfo
-
-func (m *ReportResultRequest) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
-}
-
-func (m *ReportResultRequest) GetResult() *Result {
- if m != nil {
- return m.Result
- }
- return nil
-}
-
// Result for a single invocation request.
type Result struct {
// Final state of the test execution.
@@ -252,7 +202,7 @@
func (m *Result) String() string { return proto.CompactTextString(m) }
func (*Result) ProtoMessage() {}
func (*Result) Descriptor() ([]byte, []int) {
- return fileDescriptor_53459f08935e9319, []int{2}
+ return fileDescriptor_53459f08935e9319, []int{1}
}
func (m *Result) XXX_Unmarshal(b []byte) error {
@@ -309,7 +259,7 @@
func (m *Result_Error) String() string { return proto.CompactTextString(m) }
func (*Result_Error) ProtoMessage() {}
func (*Result_Error) Descriptor() ([]byte, []int) {
- return fileDescriptor_53459f08935e9319, []int{2, 0}
+ return fileDescriptor_53459f08935e9319, []int{1, 0}
}
func (m *Result_Error) XXX_Unmarshal(b []byte) error {
@@ -351,6 +301,56 @@
return nil
}
+type ReportResultRequest struct {
+ // The request to report results for, identified by the
+ // Invocation.Request.name field.
+ Request string `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
+ // Result to report.
+ Result *Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *ReportResultRequest) Reset() { *m = ReportResultRequest{} }
+func (m *ReportResultRequest) String() string { return proto.CompactTextString(m) }
+func (*ReportResultRequest) ProtoMessage() {}
+func (*ReportResultRequest) Descriptor() ([]byte, []int) {
+ return fileDescriptor_53459f08935e9319, []int{2}
+}
+
+func (m *ReportResultRequest) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_ReportResultRequest.Unmarshal(m, b)
+}
+func (m *ReportResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_ReportResultRequest.Marshal(b, m, deterministic)
+}
+func (m *ReportResultRequest) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ReportResultRequest.Merge(m, src)
+}
+func (m *ReportResultRequest) XXX_Size() int {
+ return xxx_messageInfo_ReportResultRequest.Size(m)
+}
+func (m *ReportResultRequest) XXX_DiscardUnknown() {
+ xxx_messageInfo_ReportResultRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ReportResultRequest proto.InternalMessageInfo
+
+func (m *ReportResultRequest) GetRequest() string {
+ if m != nil {
+ return m.Request
+ }
+ return ""
+}
+
+func (m *ReportResultRequest) GetResult() *Result {
+ if m != nil {
+ return m.Result
+ }
+ return nil
+}
+
type ReportResultResponse struct {
// If set, the invocation should immediately terminate, skipping remaining
// requests.
@@ -393,15 +393,15 @@
}
type ReportLogRequest struct {
- // The request to report logs for, identified by the
- // Invocation.Request.name field.
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- // path of the log "file".
+ // Name of the log sink.
//
- // path may be interpreted as local file paths or parts of a URL. path must be
+ // name may be interpreted as a local file path or part of a URL. name must be
// a valid resource name per https://aip.dev/122 and must be a valid POSIX
// file path.
- Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ // The request to report logs for, identified by the
+ // Invocation.Request.name field.
+ Request string `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
// Uninterpreted chunk of log-data.
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@@ -441,9 +441,9 @@
return ""
}
-func (m *ReportLogRequest) GetPath() string {
+func (m *ReportLogRequest) GetRequest() string {
if m != nil {
- return m.Path
+ return m.Request
}
return ""
}
@@ -588,9 +588,9 @@
proto.RegisterEnum("test.rtd.v1.Result_Error_Source", Result_Error_Source_name, Result_Error_Source_value)
proto.RegisterEnum("test.rtd.v1.Result_Error_Severity", Result_Error_Severity_name, Result_Error_Severity_value)
proto.RegisterType((*ProgressSinkClientConfig)(nil), "test.rtd.v1.ProgressSinkClientConfig")
- proto.RegisterType((*ReportResultRequest)(nil), "test.rtd.v1.ReportResultRequest")
proto.RegisterType((*Result)(nil), "test.rtd.v1.Result")
proto.RegisterType((*Result_Error)(nil), "test.rtd.v1.Result.Error")
+ proto.RegisterType((*ReportResultRequest)(nil), "test.rtd.v1.ReportResultRequest")
proto.RegisterType((*ReportResultResponse)(nil), "test.rtd.v1.ReportResultResponse")
proto.RegisterType((*ReportLogRequest)(nil), "test.rtd.v1.ReportLogRequest")
proto.RegisterType((*ReportLogResponse)(nil), "test.rtd.v1.ReportLogResponse")
@@ -601,50 +601,50 @@
func init() { proto.RegisterFile("test/rtd/v1/progress.proto", fileDescriptor_53459f08935e9319) }
var fileDescriptor_53459f08935e9319 = []byte{
- // 678 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0x61, 0x6f, 0xda, 0x3c,
- 0x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, 0xda, 0xc0, 0xdf, 0x5a, 0x5d, 0x7b, 0xfa, 0x50, 0x3a, 0xe9, 0xd5, 0xc8, 0xa0, 0x2b,
+ 0xf8, 0x7f, 0xed, 0x75, 0xd0, 0xf3, 0x3b, 0x45, 0x9b, 0x3d, 0xad, 0xbd, 0x78, 0x1c, 0x4a, 0xfa,
+ 0x1f, 0xbf, 0xfb, 0xfa, 0x36, 0x60, 0xe6, 0x60, 0xcc, 0xd9, 0x34, 0x9c, 0x4f, 0x4d, 0xc6, 0x03,
+ 0x2b, 0x7d, 0x60, 0xc2, 0x0a, 0xa3, 0x11, 0xf7, 0x93, 0x6b, 0xd0, 0x0a, 0x98, 0xa5, 0xee, 0xcf,
+ 0x30, 0x5a, 0xb0, 0x81, 0x2f, 0x43, 0x16, 0x5d, 0x17, 0x54, 0xe6, 0xd5, 0x9f, 0x00, 0x00, 0x00,
+ 0xff, 0xff, 0x99, 0x04, 0x9c, 0x51, 0x59, 0x05, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/src/test/rtd/v1/progress.proto b/src/test/rtd/v1/progress.proto
index 4092e0e..4faead2 100644
--- a/src/test/rtd/v1/progress.proto
+++ b/src/test/rtd/v1/progress.proto
@@ -57,15 +57,6 @@
rpc ArchiveArtifact(ArchiveArtifactRequest) returns (ArchiveArtifactResponse);
}
-message ReportResultRequest {
- // The request to report results for, identified by the
- // Invocation.Request.name field.
- string name = 1;
-
- // Result to report.
- Result result = 2;
-}
-
// Result for a single invocation request.
message Result {
// Enum entries *may* be added to this enum in the future.
@@ -141,6 +132,15 @@
repeated Error errors = 2;
}
+message ReportResultRequest {
+ // The request to report results for, identified by the
+ // Invocation.Request.name field.
+ string request = 1;
+
+ // Result to report.
+ Result result = 2;
+}
+
message ReportResultResponse {
// If set, the invocation should immediately terminate, skipping remaining
// requests.
@@ -148,16 +148,16 @@
}
message ReportLogRequest {
- // The request to report logs for, identified by the
- // Invocation.Request.name field.
- string name = 1;
-
- // path of the log "file".
+ // Name of the log sink.
//
- // path may be interpreted as local file paths or parts of a URL. path must be
+ // name may be interpreted as a local file path or part of a URL. name must be
// a valid resource name per https://aip.dev/122 and must be a valid POSIX
// file path.
- string path = 2;
+ string name = 1;
+
+ // The request to report logs for, identified by the
+ // Invocation.Request.name field.
+ string request = 2;
// Uninterpreted chunk of log-data.
bytes data = 3;