Skip to content
compute_pb2.py 4.43 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
"""Generated protocol buffer code."""
Ricard Vilalta's avatar
Ricard Vilalta committed
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()


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,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\rcompute.proto\x12\x07\x63ompute\x1a\rcontext.proto\x1a\rservice.proto2\x99\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\x12\x41\n\x1b\x64\x65lete_connectivity_service\x12\x10.service.Service\x1a\x0e.context.Empty\"\x00\x12P\n$get_all_active_connectivity_services\x12\x0e.context.Empty\x1a\x16.service.ServiceIdList\"\x00\x12\x43\n\x1f\x63lear_all_connectivity_services\x12\x0e.context.Empty\x1a\x0e.context.Empty\"\x00\x62\x06proto3'
Ricard Vilalta's avatar
Ricard Vilalta committed
  ,
  dependencies=[context__pb2.DESCRIPTOR,service__pb2.DESCRIPTOR,])
Ricard Vilalta's avatar
Ricard Vilalta committed



_sym_db.RegisterFileDescriptor(DESCRIPTOR)



_COMPUTESERVICE = _descriptor.ServiceDescriptor(
  name='ComputeService',
  full_name='compute.ComputeService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=57,
  serialized_end=594,
Ricard Vilalta's avatar
Ricard Vilalta committed
  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,
    create_key=_descriptor._internal_create_key,
Ricard Vilalta's avatar
Ricard Vilalta committed
  ),
  _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,
    create_key=_descriptor._internal_create_key,
Ricard Vilalta's avatar
Ricard Vilalta committed
  ),
  _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,
    create_key=_descriptor._internal_create_key,
Ricard Vilalta's avatar
Ricard Vilalta committed
  ),
  _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,
    create_key=_descriptor._internal_create_key,
Ricard Vilalta's avatar
Ricard Vilalta committed
  ),
  _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=context__pb2._EMPTY,
Ricard Vilalta's avatar
Ricard Vilalta committed
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
Ricard Vilalta's avatar
Ricard Vilalta committed
  ),
  _descriptor.MethodDescriptor(
    name='get_all_active_connectivity_services',
    full_name='compute.ComputeService.get_all_active_connectivity_services',
    index=5,
    containing_service=None,
    input_type=context__pb2._EMPTY,
Ricard Vilalta's avatar
Ricard Vilalta committed
    output_type=service__pb2._SERVICEIDLIST,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
Ricard Vilalta's avatar
Ricard Vilalta committed
  ),
  _descriptor.MethodDescriptor(
    name='clear_all_connectivity_services',
    full_name='compute.ComputeService.clear_all_connectivity_services',
    index=6,
    containing_service=None,
    input_type=context__pb2._EMPTY,
    output_type=context__pb2._EMPTY,
Ricard Vilalta's avatar
Ricard Vilalta committed
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
Ricard Vilalta's avatar
Ricard Vilalta committed
  ),
])
_sym_db.RegisterServiceDescriptor(_COMPUTESERVICE)

DESCRIPTOR.services_by_name['ComputeService'] = _COMPUTESERVICE

# @@protoc_insertion_point(module_scope)