Get the messages stored for a service.

        Args:
            short_name (string): The short name of the service to get messages for

        Returns:
            list(ServiceMessage): A list of the ServiceMessages stored for this service
426253
def service_messages(self, short_name):
        

        if short_name not in self.services:
            raise ArgumentError("Unknown service name", short_name=short_name)

        return list(self.services[short_name]['state'].messages)
817763
def get_instance(self, service_name):
        
        for resource in self.space._get_instances():
            if resource['entity']['name'] == service_name:
                return resource['entity']
37494
def FindMessageTypeByName(self, full_name):
    

    full_name = _NormalizeFullyQualifiedName(full_name)
    if full_name not in self._descriptors:
      self._FindFileContainingSymbolInDb(full_name)
    return self._descriptors[full_name]
270175
def get_service_keys(self, service_name):
        
        keys = []
        for key in self._get_service_keys(service_name)['resources']:
            keys.append(key['entity']['name'])

        return keys
1362892
def _get_service_bindings(self, service_name):
        
        instance = self.get_instance(service_name)
        return self.api.get(instance['service_bindings_url'])
729584
def get_service_resources(cls, model):
        
        key = cls.get_model_key(model)
        return cls.get_service_name_resources(key)
1259547
def service_record(self, service_name):
    
    if not self.services().has_key(service_name):
      return None
    return self.services()[service_name]
1174941
def service_headline(self, short_name):
        

        if short_name not in self.services:
            raise ArgumentError("Unknown service name", short_name=short_name)

        return self.services[short_name]['state'].headline
612200
def get_service(self, name):
        
        self._convert_connected_app()
        if not self.project_config.services or name not in self.project_config.services:
            self._raise_service_not_valid(name)
        if name not in self.services:
            self._raise_service_not_configured(name)

        return self._get_service(name)
800367
def get_service_by_name(self, service_name):
		""""""
		content = self._fetch("/service/search?name=%s" % service_name)
		return FastlyService(self, content)
456353
def _service_by_name(name):
    '''
    
    '''
    services = _available_services()
    name = name.lower()

    if name in services:
        # Match on label
        return services[name]

    for service in six.itervalues(services):
        if service['file_path'].lower() == name:
            # Match on full path
            return service
        basename, ext = os.path.splitext(service['filename'])
        if basename.lower() == name:
            # Match on basename
            return service

    return False
648091
def get_accounts_for_service(cls, service_type):
        
        return [
            a for a in cls.get_accounts().values()
            if a.service_type == service_type
        ]
825306
def get_message_data(msg, key):
    ''''''
    data = msg
    paths = key.split('.')
    for i in paths:
        data = getattr(data, i)
    return data
1106173
public static String shortMessage( List<CompilerError> messages )
    {
        StringBuffer sb = new StringBuffer();

        sb.append( "Compilation failure" );

        if ( messages.size() == 1 )
        {
            sb.append( LS );

            CompilerError compilerError = (CompilerError) messages.get( 0 );

            sb.append( compilerError ).append( LS );
        }
        
        return sb.toString();
    }
985558
def get_service_status(self, name):
        
        svc = self._query_service(name)
        if svc is not None:
            return {'name': name,
                    'status': self.parse_query(svc['output']),
                    'output': svc['output']
                    }
        else:
            return {'name': name,
                    'status': 'missing',
                    'output': ''
                    }
1244034
def get(self, sid):
        
        return ShortCodeContext(self._version, service_sid=self._solution['service_sid'], sid=sid, )
840247
def service_info(self, short_name):
        

        if short_name not in self.services:
            raise ArgumentError("Unknown service name", short_name=short_name)

        info = {}
        info['short_name'] = short_name
        info['long_name'] = self.services[short_name]['state'].long_name
        info['preregistered'] = self.services[short_name]['state'].preregistered

        return info