# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: needlestack/apis/data_sources.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
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
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor(
name='needlestack/apis/data_sources.proto',
package='',
syntax='proto3',
serialized_options=None,
serialized_pb=_b('\n#needlestack/apis/data_sources.proto\"p\n\nDataSource\x12-\n\x11local_data_source\x18\x01 \x01(\x0b\x32\x10.LocalDataSourceH\x00\x12)\n\x0fgcs_data_source\x18\x02 \x01(\x0b\x32\x0e.GcsDataSourceH\x00\x42\x08\n\x06source\"#\n\x0fLocalDataSource\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\"g\n\rGcsDataSource\x12\x13\n\x0b\x62ucket_name\x18\x01 \x01(\t\x12\x11\n\tblob_name\x18\x02 \x01(\t\x12\x14\n\x0cproject_name\x18\x03 \x01(\t\x12\x18\n\x10\x63redentials_file\x18\x04 \x01(\tb\x06proto3')
)
_DATASOURCE = _descriptor.Descriptor(
name='DataSource',
full_name='DataSource',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='local_data_source', full_name='DataSource.local_data_source', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='gcs_data_source', full_name='DataSource.gcs_data_source', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name='source', full_name='DataSource.source',
index=0, containing_type=None, fields=[]),
],
serialized_start=39,
serialized_end=151,
)
_LOCALDATASOURCE = _descriptor.Descriptor(
name='LocalDataSource',
full_name='LocalDataSource',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='filename', full_name='LocalDataSource.filename', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=153,
serialized_end=188,
)
_GCSDATASOURCE = _descriptor.Descriptor(
name='GcsDataSource',
full_name='GcsDataSource',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='bucket_name', full_name='GcsDataSource.bucket_name', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='blob_name', full_name='GcsDataSource.blob_name', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='project_name', full_name='GcsDataSource.project_name', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='credentials_file', full_name='GcsDataSource.credentials_file', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=190,
serialized_end=293,
)
_DATASOURCE.fields_by_name['local_data_source'].message_type = _LOCALDATASOURCE
_DATASOURCE.fields_by_name['gcs_data_source'].message_type = _GCSDATASOURCE
_DATASOURCE.oneofs_by_name['source'].fields.append(
_DATASOURCE.fields_by_name['local_data_source'])
_DATASOURCE.fields_by_name['local_data_source'].containing_oneof = _DATASOURCE.oneofs_by_name['source']
_DATASOURCE.oneofs_by_name['source'].fields.append(
_DATASOURCE.fields_by_name['gcs_data_source'])
_DATASOURCE.fields_by_name['gcs_data_source'].containing_oneof = _DATASOURCE.oneofs_by_name['source']
DESCRIPTOR.message_types_by_name['DataSource'] = _DATASOURCE
DESCRIPTOR.message_types_by_name['LocalDataSource'] = _LOCALDATASOURCE
DESCRIPTOR.message_types_by_name['GcsDataSource'] = _GCSDATASOURCE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
DataSource = _reflection.GeneratedProtocolMessageType('DataSource', (_message.Message,), {
'DESCRIPTOR' : _DATASOURCE,
'__module__' : 'needlestack.apis.data_sources_pb2'
# @@protoc_insertion_point(class_scope:DataSource)
})
_sym_db.RegisterMessage(DataSource)
LocalDataSource = _reflection.GeneratedProtocolMessageType('LocalDataSource', (_message.Message,), {
'DESCRIPTOR' : _LOCALDATASOURCE,
'__module__' : 'needlestack.apis.data_sources_pb2'
# @@protoc_insertion_point(class_scope:LocalDataSource)
})
_sym_db.RegisterMessage(LocalDataSource)
GcsDataSource = _reflection.GeneratedProtocolMessageType('GcsDataSource', (_message.Message,), {
'DESCRIPTOR' : _GCSDATASOURCE,
'__module__' : 'needlestack.apis.data_sources_pb2'
# @@protoc_insertion_point(class_scope:GcsDataSource)
})
_sym_db.RegisterMessage(GcsDataSource)
# @@protoc_insertion_point(module_scope)