You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2022/04/10 21:03:26 UTC

[airavata-mft] branch master updated: Adding missing google protobuf files

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-mft.git


The following commit(s) were added to refs/heads/master by this push:
     new 079306f  Adding missing google protobuf files
079306f is described below

commit 079306f6b7662c60d434165b4ba40c2cf007b646
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Sun Apr 10 17:03:19 2022 -0400

    Adding missing google protobuf files
---
 python-sdk/setup.cfg                               |  3 +-
 .../airavata_mft_sdk/google/api/annotations_pb2.py |  6 +--
 .../src/airavata_mft_sdk/google/api/http_pb2.py    |  2 +-
 .../airavata_mft_sdk/google/protobuf/__init__.py   |  0
 .../airavata_mft_sdk/google/protobuf/empty.proto   | 51 ++++++++++++++++++++++
 .../airavata_mft_sdk/google/protobuf/empty_pb2.py  | 35 +++++++++++++++
 6 files changed, 92 insertions(+), 5 deletions(-)

diff --git a/python-sdk/setup.cfg b/python-sdk/setup.cfg
index fa00a42..5ee51e0 100644
--- a/python-sdk/setup.cfg
+++ b/python-sdk/setup.cfg
@@ -1,6 +1,6 @@
 [metadata]
 name = airavata_mft_sdk
-version = 0.0.1-alpha2
+version = 0.0.1-alpha5
 author = Airavata MFT Developers
 author_email = dev@airavata.apache.org
 description = Python SDK for Apache Airavata Managed File Transfers (MFT)
@@ -21,6 +21,7 @@ python_requires = >=3.6
 install_requires=
     grpcio>='1.44.0'
     grpcio-tools>='1.44.0'
+    google-api-python-client>='2.0.0'
 
 [options.packages.find]
 where = src
\ No newline at end of file
diff --git a/python-sdk/src/airavata_mft_sdk/google/api/annotations_pb2.py b/python-sdk/src/airavata_mft_sdk/google/api/annotations_pb2.py
index 6693754..c7e1a0f 100644
--- a/python-sdk/src/airavata_mft_sdk/google/api/annotations_pb2.py
+++ b/python-sdk/src/airavata_mft_sdk/google/api/annotations_pb2.py
@@ -7,14 +7,14 @@ from google.protobuf import descriptor as _descriptor
 from google.protobuf import message as _message
 from google.protobuf import reflection as _reflection
 from google.protobuf import symbol_database as _symbol_database
-from airavata_mft_sdk.google.protobuf import descriptor_pb2
+from google.protobuf import descriptor_pb2
 # @@protoc_insertion_point(imports)
 
 _sym_db = _symbol_database.Default()
 
 
-from airavata_mft_sdk.google.api import http_pb2 as google_dot_api_dot_http__pb2
-from airavata_mft_sdk.google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
+from google.api import http_pb2 as google_dot_api_dot_http__pb2
+from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
 
 
 DESCRIPTOR = _descriptor.FileDescriptor(
diff --git a/python-sdk/src/airavata_mft_sdk/google/api/http_pb2.py b/python-sdk/src/airavata_mft_sdk/google/api/http_pb2.py
index 4047dac..a5c2bf4 100644
--- a/python-sdk/src/airavata_mft_sdk/google/api/http_pb2.py
+++ b/python-sdk/src/airavata_mft_sdk/google/api/http_pb2.py
@@ -7,7 +7,7 @@ from google.protobuf import descriptor as _descriptor
 from google.protobuf import message as _message
 from google.protobuf import reflection as _reflection
 from google.protobuf import symbol_database as _symbol_database
-from airavata_mft_sdk.google.protobuf import descriptor_pb2
+from google.protobuf import descriptor_pb2
 # @@protoc_insertion_point(imports)
 
 _sym_db = _symbol_database.Default()
diff --git a/python-sdk/src/airavata_mft_sdk/google/protobuf/__init__.py b/python-sdk/src/airavata_mft_sdk/google/protobuf/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/python-sdk/src/airavata_mft_sdk/google/protobuf/empty.proto b/python-sdk/src/airavata_mft_sdk/google/protobuf/empty.proto
new file mode 100644
index 0000000..0ada0f6
--- /dev/null
+++ b/python-sdk/src/airavata_mft_sdk/google/protobuf/empty.proto
@@ -0,0 +1,51 @@
+// Protocol Buffers - Google's data interchange format
+// Copyright 2008 Google Inc.  All rights reserved.
+// https://developers.google.com/protocol-buffers/
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+//     * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+//     * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+//     * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+syntax = "proto3";
+
+package google.protobuf;
+
+option csharp_namespace = "Google.Protobuf.WellKnownTypes";
+option go_package = "google.golang.org/protobuf/types/known/emptypb";
+option java_package = "com.google.protobuf";
+option java_outer_classname = "EmptyProto";
+option java_multiple_files = true;
+option objc_class_prefix = "GPB";
+option cc_enable_arenas = true;
+
+// A generic empty message that you can re-use to avoid defining duplicated
+// empty messages in your APIs. A typical example is to use it as the request
+// or the response type of an API method. For instance:
+//
+//     service Foo {
+//       rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
+//     }
+//
+message Empty {}
\ No newline at end of file
diff --git a/python-sdk/src/airavata_mft_sdk/google/protobuf/empty_pb2.py b/python-sdk/src/airavata_mft_sdk/google/protobuf/empty_pb2.py
new file mode 100644
index 0000000..90c1ec6
--- /dev/null
+++ b/python-sdk/src/airavata_mft_sdk/google/protobuf/empty_pb2.py
@@ -0,0 +1,35 @@
+# -*- coding: utf-8 -*-
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: empty.proto
+"""Generated protocol buffer code."""
+from google.protobuf import descriptor as _descriptor
+from google.protobuf import descriptor_pool as _descriptor_pool
+from google.protobuf import message as _message
+from google.protobuf import reflection as _reflection
+from google.protobuf import symbol_database as _symbol_database
+# @@protoc_insertion_point(imports)
+
+_sym_db = _symbol_database.Default()
+
+
+
+
+DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0b\x65mpty.proto\x12\x0fgoogle.protobuf\"\x07\n\x05\x45mptyB}\n\x13\x63om.google.protobufB\nEmptyProtoP\x01Z.google.golang.org/protobuf/types/known/emptypb\xf8\x01\x01\xa2\x02\x03GPB\xaa\x02\x1eGoogle.Protobuf.WellKnownTypesb\x06proto3')
+
+
+
+_EMPTY = DESCRIPTOR.message_types_by_name['Empty']
+Empty = _reflection.GeneratedProtocolMessageType('Empty', (_message.Message,), {
+  'DESCRIPTOR' : _EMPTY,
+  '__module__' : 'empty_pb2'
+  # @@protoc_insertion_point(class_scope:google.protobuf.Empty)
+  })
+_sym_db.RegisterMessage(Empty)
+
+if _descriptor._USE_C_DESCRIPTORS == False:
+
+  DESCRIPTOR._options = None
+  DESCRIPTOR._serialized_options = b'\n\023com.google.protobufB\nEmptyProtoP\001Z.google.golang.org/protobuf/types/known/emptypb\370\001\001\242\002\003GPB\252\002\036Google.Protobuf.WellKnownTypes'
+  _EMPTY._serialized_start=32
+  _EMPTY._serialized_end=39
+# @@protoc_insertion_point(module_scope)