class_docstr: Descriptor for a service.
  
  Attributes:
    name (str): Name of the service.
    full_name (str): Full name of the service, including package name.
    index (int): 0-indexed index giving the order that this services
      definition appears within the .proto file.
    methods (list[MethodDescriptor]): List of methods provided by this
      service.
    methods_by_name (dict(str, MethodDescriptor)): Same
      :class:`MethodDescriptor` objects as in :attr:`methods_by_name`, but
      indexed by "name" attribute in each :class:`MethodDescriptor`.
    options (descriptor_pb2.ServiceOptions): Service options message or
      None to use default service options.
    file (FileDescriptor): Reference to file info.
class_docstr_tok: ["Descriptor","for","a","service",".","Attributes",":","name","(","str",")",":","Name","of","the","service",".","full_name","(","str",")",":","Full","name","of","the","service",",","including","package","name",".","index","(","int",")",":","0-indexed","index","giving","the","order","that","this","services","definition","appears","within","the",".proto","file",".","methods","(","list","[","MethodDescriptor","]",")",":","List","of","methods","provided","by","this","service",".","methods_by_name","(","dict","(","str",",","MethodDescriptor",")",")",":","Same",":","class",":","`","MethodDescriptor","`","objects","as","in",":","attr",":","`","methods_by_name","`",",","but","indexed","by","``","name","''","attribute","in","each",":","class",":","`","MethodDescriptor","`",".","options","(","descriptor_pb2.ServiceOptions",")",":","Service","options","message","or","None","to","use","default","service","options",".","file","(","FileDescriptor",")",":","Reference","to","file","info","."]
docstr: Copies this to a descriptor_pb2.ServiceDescriptorProto.
  
  Args:
    proto (descriptor_pb2.ServiceDescriptorProto): An empty descriptor proto.
code: def CopyToProto(self, proto):
      """Copies this to a descriptor_pb2.ServiceDescriptorProto.
  
      Args:
        proto (descriptor_pb2.ServiceDescriptorProto): An empty descriptor proto.
      """
      # This function is overridden to give a better doc comment.
      super(ServiceDescriptor, self).CopyToProto(proto)
  
imports: import threading
  import warnings
  import six
  from google.protobuf.internal import api_implementation
label_desc: Use image node_id 3 for calling the ServiceDescriptor obj's underlying member method code with example usage: obj.CopyToProto(proto) without return types