VOL-3978 - update to go 1.16
- upgraded to latest build tools that support 1.16
- specified Java source and target versions
- converted test/pom.xml to unix file format from dos
Change-Id: If2dece3a22bd247e8df8cccaac9860be8dbbe4cf
diff --git a/go/voltha/health.pb.go b/go/voltha/health.pb.go
index 2c8c75b..4bde873 100644
--- a/go/voltha/health.pb.go
+++ b/go/voltha/health.pb.go
@@ -11,6 +11,8 @@
_ "github.com/opencord/voltha-protos/v4/go/common"
_ "google.golang.org/genproto/googleapis/api/annotations"
grpc "google.golang.org/grpc"
+ codes "google.golang.org/grpc/codes"
+ status "google.golang.org/grpc/status"
math "math"
)
@@ -164,6 +166,14 @@
GetHealthStatus(context.Context, *empty.Empty) (*HealthStatus, error)
}
+// UnimplementedHealthServiceServer can be embedded to have forward compatible implementations.
+type UnimplementedHealthServiceServer struct {
+}
+
+func (*UnimplementedHealthServiceServer) GetHealthStatus(ctx context.Context, req *empty.Empty) (*HealthStatus, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetHealthStatus not implemented")
+}
+
func RegisterHealthServiceServer(s *grpc.Server, srv HealthServiceServer) {
s.RegisterService(&_HealthService_serviceDesc, srv)
}