Skip to content
compute_pb2.py 4.32 KiB
Newer Older
Ricard Vilalta's avatar
Ricard Vilalta committed
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: compute.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()


from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
import context_pb2 as context__pb2
import service_pb2 as service__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='compute.proto',
  package='compute',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n\rcompute.proto\x12\x07\x63ompute\x1a\x1bgoogle/protobuf/empty.proto\x1a\rcontext.proto\x1a\rservice.proto2\xb9\x04\n\x0e\x43omputeService\x12Q\n\x11\x63heck_credentials\x12\x1b.context.TeraFlowController\x1a\x1d.context.AuthenticationResult\"\x00\x12N\n\x1fget_connectivity_service_status\x12\x12.service.ServiceId\x1a\x15.service.ServiceState\"\x00\x12\x45\n\x1b\x63reate_connectivity_service\x12\x10.service.Service\x1a\x12.service.ServiceId\"\x00\x12\x43\n\x19\x65\x64it_connectivity_service\x12\x10.service.Service\x1a\x12.service.ServiceId\"\x00\x12I\n\x1b\x64\x65lete_connectivity_service\x12\x10.service.Service\x1a\x16.google.protobuf.Empty\"\x00\x12X\n$get_all_active_connectivity_services\x12\x16.google.protobuf.Empty\x1a\x16.service.ServiceIdList\"\x00\x12S\n\x1f\x63lear_all_connectivity_services\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x00\x62\x06proto3')
  ,
  dependencies=[google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,context__pb2.DESCRIPTOR,service__pb2.DESCRIPTOR,])



_sym_db.RegisterFileDescriptor(DESCRIPTOR)



_COMPUTESERVICE = _descriptor.ServiceDescriptor(
  name='ComputeService',
  full_name='compute.ComputeService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  serialized_start=86,
  serialized_end=655,
  methods=[
  _descriptor.MethodDescriptor(
    name='check_credentials',
    full_name='compute.ComputeService.check_credentials',
    index=0,
    containing_service=None,
    input_type=context__pb2._TERAFLOWCONTROLLER,
    output_type=context__pb2._AUTHENTICATIONRESULT,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='get_connectivity_service_status',
    full_name='compute.ComputeService.get_connectivity_service_status',
    index=1,
    containing_service=None,
    input_type=service__pb2._SERVICEID,
    output_type=service__pb2._SERVICESTATE,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='create_connectivity_service',
    full_name='compute.ComputeService.create_connectivity_service',
    index=2,
    containing_service=None,
    input_type=service__pb2._SERVICE,
    output_type=service__pb2._SERVICEID,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='edit_connectivity_service',
    full_name='compute.ComputeService.edit_connectivity_service',
    index=3,
    containing_service=None,
    input_type=service__pb2._SERVICE,
    output_type=service__pb2._SERVICEID,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='delete_connectivity_service',
    full_name='compute.ComputeService.delete_connectivity_service',
    index=4,
    containing_service=None,
    input_type=service__pb2._SERVICE,
    output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='get_all_active_connectivity_services',
    full_name='compute.ComputeService.get_all_active_connectivity_services',
    index=5,
    containing_service=None,
    input_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
    output_type=service__pb2._SERVICEIDLIST,
    serialized_options=None,
  ),
  _descriptor.MethodDescriptor(
    name='clear_all_connectivity_services',
    full_name='compute.ComputeService.clear_all_connectivity_services',
    index=6,
    containing_service=None,
    input_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
    output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
    serialized_options=None,
  ),
])
_sym_db.RegisterServiceDescriptor(_COMPUTESERVICE)

DESCRIPTOR.services_by_name['ComputeService'] = _COMPUTESERVICE

# @@protoc_insertion_point(module_scope)